CHABAL David пишет:

> I met some trouble with the 16550A driver provided in Xenomai 2.3.1
> and my Moxa cards (PCI / 8 * RS232 / 168U ).
> 
> It was a problem of baudrate computation before setting the LCR_DLAB
> register.
> 
> The formula implemented by the Xenomai driver is different from the one
> provided by Moxa. So I copy/paste the formula from the mxser.c file
> (present in the
> kernel distro), and it seems to work fine.
> 
> I think it's Moxa card dependant, may be caused by the high default baud
> rate of this card.

I have two Moxa boards with no problem, possible you need to specify 
'baud_base' param.

I my case :

# 8 ports board:
/sbin/modprobe xeno_16550A \
ioaddr=0x1000,0x1008,0x1010,0x1018,0x1020,0x1028,0x1030,0x1038 \
irq=9,9,9,9,9,9,9,9 \
baud_base=921600,921600,921600,921600,921600,921600,921600,921600

# 2 ports board + onboards:
/sbin/modprobe xeno_16550A ioaddr=0x3f8,0x2f8,0xdf00,0xdf08 
irq=4,3,11,11 baud_base=115200,115200,921600,921600


-- 
________________________________________
Maksym Veremeyenko

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to