>> ERROR: Can't find an input event queue for the keyboard in
>> /dev/input/,   maybe permisson denied.
>>
>> does anybody know where this might be hiding so I can link to it?
>
> It needs to run as root to have access to /dev/input.
> You wouldn't want some other user to be able to capture your
> keystrokes now would you?

I get the same error with pbbuttonsd on my Powerbook Pismo.  And yet I am
running it as root.  Upon further investigation, I have found that there
are indeed no keyboard device in the input directory:
[root@wintermute root]# ls -al /dev/input/
total 0
drwxr-xr-x    1 root     root            0 Dec 31  1969 ./
drwxr-xr-x    1 root     root            0 Dec 31  1969 ../
crw-r--r--    1 root     root      13,  63 Dec 31  1969 mice
crw-r--r--    1 root     root      13,  32 Dec 31  1969 mouse0
crw-r--r--    1 root     root      13,  33 Dec 31  1969 mouse1
crw-r--r--    1 root     root      13,  34 Dec 31  1969 mouse2
[root@wintermute root]#

I did a little more digging, and found that the event interface support
is compiled in as a kernel module, and is not loaded at boot time by
default. What you need to do first is:
modprobe evdev

Then you should have no problems running pbbuttonsd as root. :-)

Hope this helps,

Peter


-- 
Peter R. Wood - [EMAIL PROTECTED] - http://prwdot.org/



Reply via email to