Skip to contentSkip to conversation

main : can't open rtser0 (write) for ./cross-link

Xenomai bob 2 participants 3 messages Sep 22, 2014

lore
Share & tools
lore

bob

author
#0 lore raw

Hi,
so I've been searching google for a while now and the results haven't been helping.

i tried setserial /dev/ttyS0 , i get the typical io=0x3f8, IRQ=4

i set uart to none, and my normal serial programs with my device don't read anything as expected

i did /sbin/modprobe xeno_16550A \
               io=0x3f8 \
               irq=4 \
               baud_base=115200

and modprobe xeno_16......

and sudo and all the permutations possible

i dont get nay mesasge back, but when i run cross-link it still gives me the same error, main : can't open rtser0 (write)

im not sure if im loading the xenomai driver right, is there something im missing?

my lsmod DOES NOT show any of these

# lsmod
Module                  Size  Used by
xeno_16550A            12392  0
xeno_rtdm              23460  1 xeno_16550A
xeno_native           114384  0
xeno_nucleus           82696  3 xeno_16550A,xeno_rtdm,xeno_native
xeno_hal               23616  4

http://www.acadis.org/pages/captain.at/serial-port-example
makefile does not work for me

http://www.acadis.org/pages/captain.at/xeno-16550A
i don't have a directory in /usr/realtime/

anyone have any ideas or suggesitons or recommendation of alcohol?

#1 lore raw
Quoted 24 lines · bob

Hi,
so I've been searching google for a while now and the results haven't been helping.

i tried setserial /dev/ttyS0 , i get the typical io=0x3f8, IRQ=4

i set uart to none, and my normal serial programs with my device don't read anything as expected

i did /sbin/modprobe xeno_16550A \
               io=0x3f8 \
               irq=4 \
               baud_base=115200

and modprobe xeno_16......

and sudo and all the permutations possible

i dont get nay mesasge back, but when i run cross-link it still gives me the same error, main : can't open rtser0 (write)

im not sure if im loading the xenomai driver right, is there something im missing?

Quoted 8 lines

my lsmod DOES NOT show any of these

# lsmod
Module                  Size  Used by
xeno_16550A            12392  0
xeno_rtdm              23460  1 xeno_16550A
xeno_native           114384  0
xeno_nucleus           82696  3 xeno_16550A,xeno_rtdm,xeno_native
xeno_hal               23616  4

Well, did you compile the module? Or is it builtin?

Quoted 6 lines

http://www.acadis.org/pages/captain.at/serial-port-example
makefile does not work for me

http://www.acadis.org/pages/captain.at/xeno-16550A
i don't have a directory in /usr/realtime/

These pages are outdated. Xenomai 2.2 dates back from 9 years ago.

Quoted 2 lines

anyone have any ideas or suggesitons or recommendation of alcohol?

Maybe you could try the xenomai.org documentation:
http://xenomai.org/serial-16550a-driver/

Signature · 1 line
                                                                Gilles.