Honeywell HGI80 on Linux Debian
Posted: Sunday 31 December 2017 0:12
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
--
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
--