I'm exposing the serial port on a WRT54GS, s/n CGN10Dxxxxxx (version
1?) according to Ron Whitby's fine instructions. Except that unlike
all the other ones I've done, this one doesn't work!

I opened the ports (both /dev/tts/0 and /dev/tts/1) with microcom
and tried various baud rates and pounding on the keyboard... and
saw no wiggled at all on the lines while watching on the oscilloscope.

I went all the way back to the 10 pin header. Pins 1,2 show 3.3V,
9,10 show 0V. So far so good. Pin 3 is 0v, 4/5/6 are all at 3.3V.
That doesn't seem right. They don't change at all when I use microcom,
either /dev/tts/0 or /dev/tts/1. Is there some additional config I
need to do to enable the serial ports?

It doesn't seem right that pin 4, an Rx line, is at 3.3V.

dmesg says, in part

Linux version 2.4.34 ([EMAIL PROTECTED]) (gcc version 3.4.6 (OpenWrt-2.0)) #94 
Tue Sep 9 02:58:48 CDT 2008

Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI 
enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A

[EMAIL PROTECTED]:/usr/bin# setserial -a /dev/tts/0
/dev/tts/0, Line 0, UART: 16550A, Port: 0x0000, IRQ: 3
        Baud_base: 3125000, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal

[EMAIL PROTECTED]:/usr/bin# setserial -a /dev/tts/1
/dev/tts/1, Line 1, UART: 16550A, Port: 0x0000, IRQ: 3
        Baud_base: 3125000, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal

[EMAIL PROTECTED]:/proc/tty/driver# cat serial
serinfo:1.0 driver:5.05c revision:2001-07-08
0: uart:16550A port:B8000300 irq:3 baud:115740 tx:8006 rx:0 RTS|DTR
1: uart:16550A port:B8000400 irq:3 baud:9585 tx:0 rx:0 CTS|DSR|CD

The IRQ values seem correct (I know that they're shared). What does
the Port value mean? Could that be part of my problem?

I also checked to make sure that I hadn't flowed solder up under
the connector and caused shorts between pins - everything looks and
beeps out OK there.

Can someone tell me the pinout of the Broadcomm chip, so I can
check the pins at the source?

Thanks,
chris
_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to