Hi Jan,

On 07/11/2015 06:30 PM, Jan Kinkazu wrote:
> HI all.
> Has anyone made setserial working on BBB?
> 
> root@beaglebone:~# setserial -g /dev/ttyO[124]
> /dev/ttyO1, UART: undefined, Port: 0x0000, IRQ: 156
> /dev/ttyO2, UART: undefined, Port: 0x0000, IRQ: 157
> /dev/ttyO4, UART: undefined, Port: 0x0000, IRQ: 158
> 
> Why UART type is undefined? Why port is 0x0000?

setserial has not been updated in a long time and so does not understand newer
port types. If you look at the man page for the 'uart' parameter, you'll
see the known values are quite limited compared to the current known
port types in <linux/serial_core.h>

Nor does it understand memory-mapped port addresses.

> Why any setserial command fail?
> 
> root@beaglebone:~# setserial /dev/ttyO4 baud_base 115200
> Cannot set serial info: Invalid argument

The omap_serial driver does not allow port information to be changed
via setserial.

Note that the 8250_omap driver new to Linux 3.19+ does.

> I have got SIMCOM908 modem connected to UART4.
> UART is unresponsive once per 5-8 mins when downloading 100mb zip file.
> I thought it is because the serial port is not set up properly.
> xon/xof are switched in ppp and in modem.

You can set the tty baud rate with stty, like so:

$ stty -F /dev/ttyO4 115200

Regards,
Peter Hurley

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to