Page 1 of 1
[SOLVED] Telldus-core on ArchLinux ARM
Posted: Fri Mar 17, 2023 9:45 am
by MrAshe
Hi, I trying to use my TellStick Duo on a Seagate DockStar where i've installed the ARM version of ArchLinux.
First at all, I've builded the version "telldus-core-2.1.0" from the repo but I get the error "Tellstick not found" , i've seen some people who have this error has downgrade to 2.0.4 so that what i've done but now I can't start the telldus deamon:
Code: Select all
[shinux@dockstar /]$ telldusd
-bash: telldusd: command not found
And when I use tdtool same error with bonus (no such option 'deviceNode'):
Code: Select all
[shinux@dockstar /]$ tdtool --on 1
/var/state/telldus-core.conf:1: no such option 'deviceNode'
Turning on device 1, Example device - TellStick not found
There is an ARM version of telldus-core ?
Re: Telldus-core on ArchLinux ARM
Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
When building version 2.1.0 yourself you must make sure telldusd gets event when plugging in your TellStick. We do this using an udev-rule in our deb-packages.
You should also make sure telldusd has the right permissions to access the usb-device. Please set a user and a group in /etc/tellstick.conf and start telldusd as root.
MrAshe wrote:/var/state/telldus-core.conf:1: no such option 'deviceNode'
Easily fixed by:
Code: Select all
$ echo > /var/state/telldus-core.conf
Re: Telldus-core on ArchLinux ARM
Posted: Fri Mar 17, 2023 9:45 am
by MrAshe
Hi thanks for your reply.
Have re-builded the 2.1 version but I have the same problem.
I can start the telldusd, and it seem to work but when I use tdtool I get "Tellstick not found" again.
I've added the rules to udev using the udev.sh script in the source, nothing more. (and same manually).
Code: Select all
$ cat /etc/udev/rules.d/99-tellstick.rules
KERNEL=="ttyUSB*", BUS=="usb", SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c30", NAME="tellstick", GROUP="plugdev"
$ cat /etc/udev/rules.d/10-tellstick.rules
KERNEL=="ttyUSB*", BUS=="usb", SYSFS{idVendor}=="1781", SYSFS{idProduct}=="0c30" NAME="tellstick"
$ cat /etc/udev/rules.d/05-tellstick.rules
ID_VENDOR_ID=="1781", SUBSYSTEM=="usb", ACTION=="add", MODE="664", GROUP="plugdev" RUN+="/usr/local/share/telldus-core/helpers/udev.sh"
ID_VENDOR_ID=="1781", SUBSYSTEM=="usb", ACTION=="remove" RUN+="/usr/local/share/telldus-core/helpers/udev.sh"
And this is lsusb :
Code: Select all
$ sudo lsusb -d 1781: -v
Bus 001 Device 007: ID 1781:0c31 Multiple Vendors
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x1781 Multiple Vendors
idProduct 0x0c31
bcdDevice 6.00
iManufacturer 1 Telldus
iProduct 2 TellStick Duo
iSerial 3 A600JNLF
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 90mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 TellStick Duo
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x0000
(Bus Powered)
Please set a user and a group in /etc/tellstick.conf
In my /etc/tellstick.conf I have user="nobody" and group="plugdev".
PS: I precise i'm running Linux 3.0
Re: Telldus-core on ArchLinux ARM
Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
Does this command do anything diffrently?
Code: Select all
$ tdadmin controller connect --vid=0x1781 --pid=0x0c31 --serial=A600JNLF
Try setting user=root and group=root in the config (and restarting telldusd as root) to rule out permission problems.
Re: Telldus-core on ArchLinux ARM
Posted: Fri Mar 17, 2023 9:45 am
by MrAshe
Thanks a lot

I'ts working now.
Try setting user=root and group=root in the config (and restarting telldusd as root) to rule out permission problems.
That what i've do and i'm able to run tdtool as root, so i've replaced user="root" by user="myusername" and it's working fine without sudo command.
Thanks for your help.
Re: [SOLVED] Telldus-core on ArchLinux ARM
Posted: Fri Mar 17, 2023 9:45 am
by micke.prag
The permission for tdtool doesn't matter. The setting in /etc/tellstick.conf only affect telldusd.
If you don't start telldusd with sudo the user/group will also be ignored (since telldusd don't have permission to change the user if run by non-root).