Jan Kiszka wrote:
roland Tollenaar wrote:
Hi,

My dongle has arrived and seems to be OK under windows.

I am now trying to install it under linux but things not looking good so
far.

from

/lib/modules/2.6.16-xen-3/kernel/drivers/xenomai/can/sja1000

I ran

$>depmod xeno_can_peak_dng.ko
$>modprobe xeno_can_peak_dng type=epp io=0x378 irq=7

but the result is:

FATAL: Error inserting xeno_can_peak_dng (xeno_can_peak_dng.ko): No such
device

The little led is glowing. And the dongle is even plugged in to the
only parallel port my machine has :)
Nothing is connected to the output of the dongle at this stage.

Am I missing something fundamental here?


Maybe a conflict with parport_pc.

Yes, because it already grabs/registers the interrupt:

  $ grep par /proc/interrupts
    7:          3          XT-PIC  parport0

Wolfgang, do we always have to remove that module, or is there a chance
to cooperate with it without loosing real-time? When removing the Linux
parport layer, there is the risk that the port is powered off (see
irqbench), and xeno_can_peak_dng does not account for this yet.

That's the tricky part, indeed. On my Laptop I need to disabled the parport support completely for proper operation. On my PC that does not work for some strange reasons. I need parport loaded and parport_pc removed. We still need the PNP fix to avoid the problem you described with power off.

Wolfgang.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to