9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@labs.coraid.com>
To: 9fans@9fans.net
Subject: [9fans] usb mouse not working
Date: Wed,  4 Jan 2012 12:21:30 -0500	[thread overview]
Message-ID: <74bd28d9048c3e1f7e6e413d13995202@coraid.com> (raw)

i have a ehci-only system that seems to be recogizing the mouse, but
the mouse doesn't work.  one thing that stands out is that the "online"
light in the scroll button doesn't light.  i seem to have the kbd process running,

p=(Proc)0x56798    pid 92  Running
	t=(Thread)0x57138    Running    /sys/src/cmd/usb/kb/kb.c:554 kbdwork
		pread()+0x7 /sys/src/libc/9syscall/pread.s:5
		read(fd=0xe,buf=0x673e7,n=0x8)+0x2f /sys/src/libc/9sys/read.c:7
		kbdwork(a=0x4e0f8)+0x107 /sys/src/cmd/usb/kb/kb.c:554
		launcher386(arg=0x4e0f8,f=0x9129)+0x10 /sys/src/libthread/386.c:10
		0xfefefefe ?file?:0


p=(Proc)0x57498    pid 93  Sched
	t=(Thread)0x57e38    Rendez     /sys/src/cmd/usb/kb/kb.c:435 repeatproc
		recvul(c=0x57458)+0x2c /sys/src/libthread/channel.c:380
		repeatproc(a=0x4e0f8)+0x56 /sys/src/cmd/usb/kb/kb.c:435
		launcher386(arg=0x4e0f8,f=0x8c8b)+0x10 /sys/src/libthread/386.c:10
		0xfefefefe ?file?:0


p=(Proc)0x57fd8    pid 94  Running
	t=(Thread)0x58978    Running    /sys/src/cmd/usb/kb/kb.c:341 ptrwork
		pread()+0x7 /sys/src/libc/9syscall/pread.s:5
		read(fd=0x11,buf=0x77488,n=0x8)+0x2f /sys/src/libc/9sys/read.c:7
		ptrwork(a=0x571d8)+0xb7 /sys/src/cmd/usb/kb/kb.c:341
		launcher386(arg=0x571d8,f=0x8843)+0x10 /sys/src/libthread/386.c:10
		0xfefefefe ?file?:0

usb debug output looks like this

usb/usbd: hub 0x5ee48 /dev/usb/ep3.0 port 1: <nildev>
usb/usbd: hub 0x5ee48 /dev/usb/ep3.0 port 2: /dev/usb/ep4.0 1 refs
usb/usbd: hub 0x5ee48 /dev/usb/ep3.0 port 3: <nildev>
usb/usbd: hub 0x5ee48 /dev/usb/ep3.0 port 4: <nildev>
usb/usbd: hub 0x5ee48 /dev/usb/ep3.0 port 5: <nildev>
usb/usbd: hub 0x5ee48 /dev/usb/ep3.0 port 6: <nildev>
usb/usbd: hub 0x5e5e8 /dev/usb/ep2.0 port 1: <nildev>
usb/usbd: hub 0x5e5e8 /dev/usb/ep2.0 port 2: <nildev>
usb/usbd: hub 0x5e668 /dev/usb/ep1.0 port 1: /dev/usb/ep3.0 csp hub.0.1 vid 0x8087 did 0x24 refs 2
	none <nil> <nil>
	conf: cval 1 attrib e0 0 mA
		iface csp hub.0.0
		  alt 0 attr 3 ival 12
		  ep id 1 addr 129 dir in type intr itype 0 maxpkt 1 ntds 1
usb/usbd: hub 0x5e668 /dev/usb/ep1.0 port 2: <nildev>
usb/usbd: fs list: (1 used 2 total)
usb/usbd:	usbdctl

; grep usb /dev/irqalloc
         97          11               123521            794000276 ioapic   usbehci
        105           5                    0                    0 ioapic   usbehci

; pci -v
0.0.0:	brg  06.00.00 8086/0108   0
	Intel Corporation Xeon E3-1200 Processor Family DRAM Controller
0.1.0:	brg  06.04.00 8086/0101  11
	Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port
0.25.0:	net  02.00.00 8086/1502   7 0:fbb00000 131072 1:fbb24000 4096 2:0000f021 32
	Intel Corporation 82579LM Gigabit Network Connection
0.26.0:	usb  0c.03.20 8086/1c2d  11 0:fbb23000 1024
	Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2
0.28.0:	brg  06.04.00 8086/1c10   5
	Intel Corporation 6 Series Chipset Family PCI Express Root Port 1
0.28.4:	brg  06.04.00 8086/1c18   5
	Intel Corporation 6 Series Chipset Family PCI Express Root Port 5
0.29.0:	usb  0c.03.20 8086/1c26   5 0:fbb22000 1024
	Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1
0.30.0:	brg  06.04.01 8086/244e 255
	Intel Corporation 82801 PCI Bridge
0.31.0:	brg  06.01.00 8086/1c54   0
	Intel Corporation C204 Chipset Family LPC Controller
0.31.2:	disk 01.06.01 8086/1c02  11 0:0000f071 16 1:0000f061 16 2:0000f051 16 3:0000f041 16 4:0000f001 32 5:fbb21000 2048
	Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller
0.31.3:	smb  0c.05.00 8086/1c22  11 0:fbb20004 256 1:00000000 16 4:00001181 32
	Intel Corporation 6 Series Chipset Family SMBus Controller
1.0.0:	disk 01.00.00 11ab/6485  11 2:0000e001 128 4:fba40004 65536 5:00000000 16
	Marvell Technology Group Ltd. MV64460/64461/64462 System Controller, Revision B
3.0.0:	net  02.00.00 8086/10d3  11 0:fb900000 131072 2:0000d001 32 3:fb920000 16384
	Intel Corporation 82574L Gigabit Network Connection
4.3.0:	vid  03.00.00 102b/0532   5 0:fa000008 16777216 1:fb800000 16384 2:fb000000 8388608
	Matrox Graphics, Inc. MGA G200eW WPCM450

- erik



             reply	other threads:[~2012-01-04 17:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-04 17:21 erik quanstrom [this message]
2012-01-04 21:01 ` erik quanstrom
     [not found] <1200785761.3734426.1493988538939.ref@mail.yahoo.com>
2017-05-05 12:48 ` [9fans] USB " G B
2017-05-05 13:29 cinap_lenrek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74bd28d9048c3e1f7e6e413d13995202@coraid.com \
    --to=quanstro@labs.coraid.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).