All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Bachman Kharazmi <bahkha@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] serial module problems
Date: Sun, 09 Sep 2007 17:29:10 +0200	[thread overview]
Message-ID: <46E41146.1060701@domain.hid> (raw)
In-Reply-To: <1ce16a2c0709090809y5e1732adj5081fcb556734142@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]

Bachman Kharazmi wrote:
> sandbox:~/golden_2.6# ls
> Makefile  README  driver  snxdump  snxlink  snxmknod  snxterm
> sandbox:~/golden_2.6# modprobe snx_golden

See, you already need some out-of-tree driver to make this adapter work
with standard Linux - and you expect the driver that comes with Xenomai
to work with it out of the box?

The question is now *what* is special about this adapter and its driver.
Where do you have the code from? What's its license?

> sandbox:~/golden_2.6# setserial -g /dev/ttySNX0
> /dev/ttySNX0, UART: 16650, Port: 0xbc00, IRQ: 3
> sandbox:~/golden_2.6# setserial -g /dev/ttySNX1
> /dev/ttySNX1, UART: 16650, Port: 0xbc08, IRQ: 3
> sandbox:~/golden_2.6# setserial -g /dev/ttySNX2
> /dev/ttySNX2, UART: 16650, Port: 0xb800, IRQ: 3
> sandbox:~/golden_2.6# setserial -g /dev/ttySNX3
> /dev/ttySNX3, UART: 16650, Port: 0xb808, IRQ: 3
> sandbox:~/golden_2.6# setserial -g /dev/ttySNX4
> /dev/ttySNX4, UART: 16650, Port: 0xb400, IRQ: 3
> etc..
> 
> It's a sunix 4066 8port pci serial controller.
> 
> The irq file shows:
> sandbox:~/golden_2.6# cat /proc/xenomai/irq
> IRQ         CPU0
>   0:         221         [timer]
>  34:       10767         [virtual]
> 
> If this is a irq releated problem, how can I solve it? :/

IRQs only show up there when they are in use, and that is the case when
the port is opened (ie. the test program is running).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-09-09 15:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08 18:59 [Xenomai-help] serial module problems Bachman Kharazmi
2007-09-08 21:02 ` Jan Kiszka
2007-09-08 21:04 ` Philippe Gerum
2007-09-09 14:30   ` Bachman Kharazmi
2007-09-09 14:51     ` Jan Kiszka
2007-09-09 15:09       ` Bachman Kharazmi
2007-09-09 15:29         ` Jan Kiszka [this message]
2007-09-09 16:13           ` Bachman Kharazmi
2007-09-09 16:17             ` Bachman Kharazmi
2007-09-09 16:42             ` Jan Kiszka

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=46E41146.1060701@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=bahkha@domain.hid \
    --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.