All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rtcan bit of help
@ 2007-10-23 13:30 Roland Tollenaar
  2007-10-23 13:53 ` Wolfgang Grandegger
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Tollenaar @ 2007-10-23 13:30 UTC (permalink / raw)
  To: Xenomai-help

Hi,

new machine, new chances. rtnet running only the peak_dongle to get into
action. But this is giving some problems.

First the BIOS setup. Must set LPT1 to EPP mode but I only have the
following options:
	1-EPP+ECP
	2-Bi-Directional
	3-One directional

Only 2 allows me to load the driver without getting the message that the
device does not exist. So Bi-Directional = EPP?

There is one other setting in the BIOS (that I have found) which may
affect this which is the address and IRQ and DMA line.
The options are a whole lot of things but I have chosen
0x378 and IRQ 7. No DMA line

I mention this because I can select the same address with DMA 1 or DMA 2
but I have chosen the one with no direct memory access.

Once the driver is loaded, there is no adverse message in the system log
that I can see. dmesg report rtcan2 loaded.

I get flooding of the read buffer when I run my application. I can see
this in dmesg.

Is there something obviously wrong with my BIOS choice? If not what can
I check.

I have done some other tests but to prevent this email becoming too
long, especially if the problem is obviously BIOS related i refrain from
mentioning the outcome.


Kind regards,

Roland



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

* Re: [Xenomai-help] rtcan bit of help
  2007-10-23 13:30 [Xenomai-help] rtcan bit of help Roland Tollenaar
@ 2007-10-23 13:53 ` Wolfgang Grandegger
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Grandegger @ 2007-10-23 13:53 UTC (permalink / raw)
  To: rolandtollenaar; +Cc: Xenomai-help

Roland Tollenaar wrote:
> Hi,
> 
> new machine, new chances. rtnet running only the peak_dongle to get into
> action. But this is giving some problems.
> 
> First the BIOS setup. Must set LPT1 to EPP mode but I only have the
> following options:
> 	1-EPP+ECP
> 	2-Bi-Directional
> 	3-One directional
> 
> Only 2 allows me to load the driver without getting the message that the
> device does not exist. So Bi-Directional = EPP?
> 
> There is one other setting in the BIOS (that I have found) which may
> affect this which is the address and IRQ and DMA line.
> The options are a whole lot of things but I have chosen
> 0x378 and IRQ 7. No DMA line
> 
> I mention this because I can select the same address with DMA 1 or DMA 2
> but I have chosen the one with no direct memory access.
> 
> Once the driver is loaded, there is no adverse message in the system log
> that I can see. dmesg report rtcan2 loaded.

This means, that at least the first register accesses worked.

> I get flooding of the read buffer when I run my application. I can see
> this in dmesg.

Do you see interrupts with /proc/xenomai/irq.

> Is there something obviously wrong with my BIOS choice? If not what can
> I check.

Don't know he magics of the BIOS and the parallel port setupo, sorry,

> I have done some other tests but to prevent this email becoming too
> long, especially if the problem is obviously BIOS related i refrain from
> mentioning the outcome.

Do you see errors listed by /proc/rtcan/sockets or /proc/rtcan/devices?

Wolfgang.



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

end of thread, other threads:[~2007-10-23 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23 13:30 [Xenomai-help] rtcan bit of help Roland Tollenaar
2007-10-23 13:53 ` Wolfgang Grandegger

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.