The following reply was made to PR usb/179342; it has been noted by GNATS.

From: Miguel Clara <miguelmcl...@gmail.com>
To: Hans Petter Selasky <h...@bitfrost.no>
Cc: freebsd-gnats-sub...@freebsd.org, bug-follo...@freebsd.org
Subject: Re: usb/179342: Freebsd 10.0-current USB 3.0 not working
 (xhci_do_comand: Command timeout!)
Date: Fri, 7 Jun 2013 13:44:39 +0100

 Hi,
 
 This patch does fix the issue (tested with different memsticks), I can
 now use usb drivers!
 
 I do see this at boot:
 ugen1.2: <vendor 0x8087> at usbus1
 uhub4: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr
 2> on usbus1
 uhub4: 6 ports with 6 removable, self powered
 uhub3: 8 ports with 8 removable, self powered
 ugen1.3: <Generic> at usbus1
 usbd_setup_device_desc: getting device descriptor at addr 1 failed,
 USB_ERR_TIMEOUT
 usbd_setup_device_desc: getting device descriptor at addr 1 failed,
 USB_ERR_TIMEOUT
 usbd_setup_device_desc: getting device descriptor at addr 1 failed,
 USB_ERR_TIMEOUT
 usbd_setup_device_desc: getting device descriptor at addr 1 failed,
 USB_ERR_TIMEOUT
 usbd_setup_device_desc: getting device descriptor at addr 1 failed,
 USB_ERR_TIMEOUT
 ugen0.2: <Unknown> at usbus0 (disconnected)
 uhub_reattach_port: could not allocate new device
 
 I guess its not related to the xhci problem, but another usb
 device.... but It tough I should mentioned it...
 
 Thanks
 
 On Fri, Jun 7, 2013 at 7:06 AM, Hans Petter Selasky <h...@bitfrost.no> wrote:
 > On 06/05/13 21:05, Miguel C. wrote:
 >>
 >>
 >>> Number:         179342
 >>> Category:       usb
 >>> Synopsis:       Freebsd 10.0-current USB 3.0 not working (xhci_do_comand:
 >>> Command timeout!)
 >>> Confidential:   no
 >>> Severity:       non-critical
 >>> Priority:       low
 >>> Responsible:    freebsd-usb
 >>> State:          open
 >>> Quarter:
 >>> Keywords:
 >>> Date-Required:
 >>> Class:          sw-bug
 >>> Submitter-Id:   current-users
 >>> Arrival-Date:   Wed Jun 05 19:10:00 UTC 2013
 >>> Closed-Date:
 >>> Last-Modified:
 >>> Originator:     Miguel C.
 >>> Release:
 >>> Organization:
 >>> Environment:
 >>
 >> % uname -a
 >> FreeBSD r2d2 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Mon May 13 00:54:58 UTC
 >> 2013     r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
 >>>
 >>> Description:
 >>
 >> This is an Ultrabook (acer s3) with only one USB 3.0 Controller (2-ports)
 >>
 >> I first noticed that I could not install 10-current using the memstick
 >> images, I got stuck at mount root, after upgrading form 9.1 using base and
 >> kernel tarballs I noticed that the system has no longer detecting my
 >> memsticks.
 >>
 >>
 >> When connecting usb devices (memstick,hdd) I get:
 >>
 >> xhci_do_comand: Command timeout!
 >> usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored)
 >> usbgen0.2: <Unknown> at usbus0 (disconnected)
 >> usb_reattach_port: could not allocate new device
 >>
 >>
 >> More info about the controller:
 >> xhci0: <Intel Panther Point USB 3.0 controller> mem 0xc0500000-0xc050ffff
 >> at device 20.0 on pci0
 >>
 >> And has I explained in the mailling list, I already tried:
 >>
 >> sysctl hw.xhci.xhci_port_route=-1 (and =1) in /boot/loader.conf
 >> (and in sysctl.conf but I guess the first one is the proper way
 >>
 >> rebooted, and still no luck.
 >>
 >>
 >>> How-To-Repeat:
 >>
 >> 1: Download a memstick image and dd to a usb, after boot you get stuck at
 >> "mountroot" prompt.
 >>
 >> 2: If you're able to install 10-0 current any other way, just connect a
 >> USB memstick to 3.0 controller, and you'll see the problem (unless if this
 >> is related to my controller specifically - Intel Panther Point USB 3.0)
 >>>
 >>> Fix:
 >>
 >> Tried: sysctl hw.xhci.xhci_port_route=-1 -> DID NOT work!
 >>
 >
 > Hi,
 >
 > Can you patch the kernel using the attached patch? It will fake interrupts.
 > Does the XHCI work now?
 >
 > --HPS
 >
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to