All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: bob <kobebry48@gmail.com>, xenomai@xenomai.org
Subject: Re: [Xenomai] main : can't open rtser0 (write) for ./cross-link
Date: Mon, 22 Sep 2014 23:21:50 +0200	[thread overview]
Message-ID: <542092EE.8090904@xenomai.org> (raw)
In-Reply-To: <loom.20140922T230305-367@post.gmane.org>

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.


  reply	other threads:[~2014-09-22 21:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 21:11 [Xenomai] main : can't open rtser0 (write) for ./cross-link bob
2014-09-22 21:21 ` Gilles Chanteperdrix [this message]
2014-09-22 21:44 ` Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542092EE.8090904@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=kobebry48@gmail.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.