Discussion:
[wish-info] CM17A on Linksys WRT54g router ?
Junk Mail
2005-02-22 22:22:10 UTC
Permalink
There's many uses for the Linksys WRT54G wireless router since they released the firmware under GPL license. People are writing custom firmwares & the router makes a perfect embedded system box. It has support for 2 serial devices onboard. There's tons of data on this all over the web and even basic firmware packages at www.openwrt.org

I am currently working on an project to turn the router into a wireless Reef Aquarium controller and datalogger. It's a Wireless Recycled Reef Controller (WRRC). Commercial solutions with minimal features that cost upwards of $700+. We are creating a low-cost feature enriched DIY alternative that's open to the entire community.

We are using 1-wire sensors commonly used in weather stations to input data into the WRRC, and I'd like to add X10 support to control lights, pumps, heaters, etc with the aquarium. Project info can be found here: www.bytality.com/wrrc/

The problem is that the serial output on the WRT54G board only has TX and RX outputs but the firecracker uses strobes from the RTS and DTR lines, which we don't have.

We don't have a Linux C programmer unfortunately, so we are not sure how to proceed with this obstacle. Is there any way the code can be written to use the TX/RX lines and then use a special cable from the header to the firecracker unit that crosses those lines back to DTR/RTS pins?

If **ANYONE** can help us out or even give us some advice, please email me at ***@srjava.cjb.net

Thanks in advance.

-Scott
Scott Hiles
2005-02-23 04:08:15 UTC
Permalink
You might be able to accomplish something if you rewired the CM17a, but as
it stands, it uses the other pins of the DB9 for power and to control the
signal. Even if you could rewrite the software to manage the interface in
some way through the transmit and receive pins, the CM17a wouldn't respond
or deal with the change. You are limited by the hardware design in this
case.

Well, that's my simple opinion.

Scott

-----Original Message-----
From: wish-info-***@lists.sourceforge.net
[mailto:wish-info-***@lists.sourceforge.net] On Behalf Of Junk Mail
Sent: Tuesday, February 22, 2005 5:22 PM
To: wish-***@lists.sourceforge.net
Subject: [wish-info] CM17A on Linksys WRT54g router ?


There's many uses for the Linksys WRT54G wireless router since they released
the firmware under GPL license. People are writing custom firmwares & the
router makes a perfect embedded system box. It has support for 2 serial
devices onboard. There's tons of data on this all over the web and even
basic firmware packages at www.openwrt.org

I am currently working on an project to turn the router into a wireless Reef
Aquarium controller and datalogger. It's a Wireless Recycled Reef
Controller (WRRC). Commercial solutions with minimal features that cost
upwards of $700+. We are creating a low-cost feature enriched DIY
alternative that's open to the entire community.

We are using 1-wire sensors commonly used in weather stations to input data
into the WRRC, and I'd like to add X10 support to control lights, pumps,
heaters, etc with the aquarium. Project info can be found here:
www.bytality.com/wrrc/

The problem is that the serial output on the WRT54G board only has TX and
RX outputs but the firecracker uses strobes from the RTS and DTR lines,
which we don't have.

We don't have a Linux C programmer unfortunately, so we are not sure how to
proceed with this obstacle. Is there any way the code can be written to use
the TX/RX lines and then use a special cable from the header to the
firecracker unit that crosses those lines back to DTR/RTS pins?

If **ANYONE** can help us out or even give us some advice, please email me
at ***@srjava.cjb.net

Thanks in advance.

-Scott
Junkmail
2005-02-23 05:35:28 UTC
Permalink
Dave Close
2005-02-23 06:29:40 UTC
Permalink
The problem is that the serial output on the WRT54G board only has TX
and RX outputs but the firecracker uses strobes from the RTS and DTR
lines, which we don't have.
I know nothing of the WRT54G, but I'm at a loss to understand how bi-
directional RS-232C serial can work with only two wires. I'm fairly sure
you must also have a third wire for ground. In fact, three wire links to
dumb terminals were fairly common fifteen years ago.
--
Dave Close, Compata, Costa Mesa CA "Greed is to the moralists of the
***@compata.com, +1 714 434 7359 left what sex is to the moralists
***@alumni.caltech.edu of the right." - Cathy Young
David S. Dee
2005-03-02 19:10:44 UTC
Permalink
Well, after being a long-time WISH user, I'm starting to either get
forgetful, or something changed in RH's latest kernel compilation.

I had v1.6.1 working fine before, and hadn't upgraded to v2 since I'm
still using a CM17A. After downloading the latest RH kernel yesterday
afternoon as well as the source, getting it to compile, I now get errors
when I try to INSMOD the Powerlinc kernel module:

[ngtzeta!pts/9!190] 11:59am % sudo insmod
/usr/local/lib/modules/2.4.22-1.2199.4.legacy.nptlcustom/kernel/drivers/char/x10/x10_pl.o
/usr/local/lib/modules/2.4.22-1.2199.4.legacy.nptlcustom/kernel/drivers/char/x10/x10_pl.o:
unresolved symbol remove_wait_queue_Rsmp_96dcb64f
/usr/local/lib/modules/2.4.22-1.2199.4.legacy.nptlcustom/kernel/drivers/char/x10/x10_pl.o:
unresolved symbol add_wait_queue_Rsmp_e86cbde0
/usr/local/lib/modules/2.4.22-1.2199.4.legacy.nptlcustom/kernel/drivers/char/x10/x10_pl.o:
unresolved symbol tty_register_ldisc_Rsmp_036de79b
/usr/local/lib/modules/2.4.22-1.2199.4.legacy.nptlcustom/kernel/drivers/char/x10/x10_pl.o:
unresolved symbol fasync_helper_Rsmp_edf8c22a
/usr/local/lib/modules/2.4.22-1.2199.4.legacy.nptlcustom/kernel/drivers/char/x10/x10_pl.o:
unresolved symbol kill_fasync_Rsmp_ce23e64e
/usr/local/lib/modules/2.4.22-1.2199.4.legacy.nptlcustom/kernel/drivers/char/x10/x10_pl.o:
unresolved symbol register_chrdev_Rsmp_85754141
/usr/local/lib/modules/2.4.22-1.2199.4.legacy.nptlcustom/kernel/drivers/char/x10/x10_pl.o:
unresolved symbol __pollwait_Rsmp_d6753ef2
[ngtzeta!pts/9!191] 11:59am %

So, after battling that for awhile, I figured I'd try the latest 2.1.0
and just do without my CM17A, but I got no luck there, either:

[ngtzeta!pts/9!191] 12:01pm % sudo insmod
/lib/modules/2.4.22-1.2199.4.legacy.nptlsmp/kernel/drivers/char/x10/x10.o
/lib/modules/2.4.22-1.2199.4.legacy.nptlsmp/kernel/drivers/char/x10/x10.o:
unresolved symbol remove_wait_queue_Rsmp_96dcb64f
/lib/modules/2.4.22-1.2199.4.legacy.nptlsmp/kernel/drivers/char/x10/x10.o:
unresolved symbol add_wait_queue_Rsmp_e86cbde0
/lib/modules/2.4.22-1.2199.4.legacy.nptlsmp/kernel/drivers/char/x10/x10.o:
unresolved symbol register_chrdev_Rsmp_85754141
[ngtzeta!pts/9!192] 12:01pm % rpm -q kernel
kernel-2.4.22-1.2199.4.legacy.nptl


Has anybody else experienced similar problesm??

Thanks in advance,
David

Loading...