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 18:42:08 +0200	[thread overview]
Message-ID: <46E42260.8090703@domain.hid> (raw)
In-Reply-To: <1ce16a2c0709090913u8f60b10r89651400e10a7f7d@domain.hid>

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

Bachman Kharazmi wrote:
> I'm trying to implement a rt java motioncontrol-platform releated to
> smerobot.org
> I need to control three drives(rs232) connected to brushless dc motors.
> 
> The current PC I'm working on has one builtin serial port, and I found
> a SUNIX 8port controller. So that's the reason why I'm using the pci
> controller.
> 
> Anyhow the drivers are fetched from:
> http://sunix.com.tw/it/en/DRIVER.php?SID&classnumber=3&usid1=303&usid2=304&Psid=472
> 
> I counldn't find any license releated information :/
> But source comes with the driver is copied temporarily here:
> http://bachman.tor.lindesign.se/tmp/driver/
> 
> Are there any chance that modifications in the source will get it going?

Maybe we are just lacking some pci_enable_device() on the right pci_dev.
That would mean extending xeno_16550A to deal with PCI devices. Surely
feasible, but it takes time and hardware to test - I'm lacking both.

Are you willing to play a bit with it? Then, as a prototype, you could
pick up the lookup and enabling code from the snx driver and hack it
into xeno_16550A. If that works, we could discuss how to establish
something generic for PCI-based adapters.

Note that I haven't read through that driver in details. There is a
slight risk that some more bits are different. On the other hand, the
16650 UART that seems to be on that card is advertised as
16550-compatible, thus it /should/ work...

Jan


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

      parent reply	other threads:[~2007-09-09 16:42 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
2007-09-09 16:13           ` Bachman Kharazmi
2007-09-09 16:17             ` Bachman Kharazmi
2007-09-09 16:42             ` Jan Kiszka [this message]

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=46E42260.8090703@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.