Hello Jan

(i was screwing around with hdparm and lost your reply so i had to find it on 
the archive. -X68 = bad. :( )

> Do you have an external keyboard connected?

nope. just using the built in adb one. 


> What does /usr/bin/setupenv.sh say?

---------

[EMAIL PROTECTED]:~$ /usr/bin/setupenv.sh

This script checks the environment on your system so that PBButtons would work
with all features also if it was launched as normal user.
------------------------------------------------------------------------------
You started this script as normal user 'matthew' so that no adjustments
of the system could be made. Instead of that all nessecary changes will be
printed to console. To perform missing adjustments please restart this script
as superuser root.

checking new input layer:     active                                    [ ok ]
checking /dev/input:          exists, user readable                     [ ok ]
checking /dev/input/event0:   exists, root access only                  [fail]
   Only root could access this device. This wouldn't work if you want
   also normal user to use PBButtons. To solve this you could set (or
   let this script do it for you) the nessecary permissions (r-) to
   'all users'. This could be done with the command:
   'chmod o+r- /dev/input/event0'.

checking /dev/input/event1:   exists, root access only                  [fail]
   Only root could access this device. This wouldn't work if you want
   also normal user to use PBButtons. To solve this you could set (or
   let this script do it for you) the nessecary permissions (r-) to
   'all users'. This could be done with the command:
   'chmod o+r- /dev/input/event1'.

checking /dev/input/event2:   exists, root access only                  [fail]
   Only root could access this device. This wouldn't work if you want
   also normal user to use PBButtons. To solve this you could set (or
   let this script do it for you) the nessecary permissions (r-) to
   'all users'. This could be done with the command:
   'chmod o+r- /dev/input/event2'.

checking /dev/input/event3:   exists, root access only                  [fail]
   Only root could access this device. This wouldn't work if you want
   also normal user to use PBButtons. To solve this you could set (or
   let this script do it for you) the nessecary permissions (r-) to
   'all users'. This could be done with the command:
   'chmod o+r- /dev/input/event3'.

checking /dev/pmu:            exists, user writable                     [ ok ]
checking /dev/mixer:          exists, user writable                     [ ok ]

No changes to the system have been made.


----------


then as root, i did the chmods as suggested. now setupenv outputs

------------

  [EMAIL PROTECTED]:~$ /usr/bin/setupenv.sh 

This script checks the environment on your system so that PBButtons would work
with all features also if it was launched as normal user.
------------------------------------------------------------------------------
You started this script as normal user 'matthew' so that no adjustments
of the system could be made. Instead of that all nessecary changes will be
printed to console. To perform missing adjustments please restart this script
as superuser root.

checking new input layer:     active                                    [ ok ]
checking /dev/input:          exists, user readable                     [ ok ]
checking /dev/input/event0:   exists, user readable                     [ ok ]
checking /dev/input/event1:   exists, user readable                     [ ok ]
checking /dev/input/event2:   exists, user readable                     [ ok ]
checking /dev/input/event3:   exists, user readable                     [ ok ]
checking /dev/pmu:            exists, user writable                     [ ok ]
checking /dev/mixer:          exists, user writable                     [ ok ]

No changes to the system have been made.

---------

then i try pbbuttonsd:

---------

bennyhill:~# pbbuttonsd 
ERROR: Can't find an input event queue for the keyboard in /dev/input/,  maybe 
permission denied.

---------

interesting. so i try it as a normal user:

---------

[EMAIL PROTECTED]:~$ pbbuttonsd 
WARNING: Couldn't open /dev/input/mice, sleepmode and display dimming 
disabled.ERROR: Can't open adb device [/dev/adb]: Permission denied

---------

ok. 
# chmod 666 /dev/adb

then try it again:

------------

[EMAIL PROTECTED]:~$ pbbuttonsd 
WARNING: Couldn't open /dev/input/mice, sleepmode and display dimming 
disabled.ERROR: Can't find an input event queue for the keyboard in 
/dev/input/,  maybe permission denied.

now i'm stuck!

- matthew


Reply via email to