How do you mean? It should print "Error connecting to Telldus Service" if telldusd is not loaded.uzivatel wrote:tdtool work
telldus-core 2.1.1 running on OpenWRT
Moderator: Telldus
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: telldus-core 2.1.1 running on OpenWRT
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: telldus-core 2.1.1 running on OpenWRT
hello,
i tested unload ftdi_sio and set chmod 777 /etc/tellstick.conf, but the same problem, i cannot start telldusd with error segmentation fault.
dmesg
usb 2-1.2: USB disconnect, address 5
usb 2-1.2: new full speed USB device using ohci_hcd and address 6
usb 2-1.2: configuration #1 chosen from 1 choice
about tdtool it print "Error connecting to Telldus Service" ofcourse. I mean that working with command --help
rfcmd working, but not support my kappa dimmer, i post my build log, thanks for every help
i tested unload ftdi_sio and set chmod 777 /etc/tellstick.conf, but the same problem, i cannot start telldusd with error segmentation fault.
dmesg
usb 2-1.2: USB disconnect, address 5
usb 2-1.2: new full speed USB device using ohci_hcd and address 6
usb 2-1.2: configuration #1 chosen from 1 choice
about tdtool it print "Error connecting to Telldus Service" ofcourse. I mean that working with command --help
rfcmd working, but not support my kappa dimmer, i post my build log, thanks for every help
- Attachments
-
- build.zip
- (30.24 KiB) Downloaded 379 times
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: telldus-core 2.1.1 running on OpenWRT
What about /var/state/telldus-core.conf?
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: telldus-core 2.1.1 running on OpenWRT
micke.prag wrote:What about /var/state/telldus-core.conf?
when i try cd /var/state it jump to /tmp/state which not contain file telldus-core.conf...what can i do?
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: telldus-core 2.1.1 running on OpenWRT
Create it?
Code: Select all
$ touch /var/state/telldus-core.conf && chmod 777 /var/state/telldus-core.conf
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: telldus-core 2.1.1 running on OpenWRT
micke.prag wrote:Create it?Code: Select all
$ touch /var/state/telldus-core.conf && chmod 777 /var/state/telldus-core.conf
micke thank you for your help, but not solved my problem, i will try load other firmware to my router and test..post later
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: telldus-core 2.1.1 running on OpenWRT
If it is possible to compile a debug build and get a "coredump" it might help find where is segfaults.
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: telldus-core 2.1.1 running on OpenWRT
now i try compile package for backfire 10.03 kernel 2.4 which is recomended for my router with full support wifi card, compile stop with result
it look like my gcc(3.4.6) is old version and not support command -fvisibility=hidden how i can install toolchain with gcc version for example 4.3.3 or is command -fvisibility=hidden important for compile? if not where i can remove it? thxmake[5]: Entering directory `/home/telldus/openwrt/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/telldus-core-2.1.1'
[ 2%] Building CXX object common/CMakeFiles/TelldusCommon.dir/Event.cpp.o
cc1plus: error: unrecognized command line option "-fvisibility=hidden"
make[5]: *** [common/CMakeFiles/TelldusCommon.dir/Event.cpp.o] Error 1
make[5]: Leaving directory `/home/telldus/openwrt/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/telldus-core-2.1.1'
make[4]: *** [common/CMakeFiles/TelldusCommon.dir/all] Error 2
make[4]: Leaving directory `/home/telldus/openwrt/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/telldus-core-2.1.1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/telldus/openwrt/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/telldus-core-2.1.1'
make[2]: *** [/home/telldus/openwrt/backfire/build_dir/target-mipsel_uClibc-0.9.30.1/telldus-core-2.1.1/.built] Error 2
make[2]: Leaving directory `/home/telldus/openwrt/backfire/package/telldus-core'
make[1]: *** [package/telldus-core/compile] Error 2
make[1]: Leaving directory `/home/telldus/openwrt/backfire'
make: *** [package/telldus-core/compile] Error 2
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: telldus-core 2.1.1 running on OpenWRT
If you only compile the library for yourself you can probably remove that option. If you want to redistribute the binaries it is an important option.
You can change toolchain version under "Advanced configuration options (for developers) >> Toolchain Options >> GCC compiler Version"
You can change toolchain version under "Advanced configuration options (for developers) >> Toolchain Options >> GCC compiler Version"
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: telldus-core 2.1.1 running on OpenWRT
I need compile library for yourself, i have to select only 3.4.6 version in "Advanced configuration options (for developers) >> Toolchain Options >> GCC compiler Version" any other idea?micke.prag wrote:If you only compile the library for yourself you can probably remove that option. If you want to redistribute the binaries it is an important option.
You can change toolchain version under "Advanced configuration options (for developers) >> Toolchain Options >> GCC compiler Version"
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: telldus-core 2.1.1 running on OpenWRT
Why do you have to use version 3.4.6 of gcc?
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: telldus-core 2.1.1 running on OpenWRT
micke.prag wrote:Why do you have to use version 3.4.6 of gcc?
it is installed automatically by make toolchain/install for kernel 2.4 but i need higher version for support command fvisibility
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: telldus-core 2.1.1 running on OpenWRT
Your board doesn't suport kernel 2.6?
What kind of hardware do you have?
What kind of hardware do you have?
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: telldus-core 2.1.1 running on OpenWRT
micke.prag wrote:Your board doesn't suport kernel 2.6?
What kind of hardware do you have?
support with limited wirelles functions, i have router ASUS WL-500g Premium V2
i compiled telldus-core for kernel 2.6 but telldusd not work(segmentation fault) now i want try compile for reccomended firmware with 2.4 kernelThe WL-500gP is supported by two targets:
brcm-2.4
Uses an older 2.4 kernel
Uses the binary only broadcom driver, which supports the wireless in the v2.
Recommended for v2
brcm47xx
Uses a current 2.6 kernel, it is faster and has more features
Uses the open source b43 wireless driver, which currently does not work with the wireless in the v2
Recommended for v1
can you recommend some router which had support driver and tellstick work without problems?except Dovado which is expensive.Why telldus donot have solution for normal low cost router with usb port?
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: telldus-core 2.1.1 running on OpenWRT
We have never tried telldus-core on kernel 2.4 so I am not sure if it is possible.
TellStick Net works with any router.
The Dovado routers are the only ones with support for TellStick out of the box.uzivatel wrote:can you recommend some router which had support driver and tellstick work without problems?except Dovado which is expensive.Why telldus donot have solution for normal low cost router with usb port?
TellStick Net works with any router.
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies