You are not logged in.
Hello, I hope this is the right place to ask the question, out of ideas searching the internets for this... (Maybe I queried incorrectly, but...)
I have a CC3D (CopterControl board), when I connect it to my running laptop (Arch Linux latest update) - it always seems to come up as a HID device. There is no tty device.
[ 448.911082] usb 2-1: new full-speed USB device number 6 using xhci_hcd
[ 449.110885] usbcore: registered new interface driver usbhid
[ 449.110889] usbhid: USB HID core driver
[ 449.113548] hid-generic 0003:20A0:415B.0002: hiddev0,hidraw1: USB HID v1.10 Device [openpilot.org CopterControl] on usb-0000:00:14.0-1/input0
[ 579.595536] usb 2-1: USB disconnect, device number 6If I reboot with the CC3D plugged in, I have a device node that I can connect to (/dev/ttyACM0).
[ 1.182669] usb 2-1: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 3.396249] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
[ 3.396467] usbcore: registered new interface driver cdc_acm
[ 3.396471] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adaptersIf I unplug it and plug it in again it's a HID... I suspect there is something telling it to treat the device as a HID that is not enabled at the point of registration at boot but my searches have not been fruitful.
I have tried various USB ports on this laptop Inspiron 15 5000, I know not all are USB3.
Any ideas? Thanks!
Last edited by pwkpete (2015-10-30 22:08:05)
Offline
Additional info:
I wonder if this has any bearing as to what is going on - lsusb -v results for this device:
Bus 002 Device 009: ID 20a0:415b Clay Logic CopterControl
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x20a0 Clay Logic
idProduct 0x415b CopterControl
bcdDevice 4.01
iManufacturer 1 (error)
iProduct can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
cannot read device status, Resource temporarily unavailable (11)
Couldn't open device, some information will be missing
2 (error)
Offline
Anyone have an idea as to what is going on? Is there any additional info that I can get from the system that will help?
Offline
So you have separate USB2 and USB3 ports and the same happens everywhere?
Is lsusb -v output the same in both cases?
Does running lsusb as root provide more information?
Offline
Hi, thanks for the quick reply.
Yes, I just verified again on the USB 2.0 port, I get the same results as I describe in my 2nd post. (That post was from the USB 3.0 port)
I have been running lsusb as root, just in case...
This is really odd, I'm stumped. When I reboot it is does not come up as a HID but get a valid /dev/ttyACM0 device
Offline
Actually, I asked whether lsusb is the same when it works and when it doesn't work. I suppose it isn't.
If other devices work then I would blame this controller. Maybe it needs some time after power-up before it's ready to accept USB connection? Try few times to insert the plug very slowly so that 5V supply connects long before data lines ![]()
Maybe it will work if you connect it to USB3 and reload the xhci_hcd module.
Offline
Appreciate your suggestions, I'll give them a try!
Offline
I used a powered hub and that seems to cause it to work out. Thanks for the idea!
Offline