USB Troubles

164 views
Skip to first unread message

Paul Jones

unread,
Oct 20, 2014, 7:48:25 AM10/20/14
to smoothiewa...@googlegroups.com
Hi All,
I've been having troubles connecting via USB (in Windows 8.x). Most of the time when I connect the usb cable I get a serial port that doesn't work, and no mass storage. Occasionally the serial port will respond and mass storage works. This was driving me nuts so I tried to use it in Linux, where I discovered that it wasn't actually a windows problem (for a change!!). It was doing the same thing but now I can see what is happening.
Originally I was using my desktop computer, then changed to a mac book pro. Both do the same thing.
This is the dmesg output when I pulg it in and unplug it from both usb ports. Any ideas? I use the LPC1768 on one of my designs so I can quickly replace it if needed.

Thanks,
Paul.

[ 1330.721726] usb 1-2: USB disconnect, device number 3

[ 1331.994731] usb 1-1: USB disconnect, device number 44

[ 1339.547508] usb 1-2: new full-speed USB device number 45 using xhci_hcd

[ 1339.547722] usb 1-2: Device not responding to set address.

[ 1339.749240] usb 1-2: Device not responding to set address.

[ 1339.953043] usb 1-2: device not accepting address 45, error -71

[ 1340.065160] usb 1-2: new full-speed USB device number 46 using xhci_hcd

[ 1340.065379] usb 1-2: Device not responding to set address.

[ 1340.269370] usb 1-2: Device not responding to set address.

[ 1340.473191] usb 1-2: device not accepting address 46, error -71

[ 1340.585352] usb 1-2: new full-speed USB device number 47 using xhci_hcd

[ 1340.585558] usb 1-2: Device not responding to set address.

[ 1340.789579] usb 1-2: Device not responding to set address.

[ 1340.993487] usb 1-2: device not accepting address 47, error -71

[ 1341.117523] usb 1-2: new full-speed USB device number 48 using xhci_hcd

[ 1341.135413] usb 1-2: New USB device found, idVendor=1d50, idProduct=6015

[ 1341.135417] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[ 1341.135419] usb 1-2: Product: Smoothieboard

[ 1341.135421] usb 1-2: Manufacturer: Uberclock

[ 1341.135422] usb 1-2: SerialNumber: 0F0F0D04534D26D44EE8389CF5000003

[ 1341.136266] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

[ 1341.136970] usb-storage 1-2:1.2: USB Mass Storage device detected

[ 1341.137040] scsi6 : usb-storage 1-2:1.2

[ 1342.328193] usb 1-2: reset full-speed USB device number 48 using xhci_hcd

[ 1342.342972] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880053c56d80

[ 1342.342976] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5a700

[ 1342.342977] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5a740

[ 1342.342979] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5aec0

[ 1342.342980] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5ae80

[ 1342.343497] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

[ 1342.518204] usb 1-2: reset full-speed USB device number 48 using xhci_hcd

[ 1342.534782] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880053c56d80

[ 1342.534786] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5a700

[ 1342.534787] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5a740

[ 1342.534789] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5aec0

[ 1342.534790] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5ae80

[ 1342.535143] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

[ 1342.714328] usb 1-2: reset full-speed USB device number 48 using xhci_hcd

[ 1342.730935] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880053c56d80

[ 1342.730939] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5a700

[ 1342.730940] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5a740

[ 1342.730942] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5aec0

[ 1342.730943] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5ae80

[ 1342.731428] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

[ 1342.906403] usb 1-2: reset full-speed USB device number 48 using xhci_hcd

[ 1342.923053] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880053c56d80

[ 1342.923057] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5a700

[ 1342.923059] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5a740

[ 1342.923060] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5aec0

[ 1342.923061] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff880076d5ae80

[ 1342.923481] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

[ 1361.674976] usb 1-2: USB disconnect, device number 48

[ 1368.688335] usb 1-1: new full-speed USB device number 49 using xhci_hcd

[ 1368.688500] usb 1-1: Device not responding to set address.

[ 1368.892454] usb 1-1: Device not responding to set address.

[ 1369.109624] usb 1-1: device not accepting address 49, error -71

[ 1369.228434] usb 1-1: new full-speed USB device number 50 using xhci_hcd

[ 1369.228560] usb 1-1: Device not responding to set address.

[ 1369.432704] usb 1-1: Device not responding to set address.

[ 1369.636657] usb 1-1: device not accepting address 50, error -71

[ 1369.748752] usb 1-1: new full-speed USB device number 51 using xhci_hcd

[ 1369.748971] usb 1-1: Device not responding to set address.

[ 1369.952918] usb 1-1: Device not responding to set address.

[ 1370.156808] usb 1-1: device not accepting address 51, error -71

[ 1370.268889] usb 1-1: new full-speed USB device number 52 using xhci_hcd

[ 1370.286741] usb 1-1: New USB device found, idVendor=1d50, idProduct=6015

[ 1370.286745] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[ 1370.286747] usb 1-1: Product: Smoothieboard

[ 1370.286748] usb 1-1: Manufacturer: Uberclock

[ 1370.286749] usb 1-1: SerialNumber: 0F0F0D04534D26D44EE8389CF5000003

[ 1370.287540] cdc_acm 1-1:1.0: ttyACM0: USB ACM device

[ 1370.288100] usb-storage 1-1:1.2: USB Mass Storage device detected

[ 1370.288163] scsi7 : usb-storage 1-1:1.2

[ 1371.285745] scsi 7:0:0:0: Direct-Access     MBED.ORG MBED USB DISK    1.0  PQ: 0 ANSI: 0 CCS

[ 1371.285948] sd 7:0:0:0: Attached scsi generic sg2 type 0

[ 1371.286140] sd 7:0:0:0: [sdc] 15448064 512-byte logical blocks: (7.90 GB/7.36 GiB)

[ 1371.286314] sd 7:0:0:0: [sdc] Write Protect is off

[ 1371.286316] sd 7:0:0:0: [sdc] Mode Sense: 03 00 00 00

[ 1371.286460] sd 7:0:0:0: [sdc] No Caching mode page found

[ 1371.286462] sd 7:0:0:0: [sdc] Assuming drive cache: write through

[ 1371.287561] sd 7:0:0:0: [sdc] No Caching mode page found

[ 1371.287565] sd 7:0:0:0: [sdc] Assuming drive cache: write through

[ 1371.312998]  sdc: sdc1

[ 1371.314255] sd 7:0:0:0: [sdc] No Caching mode page found

[ 1371.314259] sd 7:0:0:0: [sdc] Assuming drive cache: write through

[ 1371.314262] sd 7:0:0:0: [sdc] Attached SCSI removable disk

[ 1376.496846] FAT-fs (sdc1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

[ 1376.551845] systemd-hostnamed[5053]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!

[ 1381.013098] usb 1-2: new low-speed USB device number 53 using xhci_hcd

[ 1381.035475] usb 1-2: New USB device found, idVendor=046d, idProduct=c517

[ 1381.035478] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0

[ 1381.035480] usb 1-2: Product: USB Receiver

[ 1381.035481] usb 1-2: Manufacturer: Logitech

[ 1381.035636] usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes

[ 1381.035639] usb 1-2: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes

[ 1381.038721] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/input/input17

[ 1381.038863] logitech 0003:046D:C517.0007: input,hidraw1: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-2/input0

[ 1381.044551] logitech 0003:046D:C517.0008: fixing up Logitech keyboard report descriptor

[ 1381.044825] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/input/input18

[ 1381.044968] logitech 0003:046D:C517.0008: input,hiddev0,hidraw2: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-2/input1

 

Jeremy Nelson

unread,
Oct 20, 2014, 6:59:57 PM10/20/14
to smoothiewa...@googlegroups.com

Have you tried with different USB cables? I've seen similar log messages when the cable was bad. Also try connecting directly to the computer of you are using a hub.

Jeremy

--
You received this message because you are subscribed to the Google Groups "Smoothieware Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smoothieware-sup...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

wolfmanjm

unread,
Oct 20, 2014, 8:05:01 PM10/20/14
to smoothiewa...@googlegroups.com

wolfmanjm

unread,
Oct 20, 2014, 8:06:26 PM10/20/14
to smoothiewa...@googlegroups.com
Also try powering smoothie from an external source, if you power from USB and the USB has problems with the power it will reset


On Monday, October 20, 2014 4:48:25 AM UTC-7, Paul Jones wrote:

Triffid Hunter

unread,
Oct 20, 2014, 8:16:26 PM10/20/14
to smoothiewa...@googlegroups.com
Are you using one of the TL beta boards?

They have a fault which causes log messages similar to the ones you show- the USB_CONNECT signal is shorted to ground by some bridges between the ground plane and a via.

See http://triffid-hunter.no-ip.info/101_0138_highlighted.png

The fix is to scrape those bridges away using a sharp tool (and magnification if you need it)

The reason this fault causes the described behaviour is that it causes the host computer to think that smoothie is ready to talk USB when it's actually not ready at all.

Another possibility is a bad uSD card, or a poor quality USB cable.

The uSD provided with the recent kickstarter batch is (unfortunately) a dreadfully poor quality chinese clone, fit only for the rubbish bin.

A genuine uSD from a reputable supplier will make a huge difference if that's the issue.

If you're curious, class 2 is probably best- higher speed classes sacrifice random performance for sequential performance, but filesystems mostly do random access.

As for the USB cable, you should use a short-ish cable with one or two ferrite beads, plugged directly into your computer (not via a hub).

Paul Jones

unread,
Oct 20, 2014, 9:46:31 PM10/20/14
to smoothiewa...@googlegroups.com
Bingo! This was the problem. After fixing the via it works correctly.

Thanks,
Paul.

Triffid Hunter

unread,
Oct 21, 2014, 5:18:39 AM10/21/14
to smoothiewa...@googlegroups.com
On 21 October 2014 12:46, Paul Jones <pauljon...@gmail.com> wrote:
Bingo! This was the problem. After fixing the via it works correctly.

excellent :)

Thanks for letting us what solved it for you, and welcome to the smoothie community!

Reply all
Reply to author
Forward
0 new messages