public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Tomoya MORINAGA <morinaga526@dsn.okisemi.com>
Cc: "'Wolfgang Grandegger'" <wg@grandegger.com>,
	socketcan-core@lists.berlios.de, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, toshiharu-linux@dsn.okisemi.com
Subject: Re: Question for canutils
Date: Sat, 07 May 2011 01:58:16 +0200	[thread overview]
Message-ID: <4DC48B18.1010309@pengutronix.de> (raw)
In-Reply-To: <A42D429EA0C74B64BB1BFE96BBFA9815@hacdom.okisemi.com>

[-- Attachment #1: Type: text/plain, Size: 2393 bytes --]

On 05/06/2011 02:37 AM, Tomoya MORINAGA wrote:
> Hi Marc,
> 
> On Wednesday, April 27, 2011 10:51 PM, Marc Kleine-Budde wrote:
>> Into which location?
>>
>> Please send me the output of:
>>
>> ls -l /usr/local/lib
>> ls -l /usr/local/lib/pkgconfig
> 
> [morinaga@localhost ~]$ 
> [morinaga@localhost ~]$ ls -l /usr/local/lib
> 合計 1412
> -rw-r--r--. 1 root root 103226 2011-01-13 16:56 libhistory.a
> lrwxrwxrwx. 1 root root     15 2011-01-13 16:56 libhistory.so -> libhistory.so.6
> lrwxrwxrwx. 1 root root     17 2011-01-13 16:56 libhistory.so.6 -> libhistory.so.6.0
> -r-xr-xr-x. 1 root root  80204 2011-01-13 16:56 libhistory.so.6.0
> -rw-r--r--. 1 root root 686760 2011-01-13 16:56 libreadline.a
> lrwxrwxrwx. 1 root root     16 2011-01-13 16:56 libreadline.so -> libreadline.so.6
> lrwxrwxrwx. 1 root root     18 2011-01-13 16:56 libreadline.so.6 -> libreadline.so.6.0
> -r-xr-xr-x. 1 root root 498839 2011-01-13 16:56 libreadline.so.6.0
> -rw-r--r--. 1 root root  28718 2011-04-27 15:40 libsocketcan.a
> -rwxr-xr-x. 1 root root    843 2011-04-27 15:40 libsocketcan.la
> lrwxrwxrwx. 1 root root     21 2011-04-27 15:40 libsocketcan.so -> libsocketcan.so.2.2.0
> lrwxrwxrwx. 1 root root     21 2011-04-27 15:40 libsocketcan.so.2 -> libsocketcan.so.2.2.0
> -rwxr-xr-x. 1 root root  27835 2011-04-27 15:40 libsocketcan.so.2.2.0
> drwxr-xr-x. 2 root root   4096 2011-04-27 15:53 pkgconfig
> [morinaga@localhost ~]$ ls -l /usr/local/lib/pkgconfig/
> 合計 8
> -rw-r--r--. 1 root root 198 2011-04-27 15:53 canutils.pc
> -rw-r--r--. 1 root root 300 2011-04-27 15:40 libsocketcan.pc
> [morinaga@localhost ~]$ 
> 
> 
>> First build the canutils, then configure the bitrate, e.g. 250 kbit/s:
>>     $ canconfig can0 bitrate 250000
>>     $ ifconfig can0 up
> The above commands failed.
> 
> [root@localhost can]# 
> [root@localhost can]# canconfig can0 bitrate 250000
> opening CAN interface 'can0' in sysfs failed, maybe not a CAN interface
> No such file or directory

you have to use canutils 4.x, not 3.x. (or ip from iprout2) to setup the
bitrate.

cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

      reply	other threads:[~2011-05-06 23:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27  8:36 Question for canutils Tomoya MORINAGA
2011-04-27 13:50 ` Marc Kleine-Budde
2011-05-06  0:37   ` Tomoya MORINAGA
2011-05-06 23:58     ` Marc Kleine-Budde [this message]

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=4DC48B18.1010309@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=morinaga526@dsn.okisemi.com \
    --cc=netdev@vger.kernel.org \
    --cc=socketcan-core@lists.berlios.de \
    --cc=toshiharu-linux@dsn.okisemi.com \
    --cc=wg@grandegger.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox