Page 1 of 1

HGI80 install on a Pi - getting Lost

Posted: Friday 11 May 2018 10:15
by billytkid
<r>Morning all,<br/>
<br/>
I'm trying to get a HGI80 running on my Pi, but the explanation on the wiki goes pretty hardcore, pretty quickly and I'm lost!<br/>
<br/>
I ended up following this (from a post on domoticaforum):<br/>

<CODE><s>

Code: Select all

</s>cd /lib/firmware/
sudo wget ftp://ftp.lyx.org/pub/linux/distributions/0linux/archives_sources/linux-firmware/linux-firmware/ti_3410.fw
cd /etc/udev/rules.d/
sudo nano 46-hgi80_usb.rules<e>
</e></CODE>
(note I had to change the URL to a place where the file could be downloaded from)<br/>
Inside that have:<br/>

<CODE><s>

Code: Select all

</s># 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'"<e>
</e></CODE>

Add in /etc/udev/rules.d/99-usb-serial.rules to have persistent USB device<br/>

<CODE><s>

Code: Select all

</s>SUBSYSTEM=="tty", subsystems=="usb", ENV{ID_VENDOR}=="10ac", SYMLINK+="ttyUSB13"
<e>
</e></CODE>

But I'm still getting no devices showing.<br/>
<br/>
When I run dmesg I can see some issues on the USB:
<QUOTE><s>
</s>[ 16.120473] usb 1-1.4: new full-speed USB device number 5 using dwc_otg<br/>
[ 16.295555] usb 1-1.4: New USB device found, idVendor=10ac, idProduct=0102<br/>
[ 16.295571] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br/>
[ 16.295582] usb 1-1.4: Product: TUSB3410 Boot Device<br/>
[ 16.295592] usb 1-1.4: Manufacturer: Texas Instruments<br/>
[ 16.295603] usb 1-1.4: SerialNumber: TUSB3410<br/>
[ 16.322851] usbcore: registered new interface driver usbserial<br/>
[ 16.322964] usbcore: registered new interface driver usbserial_generic<br/>
[ 16.323077] usbserial: USB Serial support registered for generic<br/>
[ 16.328075] usbcore: registered new interface driver ti_usb_3410_5052<br/>
[ 16.328245] usbserial: USB Serial support registered for TI USB 3410 1 port adapter<br/>
[ 16.328357] usbserial: USB Serial support registered for TI USB 5052 2 port adapter<br/>
[ 16.328528] ti_usb_3410_5052 1-1.4:1.0: TI USB 3410 1 port adapter converter detected<br/>
[ 16.329820] usb 1-1.4: Direct firmware load for ti_usb-v10ac-p0102.fw failed with error -2<br/>
[ 17.130478] usb 1-1.4: reset full-speed USB device number 5 using dwc_otg<br/>
[ 17.266368] usb 1-1.4: device firmware changed<br/>
[ 17.266686] ti_usb_3410_5052: probe of 1-1.4:1.0 failed with error -5<br/>
[ 17.266767] usb 1-1.4: USB disconnect, device number 5<br/>
[ 17.360520] usb 1-1.4: new full-speed USB device number 6 using dwc_otg<br/>
[ 17.552820] usb 1-1.4: New USB device found, idVendor=10ac, idProduct=0102<br/>
[ 17.552838] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3<br/>
[ 17.552848] usb 1-1.4: Product: TUSB3410 Boot Device<br/>
[ 17.552859] usb 1-1.4: Manufacturer: Texas Instruments<br/>
[ 17.552869] usb 1-1.4: SerialNumber: TUSB3410<br/>
[ 17.555704] ti_usb_3410_5052 1-1.4:1.0: TI USB 3410 1 port adapter converter detected<br/>
[ 17.555778] ti_usb_3410_5052: probe of 1-1.4:1.0 failed with error -5<br/>
[ 17.558481] ti_usb_3410_5052 1-1.4:2.0: TI USB 3410 1 port adapter converter detected<br/>
[ 17.559058] usb 1-1.4: TI USB 3410 1 port adapter converter now attached to ttyUSB0<br/>
[ 18.150083] random: crng init done<e>
</e></QUOTE></r>


Can anyone help?

Thanks

Re: HGI80 install on a Pi - getting Lost

Posted: Friday 11 May 2018 13:56
by Cybertom
Are you using usb-hub ?
try to slowdown usb-speed

sudo nano /boot/cmdline.txt
dwc_otg.speed=1

Re: HGI80 install on a Pi - getting Lost

Posted: Monday 14 May 2018 16:44
by billytkid
Thanks for getting back to me

No USB hub, straight into the Pi

Re: HGI80 install on a Pi - getting Lost

Posted: Tuesday 04 September 2018 15:14
by rob0t1704
Have you solved the problem? I have the same problems. I can't get it up and running

Re: HGI80 install on a Pi - getting Lost

Posted: Wednesday 31 August 2022 8:51
by coolchilli
Hi everyone -

I was also having the same problem, but then I found the firmware file on another post in this forum and saved it in /bin/firmware

I renamed it to the same filename as the error message I was seeing in dsemg and now I get the message that the TI device is connected to ttyUSB1...

but still in Domoticz, adding the Evohome USB hardware won't let me select a port... would really appreciate some help!

Re: HGI80 install on a Pi - getting Lost

Posted: Wednesday 31 August 2022 19:55
by coolchilli
these are the relevant messages in dmesg:

[ 16.900870] usb 1-1.5: new full-speed USB device number 5 using dwc_otg
[ 17.049899] usb 1-1.5: New USB device found, idVendor=10ac, idProduct=0102, bcdDevice= 1.01
[ 17.049931] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 17.049943] usb 1-1.5: Product: TUSB3410 Boot Device
[ 17.049960] usb 1-1.5: Manufacturer: Texas Instruments
[ 17.049971] usb 1-1.5: SerialNumber: TUSB3410
[ 17.137211] usbcore: registered new interface driver ti_usb_3410_5052
[ 17.137288] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[ 17.137340] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[ 17.137446] ti_usb_3410_5052 1-1.5:1.0: TI USB 3410 1 port adapter converter detected
[ 17.912875] usb 1-1.5: reset full-speed USB device number 5 using dwc_otg
[ 18.019776] usb 1-1.5: device firmware changed
[ 18.020013] usb 1-1.5: USB disconnect, device number 5
[ 18.096859] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
[ 18.259525] usb 1-1.5: New USB device found, idVendor=10ac, idProduct=0102, bcdDevice= 1.01
[ 18.259555] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 18.259568] usb 1-1.5: Product: TUSB3410 Boot Device
[ 18.259584] usb 1-1.5: Manufacturer: Texas Instruments
[ 18.259594] usb 1-1.5: SerialNumber: TUSB3410
[ 18.261974] ti_usb_3410_5052 1-1.5:1.0: TI USB 3410 1 port adapter converter detected
[ 18.264275] ti_usb_3410_5052 1-1.5:2.0: TI USB 3410 1 port adapter converter detected
[ 18.264758] usb 1-1.5: TI USB 3410 1 port adapter converter now attached to ttyUSB1

i think this means my HGI-80 is connected (at least as far as Raspbian is concerned)? But Domoticz doesn't populate the dropdown for Serial Port when I try and add the HGI-80 in the hardware screen...