Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115756 - i8kutils problem with i8kbuttons (ioctl failed)
Summary: i8kutils problem with i8kbuttons (ioctl failed)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 03:39 UTC by Laurento Frittella (mrfree)
Modified: 2006-12-30 04:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2005-12-16 03:39:03 UTC
Seems that i8kbuttons doesn't start well...

this is init script (part of interest):

if [ -n "$VOLUME_UP$VOLUME_DOWN$VOLUME_MUTE" ] ; then
   ebegin "Starting i8kbuttons"
   start-stop-daemon --start --quiet --pidfile /var/run/i8kbuttons.pid \
                     --make-pidfile --exec /usr/bin/i8kbuttons --background \  
         
                     -- ${VOLUME_UP:+-u "${VOLUME_UP}"} \
                        ${VOLUME_DOWN:+-d "$VOLUME_DOWN"} \
                        ${VOLUME_MUTE:+-m "$VOLUME_MUTE"} \
                        ${BUTTON_REPEAT:+-r "$BUTTON_REPEAT"}
   eend $?
fi

If I try to start it (as root)

# i8kbuttons -m "/usr/bin/amixer -q set Master toggle"
ioctl failed: Invalid argument

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 azote 2005-12-17 19:42:22 UTC
same here
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2006-01-05 20:39:12 UTC
taking over this package. I'll try to look at this problem this weekend
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2006-01-15 07:47:03 UTC
which kernel are you using? do you have the i8k driver loaded as a module or compiled into your kernel? does /proc/i8k exist and what does it contain?
Comment 4 Laurento Frittella (mrfree) 2006-01-17 05:44:58 UTC
# uname -a
Linux localhost 2.6.14-suspend2-r10 #2 PREEMPT Tue Jan 10 14:14:15 CET 2006 i686 Intel(R) Pentium(R) M processor 1.73GHz GenuineIntel GNU/Linux

I'm using i8k as module

# cat /proc/i8k
1.0 A03 BHPMW1J 42 -22 2 27660 110100 -1 -22

I hope these infos can help you ;)
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2006-10-01 18:09:34 UTC
I can't reproduce.. is there anything special in dmesg ? Could you please strace it?
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2006-12-29 13:31:33 UTC
Which model do you use?

Please try the following:
Create a file with this contents:
---
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
---

Load the file using xmodmap.
Comment 7 Laurento Frittella (mrfree) 2006-12-29 13:56:07 UTC
I stop using i8kbuttons since gnome start recognize up,down,toggle volume :)

Now I am interested in Fn keys like "eject, battery..."
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2006-12-29 14:25:36 UTC
So you are using a model that does not support the i8k module at all.
You can close this bug, and try to find the right key codes for the required keys.
Comment 9 Laurento Frittella (mrfree) 2006-12-30 04:17:10 UTC
I have a DELL Latitude D510