Skip to contentSkip to conversation

PROBLEM: USB mouse does not apear in /dev/input

DISCUSSION Applied Take Vos 7 participants 16 messages Oct 22, 2002 – Dec 12, 2002 2 messages not in the archive Input drivers

lore
Share & tools
lore

Take Vos

author
#0 lore raw

Hello,

I'm just doing my part in getting the new kernel stable

kernel: linux-2.5.43
hardware:DELL Inspiron 8100
mouse: Logitech USB Optical Mouse
config:

		CONFIG_INPUT_MOUSEDEV
		CONFIG_INPUT_EVDEV
		CONFIG_SERIO
		CONFIG_SERIO_I8042
		CONFIG_INPUT_MOUSE
		CONFIG_MOUSE_PS2
		CONFIG_USB
		CONFIG_USB_HID
		CONFIG_USB_HIDINPUT

/dev/input/mice and /dev/input/mouse0 exist and are used for my internal PS/2 mouse.

dmesg shows that USB mouse exists, and also shows insert and removes correctly.

However no /dev/input/mouse1 apears nor do events for this mouse apear on /dev/input/mice.

Thanks,
Take

Signature · 3 lines
Take Vos <[email protected]>
GnuPG: 2A5C110609995A378302A27630C962CCFD54AA85
http://binary-magic.com/~takev/
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · Take Vos

Hello,

I'm just doing my part in getting the new kernel stable

Functional would help too!

Quoted 4 lines

kernel: linux-2.5.43
hardware:DELL Inspiron 8100
mouse: Logitech USB Optical Mouse
config:

Quoted 9 lines
		CONFIG_INPUT_MOUSEDEV
		CONFIG_INPUT_EVDEV
		CONFIG_SERIO
		CONFIG_SERIO_I8042
		CONFIG_INPUT_MOUSE
		CONFIG_MOUSE_PS2
		CONFIG_USB
		CONFIG_USB_HID
		CONFIG_USB_HIDINPUT

Can you show us /proc/bus/usb/devices?
And also /proc/bus/input/devices?

Brad

- --
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you? -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9tRW2W6pHgIdAuOMRAtj2AKCIo9LTjXJBFzy1+4d4ogxT1yhy3gCfesLQ DNbsvFVxrZKt+3PfNZcK94g=
=eOQd
-----END PGP SIGNATURE-----

#5 lore raw

Re: PROBLEM: PCMCIA cardmgr kill hangs kernel

In reply to Take Vos
Quoted 8 lines · Take Vos

kernel: linux-2.5.43
cardmgr: 3.2.1
hardware:DELL Inspiron 8100
config: CONFIG_PCMCIA
CONFIG_CARDUBS
CONFIG_BLK_DEV_IDECS

killing the cardmgr hangs the kernel,

How hard? Does numlock still work? Can you tell if the CPU is busy afterwards (ie, your laptop remains hot).

Regards,

bert

Signature · 2 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
author
#2 lore raw
In reply to Brad Hards

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Brad,

Quoted 14 lines
Quoted 4 lines

kernel: linux-2.5.43
hardware:DELL Inspiron 8100
mouse: Logitech USB Optical Mouse
config:

Quoted 9 lines
		CONFIG_INPUT_MOUSEDEV
		CONFIG_INPUT_EVDEV
		CONFIG_SERIO
		CONFIG_SERIO_I8042
		CONFIG_INPUT_MOUSE
		CONFIG_MOUSE_PS2
		CONFIG_USB
		CONFIG_USB_HID
		CONFIG_USB_HIDINPUT
Quoted 1 line

Can you show us /proc/bus/usb/devices?

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.05
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c00c Rev= 6.20
S:  Manufacturer=Logitech
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
Quoted 1 line

And also /proc/bus/input/devices?

I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio1/input0
H: Handlers=mouse0 event0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0001 Product=0002 Version=ab02
N: Name="AT Set 2 keyboard"
P: Phys=isa0060/serio0/input0
H: Handlers=kbd event1
B: EV=120003
B: KEY=4 2000000 8061f9 fbc9d621 efdfffdf ffefffff ffffffff fffffffe
B: LED=7

- --
Take Vos <[email protected]>
GnuPG: 2A5C110609995A378302A27630C962CCFD54AA85
http://binary-magic.com/~takev/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tR7pMMlizP1UqoURAjfaAKCPkAirhn/ktnGbLsFCpcYhbj/LVwCcDxsD qGZjZjERntKcms3L6K4guww=
=SVA6
-----END PGP SIGNATURE-----

author
#6 lore raw

Re: PROBLEM: PCMCIA cardmgr kill hangs kernel

In reply to bert hubert

Hello bert,

Quoted 11 lines
Quoted 8 lines

kernel: linux-2.5.43
cardmgr: 3.2.1
hardware:DELL Inspiron 8100
config: CONFIG_PCMCIA
CONFIG_CARDUBS
CONFIG_BLK_DEV_IDECS

killing the cardmgr hangs the kernel,

How hard? Does numlock still work? Can you tell if the CPU is busy afterwards (ie, your laptop remains hot)

I did find out that it only happens when my compact flash card is insurted. Without it I can do a kill of the cardmgr.

I haven't checked numlock. But I can't switch consoles with alt+f?.

I'll do some more test this evening in the hotel.

Signature · 3 lines
Take Vos <[email protected]>
GnuPG: 2A5C110609995A378302A27630C962CCFD54AA85
http://binary-magic.com/~takev/
#3 lore raw
In reply to Take Vos

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 8 lines · Take Vos
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c00c Rev= 6.20
S:  Manufacturer=Logitech
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms

So it looks like you don't have a driver for the mouse loaded (should be hid). Can you check this in driverfs? (You used to be able to do this in /proc/bus/usb/drivers, but the maintainer knew better :-{)
If you did this as modules, lsmod would be good to know too.

Also, there is a problem with 2.5.43, in that the core driver model stuff got screwed up. That caused problem if you turned on the usb test framework driver, and some other issues. Here is a simple patch that David Brownell did:
http://marc.theaimsgroup.com/?l=linux-usb-devel&m=103457053803353&w=2

I'm not sure about 2.5.44 - you could try that too?

Brad

- --
http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you? -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9tSJ4W6pHgIdAuOMRAiCXAJ91Ytj7yQTE/pe6gQJjmVhKtl+2FACfQR3H TANHmIIlvFR25uJF7scrSBA=
=N3g0
-----END PGP SIGNATURE-----

author
#7 lore raw

Re: PROBLEM: PCMCIA cardmgr kill hangs kernel

In reply to bert hubert

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Quoted 8 lines
Quoted 8 lines

kernel: linux-2.5.43
cardmgr: 3.2.1
hardware:DELL Inspiron 8100
config: CONFIG_PCMCIA
CONFIG_CARDUBS
CONFIG_BLK_DEV_IDECS

killing the cardmgr hangs the kernel,

removing the flashcard from the pcmcia slot also hangs the kernel. So it seams a flashcard issue (I had issues with this card in the early 2.4.x kernels, but it would hang the kernel at insertion)

Quoted 2 lines

How hard? Does numlock still work? Can you tell if the CPU is busy afterwards (ie, your laptop remains hot).

numlock doesn't work.
CPU gets hot (fans start after a minute).

Thanks
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tTLrMMlizP1UqoURAvXaAJ9MmPl54/qrQKwAdccoe91Q+Of8YwCgp7yP h4pA8QC95P0+HSaUa3iGuUw=
=6QXb
-----END PGP SIGNATURE-----

author
#12 lore raw
In reply to a message not in the archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Brad

Sorry I think I forgot to press the "reply to all" button :-)

Quoted 32 lines · Take Vos
Quoted 10 lines · you
Quoted 9 lines · Take Vos
Quoted 8 lines
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c00c Rev= 6.20
S:  Manufacturer=Logitech
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
Quoted 5 lines
Quoted 2 lines

So it looks like you don't have a driver for the mouse loaded (should be hid).

Yes, I compared it with the 2.4.19 output, which has the Driver=hid thing. I have enabled the HID (full HID) and HID input layer in the kernel

Looks OK.

Quoted 12 lines
Quoted 2 lines

Can you check this in driverfs? (You used to be able to do this in /proc/bus/usb/drivers, but the maintainer knew better :-{)

/devices/bus/usb/drivers
total 0

drwxr-xr-x    2 root     root            0 Oct 22 12:43 generic
drwxr-xr-x    2 root     root            0 Oct 22 12:43 hid
drwxr-xr-x    2 root     root            0 Oct 22 12:43 hub
drwxr-xr-x    2 root     root            0 Oct 22 12:43 usb-storage
drwxr-xr-x    2 root     root            0 Oct 22 12:43 usbfs
drwxr-xr-x    2 root     root            0 Oct 22 12:43 usblp
drwxr-xr-x    2 root     root            0 Oct 22 12:43 usbscanner
Quoted 2 lines

The hid directory is empty, but so are the other, I don't know how driverfs works yet.

Quoted 8 lines

That is OK.

Quoted 5 lines
Quoted 4 lines

Also, there is a problem with 2.5.43, in that the core driver model stuff got screwed up. That caused problem if you turned on the usb test framework driver, and some other issues. Here is a simple patch that David Brownell did:

Well, I have had USB testing driver off.

May turn up other problems too. Did you try the patch?

Not yet, is it in the 2.5.44 sources, because I am now trying to install that.

Take
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tTZmMMlizP1UqoURAqDiAJ9McfNNZWBE/UmZdzgnXxhfQYliwACfevCf t802qfMW0XGc5JytDmrh3TM=
=pY6z
-----END PGP SIGNATURE-----

#8 lore raw

Re: PROBLEM: PCMCIA cardmgr kill hangs kernel

In reply to Take Vos
Quoted 3 lines · Take Vos

removing the flashcard from the pcmcia slot also hangs the kernel. So it seams a flashcard issue (I had issues with this card in the early 2.4.x kernels, but it would hang the kernel at insertion)

IDE card eject was broken in the new IDE code but should have been fixed, unless it has come broken again. I'll investigate at some point soon

author
#9 lore raw

Re: PROBLEM: PCMCIA cardmgr kill hangs kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 8 lines · Alan Cox
Quoted 3 lines · Take Vos

removing the flashcard from the pcmcia slot also hangs the kernel. So it seams a flashcard issue (I had issues with this card in the early 2.4.x kernels, but it would hang the kernel at insertion)

IDE card eject was broken in the new IDE code but should have been fixed, unless it has come broken again. I'll investigate at some point soon

issue remains in 2.5.44, I haven't have a change to check other pcmcia cards, because I have none

flashcard as reported by 2.4.19 kernel:

	hdc: SunDisk SDCFB-2, ATA DISK drive
	ide2: ports already in use, skipping probe
	ide1 at 0x100-0x107,0x10e on irq 3
	hdc: 3936 sectors (2 MB) w/1KiB Cache, CHS=123/2/16
	/dev/ide/host1/bus0/target0/lun0:hdc: set_geometry_intr: status=0x51 { 
DriveReady SeekComplete Error }
	hdc: set_geometry_intr: error=0x04 { DriveStatusError }
	 p1
	ide_cs: hdc: Vcc = 3.3, Vpp = 0.0

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tUKvMMlizP1UqoURAilpAJ9ChjCZbzz4TtFgaxfZ1ewfiw5JFQCfcvw9 Mat3Z0rQ/dOKsEEay/DC83Q=
=/XEj
-----END PGP SIGNATURE-----

author
#13 lore raw

Re: PROBLEM: USB mouse does not apear in /dev/input (solved)

In reply to a message not in the archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 39 lines · Brad Hards
Quoted 11 lines · Take Vos
Quoted 10 lines · you
Quoted 8 lines · Take Vos
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c00c Rev= 6.20
S:  Manufacturer=Logitech
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
Quoted 6 lines
Quoted 2 lines

So it looks like you don't have a driver for the mouse loaded (should be hid).

Yes, I compared it with the 2.4.19 output, which has the Driver=hid thing. I have enabled the HID (full HID) and HID input layer in the kernel

Looks OK.

Quoted 13 lines
Quoted 2 lines

Can you check this in driverfs? (You used to be able to do this in /proc/bus/usb/drivers, but the maintainer knew better :-{)

/devices/bus/usb/drivers
total 0

drwxr-xr-x    2 root     root            0 Oct 22 12:43 generic
drwxr-xr-x    2 root     root            0 Oct 22 12:43 hid
drwxr-xr-x    2 root     root            0 Oct 22 12:43 hub
drwxr-xr-x    2 root     root            0 Oct 22 12:43 usb-storage
drwxr-xr-x    2 root     root            0 Oct 22 12:43 usbfs
drwxr-xr-x    2 root     root            0 Oct 22 12:43 usblp
drwxr-xr-x    2 root     root            0 Oct 22 12:43 usbscanner
Quoted 2 lines

The hid directory is empty, but so are the other, I don't know how driverfs works yet.

That is OK.

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Also, there is a problem with 2.5.43, in that the core driver model stuff got screwed up. That caused problem if you turned on the usb test framework driver, and some other issues. Here is a simple patch that David Brownell did:

Well, I have had USB testing driver off.

May turn up other problems too. Did you try the patch?

I just tried 2.5.44 the issue is solved.

Take
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9tUM5MMlizP1UqoURAqGJAKCZI85zSZYaEZSbQcPUKmSRX40wIgCdF+Al 3VvsHeQRHEQeiONIPTRnUmU=
=gbRQ
-----END PGP SIGNATURE-----

#4 lore raw
In reply to Brad Hards
Quoted 9 lines · Brad Hards
Quoted 8 lines · Take Vos
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c00c Rev= 6.20
S:  Manufacturer=Logitech
S:  Product=USB Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
Quoted 3 lines

So it looks like you don't have a driver for the mouse loaded (should be hid). Can you check this in driverfs? (You used to be able to do this in /proc/bus/usb/drivers, but the maintainer knew better :-{)

The maintainer didn't have a choice :)
That info isn't known to the usb core anymore, only the driver core.

Do a:
ls <driverfs_mount_point>/bus/usb/drivers
to see what USB drivers are registered.

thanks,

gre k-h

#14 lore raw

Re: PROBLEM: PS/2 mouse wart does not work, while scratch pad does.

In reply to Take Vos
Quoted 6 lines · [email protected] said:

hardware:DELL Inspiron 8100

The internal scratch pad works, but the internal wart mouse doesn't,
in the BIOS it is set to use both devices for input. This is tested with both Xfree86 and running cat on /dev/input/mice and /dev/input/ mouse0 and /dev/input/event0.

Probing for various other PS/2 extensions appears to confuse the thing such that the clitmouse no longer works. If we probe for it first and then abort the other probes, it seems happier...

drivers/input/mouse/psmouse.c Wed Oct 23 00:39:06 2002 renamed from drivers/input/mouse/psmouse.c Tue Oct 8 11:51:30 2002 +20 -0
@@ -311,6 +311,26 @@
        if (psmouse_noext)
                return PSMOUSE_PS2;
 
+/*
+ * Try Synaptics TouchPad magic ID
+ */
+
+       param[0] = 0;
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_GETINFO);
+
+       if (param[1] == 0x47) {
+               /* We could do more here. But it's sufficient just
+                  to stop the subsequent probes from screwing the
+                  thing up. */
+               psmouse->vendor = "Synaptics";
+               psmouse->name = "TouchPad";
+               return PSMOUSE_PS2;
+       }
+
 /*
  * Try Genius NetMouse magic init.
  */

--
dwmw2

#15 lore raw

Re: PROBLEM: PS/2 mouse wart does not work, while scratch pad does.

Quoted 11 lines · David Woodhouse
Quoted 6 lines · [email protected] said:

hardware:DELL Inspiron 8100

The internal scratch pad works, but the internal wart mouse doesn't,
in the BIOS it is set to use both devices for input. This is tested with both Xfree86 and running cat on /dev/input/mice and /dev/input/ mouse0 and /dev/input/event0.

Probing for various other PS/2 extensions appears to confuse the thing such that the clitmouse no longer works. If we probe for it first and then abort the other probes, it seems happier...

Thanks, applied.

Quoted 29 lines
drivers/input/mouse/psmouse.c Wed Oct 23 00:39:06 2002 renamed from drivers/input/mouse/psmouse.c Tue Oct 8 11:51:30 2002 +20 -0
@@ -311,6 +311,26 @@
        if (psmouse_noext)
                return PSMOUSE_PS2;
 
+/*
+ * Try Synaptics TouchPad magic ID
+ */
+
+       param[0] = 0;
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_GETINFO);
+
+       if (param[1] == 0x47) {
+               /* We could do more here. But it's sufficient just
+                  to stop the subsequent probes from screwing the
+                  thing up. */
+               psmouse->vendor = "Synaptics";
+               psmouse->name = "TouchPad";
+               return PSMOUSE_PS2;
+       }
+
 /*
  * Try Genius NetMouse magic init.
  */
Signature · 2 lines
Vojtech Pavlik
SuSE Labs
author
#16 lore raw

Re: PROBLEM: PS/2 mouse wart does not work, while scratch pad does.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

Quoted 8 lines · Vojtech Pavlik
Quoted 7 lines · David Woodhouse
Quoted 3 lines · [email protected] said:

hardware:DELL Inspiron 8100

The internal scratch pad works, but the internal wart mouse doesn't,

Probing for various other PS/2 extensions appears to confuse the thing such that the clitmouse no longer works. If we probe for it first and then abort the other probes, it seems happier...

This patch does display the "Synaptics TouchPad", but does not solve the problem of not finding the clitmouse.

Quoted 1 line

Thanks, applied.

2.5.46 does not show the "Synaptics TouchPad" during boot, which this patch did.

Greetings,
Take Vos

Quoted 21 lines
Quoted 21 lines
drivers/input/mouse/psmouse.c Wed Oct 23 00:39:06 2002 renamed from drivers/input/mouse/psmouse.c Tue Oct 8 11:51:30 2002 +15 -0
@@ -311,6 +311,26 @@
        if (psmouse_noext)
                return PSMOUSE_PS2;
 
+/*
+ * Try Synaptics TouchPad magic ID
+ */
+
+       param[0] = 0;
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_SETRES);
+       psmouse_command(psmouse, param, PSMOUSE_CMD_GETINFO);
+
+       if (param[1] == 0x47) {
+               /* We could do more here. But it's sufficient just
+                  to stop the subsequent probes from screwing the
+                  thing up. */
Quoted 8 lines

drivers/input/mouse/psmouse.c Wed Oct 23 00:39:06 2002 line 336

Quoted 8 lines
drivers/input/mouse/psmouse.c Wed Oct 23 00:39:06 2002 renamed from drivers/input/mouse/psmouse.c Tue Oct 8 11:51:30 2002 +5 -0
+               psmouse->vendor = "Synaptics";
+               psmouse->name = "TouchPad";
+               return PSMOUSE_PS2;
+       }
+
 /*
  * Try Genius NetMouse magic init.
  */

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9zYMiMMlizP1UqoURAow3AJwLthJCIB8cZuHRIXps+R5cP2exTACeOe0y qoFoX9a9JwQYpQhyhcBrrmY=
=9paf
-----END PGP SIGNATURE-----

author
#17 lore raw

Re: PROBLEM: PS/2 mouse wart does not work, while scratch pad does.

In reply to Vojtech Pavlik

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Vojtech Pavlik
Quoted 3 lines · David Woodhouse
Quoted 2 lines · [email protected] said:

hardware:DELL Inspiron 8100

Quoted 8 lines
Quoted 8 lines
Quoted 4 lines

The internal scratch pad works, but the internal wart mouse doesn't,
in the BIOS it is set to use both devices for input. This is tested with both Xfree86 and running cat on /dev/input/mice and /dev/input/ mouse0 and /dev/input/event0.

Probing for various other PS/2 extensions appears to confuse the thing such that the clitmouse no longer works. If we probe for it first and then abort the other probes, it seems happier...

I just tried 2.5.51, but I still have the same problem, scratch pad works, but internal wart mouse doesn't.

Here is the current dmesg output:
device class 'input': registering register interface 'mouse' with class 'input'
mice: PS/2 mouse device common for all mice register interface 'joystick' with class 'input' register interface 'event' with class 'input'
input: PS/2 Synaptics TouchPad on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1

Thank you,
Take Vos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9+OPGMMlizP1UqoURAgbUAKCK4JZhpd+nybjJZw2QpXf2wt9lvgCfSzdZ l7/EHd3rzWVi3bs+iWrUkOY=
=8zyA
-----END PGP SIGNATURE-----