USB device repeatedly disconnected

2014-09-21 Thread Denny Lin
Hi, I have a Texas Instruments OMAP4440 connected via a USB cable to my laptop running FreeBSD 10.0-RELEASE amd64. This is the output of usbconfig -d 1.7 dump_device_desc: ugen1.7: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdU

Re: USB device repeatedly disconnected

2014-09-21 Thread Hans Petter Selasky
On 09/21/14 17:59, Denny Lin wrote: Hi, I have a Texas Instruments OMAP4440 connected via a USB cable to my laptop running FreeBSD 10.0-RELEASE amd64. This is the output of usbconfig -d 1.7 dump_device_desc: ugen1.7: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA) bLength = 0x0

Re: USB device repeatedly disconnected

2014-09-21 Thread Denny Lin
Hi Hans, On Sun, Sep 21, 2014 at 07:04:42PM +0200, Hans Petter Selasky wrote: > You can try setting: > > hw.usb.no_cs_fail=1 This appears to have no effect--the device still repeatedly disconnects. > Also run usbdump to capture the USB traffic. > > usbdump -i usbus1 -f 7 -vvv -s 65536 A sampl

Does the xHCI driver has a spec violation?

2014-09-21 Thread Kohji Okuno
Hi, I encountered a issue for USB mic. In fist time, my host controller (xHCI) sends single IN-tokens every 8-SOFs. This is expected action. But, after I open, close and open, my host controller sends plural IN-tokens between SOF and SOF. In Intel Lynx Point, I could not reproduce this issue. I'

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-21 Thread Huang Wen Hui
verbose log with hw.usb.xhci.debug="15" in BIOS mode: http://sw.gddsn.org.cn/freebsd/messages-bios.txt verbose log with hw.usb.xhci.debug="15" in UEFI mode: http://sw.gddsn.org.cn/freebsd/messages-uefi.txt 2014-09-20 20:03 GMT+08:00 Huang Wen Hui : > I try to UEFI boot 10-STABLE on MacBookPro 11

Re: Does the xHCI driver has a spec violation?

2014-09-21 Thread Hans Petter Selasky
On 09/22/14 06:58, Kohji Okuno wrote: Hi, I encountered a issue for USB mic. In fist time, my host controller (xHCI) sends single IN-tokens every 8-SOFs. This is expected action. But, after I open, close and open, my host controller sends plural IN-tokens between SOF and SOF. In Intel Lynx Poi

Re: xhci problem on UEFI boot MacBookPro 11,3

2014-09-21 Thread Hans Petter Selasky
On 09/22/14 07:42, Huang Wen Hui wrote: verbose log with hw.usb.xhci.debug="15" in BIOS mode: http://sw.gddsn.org.cn/freebsd/messages-bios.txt verbose log with hw.usb.xhci.debug="15" in UEFI mode: http://sw.gddsn.org.cn/freebsd/messages-uefi.txt Hi, It might look as if the XHCI is receiving n

Re: Does the xHCI driver has a spec violation?

2014-09-21 Thread Kohji Okuno
Hi HPS, Could you refer to the following document (4.6.6 Configure Endpoint:P.99)? This document shows: If the Drop Context flag is `1' and the Add Context flag is `1', the xHC shall: o Release the current Resources and Bandwidth allocated to the endpoint and assign the new Resources and Bandwi

Re: Does the xHCI driver has a spec violation?

2014-09-21 Thread Hans Petter Selasky
On 09/22/14 08:31, Kohji Okuno wrote: Hi HPS, Could you refer to the following document (4.6.6 Configure Endpoint:P.99)? This document shows: If the Drop Context flag is `1' and the Add Context flag is `1', the xHC shall: o Release the current Resources and Bandwidth allocated to the endpoin

Re: Does the xHCI driver has a spec violation?

2014-09-21 Thread Kohji Okuno
> On 09/22/14 08:31, Kohji Okuno wrote: >> Hi HPS, >> >> Could you refer to the following document (4.6.6 Configure Endpoint:P.99)? >> This document shows: >> >> If the Drop Context flag is `1' and the Add Context flag is `1', the xHC >> shall: >> o Release the current Resources and Bandwidth alloc