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

usb mouse detected but not working



I've got a similar situation as this:
http://marc.theaimsgroup.com/?l=openbsd-misc&m=106401329307009&w=2

Basically, I have a laptop with a built-in touchpad (which works fine)
and also a separate keyboard + touchpad hooked up to one of the laptop's
USB ports.  The external touchpad is a very plain 2-button Cirque serial
device, which is connected to a serial-to-ps/2 adaptor.  Both the
keyboard and touchpad are hooked up to the same USB port via a
ps/2-to-usb "Y" adaptor.  The keyboard works fine.  The touchpad doesn't
ever respond at all, although I know the hardware is good because this
setup works fine if I boot into a Knoppix CD (it finds it at
/dev/input/mice, and both touchpads multiplex ok in gpm).

My dmesg is appended to the end of this email, and here's some other
relevant info:

$ usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SIS(0x1039), rev 1.00
 port 1 powered
 port 2 addr 2: low speed, power 100 mA, config 1, Semi Tech PS/2 Keyboard - PS/2 Mouse(0x8081), Semi Tech(0x04b4), rev 0.01
 port 3 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SIS(0x1039), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
Controller /dev/usb2:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), SIS(0x1039), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 powered

$ ls -l /dev/wsmouse*
crw-------    1 smt      smt       69,   0 Nov 17 20:48 /dev/wsmouse
crw-------    1 smt      smt       68,   0 Nov 17 20:48 /dev/wsmouse0
crw-------    1 smt      smt       68,   1 Dec  3 17:46 /dev/wsmouse1
crw-------    1 root     wheel     68,   2 Nov 17 20:48 /dev/wsmouse2
crw-------    1 root     wheel     68,   3 Nov 17 20:48 /dev/wsmouse3

$ sudo wsmoused -i -p /dev/wsmouse
wsmouse supported mouse: USB
$ sudo wsmoused -i -p /dev/wsmouse0
wsmouse supported mouse: PS/2 compatible
$ sudo wsmoused -i -p /dev/wsmouse1
wsmouse supported mouse: USB

Testing with wsmoused:

"sudo wsmoused -2df -p /dev/wsmouse0" shows the mouse cursor moving when
finger pressure is applied to the laptop's built-in touchpad.

"sudo wsmoused -2df -p /dev/wsmouse1" has no effect all at when pressure
is applied to the external touchpad, even if explicit -t option is used
(tried every single protocol type on the list)

Testing with cat:

"cat /dev/wsmouse0" prints binary junk to the screen when the built-in
touchpad is pressed.

"cat /dev/wsmouse1" prints nothing at all when the external touchpad is
pressed.  It's dead Jim...

I also tried the same tests after booting with "disable pms" in the UKC.
The only result was that the built-in touchpad then also became dead,
and the external touchpad replaced it as wsmouse0 (but was still
completely dead).  Booting with the external keyboard disconnected from
the "Y" adaptor also had no effect.  I'm not sure what else to try or
what I should look at next?

OpenBSD 3.8 (GENERIC) #0: Wed Apr  5 20:52:37 EDT 2006
    smt_(_at_)_icicle_(_dot_)_perlguru_(_dot_)_net:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Mobile AMD Sempron(tm) Processor 3000+ ("AuthenticAMD" 686-class, 128KB L2 cache) 1.80 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3
cpu0: AMD Powernow: FID VID TTP TM STC
real mem  = 501784576 (490024K)
avail mem = 450740224 (440176K)
using 4278 buffers containing 25190400 bytes (24600K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(39) BIOS, date 08/24/05, BIOS32 rev. 0 @ 0xfd5f0
pcibios0 at bios0: rev 2.1 @ 0xfd5f0/0xa10
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd30/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 ("SIS 85C503 System" rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xdc000/0x8000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "SIS 760 PCI" rev 0x03
ppb0 at pci0 dev 1 function 0 "SIS 86C202 VGA" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SIS 6330 VGA" rev 0x00: aperture at 0xe8000000, size 0x400000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SIS 85C503 System" rev 0x25
pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: 760: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <IC25N060ATMR04-0>
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <Slimtype, COMBO SOSC-2483K, KCK2> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
"SIS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured
auich0 at pci0 dev 2 function 7 "SIS 7012 AC97" rev 0xa0: irq 5, SiS7012 AC97
ac97: codec id 0x414c4770 (Avance Logic ALC203)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, No 3D Stereo
audio0 at auich0
ohci0 at pci0 dev 3 function 0 "SIS 5597/5598 USB" rev 0x0f: irq 9, version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1 "SIS 5597/5598 USB" rev 0x0f: irq 11, version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: SIS OHCI root hub, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 3 function 2 "SIS 7002 USB" rev 0x00: irq 10
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: SIS EHCI root hub, rev 2.00/1.00, addr 1
uhub2: 6 ports with 6 removable, self powered
sis0 at pci0 dev 4 function 0 "SIS 900 10/100BaseTX" rev 0x91: irq 3, address 00:c0:9f:d4:41:1b
rlphy0 at sis0 phy 13: RTL8201L 10/100 PHY, rev. 1
cbb0 at pci0 dev 6 function 0 "Texas Instruments PCI1410 CardBus" rev 0x02: irq 3
vendor "Broadcom", unknown product 0x4318 (class network subclass miscellaneous, rev 0x02) at pci0 dev 11 function 0 not configured
pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
biomask efdd netmask efdd ttymask ffdf
pctr: user-level cycle counter enabled
wi0 at pcmcia0 function 0 "The Linksys Group, Inc., Instant Wireless Network PC Card, ISL37300P" port 0xb000/64
wi0: PRISM3 ISL37300P (0x801b), Firmware 1.1.0 (primary), 1.4.2 (station), address 00:06:25:16:c7:ea
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
uhidev0 at uhub0 port 2 configuration 1 interface 0
uhidev0: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev 1.01/0.01, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 2 configuration 1 interface 1
uhidev1: Semi Tech Semi Tech PS/2 Keyboard - PS/2 Mouse, rev 1.01/0.01, addr 2, iclass 3/1
ums0 at uhidev1: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
auich0: measured ac97 link rate at 48005 Hz, will use 48000 Hz