All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Zhe Su <szhe.bme@gmail.com>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Compatibility of PCAN PCI Express Four Channel
Date: Fri, 20 Feb 2015 19:57:10 +0100	[thread overview]
Message-ID: <20150220185710.GC2356@hermes.click-hack.org> (raw)
In-Reply-To: <CAAg8yo2tTFE_SoAUEJN9bxJJDSQ0jHmwpQKcya9T2KXyTkvPYg@mail.gmail.com>

On Fri, Feb 20, 2015 at 05:33:15AM -0800, Zhe Su wrote:
> Sorry about that. If I used command cat /proc/rtcan/devices on my 2-channel
> PCI express board, I got following results Name___________ _Baudrate
> State___ TX_Counter RX_Counter ____Errors
> 
>   rtcan0             100000 active            0          0          0
>   rtcan1             100000 active            0          0          0
> 
> When I used the same command on the 4-channel PCI express board, I got
> nothing like above results.
> 
> Also when I used command lspci -v. The results didn't show any Kernel
> driver in use and kernel modules. As shown in the results of between
> 2-channel board vs 4-channel board.
> 
> *2- channel: *
> 02:00.0 Network controller: PEAK-System Technik GmbH PCAN-PCI CAN-Bus
> controller (rev 02)
>     Subsystem: PEAK-System Technik GmbH 2 Channel CAN Bus SJC1000
> (Optically Isolated)
>     Flags: medium devsel, IRQ 28
>     Memory at f3ee0000 (32-bit, non-prefetchable) [size=64K]
>     Memory at f3ef0000 (32-bit, non-prefetchable) [size=64K]
>     Kernel driver in use: PEAK-PCI-CAN
>     Kernel modules: xeno_can_peak_pci
> 
> *4-channel: *
> 22:00.0 Network controller: PEAK-System Technik GmbH Device 0003 (rev 02)
>     Subsystem: PEAK-System Technik GmbH Device 0014
>     Flags: bus master, fast devsel, latency 0, IRQ 11
>     Memory at dffe0000 (32-bit, non-prefetchable) [size=64K]
>     Memory at dfff0000 (32-bit, non-prefetchable) [size=64K]
>     Expansion ROM at <unassigned>
>     Capabilities: <access denied>

Well, it would seem the driver does not match your board. Is the
matching done only on vendor id/product id, or are the other ids
used in the driver table ?

-- 
					    Gilles.


  parent reply	other threads:[~2015-02-20 18:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08  1:23 [Xenomai] Compatibility of PCAN PCI Express Four Channel Zhe Su
2015-02-08 17:42 ` Gilles Chanteperdrix
2015-02-12  9:29   ` Konrad Banachowicz
2015-02-20  0:05   ` Zhe Su
2015-02-20  5:22     ` Gilles Chanteperdrix
2015-02-20  6:26       ` Zhe Su
2015-02-20  6:29         ` Gilles Chanteperdrix
     [not found]           ` <4E57A2CE-DBB7-49DD-B0A3-78312F35C9DA@gmail.com>
2015-02-20  6:42             ` Gilles Chanteperdrix
     [not found]               ` <CAAg8yo2tTFE_SoAUEJN9bxJJDSQ0jHmwpQKcya9T2KXyTkvPYg@mail.gmail.com>
2015-02-20 18:57                 ` Gilles Chanteperdrix [this message]
2015-02-20 19:09                   ` Konrad Banachowicz
2015-02-20 22:58                     ` Gilles Chanteperdrix

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=20150220185710.GC2356@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=szhe.bme@gmail.com \
    --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.