Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 192345 - i8kbuttons fails on ioctl call
i8kbuttons fails on ioctl call
Product: Fedora
Classification: Fedora
Component: i8kutils (Show other bugs)
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Matthias Saou
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2006-05-18 19:37 EDT by Jerry James
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-06-30 10:37:59 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jerry James 2006-05-18 19:37:34 EDT
Description of problem:
I have a Dell Latitude D610 laptop, which has the volume buttons nominally
controlled by the i8kbuttons binary in the i8kutils package.  However,
i8kbuttons fails at boot time, nor can it be started later.  Running with strace
shows this to be the failing step:

ioctl(3, I8K_FN_STATUS, 0xbfac0404) = -1 EINVAL (Invalid argument)

The i8k kernel module is successfully loaded, as witnessed by lsmod:

i8k 6233 0

Just to be clear here, I verified that the i8k module was loaded BEFORE
attempting to start i8kbuttons.  The contents of /proc/i8k are:

1.0 A05 72JDS81 36 -22 1 27660 68940 -1 -22

Version-Release number of selected component (if applicable):

How reproducible:
Always, on my hardware

Steps to Reproduce:
1. Install i8kutils on a Dell Latitude D610
2. Watch for a failed message from /etc/rc.d/init.d/i8kbuttons at bootup
Actual results:
i8kbuttons fails on an ioctl call

Expected results:
i8kbuttons should run, since I do have the volume control buttons it controls

Additional info:
This problem has been reported to gentoo also, but with no resolution as yet:
It has also been discussed briefly on linux.debian.laptop:
Comment 1 Matthias Saou 2006-05-23 07:08:43 EDT
Have you tried using the "System" -> "Preferences" -> "Keyboard Preferences"
utility that GNOME offers directly? It is quite possible that the i8kbuttons is
only needed on older Dell laptops : I had an Inspiron 8000 where it was needed
to get the buttons to do something, but on a newer Inspiron 8600 (the D610 is
even newer) the special buttons seem to send normal key codes properly by default.
Comment 2 Jerry James 2006-05-23 14:38:18 EDT
Sure enough.  It looks like the "inspiron" keyboard layout is in fact the
closest to what I actually have on this Latitude.  Thanks for the tip.
Comment 3 Matthias Saou 2006-05-26 10:56:20 EDT
OK, then what I'll do it simply update the init script in order to have it
disabled by default, since it doesn't make sense for all users who install the
package to have it running. It's only confusing as you report shows!
Comment 4 Matthias Saou 2006-06-30 10:37:59 EDT
I've just submitted a build in Extras development of a new package which
contains quite a few enhancements. By default it now only loads the i8k kernel
module (required to get the service tag and control fans), and editing an "i8k"
file in /etc/sysconfig/ is required to get the i8kbuttons daemon to run too.

Should get things working on modern hardware and be less confusing to users.

Note You need to log in before you can comment on or make changes to this bug.