From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Kleine-Budde Subject: Re: Question for canutils Date: Sat, 07 May 2011 01:58:16 +0200 Message-ID: <4DC48B18.1010309@pengutronix.de> References: <02D6556ECE7A41859777EB7300D12394@hacdom.okisemi.com> <4DB81F2E.4050802@pengutronix.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6299196694072719531==" Cc: socketcan-core-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, toshiharu-linux-ECg8zkTtlr0C6LszWs/t0g@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, 'Wolfgang Grandegger' To: Tomoya MORINAGA Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org Errors-To: socketcan-core-bounces-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org List-Id: netdev.vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============6299196694072719531== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7E3F777774FD6ABC57D37D9E" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7E3F777774FD6ABC57D37D9E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/06/2011 02:37 AM, Tomoya MORINAGA wrote: > Hi Marc, >=20 > 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 >=20 > [morinaga@localhost ~]$=20 > [morinaga@localhost ~]$ ls -l /usr/local/lib > =E5=90=88=E8=A8=88 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 -> libhis= tory.so.6 > lrwxrwxrwx. 1 root root 17 2011-01-13 16:56 libhistory.so.6 -> libh= istory.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 -> libre= adline.so.6 > lrwxrwxrwx. 1 root root 18 2011-01-13 16:56 libreadline.so.6 -> lib= readline.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 -> libs= ocketcan.so.2.2.0 > lrwxrwxrwx. 1 root root 21 2011-04-27 15:40 libsocketcan.so.2 -> li= bsocketcan.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/ > =E5=90=88=E8=A8=88 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 ~]$=20 >=20 >=20 >> First build the canutils, then configure the bitrate, e.g. 250 kbit/s:= >> $ canconfig can0 bitrate 250000 >> $ ifconfig can0 up > The above commands failed. >=20 > [root@localhost can]#=20 > [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 --=20 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 | --------------enig7E3F777774FD6ABC57D37D9E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3EixwACgkQjTAFq1RaXHNdwACfWfAats9EttEU2gqyQmqfTAVV RugAnjrnO+LrXO+6Fh4myXkw8cNq4eko =JCXS -----END PGP SIGNATURE----- --------------enig7E3F777774FD6ABC57D37D9E-- --===============6299196694072719531== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Socketcan-core mailing list Socketcan-core-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org https://lists.berlios.de/mailman/listinfo/socketcan-core --===============6299196694072719531==--