[ltp] Re: thinkpad-acpi: inputdevice

Peter Jordan linux-thinkpad@linux-thinkpad.org
Thu, 26 Jul 2007 19:21:38 +0200


Peter Jordan, 07/26/07 17:43:

> Tino Keitel, 07/26/07 16:57:
> 
>> On Thu, Jul 26, 2007 at 16:13:33 +0200, Peter Jordan wrote:
>> Do you have CONFIG_INPUT_EVDEV enabled in your kernel, and loaded the
>> module in case it is set to "m"?
>>
>> Regards,
>> Tino
> 
> yes I have a path like /dev/input/by-path/... but no /dev/input/by-id2/....
> 
> but, I will try to write a line with lsinput to check out the event
> device, thats faster ;-)
> 
> thank you
> 
> PJ
> 

my line:
devnr=`for i in /sys/class/input/input*/ ; do [ \`cat $i\phys\` ==
"thinkpad_acpi/input0" ] && break ; done ; ls -d $i/event* | sed
"s/.*event//"`


improvements?

PJ