Port-evbmips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
usb xhci driver
Hi,
I would need some help on the xhci driver that was recently added.
I am trying to backport xhci driver to old netbsd port (5.1) (on the board
with xhci controller). With this, I couldn't see usb device getting created
i.e, no mass storage device though I have usb stick inserted into usb port.
Below are some of the xhci related logs.If I am correct, xhci_new_device
should be invoked twice once for the root hub port and the other for the
usb device, but it is getting invoked only once for root hub and not for
the usb device.
There is some issue in enumerating the usb port.
xhci0: xHCI version 1.0
xhci0: maxslots 64, maxintrs 8, maxports 2
xhci0: ac64 1 ctxsz 64
xhci0: xECP 960
xhci0: ECR 960: 00000401
xhci0: ECR 970: 02000402
xhci0: SP: 02000402 20425355 00080101
xhci0: ECR 980: 03000002
xhci0: SP: 03000002 20425355 00000102
xhci: sc_hs_port_start 1, sc_hs_port_count 1
xhci0: PAGESIZE 0x00000001
xhci0: sc_pgsz 0x00001000
xhci0: sc_maxslots 0x00000040
xhci0: sc_maxspbuf 1
xhci0: config 0x00000040
xhci0: Register 0x02000840, NbrPorts 2
xhci0: eventst: NORMAL_COMPLETION 0000000020000f80 0xd1524f80 1000
xhci0: dcbaa: NORMAL_COMPLETION 0000000020004000 0xd1528000 1000
xhci0: USBCMD 00000005
usb0 at xhci0: USB revision 2.0
usb_discover invoked, explore 0, dying 0" frequency 100 Hz quality 0
usb_discover invoked, explore 0, dying 0
usb_doattach invoked
invoking usbd_new_device
xhci0: xhci_new_device up 0xd14d681c portno 0
xhci0: xhci_new_device hub 0xc005c400
xhci0: xhci_new_device hub 0x0
xhci0: xhci_new_device rhport 0
xhci0: xhci_open addr 0 depth 0 port 0 speed 3
uhub0 at usb0: NetBSD xHCI Root Hub, class 9/0, rev 2.00/1.00, addr 0
uhub0: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
usbd_add_drv_event added
usb_event_thread: start
usbd_add_drv_event added
usb_discover invoked, explore 1, dying 0
uhub_explore dev=0xc005c400 addr=0
xhci_root_ctrl_start: get port status i=1
uhub0 port 1: s/c=100/0
xhci_root_ctrl_start: get port status i=2
uhub0 port 2: s/c=100/0
uhub_explore complete
usb_discover invoked, explore 0, dying 0
usb_discover invoked, explore 1, dying 0
usb_discover invoked, explore 0, dying 0
usb_discover invoked, explore 0, dying 0
Thanks & Regards
Rajasekhar
Home |
Main Index |
Thread Index |
Old Index