9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] usb configuration
Date: Mon,  3 Mar 2014 09:27:19 -0500	[thread overview]
Message-ID: <742c4d892a31e0f1039a8368a4283b2e@mikro.quanstro.net> (raw)
In-Reply-To: <4638b6b88153b39703eefcdb696879dd@hamnavoe.com>

so the keyboard is not working, and usbd gets the closedevice message,
but usb/kb doesn't exit.  could there be some confusion about which devices
belong to which hubs.

- erik


---
#l3: i40: 40000Mbps port 0xfffffe00f9000000 tbdf 2.0.1 tu 1514 6805ca1f72f1
acpi: enable interrupt
/boot/usbd: /dev/usb/ep1.0 starting
/boot/usbd: opendev 0x439bd8 /dev/usb/ep1.0
/boot/usbd: /dev/usb/ep1.0: ports 2 maxpkt 64
/boot/usbd: hub 0x439b78 allocated: ports 2 pwrms 0 max curr 0 pwrm 0 cmp 0 leds 0
/boot/usbd: /dev/usb/ep2.0 starting
/boot/usbd: opendev 0x439db8 /dev/usb/ep2.0
/boot/usbd: /dev/usb/ep2.0: ports 2 maxpkt 64
/boot/usbd: hub 0x439d58 allocated: ports 2 pwrms 0 max curr 0 pwrm 0 cmp 0 leds 0
/boot/usbd: /dev/usb/ep2.0: port 1 attach sts 0x401
/boot/usbd: /dev/usb/ep2.0: port 1: attached status 0x403
/boot/usbd: opendev 0x439f38 /dev/usb/ep3.0
/boot/usbd; /dev/usb/ep2.0: port 1: maxpkt 64
/boot/usbd: /dev/usb/ep3.0 csp hub.0.1 vid 0x8087 did 0x0024 refs 1
	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
/boot/usbd: /dev/usb/ep2.0: port 1: configed: /dev/usb/ep3.0
/boot/usbd: hub 0x43a858 allocated: ports 6 pwrms 100 max curr 0 pwrm 1 cmp 0 leds 0
usb/hub... /boot/usbd: /dev/usb/ep3.0 port 1: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep3.0: port 2 attach sts 0x101
/boot/usbd: /dev/usb/ep3.0: port 2: attached status 0x103
/boot/usbd: opendev 0x43a8b8 /dev/usb/ep4.0
/boot/usbd; /dev/usb/ep3.0: port 2: maxpkt 8
/boot/usbd: /dev/usb/ep4.0 csp hub.0.0 vid 0x05ac did 0x1003 refs 1
	Mitsumi ElectricB Hub in Apple Extended USB Keyboard none
	conf: cval 1 attrib a0 50 mA
		iface csp hub.0.0
		  alt 0 attr 3 ival 255
		  ep id 1 addr 129 dir in type intr itype 0 maxpkt 1 ntds 1
/boot/usbd: /dev/usb/ep3.0: port 2: configed: /dev/usb/ep4.0
/boot/usbd: hub 0x4291c8 allocated: ports 3 pwrms 100 max curr 50 pwrm 1 cmp 1 leds 0
usb/hub... /boot/usbd: /dev/usb/ep4.0 port 1: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep4.0 port 2: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep4.0: port 3 attach sts 0x101
/boot/usbd: /dev/usb/ep4.0: port 3: attached status 0x103
/boot/usbd: opendev 0x429308 /dev/usb/ep5.0
/boot/usbd: /dev/usb/ep4.0: port 3: attach setaddress: transaction error
/boot/usbd: closedev 0x429308 /dev/usb/ep5.0
/boot/usbd: /dev/usb/ep3.0 port 2: sts p 0x101 -> ep 0x103
/boot/usbd: /dev/usb/ep3.0 port 3: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep3.0 port 4: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep3.0 port 5: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep3.0 port 6: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep2.0 port 1: sts hp 0x401 -> hep 0x403
/boot/usbd: /dev/usb/ep1.0: port 1 attach sts 0x401
/boot/usbd: /dev/usb/ep1.0: port 1: attached status 0x403
/boot/usbd: opendev 0x429308 /dev/usb/ep5.0
/boot/usbd; /dev/usb/ep1.0: port 1: maxpkt 64
/boot/usbd: /dev/usb/ep5.0 csp hub.0.1 vid 0x8087 did 0x0024 refs 1
	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
/boot/usbd: /dev/usb/ep1.0: port 1: configed: /dev/usb/ep5.0
/boot/usbd: hub 0x429c28 allocated: ports 6 pwrms 100 max curr 0 pwrm 1 cmp 0 leds 0
usb/hub... /boot/usbd: /dev/usb/ep5.0 port 1: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep5.0: port 2 attach sts 0x101
/boot/usbd: /dev/usb/ep5.0: port 2: attached status 0x103
/boot/usbd: opendev 0x429e08 /dev/usb/ep6.0
/boot/usbd; /dev/usb/ep5.0: port 2: maxpkt 64
/boot/usbd: /dev/usb/ep6.0 csp hid.1.2 vid 0x0557 did 0x2221 refs 1
	Winbond Electronics CorpB Hermon USB hidmouse Device none
	conf: cval 1 attrib e0 100 mA
		iface csp hid.1.2
		  alt 0 attr 3 ival 10
		  ep id 2 addr 130 dir in type intr itype 0 maxpkt 8 ntds 1
		iface csp hid.1.1
		  alt 0 attr 3 ival 10
		  ep id 1 addr 129 dir in type intr itype 0 maxpkt 8 ntds 1
		dev desc 21[9]:  09 21 00 01 00 01 22 4f 00
		dev desc 21[9]:  09 21 00 01 00 01 22 40 00
/boot/usbd: /dev/usb/ep5.0: port 2: configed: /dev/usb/ep6.0
/boot/usbd: start: kb -N 0 -d
/boot/usbd: opendev 0x42b7e8 /dev/usb/ep6.0
kb: main: dev /dev/usb/ep6.0 ref 1
usb/kb... /boot/usbd: opendev 0x42ac08 /dev/usb/ep6.1
/boot/usbd: /dev/usb/ep6.1: maxpkt 8
/boot/usbd: /dev/usb/ep6.1: ntds 1
setting boot protocol
kb: #m/mousein: unknown device in # filename
/boot/usbd: /dev/usb/ep5.0 port 3: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep5.0 port 4: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep5.0 port 5: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep5.0 port 6: sts - 0x0 -> - 0x100
/boot/usbd: /dev/usb/ep1.0 port 1: sts hp 0x401 -> hep 0x403
/boot/usbd: fsadd usbdctl
sdE0: llba 976,773,168 512-byte sectors
  ST9500530NS SN04 9SP1HX8K [newdrive]
ipconfig...PFPG	0
/boot/usbd: /dev/usb/ep5.0 port 2: sts p 0x101 -> ep 0x103
connect...
version...t.
icr 02000000 00000000 00000000
icr 04000000 80100401 00000004
#l3: i40:pf 1: hmcerr 80100401 00000004

init: starting /bin/rc
ivey# ps -a | grep kb
bootes            3    0:00   0:00        0K Wakeme   conskbdq
bootes            4    0:00   0:00        0K Wakeme   conskbdq
bootes            9    0:00   0:00     4096K Pread    usbd [kbd /dev/usb/ep6.1]
bootes           10    0:00   0:00     4096K Rendez   usbd [kbd repeat]
bootes           11    0:00   0:00     4096K Sleep    usbd [kbd reptimer]
bootes          160    0:00   0:00     4096K Pread    grep kb
ivey#
ivey#
ivey#
ivey# /boot/usbd: /dev/usb/ep3.0: port 2: detached
/boot/usbd: closing hub 0x4291c8
/boot/usbd: closedev 0x43a8b8 /dev/usb/ep4.0

ivey# ps -a | grep kbd
bootes            3    0:00   0:00        0K Wakeme   conskbdq
bootes            4    0:00   0:00        0K Wakeme   conskbdq
bootes            9    0:00   0:00     4096K Pread    usbd [kbd /dev/usb/ep6.1]
bootes           10    0:00   0:00     4096K Rendez   usbd [kbd repeat]
bootes           11    0:00   0:00     4096K Sleep    usbd [kbd reptimer]
bootes          164    0:00   0:00     4096K Pread    grep kbd



  reply	other threads:[~2014-03-03 14:27 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 13:37 Richard Miller
2014-03-03 13:45 ` erik quanstrom
2014-03-03 13:52   ` Richard Miller
2014-03-03 14:27     ` erik quanstrom [this message]
2014-03-03 14:42 ` cinap_lenrek
2014-03-03 14:56   ` Richard Miller
2014-03-03 15:24     ` cinap_lenrek
2014-03-03 15:32       ` erik quanstrom
2014-03-03 15:37     ` erik quanstrom
2014-03-03 17:29       ` Ramakrishnan Muthukrishnan
2014-03-03 17:32         ` erik quanstrom
2014-03-03 17:41           ` Ramakrishnan Muthukrishnan
2014-03-03 18:24             ` Joseph Thompson
2014-03-03 18:25             ` erik quanstrom
2014-03-04 11:11             ` Nicolas Bercher
2014-03-04 11:28               ` Steve Simon
2014-03-04 17:40                 ` Mark van Atten
2014-03-05  9:29                 ` Nicolas Bercher

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=742c4d892a31e0f1039a8368a4283b2e@mikro.quanstro.net \
    --to=quanstro@quanstro.net \
    --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).