* [Xenomai-help] Test xen_16500A.ko on different serial port
@ 2009-03-31 9:17 Marcel Soulot
2009-03-31 9:34 ` Gilles Chanteperdrix
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Marcel Soulot @ 2009-03-31 9:17 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
Hi
I start with xenomai so I patch the kernel 2.6.26.7 with the version 2.4.6.
So I try to test the xeno_16550A.ko driver generated instead of the standard
16550A on serial port ttyS0 ioaddr=0x3f8 irq=4 (standard one) and also on
serial port in PCI card ttyS6 ioaddr=0xe0000400 irq=10.
I used the following command to substitute the 16550A driver used by the
xeno_16550A.ko:
> setserial /dev/ttyS0 uart none
> insmod ./xeno_16550.ko ioaddr=0x3f8 irq=4
I got the error message :
xeno_16550A: Unkonwn parameter 'ioaddr'
insmod: error inserting './xeno_16550A.ko': -1 Unknown symbol in module
and I got the same thing with the other port.
Can you explain me how I can load correctly the xeno_16550A.ko
Thanks for your help.
Marcel.
[-- Attachment #2: Type: text/html, Size: 877 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Test xen_16500A.ko on different serial port
2009-03-31 9:17 [Xenomai-help] Test xen_16500A.ko on different serial port Marcel Soulot
@ 2009-03-31 9:34 ` Gilles Chanteperdrix
2009-03-31 9:37 ` Vikesh Rambaran
2009-03-31 9:39 ` Sebastian Smolorz
2 siblings, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2009-03-31 9:34 UTC (permalink / raw)
To: Marcel Soulot; +Cc: xenomai
Marcel Soulot wrote:
> Hi
>
> I start with xenomai so I patch the kernel 2.6.26.7 with the version 2.4.6.
>
> So I try to test the xeno_16550A.ko driver generated instead of the standard
> 16550A on serial port ttyS0 ioaddr=0x3f8 irq=4 (standard one) and also on
> serial port in PCI card ttyS6 ioaddr=0xe0000400 irq=10.
>
> I used the following command to substitute the 16550A driver used by the
> xeno_16550A.ko:
>
>> setserial /dev/ttyS0 uart none
>> insmod ./xeno_16550.ko ioaddr=0x3f8 irq=4
>
> I got the error message :
>
> xeno_16550A: Unkonwn parameter 'ioaddr'
> insmod: error inserting './xeno_16550A.ko': -1 Unknown symbol in module
>
> and I got the same thing with the other port.
>
> Can you explain me how I can load correctly the xeno_16550A.ko
There is no ioaddr parameter to this module, as documented here:
http://www.xenomai.org/index.php/16550A
The "Unknown symbol in module" message alone does not tell us much,
module related message appear clearly in the kernel logs, not on the
terminal where modprobe is run.
--
Gilles.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Test xen_16500A.ko on different serial port
2009-03-31 9:17 [Xenomai-help] Test xen_16500A.ko on different serial port Marcel Soulot
2009-03-31 9:34 ` Gilles Chanteperdrix
@ 2009-03-31 9:37 ` Vikesh Rambaran
2009-03-31 9:39 ` Sebastian Smolorz
2 siblings, 0 replies; 7+ messages in thread
From: Vikesh Rambaran @ 2009-03-31 9:37 UTC (permalink / raw)
To: Marcel Soulot; +Cc: xenomai
Hi
On Tue, 2009-03-31 at 11:17 +0200, Marcel Soulot wrote:
> Hi
>
> I start with xenomai so I patch the kernel 2.6.26.7 with the version
> 2.4.6.
>
> So I try to test the xeno_16550A.ko driver generated instead of the
> standard 16550A on serial port ttyS0 ioaddr=0x3f8 irq=4 (standard one)
> and also on serial port in PCI card ttyS6 ioaddr=0xe0000400 irq=10.
>
> I used the following command to substitute the 16550A driver used by
> the xeno_16550A.ko:
>
> > setserial /dev/ttyS0 uart none
> > insmod ./xeno_16550.ko ioaddr=0x3f8 irq=4
>
> I got the error message :
>
> xeno_16550A: Unkonwn parameter 'ioaddr'
> insmod: error inserting './xeno_16550A.ko': -1 Unknown symbol in
> module
>
Instead of 'ioaddr', try 'io' (without the apostrophes)
> and I got the same thing with the other port.
>
> Can you explain me how I can load correctly the xeno_16550A.ko
>
> Thanks for your help.
>
> Marcel.
Thanx
Vicki
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Test xen_16500A.ko on different serial port
2009-03-31 9:17 [Xenomai-help] Test xen_16500A.ko on different serial port Marcel Soulot
2009-03-31 9:34 ` Gilles Chanteperdrix
2009-03-31 9:37 ` Vikesh Rambaran
@ 2009-03-31 9:39 ` Sebastian Smolorz
2009-03-31 10:14 ` Marcel Soulot
2 siblings, 1 reply; 7+ messages in thread
From: Sebastian Smolorz @ 2009-03-31 9:39 UTC (permalink / raw)
To: Marcel Soulot; +Cc: xenomai
Marcel Soulot wrote:
> Hi
>
> I start with xenomai so I patch the kernel 2.6.26.7 with the version 2.4.6.
>
> So I try to test the xeno_16550A.ko driver generated instead of the standard
> 16550A on serial port ttyS0 ioaddr=0x3f8 irq=4 (standard one) and also on
> serial port in PCI card ttyS6 ioaddr=0xe0000400 irq=10.
>
> I used the following command to substitute the 16550A driver used by the
> xeno_16550A.ko:
>
>> setserial /dev/ttyS0 uart none
>> insmod ./xeno_16550.ko ioaddr=0x3f8 irq=4
>
> I got the error message :
>
> xeno_16550A: Unkonwn parameter 'ioaddr'
You may try "io="
--
Sebastian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Test xen_16500A.ko on different serial port
2009-03-31 9:39 ` Sebastian Smolorz
@ 2009-03-31 10:14 ` Marcel Soulot
2009-03-31 10:59 ` Marcel Soulot
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Soulot @ 2009-03-31 10:14 UTC (permalink / raw)
To: Sebastian Smolorz; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 982 bytes --]
Hi,
thanks for the answer.
now, the command insmod ./xeno_16550.ko io=0x3f8 irq=4 is accepted.
My question is: does the xeno_16550A.ko driver has replaced the 16550A and I
able to use the serial com as usual ?
Because I try to communication but it doesn't work.
thanks,
Marcel.
2009/3/31 Sebastian Smolorz <smolorz@domain.hid>
> Marcel Soulot wrote:
>
>> Hi
>>
>> I start with xenomai so I patch the kernel 2.6.26.7 with the version
>> 2.4.6.
>>
>> So I try to test the xeno_16550A.ko driver generated instead of the
>> standard
>> 16550A on serial port ttyS0 ioaddr=0x3f8 irq=4 (standard one) and also on
>> serial port in PCI card ttyS6 ioaddr=0xe0000400 irq=10.
>>
>> I used the following command to substitute the 16550A driver used by the
>> xeno_16550A.ko:
>>
>> setserial /dev/ttyS0 uart none
>>> insmod ./xeno_16550.ko ioaddr=0x3f8 irq=4
>>>
>>
>> I got the error message :
>>
>> xeno_16550A: Unkonwn parameter 'ioaddr'
>>
>
> You may try "io="
>
> --
> Sebastian
>
[-- Attachment #2: Type: text/html, Size: 1696 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Test xen_16500A.ko on different serial port
2009-03-31 10:14 ` Marcel Soulot
@ 2009-03-31 10:59 ` Marcel Soulot
2009-03-31 11:13 ` Sebastian Smolorz
0 siblings, 1 reply; 7+ messages in thread
From: Marcel Soulot @ 2009-03-31 10:59 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 1419 bytes --]
Hi sorry,
I was not very explicit in my last mail.
I try to test with the code from
http://www.captain.at/xenomai-serial-port-example.php
but i got an error: "can't open rtser6" because i try to communicate with
the port "ttyS6"
Do I load something related with the RTDM or something else ? I'm a bit
confused.
thanks,
Marcel.
2009/3/31 Marcel Soulot <msoulot@domain.hid>
> Hi,
>
> thanks for the answer.
>
> now, the command insmod ./xeno_16550.ko io=0x3f8 irq=4 is accepted.
> My question is: does the xeno_16550A.ko driver has replaced the 16550A and
> I able to use the serial com as usual ?
>
> Because I try to communication but it doesn't work.
>
> thanks,
> Marcel.
>
>
> 2009/3/31 Sebastian Smolorz <smolorz@domain.hid>
>
> Marcel Soulot wrote:
>>
>>> Hi
>>>
>>> I start with xenomai so I patch the kernel 2.6.26.7 with the version
>>> 2.4.6.
>>>
>>> So I try to test the xeno_16550A.ko driver generated instead of the
>>> standard
>>> 16550A on serial port ttyS0 ioaddr=0x3f8 irq=4 (standard one) and also on
>>> serial port in PCI card ttyS6 ioaddr=0xe0000400 irq=10.
>>>
>>> I used the following command to substitute the 16550A driver used by the
>>> xeno_16550A.ko:
>>>
>>> setserial /dev/ttyS0 uart none
>>>> insmod ./xeno_16550.ko ioaddr=0x3f8 irq=4
>>>>
>>>
>>> I got the error message :
>>>
>>> xeno_16550A: Unkonwn parameter 'ioaddr'
>>>
>>
>> You may try "io="
>>
>> --
>> Sebastian
>>
>
>
[-- Attachment #2: Type: text/html, Size: 2515 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] Test xen_16500A.ko on different serial port
2009-03-31 10:59 ` Marcel Soulot
@ 2009-03-31 11:13 ` Sebastian Smolorz
0 siblings, 0 replies; 7+ messages in thread
From: Sebastian Smolorz @ 2009-03-31 11:13 UTC (permalink / raw)
To: Marcel Soulot; +Cc: xenomai
Marcel Soulot schrieb:
> Hi sorry,
>
> I was not very explicit in my last mail.
>
> I try to test with the code from
> http://www.captain.at/xenomai-serial-port-example.php
>
> but i got an error: "can't open rtser6" because i try to communicate with
> the port "ttyS6"
The enumeration of the Xenomai serial driver has nothing to do with the
Linux counterpart. Try rtser0. Also note that you have to use the RT
serial driver through RTDM calls and not Linux system calls.
--
Sebastian
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-03-31 11:13 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 9:17 [Xenomai-help] Test xen_16500A.ko on different serial port Marcel Soulot
2009-03-31 9:34 ` Gilles Chanteperdrix
2009-03-31 9:37 ` Vikesh Rambaran
2009-03-31 9:39 ` Sebastian Smolorz
2009-03-31 10:14 ` Marcel Soulot
2009-03-31 10:59 ` Marcel Soulot
2009-03-31 11:13 ` Sebastian Smolorz
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.