If I type "hciattach /dev/ttyS2 csr 460800" then I get "Initialization timed out."
If I type "hciattach /dev/ttyS2 ericsson 460800" then I get my prompt back with no error messages.
Is this proving that the module is getting initialised OK? (it is an Ericsson module)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=125270\"][{POST_SNAPBACK}][/a][/div]
No it isn't as I get the same response from ttyS1 and I don't have two Ericsson modules loaded. So, how do I tell it's there?
With my scope attached to TX on the motherboard, after boot the line is at 0v
After
hciattach /dev/ttyS0 ericsson 460800
and
hciattach /dev/ttyS2 ericsson 460800
the TX line stays at 0v
after
hciattach /dev/ttyS1 ericsson 460800
the TX line goes to 3.3 volts but there is no burst of data into the BT module from the motherboard.
This suggests to me that the connections are ttyS1. It is also pretty apparent to me that ttyS1 is used for the infra red as "cat /proc/tty/driver/serial"
returns
serinfo:1.0 driver:5.05c revision:Apr 30 2006
0: uart:PXA UART port:F8100000 irq:22 baud:460800 tx:5 rx:0 RTS|CTS|DTR|DSR|CD|RI
1: uart:PXA UART port:F8200000 irq:21 baud:460800 tx:0 rx:0 RTS|DTR
2: uart:PXA UART port:F8700000 irq:20 baud:460800 tx:0 rx:0 RTS|DTR
after I have used the hciattach command but after using the infra red send or receive in the settings tab the entry for ttyS1 is changed.
So it appears that I have IR and BT on ttyS1