Search found 12 matches

by svearike
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Tellstick DUO not found after ubuntu upgrade
Replies: 5
Views: 11122

Re: Tellstick DUO not found after ubuntu upgrade

After a modprobe ftdi_sio and usbserial and unplug+plug in of the device I get the following in dmesg. [ 355.411748] usbcore: registered new interface driver usbserial [ 355.411815] USB Serial support registered for generic [ 355.411915] usbcore: registered new interface driver usbserial_generic [ 3...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Tellstick DUO not found after ubuntu upgrade
Replies: 5
Views: 11122

Re: Tellstick DUO not found after ubuntu upgrade

I did a # strace telldusd --nodaemon futex(0x8f511d8, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x8f51058, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x8f511d8, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0x8f511d8, FUTEX_WAKE_PRIVATE, 1) = 1 clone(child_stack=0xaa9ff424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_T...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Tellstick DUO not found after ubuntu upgrade
Replies: 5
Views: 11122

Re: Tellstick DUO not found after ubuntu upgrade

# lsusb show me Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 0bc2:3000 Seagate RSS LLC Bus 001 Device 003: ID 1058:1021 Western Digital Technologies, Inc. Elements 2TB Bus 001 Device 004: ID 04e8:...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Tellstick DUO not found after ubuntu upgrade
Replies: 5
Views: 11122

Re: Tellstick DUO not found after ubuntu upgrade

Ok, after digging around for awhile in the source code I found out that the CPU-hogging problem seems to be totally unrelated to the usb-device. If the socket-file /tmp/TelldusClient was already created before starting telldusd all hell broke lose. Which is quite strange, considering there is a unli...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Tellstick DUO not found after ubuntu upgrade
Replies: 5
Views: 11122

Re: Tellstick DUO not found after ubuntu upgrade

Ok, scratch that!

It seems to be working now for some reason, let's just hope it still works after my yearly reboot ;)
by svearike
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: How does the self-learning system work?
Replies: 6
Views: 11007

How does the self-learning system work?

Hi, I just bought the Tellstick Duo + a kit with three receivers and a remote controll, to start with, more is coming ;) Now I'm developing my own little program for controlling it all, using c. I'm a bit confused as to how the self-learning system actually works. It seems that I've learned against ...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: How does the self-learning system work?
Replies: 6
Views: 11007

Re: How does the self-learning system work?

I also noted now that 1 out of 5 runs of the program does not successfully get the events. Neither the device events nor the raw events. Is there any known bug to these functions or am I doing something wrong? I get id 1 and id 2 from the respective tdRegister.... functions even those times it doesn...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: How does the self-learning system work?
Replies: 6
Views: 11007

Re: How does the self-learning system work?

Thank you very much for your answers :) I still have a problem though, and it's with not all events being registered. I can see on the telldus duo that it's blinking and thus receving the signal. I let the program run a while longer now and it seems that at some random periods it completely ignores ...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: How does the self-learning system work?
Replies: 6
Views: 11007

Re: How does the self-learning system work?

Ok, excuse my stupidity.

I obviously forgot the tdClose() and tdInit();
I had it in my first code, but the copy'n'paste devil got to me ;)

I'm a bit surprised it worked 1/5 without tdInit() ;)

Thanks for the help
by svearike
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: How does the self-learning system work?
Replies: 6
Views: 11007

Re: How does the self-learning system work?

I feel like I'm ranting here.... But I thought it got fixed with the addition of tdInit() / tdClose(); After about 5 minutes of fiddling around with the remote control it stopped receving events all of a sudden. And it won't come back again either, is there any easy way for me to debug this? (my pro...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: General
Topic: archtech,selflearning-switch group:1 not registering in api?
Replies: 2
Views: 6565

archtech,selflearning-switch group:1 not registering in api?

Hi, Have I defined something wrong in my tellstick.conf? (excerpt follows) #sovrummet device { id = 2 name = "Fonsterlampa" protocol = "arctech" model = "selflearning-switch" parameters { house = "7462818" unit = "1" } } #traningsrummet device { id =...
by svearike
Fri Mar 17, 2023 9:45 am
Forum: Linux
Topic: Tellstick DUO not found after ubuntu upgrade
Replies: 5
Views: 11122

Tellstick DUO not found after ubuntu upgrade

Hi, I recently upgraded my ubuntu htpc, which is responsible of handling all my telldus businness. For some reason it does not recognize my tellstick duo anymore. 'lsusb' lists it as it should. I've tried both with: modprobe usbserial ; modprobe ftdi_sio and without. No change, I never get a line in...