All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: roland Tollenaar <rolandtollenaar@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] problems installing peak CAN dongle
Date: Fri, 02 Mar 2007 12:21:43 +0100	[thread overview]
Message-ID: <45E808C7.4010101@domain.hid> (raw)
In-Reply-To: <bc4264770703020252i8856466i80dfc882b9ad3ce2@domain.hid>

roland Tollenaar wrote:
> Hi,
> 
> One question. The driver loads properly but is that a guarantee that
> everything is fine? Without anything connected to it what is the best
> manner to check its correct functioning?

Remember the special modes. You could configure the "loopback" mode of 
the device using "rtcanconfig -c loopback rtcan0".

Wolfgang.

> 
> Roland
> 
> 
> 
> On 3/2/07, roland Tollenaar <rolandtollenaar@domain.hid> wrote:
>> Hi,
>>
>> My situation is slightly different. The modules don;t get loaded for
>> some or other reason (not sure why because I do have parport support
>> <M> selected in the kernel config.
>>
>> My BIOS settings said ECP instead of EPP ( I still don;t know the
>> difference) I set it to EPP and the driver seems to load with modprobe
>> now.
>>
>> Interestingly enough before I changed the BIOS I did try
>>
>> modprobe xeno_can_peak_dng type=ecp io=0x378 irq=7
>>
>> but it tells me that ecp is an invalid argument? Why is that?
>>
>>
>> Kind regards,
>>
>> Roland
>>
>>
>> On 3/2/07, Markus Franke <Markus.Franke@domain.hid> wrote:
>> > roland Tollenaar wrote:
>> > > You mean this must be run as a boot option? Sorry I am not familiar
>> > > with the term kernel commandline.
>> >
>> > Yes, I mean boot option.
>> >
>> > >
>> > > Sounds like its worth a try.
>> > >
>> > > Lp and parport_pc are not loaded.
>> >
>> > In my case it was the problem that parport_pc and lp were loaded during
>> > system boot. When I removed these modules in order to load my parport
>> > module, the parallelport was always switched off by linux and it was 
>> not
>> > possible to activate it again.
>> >
>> > >
>> > > Thanks
>> > >
>> > > Roland
>> > >
>> > >> the kernel commandline.
>> > >> Maybe this can also help you.
>> > >>
>> > >> Regards,
>> > >> Markus Franke
>> > >>
>> > >> roland Tollenaar wrote:
>> > >> >> >
>> > >> >> > FATAL: Error inserting xeno_can_peak_dng 
>> (xeno_can_peak_dng.ko): No
>> > >> >> such
>> > >> >> > device
>> > >> >>
>> > >> >> Is there som additional kernel output visible via "dmesg"?
>> > >> >
>> > >> >
>> > >> > Yes:
>> > >> >
>> > >> > SCSI device sdb: 3963904 512-byte hdwr sectors (2030 MB)
>> > >> > sdb: Write Protect is off
>> > >> > sdb: Mode Sense: 43 00 00 00
>> > >> > sdb: assuming drive cache: write through
>> > >> > SCSI device sdb: 3963904 512-byte hdwr sectors (2030 MB)
>> > >> > sdb: Write Protect is off
>> > >> > sdb: Mode Sense: 43 00 00 00
>> > >> > sdb: assuming drive cache: write through
>> > >> > sdb: sdb1
>> > >> > sd 3:0:0:0: Attached scsi removable disk sdb
>> > >> > usb-storage: device scan complete
>> > >> > ERROR! No SJA1000 device found!
>> > >> > ERROR while trying to register SJA1000 device -19!
>> > >> > Init failed with -19
>> > >> >
>> > >> > are the final lines.
>> > >> >
>> > >> >
>> > >> >>
>> > >> >> How do you have configured the parport in the kernel? Are there
>> > >> modules
>> > >> >> loaded (check /proc/modules)? Retry after removing lp and 
>> parport_pc:
>> > >> >
>> > >> >
>> > >> > Have looked can't see any. Have attached the output of 
>> /proc/modules
>> > >> >
>> > >> >
>> > >> >>
>> > >> >>    $ rmmod lp
>> > >> >>    $ rmmod parport_pc
>> > >> >
>> > >> >
>> > >> > I get a message that it cannot find these modules in /proc/modules
>> > >> >
>> > >> >
>> > >> >
>> > >> >
>> > >> >
>> > >> >>
>> > >> >> Wolfgang.
>> > >> >>
>> > >> >
>> > >> >
>> > >> 
>> ------------------------------------------------------------------------
>> > >> >
>> > >> > _______________________________________________
>> > >> > Xenomai-help mailing list
>> > >> > Xenomai-help@domain.hid
>> > >> > https://mail.gna.org/listinfo/xenomai-help
>> > >>
>> > >> --
>> > >> Nichts ist so praktisch wie eine gute Theorie!
>> > >>
>> > >
>> >
>> > --
>> > Nichts ist so praktisch wie eine gute Theorie!
>> >
>> >
>>
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 
> 



  reply	other threads:[~2007-03-02 11:21 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-02  8:23 [Xenomai-help] problems installing peak CAN dongle roland Tollenaar
2007-03-02  8:40 ` Jan Kiszka
2007-03-02  8:54   ` Wolfgang Grandegger
2007-03-02  8:55   ` Roland Tollenaar
2007-03-04 10:01   ` Paul
2007-03-02  8:47 ` Wolfgang Grandegger
2007-03-02  9:23   ` roland Tollenaar
2007-03-02  9:36     ` Wolfgang Grandegger
2007-03-02  9:54       ` roland Tollenaar
2007-03-02  9:54     ` Markus Franke
2007-03-02 10:22       ` Wolfgang Grandegger
2007-03-02 10:27         ` Markus Franke
2007-03-02 10:33           ` roland Tollenaar
2007-03-02 10:31         ` roland Tollenaar
2007-03-02 10:28       ` roland Tollenaar
2007-03-02 10:42         ` Markus Franke
2007-03-02 10:50           ` roland Tollenaar
2007-03-02 10:52             ` roland Tollenaar
2007-03-02 11:21               ` Wolfgang Grandegger [this message]
2007-03-02 11:39                 ` Roland Tollenaar
2007-03-02 13:19                   ` Wolfgang Grandegger
2007-03-02 13:37                     ` Roland Tollenaar
2007-03-02 14:41                       ` Wolfgang Grandegger
2007-03-02 14:46                         ` Wolfgang Grandegger
2007-03-02 14:06                     ` Roland Tollenaar
2007-03-02 11:17             ` Wolfgang Grandegger

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=45E808C7.4010101@domain.hid \
    --to=wg@domain.hid \
    --cc=rolandtollenaar@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.