Page 1 of 1

Honeywell HGI80 on Linux Debian

Posted: Sunday 31 December 2017 0:12
by jenssen
Hello,

I connected a Honeywell HGI80 to a Linux Debian system (not Raspbian), I loaded the proper software (ti_3410.fw) into the /lib/firmware directory. I also added a file into the /etc/udev/rules.d/ directory, containing the information below:

--
# Rules for hotplugging Honeywell HGI80 USB device
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="10ac", ATTR{idProduct}=="0102", NAME="ttyUSB0", RUN+="/sbin/modprobe ti_usb_3410_5052"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="10ac", ATTR{idProduct}=="0102", NAME="ttyUSB0", RUN+="/bin/sh -c 'echo 10ac 0102 > /sys/bus/usb-serial/drivers/ti_usb_3410_5052_1/new_id'"
KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="10ac", ATTRS{idProduct}=="0102", NAME="ttyUSB0", SYMLINK="ttyUSB.Evo0", GROUP="dialout", MODE="0660"
--

The device is working properly, but when I disconnect the device in the USB port and plug it back in again, it is not recognized as a USB device. I have to restart Linux Debian, then it is recognized as a USB device again. I see the below in the logging (dmesg), when I restart everything is ok. I also checked this on a Raspberry (plug out the USB cable, and plug it back in), but there the unit is recognized directly as an USB device. Anyone any idea how to fix this on Linux Debian?

--
[ 254.671649] usb 3-2: Product: TUSB3410 Boot Device
[ 254.671650] usb 3-2: Manufacturer: Texas Instruments
[ 254.671652] usb 3-2: SerialNumber: TUSB3410
[ 254.675127] ti_usb_3410_5052 3-2:1.0: TI USB 3410 1 port adapter converter detected
[ 254.677602] usb 3-2: firmware: failed to load ti_usb-v10ac-p0102.fw (-2)
[ 254.677606] usb 3-2: Direct firmware load failed with error -2
[ 254.677608] usb 3-2: Falling back to user helper
[ 254.678700] usb 3-2: firmware: direct-loading firmware ti_3410.fw
[ 256.089593] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 256.961852] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 257.834224] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 258.706578] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 258.706641] ti_usb_3410_5052: probe of 3-2:1.0 failed with error -5
[ 258.706796] usb 3-2: USB disconnect, device number 4
[ 259.578900] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 260.451214] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 261.323578] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 262.195873] usb usb3-port2: Cannot enable. Maybe the USB cable is bad?
[ 262.195888] usb usb3-port2: unable to enumerate USB device
--

Re: Honeywell HGI80 on Linux Debian

Posted: Sunday 31 December 2017 11:38
by jenssen
Hello,

Tested it on Debian Jessie and Stretch with both the default kernels, both the same problem.

I only see this with "dmesg", is it possible I need "ti_usb-v10ac-p0102.fw", where can I find it?

[ 254.679491] usb 3-1: new full-speed USB device number 3 using vhci_hcd
[ 254.803582] usb 3-1: SetAddress Request (3) to port 0
[ 254.875111] usb 3-1: New USB device found, idVendor=10ac, idProduct=0102
[ 254.875117] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 254.875120] usb 3-1: Product: TUSB3410 Boot Device
[ 254.875124] usb 3-1: Manufacturer: Texas Instruments
[ 254.875127] usb 3-1: SerialNumber: TUSB3410
[ 254.881138] ti_usb_3410_5052 3-1:1.0: TI USB 3410 1 port adapter converter detected
[ 254.883292] usb 3-1: firmware: failed to load ti_usb-v10ac-p0102.fw (-2)
[ 254.884293] usb 3-1: Direct firmware load for ti_usb-v10ac-p0102.fw failed with error -2
[ 254.884843] usb 3-1: firmware: direct-loading firmware ti_3410.fw
[ 256.339581] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 257.231540] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 258.123491] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 259.015500] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
[ 259.016002] ti_usb_3410_5052: probe of 3-1:1.0 failed with error -5

Re: Honeywell HGI80 on Linux Debian

Posted: Saturday 06 January 2018 21:00
by philchillbill
No USB problems for me with an HGI80 on an Intel NUC running the latest Ubuntu. I do have a rules file applied to give persistent port names.

Re: Honeywell HGI80 on Linux Debian

Posted: Monday 08 January 2018 20:23
by jenssen
philchillbill wrote: Saturday 06 January 2018 21:00 No USB problems for me with an HGI80 on an Intel NUC running the latest Ubuntu. I do have a rules file applied to give persistent port names.
Thanks for the reply, I also have persistent port names, but that is not the issue. The issue is with detecting the USB device.