bill.whiteley wrote:
> :eclipse# setserial /dev/ttyS2 irq 7
>
> When I read and write to /dev/ttyS2 in my application it doesn't throw
> any errors. The read always returns 0 characters received and the
> write always returns the number of characters that I intended to send,
> however the tx and rx fields never change int /proc/tty/driver/serial:
>
> :eclipse# cat /proc/tty/driver/serial
> serinfo:1.0 driver revision:
> 0: uart:16550A mmio:0xF1012000 irq:3 tx:4658 rx:212 RTS|CTS|DTR|DSR|CD
> 1: uart:16550A mmio:0xF1012100 irq:4 tx:53 rx:0 RTS|DTR|DSR|CD
> 2: uart:XR16850 mmio:0xEE0003E8 irq:7 tx:0 rx:0 <-----HERE
>
> So I doubt that I am actually sending or receiving anything.
>
> Does any one have experience with getting serial ports to work on
> expansion boards or have any idea what I am missing??
Don't forget that this is ARM not x86 so IRQ70 is totally valid and may
not corrispond to the IRQ's set on a expansion board designed for a x86
CPU. Often lower x86 IRQ's from ISA/PCI busses will end up mapped to
much higher IRQ's on the actual ARM CPU.
Jason
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|