Subject: Re: ACPI vs VIA USB (netbsd-4 vs netbsd-3)
To: Michael van Elst <mlelstv@serpens.de>
From: Stephen Borrill <netbsd@precedence.co.uk>
List: port-i386
Date: 10/22/2007 09:32:55
On Sun, 21 Oct 2007, Michael van Elst wrote:
> netbsd@precedence.co.uk (Stephen Borrill) writes:
>
>> To follow myself up, here's the relevant output with usbdebug and
>> uhcidebug set to 10 as I plug in the pendrive with a usb mouse plugged in:
>
> This looks like uhub_explore.
>
> Can you please repeat the test with uhubdebug set to 10 as well?

Sure:

usb_transfer_complete: pipe=0xc0e11080 xfer=0xc0e13200 status=0 actlen=1
usb_transfer_complete: repeat=1 new head=0xc0e13200
uhub_intr: sc=0xc0e11180
usb_needs_explore
usb_event_thread: woke up
usb_discover
uhub_explore dev=0xc0e11280 addr=1
usbd_alloc_xfer() = 0xc0e13100
usbd_transfer: xfer=0xc0e13100, flags=2, pipe=0xc0e11200, running=0
usbd_dump_queue: pipe=0xc0e11200
usb_allocmem: use frag=0xc981ee80 size=4
usb_insert_transfer: pipe=0xc0e11200 running=0 timeout=5000
uhci_root_ctrl_control type=0xa3 request=00
usb_transfer_complete: pipe=0xc0e11200 xfer=0xc0e13100 status=0 actlen=4
usb_freemem: frag=0xc981ee80
usb_transfer_complete: repeat=0 new head=0x0
usbd_start_next: pipe=0xc0e11200, xfer=0x0
usbd_free_xfer: 0xc0e13100
uhub_explore: uhub2 port 1 status 0x0108 0x0000
uhub_explore: port=1 !C_CONNECT_STATUS
usbd_alloc_xfer() = 0xc0e13100
usbd_transfer: xfer=0xc0e13100, flags=2, pipe=0xc0e11200, running=0
usbd_dump_queue: pipe=0xc0e11200
usb_allocmem: use frag=0xc981ee80 size=4
usb_insert_transfer: pipe=0xc0e11200 running=0 timeout=5000
uhci_root_ctrl_control type=0xa3 request=00
usb_transfer_complete: pipe=0xc0e11200 xfer=0xc0e13100 status=0 actlen=4
usb_freemem: frag=0xc981ee80
usb_transfer_complete: repeat=0 new head=0x0
usbd_start_next: pipe=0xc0e11200, xfer=0x0
usbd_free_xfer: 0xc0e13100
uhub_explore: uhub2 port 2 status 0x0308 0x0003
uhub_explore: C_PORT_ENABLED
usbd_alloc_xfer() = 0xc0e13100
usbd_transfer: xfer=0xc0e13100, flags=2, pipe=0xc0e11200, running=0
usbd_dump_queue: pipe=0xc0e11200
usb_insert_transfer: pipe=0xc0e11200 running=0 timeout=5000
uhci_root_ctrl_control type=0x23 request=01
uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=2 feature=17
usb_transfer_complete: pipe=0xc0e11200 xfer=0xc0e13100 status=0 actlen=0
usb_transfer_complete: repeat=0 new head=0x0
usbd_start_next: pipe=0xc0e11200, xfer=0x0
usbd_free_xfer: 0xc0e13100
uhub_explore: status change hub=1 port=2
usbd_alloc_xfer() = 0xc0e13100
usbd_transfer: xfer=0xc0e13100, flags=2, pipe=0xc0e11200, running=0
usbd_dump_queue: pipe=0xc0e11200
usb_insert_transfer: pipe=0xc0e11200 running=0 timeout=5000
uhci_root_ctrl_control type=0x23 request=01
uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=2 feature=16
usb_transfer_complete: pipe=0xc0e11200 xfer=0xc0e13100 status=0 actlen=0
usb_transfer_complete: repeat=0 new head=0x0
usbd_start_next: pipe=0xc0e11200, xfer=0x0
usbd_free_xfer: 0xc0e13100
uhub_explore: device addr=2 disappeared on port 2
uhub_disconnect: up=0xc0e11144 dev=0xc0e24680 port=2
usb_disconnect_port: disconnect subdevs
uhidev0: at uhub2 port 2 (addr 2) disconnected
wsmouse1 detached
ums0 detached
uhidev0 detached
usbd_ar_pipe: pipe=0xc0e24600
usbd_dump_queue: pipe=0xc0e24600
usbd_alloc_xfer() = 0xc0e13100
usbd_transfer: xfer=0xc0e13100, flags=2, pipe=0xc0e11200, running=0
usbd_dump_queue: pipe=0xc0e11200
usb_insert_transfer: pipe=0xc0e11200 running=0 timeout=5000
uhci_root_ctrl_control type=0x23 request=01
uhci_root_ctrl_control: UR_CLEAR_PORT_FEATURE port=2 feature=16
usb_transfer_complete: pipe=0xc0e11200 xfer=0xc0e13100 status=0 actlen=0
usb_transfer_complete: repeat=0 new head=0x0
usbd_start_next: pipe=0xc0e11200, xfer=0x0
usbd_free_xfer: 0xc0e13100
uhub_explore: port=2 !CURRENT_CONNECT_STATUS

-- 
Stephen