On Fri, Aug 7, 2009 at 3:33 PM, Joachim Breitner<nome...@debian.org> wrote: > Hi, [...] > On http://wiki.debian.org/DebianOnFreeRunnerTips I described a > fix/work-around: > > To make the power button available to X applications, and especially to > bind it to an e17 action, save this file > to /etc/hal/fdi/policy/powerbutton-evdev.fdi. > > <?xml version="1.0" encoding="ISO-8859-1"?> > <deviceinfo version="0.2"> > <device> > <match key="info.product" contains="PCF50633 PMU events"> > <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name" > string="Linux"> > <merge key="input.x11_driver" type="string">evdev</merge> > </match> > </match> > </device> > </deviceinfo>
Effectively lshal reports: udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input' button.has_state = false (bool) button.type = 'power' (string) info.addons.singleton = {'hald-addon-input'} (string list) info.capabilities = {'input', 'button'} (string list) info.category = 'input' (string) info.parent = '/org/freedesktop/Hal/devices/computer' (string) info.product = 'PCF50633 PMU events' (string) info.subsystem = 'input' (string) info.udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input' (string) input.device = '/dev/input/event0' (string) input.product = 'PCF50633 PMU events' (string) linux.device_file = '/dev/input/event0' (string) linux.hotplug_type = 2 (0x2) (int) linux.subsystem = 'input' (string) linux.sysfs_path = '/sys/class/input/input0/event0' (string) it misses the input.x11_driver, however adding your fix does not work for me ( and lshal output is the same ), but I tryed only for a bit, will report better as I have some idle time. Thanks and regards Nicola _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland