Hannes Mayer wrote:
> Hi Jan!
> 
> Jan Kiszka wrote:
> [...]
> 
>>> rtser[X] should be available as soon as xeno_16550A is loaded, right ?
>>
>>
>>
>> Only when you provided the correct module parameters... Isn't that
>> documented somewhere? Don't remember right now, but if not, this
>> requires fixing. Check what's available on your box via
>> /proc/xenomai/rtdm.
> 
> 
> E.g.:
> # cat named_devices
> Hash    Name                            /proc
> 
> I didn't find any page so far documenting the parameters, but they
> should be
> something like this ?
> # insmod /usr/realtime/modules/xeno_16550A.ko ioaddr=3f8 irq=4
> tx_fifo=10 start_index=0

Almost: ioaddr=0x3f8

Ok, we need some README about xeno_16550A somewhere. Where would you
look for information first?

> But I get:
> insmod: error inserting '/usr/realtime/modules/xeno_16550A.ko': -1
> Device or resource busy
> 
> During boot, this appears in the kernel log:
> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> Maybe this is causing the device to be busy ?
> 

"setserial /dev/ttyS0 uart none" releases the first port.

Also something for a README. :-/

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to