[ltp] Re: thinkpad-acpi: inputdevice

Tino Keitel linux-thinkpad@linux-thinkpad.org
Thu, 26 Jul 2007 16:57:29 +0200


On Thu, Jul 26, 2007 at 16:13:33 +0200, Peter Jordan wrote:
> Tino Keitel, 07/26/07 14:35:
> 
> > On Thu, Jul 26, 2007 at 12:19:00 +0200, Peter Jordan wrote:
> >> Peter Jordan, 07/25/07 20:25:
> >>
> >>> Tino Keitel, 07/25/07 18:41:
> >>>
> >>>> the "046d-c03d" is "vendorID-productID". As those don't change for a
> >>>> device, the "readlink" command should give you the number of an event
> >>>> device with a given vendor and device ID:
> >>>>
> >>>> $ readlink /dev/input/by-id2/046d-c03d | sed "s/.*event//"
> >>>> 6
> >>>>
> >>> this does not work, there is no vendor or device id for the
> >>> thinkpad-acpi input event device :-(
> >>>
> >> where to put your udev rule, my place /etc/udev/rules.d/04.rules does
> >> not work.
> > 
> > I have an own file /etc/udev/rules.d/z20_input-by-id2.rules.
> > 
> 
> I have the same file, but after reboot no links like /dev/input/by-id2/
>  .. exist.

Do you have CONFIG_INPUT_EVDEV enabled in your kernel, and loaded the
module in case it is set to "m"?

Regards,
Tino