[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Thinkpad Touchpad no longer works



On Sat, Oct 17, 2009 at 14:22:52 +0100, Barry Samuels wrote:
> On 17/10/09 14:07:52, Barry Samuels wrote:
> > On 17/10/09 12:26:11, Florian Kulzer wrote:
> > > On Sat, Oct 17, 2009 at 10:21:52 +0100, Barry Samuels wrote:
> > > > 
> > > > Installed linux-image-2.6.30-2-486 but sorry to report that there is 
> > > > no difference - the touchpad still doesn't work and the event nodes 
> > > > are still in /dev.
> > > 
> > > OK, we can stop worrying about the kernel configuration for the 
> > > moment.
> > > 
> > > Now I would be interested in some details about your misplaced event
> > > devices; please show me the output of:
> > > 
> > > stat /dev/event7
> > 
> >   File: `/dev/event7'
> >   Size: 0         	Blocks: 0          IO Block: 4096   character 
> > special file
> > Device: bh/11d	Inode: 33604       Links: 1     Device type: d,47
> > Access: (0660/crw-rw----)  Uid: (    0/    root)   Gid: (    0/    root)
> > Access: 2009-10-17 12:38:41.209641864 +0100
> > Modify: 2009-10-17 12:38:41.209641864 +0100
> > Change: 2009-10-17 12:38:41.209641864 +0100

That would be perfect if the device node were under /dev/input/.

> > > Also, let's check what udev is doing, with this command:
> > > 
> > > udevadm test /class/input/input7/event7
> 
> /class/input/input7/event7 does not exist but /class/input/event7 does so 
> I've done the same with that. Output below:
> 
> run_command: calling: test
> udevadm_test: version 141
> udev_rules_new: rule file basename '/etc/udev/rules.d/50-udev.rules' already added, ignoring '/lib/udev/rules.d/50-udev.rules'

It seems that you have an outdated 50-udev.rules file in
/etc/udev/rules.d/, which means that the up-to-date file in
/lib/udev/rules.d/ is ignored.

Quoting from udev's NEWS.Debian.gz:
The default rules files have been moved to /lib/udev/rules.d/ and
/etc/udev/rules.d/ is supposed to contain only generated files or custom
directives. (starting udev version 0.140-1)

[ snip: udev reads many more .rules files ]

> udev_rules_new: rules use 100692 bytes tokens (8391 * 12 bytes), 13475 bytes buffer
> udev_rules_new: temporary index used 30820 bytes (1541 * 20 bytes)
> udev_device_new_from_syspath: device 0x8074d10 has devpath '/devices/platform/i8042/serio1/input/input10/event7'
> udev_device_new_from_syspath: device 0x80747e8 has devpath '/devices/platform/i8042/serio1/input/input10/event7'
> udev_device_read_db: device 0x80747e8 filled with db file data

Here is where things start to go wrong: At this point udev should apply
two rules, "LINK 'char/13:71'" and "NAME 'input/event7'" from the file
/lib/udev/rules.d/50-udev.rules. This does not happen because of what I
pointed out above. I think you simply have to get rid of
/etc/udev/rules.d/50-udev.rules. If you customized this file then you
have to port your changes to the new file in /lib/udev/rules.d/.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: