Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cdc_acm 3-4:1.0: Zero length descriptor references #1
This issue was discovered and reported directly to me by by @craigerl. I'm just documenting it here so others are aware of it if they're trying to use bc125at-perl.
When you plug the device in, you get this, and then the /dev/ttyUSB0 device is not usable even after loading the usbserial driver with the correct arguments:
[ 750.512281] usb 3-4: new full-speed USB device number 7 using xhci_hcd
Based on the report from @craigerl, it sounds like a kernel patch that resolved the issue with the BC125XLT may also be relevant for the BC125AT:
I haven't had a chance to test this out yet, but I will update this issue with more info as I learn about it. If the kernel patch works, I'll at least document it in the README file. If there's a workaround that can be applied short of patching the kernel, I'll try to automate it somehow.
I was able to get bc125at-perl to work again WITHOUT a kernel patch using a tip I found here:
The command, adjusted for the Uniden vendor/product ids is:
echo 1965 0017 2 076d 0006 > /sys/bus/usb/drivers/cdc_acm/new_id
Then I needed to patch bc125at-perl to be aware of the /dev/ttyACM0 device name instead of /dev/ttyUSB0.
Oct 7, 2018
This should be working now. I'm still running into a problem with the driver helper (setuid program that attempts to set up the driver for you), but the bc125at-perl program works overall as long as you've applied this cdc_acm workaround manually beforehand and chowned the ttyACM0 device to the user as which you run bc125at-perl. Obviously this is something you'll need to do as root.
Confirmed, Ubuntu 18.04 works perfectly.
Additionally, from my notes:
add user to dialout in /etc/group a/o chmod 666 /dev/ttyACM0
Awesome. Thanks for confirming.
I'll work on improving the automated device setup for permissions, etc., but hopefully the manual workaround will at least allow you to use it the way you need to.
Also, thank you for bringing this issue to my attention in the first place.