more mouse madness
Andy Farkas
andyf at speednet.com.au
Mon Jun 2 00:15:12 PDT 2003
I'm trying to figure out why my usb mouse won't work.
This is what happens when i enable debug mode for moused to see whats
happening:
Script started on Mon Jun 2 16:33:28 2003
hunter# moused -df -p /dev/ums0
moused: proto params: f8 80 00 00 8 00 ff
moused: port: /dev/ums0 interface: usb type: sysmouse model: generic
moused: received char 0x83
moused: received char 0x1e
moused: received char 0x11
moused: received char 0x1f
moused: received char 0x12
moused: received char 0x0
moused: received char 0x0
moused: received char 0x7f
moused: assembled full packet (len 8) 83,1e,11,1f,12,0,0,7f
moused: tv: 1054535623 900676
moused: : 1054535624 257152
moused: flags:80000001 buttons:00000001 obuttons:00000000
moused: activity : buttons 0x00000001 dx 61 dy -35 dz 0
[10 second pause]
moused: mstate[0]->count:1
moused: button 1 count 1
moused: received char 0x83
moused: received char 0x11
moused: received char 0x8
moused: received char 0x11
moused: received char 0x8
moused: received char 0x0
moused: received char 0x0
moused: received char 0x7f
moused: assembled full packet (len 8) 83,11,8,11,8,0,0,7f
moused: tv: 1054535637 517247
moused: flags:80000000 buttons:00000001 obuttons:00000001
moused: activity : buttons 0x00000001 dx 34 dy -16 dz 0
[2 minute pause]
^C
hunter# exit
Script done on Mon Jun 2 16:35:39 2003
In other words, nothing happens :(
I was watching systat -v in another window and interrupts were being
generated on uhci0.
Here are relevent parts of dmesg:
FreeBSD 4.8-RELEASE #1: Sat Apr 5 19:49:58 EST 2003
...
CPU: Intel Celeron (664.51-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x686 Stepping = 6
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory = 335282176 (327424K bytes)
avail memory = 322170880 (314620K bytes)
...
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef40-0xef5f irq 11 at device 31.2 on pci0
uhci0: LegSup = 0x00002f00
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Microsoft Microsoft Wireless Intellimouse Explorer\M-. 1.0A, rev 1.10/0.0d, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 10
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xef80-0xef9f irq 9 at device 31.4 on pci0
uhci1: LegSup = 0x00002f00
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
...
This is a genuine Intel D815EEA motherboard. I can provide full dmesg if
needed. Anyone have a clue as to where to start looking for problems?
--
:{ andyf at speednet.com.au
Andy Farkas
System Administrator
Speednet Communications
http://www.speednet.com.au/
More information about the freebsd-stable
mailing list