On Mon, Mar 17, 2014 at 11:40 AM, Johan Hovold <jo...@hovold.com> wrote:
>> issues.  It's included below
>> https://gist.github.com/bewest/6488955#file-lsusb

> I'm responding to this mail with a patch for you to test. The patch is
> also available here:
>
>         
> https://git.kernel.org/cgit/linux/kernel/git/johan/usb-serial.git/log/?h=carelink
>
> as a commit on top of usb-next. It's quite likely that the problem
> you've been having has already been fixed (in v3.14-rc) so I suggest
> just testing the carelink branch above. Remember to enable the
> usb-serial-simple driver.

Howdy Johan,

Thanks very much for the patch; I tested your branch with my Carelink
stick and it works sometimes.

Here's an example of it working as expected:

Mar 17 16:51:08 patient logger: Linux patient
3.14.0-rc6-bewest-test-carelink-01 #5 SMP Mon Mar 17 15:32:48 PDT 2014
x86_64 x86_64 x86_64 GNU/Linux
Mar 17 16:51:15 patient kernel: [ 1304.065633] usb 3-1: new full-speed
USB device number 9 using xhci_hcd
Mar 17 16:51:15 patient kernel: [ 1304.195494] usb 3-1: New USB device
found, idVendor=0a21, idProduct=8001
Mar 17 16:51:15 patient kernel: [ 1304.195498] usb 3-1: New USB device
strings: Mfr=0, Product=0, SerialNumber=0
Mar 17 16:51:15 patient kernel: [ 1304.196137] usb_serial_simple
3-1:1.0: carelink converter detected
Mar 17 16:51:15 patient kernel: [ 1304.196242] usb 3-1: carelink
converter now attached to ttyUSB0
Mar 17 16:51:15 patient mtp-probe: checking bus 3, device 9:
"/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Mar 17 16:51:15 patient mtp-probe: bus: 3, device: 9 was not an MTP device

And I was able to use the created device.
However, most of the time, I get this:

Mar 17 23:19:38 patient logger: Linux patient
3.14.0-rc6-bewest-test-carelink-01 #5 SMP Mon Mar 17 15:32:48 PDT 2014
x86_64 x86_64 x86_64 GNU/Linux
Mar 17 23:20:12 patient testing-carelink: inserting carelink stick in first port
Mar 17 23:20:20 patient kernel: [24640.467545] usb 3-1: new full-speed
USB device number 35 using xhci_hcd
Mar 17 23:20:25 patient kernel: [24645.577653] xhci_hcd 0000:00:14.0:
Timeout while waiting for setup address command
Mar 17 23:20:30 patient whoopsie[1258]: online
Mar 17 23:20:30 patient kernel: [24650.779769] xhci_hcd 0000:00:14.0:
Timeout while waiting for setup address command
Mar 17 23:20:30 patient kernel: [24650.983694] usb 3-1: device not
accepting address 35, error -62
Mar 17 23:20:30 patient kernel: [24651.095691] usb 3-1: new full-speed
USB device number 36 using xhci_hcd
Mar 17 23:20:31 patient whoopsie[1258]: online
Mar 17 23:20:41 patient whoopsie[1258]: online
Mar 17 23:20:45 patient kernel: [24666.202282] usb 3-1: device
descriptor read/64, error -110
Mar 17 23:20:46 patient kernel: [24666.306135] xhci_hcd 0000:00:14.0:
Setup ERROR: setup context command for slot 5.
Mar 17 23:20:46 patient kernel: [24666.306141] usb 3-1: hub failed to
enable device, error -22
Mar 17 23:20:46 patient kernel: [24666.418152] usb 3-1: new full-speed
USB device number 37 using xhci_hcd
Mar 17 23:20:51 patient kernel: [24671.416240] xhci_hcd 0000:00:14.0:
Timeout while waiting for setup address command
Mar 17 23:20:56 patient kernel: [24676.618419] xhci_hcd 0000:00:14.0:
Timeout while waiting for setup address command
Mar 17 23:20:56 patient kernel: [24676.822348] usb 3-1: device not
accepting address 37, error -62
Mar 17 23:20:56 patient kernel: [24676.934363] usb 3-1: new full-speed
USB device number 38 using xhci_hcd
Mar 17 23:21:01 patient kernel: [24681.932496] xhci_hcd 0000:00:14.0:
Timeout while waiting for setup address command
Mar 17 23:21:06 patient kernel: [24687.134629] xhci_hcd 0000:00:14.0:
Timeout while waiting for setup address command
Mar 17 23:21:07 patient kernel: [24687.338507] usb 3-1: device not
accepting address 38, error -62
Mar 17 23:21:07 patient kernel: [24687.338556] hub 3-0:1.0: unable to
enumerate USB device on port 1
Mar 17 23:23:02 patient testing-carelink: removing stick

These two logs are from the same kernel, same machine, just minutes apart.
When the usb device enumerates, the patch on your carelink branch
works well, thanks very much.

-bewest
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to