| Jeff Abrahamson on 27 Jan 2005 03:02:01 -0000 |
|
On Wed, Jan 26, 2005 at 12:02:15PM -0500, Walt Mankowski wrote:
> [58 lines, 265 words, 1871 characters] Top characters: etoniald
>
> On Wed, Jan 26, 2005 at 10:47:34AM -0500, Jeff Abrahamson wrote:
> > I just upgraded to kernel 2.6.8 from 2.4.27. But now I can't use X.
> > The issue is that /dev/mouse isn't a valid device. Currently it
> > points to /dev/psaux.
> >
> > Googling (in console-mode) I found that many people found that there
> > troubles ended with
> >
> > ln -s /dev/input/mice /dev/mouse
> >
> > But /dev/input does not exist on my machine.
Fred suggested MAKEDEV input, and this did cause those devices to come
into existence:
total 0
crw-rw---- 1 root root 13, 64 2005-01-26 13:07 event0
crw-rw---- 1 root root 13, 65 2005-01-26 13:07 event1
crw-rw---- 1 root root 13, 66 2005-01-26 13:07 event2
crw-rw---- 1 root root 13, 67 2005-01-26 13:07 event3
crw-rw---- 1 root root 13, 0 2005-01-26 13:07 js0
crw-rw---- 1 root root 13, 1 2005-01-26 13:07 js1
crw-rw---- 1 root root 13, 2 2005-01-26 13:07 js2
crw-rw---- 1 root root 13, 3 2005-01-26 13:07 js3
crw-rw---- 1 root root 13, 63 2005-01-26 13:07 mice
crw-rw---- 1 root root 13, 32 2005-01-26 13:07 mouse0
crw-rw---- 1 root root 13, 33 2005-01-26 13:07 mouse1
crw-rw---- 1 root root 13, 34 2005-01-26 13:07 mouse2
crw-rw---- 1 root root 13, 35 2005-01-26 13:07 mouse3
Unfortunately, trying to use them (read a character from them) fails:
asterix:/dev/input# for f in *; do cat < $f; done
bash: event0: No such device
bash: event1: No such device
bash: event2: No such device
bash: event3: No such device
bash: js0: No such device
bash: js1: No such device
bash: js2: No such device
bash: js3: No such device
bash: mice: No such device
bash: mouse0: No such device
bash: mouse1: No such device
bash: mouse2: No such device
bash: mouse3: No such device
asterix:/dev/input#
X notices this, too, and refuses to start when the requested mouse is
/dev/input/mice.
> http://www.alexhudson.com/documents/linux-2_6-upgrade
That's a useful page, but, unfortunately, didn't solve my problem.
/proc/modules says that psmouse is loaded. Just to be safe (or
superstitious), I added psmouse to /etc/modules.
Zeek recommended looking at /proc/bus/input/. It contains two files
that appear to provide some indication that something is amiss. The
more verbose file is called devices and is here, note the absent
handler for the mouse:
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd
B: EV=120003
B: KEY=4 2000000 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe
B: LED=7
I: Bus=0011 Vendor=0002 Product=0001 Version=0001
N: Name="PS/2 Logitech Mouse"
P: Phys=isa0060/serio1/input0
H: Handlers=
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3
The file in that directory called handlers is consistent and shows no
mouse handler:
N: Number=0 Name=kbd
So it looks like the mouse is being detected at boot (devices file and
dmesg output), but no handler is being attached, despite psmouse being
loaded.
I'm very open to further advice, I'm quite confused.
--
Jeff
Jeff Abrahamson <http://www.purple.com/jeff/> +1 215/837-2287
GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B
Attachment:
signature.asc ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|