All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] main : can't open rtser0 (write) for ./cross-link
@ 2014-09-22 21:11 bob
  2014-09-22 21:21 ` Gilles Chanteperdrix
  2014-09-22 21:44 ` Gilles Chanteperdrix
  0 siblings, 2 replies; 3+ messages in thread
From: bob @ 2014-09-22 21:11 UTC (permalink / raw)
  To: xenomai

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?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] main : can't open rtser0 (write) for ./cross-link
  2014-09-22 21:11 [Xenomai] main : can't open rtser0 (write) for ./cross-link bob
@ 2014-09-22 21:21 ` Gilles Chanteperdrix
  2014-09-22 21:44 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-22 21:21 UTC (permalink / raw)
  To: bob, xenomai

On 09/22/2014 11:11 PM, bob wrote:
> 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

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

> 
> 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.

> 
> anyone have any ideas or suggesitons or recommendation of alcohol?

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


-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] main : can't open rtser0 (write) for ./cross-link
  2014-09-22 21:11 [Xenomai] main : can't open rtser0 (write) for ./cross-link bob
  2014-09-22 21:21 ` Gilles Chanteperdrix
@ 2014-09-22 21:44 ` Gilles Chanteperdrix
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2014-09-22 21:44 UTC (permalink / raw)
  To: bob, xenomai

On 09/22/2014 11:11 PM, bob wrote:
> http://www.acadis.org/pages/captain.at/serial-port-example 
> makefile does not work for me

Why should we care? As the URL indicates this page was not written by
us. As the top of the page indicates, this is a copy of a page which has
disappeared from the web. Maybe not the best place to look for fresh
information, don't you think?

-- 
                                                                Gilles.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-22 21:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-22 21:11 [Xenomai] main : can't open rtser0 (write) for ./cross-link bob
2014-09-22 21:21 ` Gilles Chanteperdrix
2014-09-22 21:44 ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.