Page 1 of 1

Tellstick not found

Posted: Thu Apr 16, 2015 7:26 pm
by tobbe
Hi

I'm a happy user of OpenNethome who has run into a little snag.
I have used my Tellstick with my Raspi with no problems for a while now, together with a single port usb to serial adapter.
I decided to upgrade my single port serial to usb cable to a 4 port usb to serial cable, because i need to control some serial devices.
However after doing this, my Tellstick wont connect.
I checked dmesg, and all five serial ports were found and given an /dev/ttyUSB designation.

Code: Select all

[    3.546335] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
[    3.703312] usb 1-1.3: New USB device found, idVendor=1781, idProduct=0c31
[    3.721715] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.736258] usb 1-1.3: Product: TellStick Duo
[    3.742145] usb 1-1.3: Manufacturer: Telldus
[    3.761239] usb 1-1.3: SerialNumber: A501WGHY
[    3.856546] usb 1-1.2.1: new full-speed USB device number 6 using dwc_otg
[    3.968540] usb 1-1.2.1: New USB device found, idVendor=067b, idProduct=2303
[    3.977248] usb 1-1.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.987543] usb 1-1.2.1: Product: USB-Serial Controller
[    3.994181] usb 1-1.2.1: Manufacturer: Prolific Technology Inc.
[    4.086454] usb 1-1.2.2: new full-speed USB device number 7 using dwc_otg
[    4.166232] udevd[156]: starting version 175
[    4.209003] usb 1-1.2.2: New USB device found, idVendor=067b, idProduct=2303
[    4.229167] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.260891] usb 1-1.2.2: Product: USB-Serial Controller
[    4.275817] usb 1-1.2.2: Manufacturer: Prolific Technology Inc.
[    4.386491] usb 1-1.2.3: new full-speed USB device number 8 using dwc_otg
[    4.511535] usb 1-1.2.3: New USB device found, idVendor=067b, idProduct=2303
[    4.531518] usb 1-1.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.551509] usb 1-1.2.3: Product: USB-Serial Controller
[    4.558623] usb 1-1.2.3: Manufacturer: Prolific Technology Inc.
[    4.646537] usb 1-1.2.4: new full-speed USB device number 9 using dwc_otg
[    4.749041] usb 1-1.2.4: New USB device found, idVendor=067b, idProduct=2303
[    4.772836] usb 1-1.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.806199] usb 1-1.2.4: Product: USB-Serial Controller
[    4.814903] usb 1-1.2.4: Manufacturer: Prolific Technology Inc.
[    5.322943] usbcore: registered new interface driver usbserial
[    5.456335] usbcore: registered new interface driver usbserial_generic
[    5.464753] usbserial: USB Serial support registered for generic
[    5.692560] usbcore: registered new interface driver pl2303
[    5.748243] usbserial: USB Serial support registered for pl2303
[    5.827865] pl2303 1-1.2.1:1.0: pl2303 converter detected
[    5.926265] usb 1-1.2.1: pl2303 converter now attached to ttyUSB0
[    6.028221] pl2303 1-1.2.2:1.0: pl2303 converter detected
[    6.111682] usb 1-1.2.2: pl2303 converter now attached to ttyUSB1
[    6.275743] pl2303 1-1.2.3:1.0: pl2303 converter detected
[    6.516324] usb 1-1.2.3: pl2303 converter now attached to ttyUSB2
[    6.703238] pl2303 1-1.2.4:1.0: pl2303 converter detected
[    6.896876] usb 1-1.2.4: pl2303 converter now attached to ttyUSB3
[   17.503022] usbcore: registered new interface driver ftdi_sio
[   17.512454] usbserial: USB Serial support registered for FTDI USB Serial Device
[   17.524503] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
[   17.533757] usb 1-1.3: Detected FT232RL
[   17.539421] usb 1-1.3: Number of endpoints 2
[   17.545296] usb 1-1.3: Endpoint 1 MaxPacketSize 64
[   17.551669] usb 1-1.3: Endpoint 2 MaxPacketSize 64
[   17.558019] usb 1-1.3: Setting MaxPacketSize 64
[   17.565370] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB4
However, in the config screen for the Tellstick, only USB0, 1 and 2 is a option in the dropdown box.
I tried to manually change the config file to ttyUSB4, however it failed

Code: Select all

15.04.16 22:10:11 	HomeServer 	event,Alarm,Value,failed to open serial port to Tellstick: /dev/ttyUSB4
	15.04.16 22:10:11 	Tellstick 	failed to open serial port to Tellstick: /dev/ttyUSB4
	15.04.16 22:10:11 	HomeServer 	event,Alarm,Value,Failed to find COM Port: /dev/ttyUSB4
	15.04.16 22:10:11 	TellstickPort$SerialDevice 	Failed to find COM Port: /dev/ttyUSB4
	
Does anyone have an idea what I am doing wrong?

Regards,
Tobbe

Re: Tellstick not found

Posted: Thu Apr 16, 2015 8:08 pm
by Nasty76
Im not sure what u mean usb to serial but 2 possible idea what i get my mind.
1. raspi cant give enough power all devices what are connected
2. if you have 4 serial port in raspberry tellstick is usbTTY0-4 :D
so look all usbtty devices in /dev folder and test each one if tellstick work

Re: Tellstick not found

Posted: Fri Apr 17, 2015 11:17 am
by stefangsbb
Ok, this was actually a limitation in OpenNethome. The RXTX-library I use forces me to list the possible port names, I was a bit lazy and only listed up to /dev/ttyUSB2 (I did not think people would have more serial ports...).

I have added up to /dev/ttyUSB4 now and it is available in the nightly build.

Re: Tellstick not found

Posted: Fri Apr 17, 2015 1:50 pm
by tobbe
Hi Stefan

Thanks for the quick reply!
I kinda supected somekind of limitation problem....
Thanks for fixing it so quickly :)

Tobbe