All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Socketcan-users] Where to permanent set the bitrate
       [not found] <20366.62479.788236.563357@elektron.ikp.physik.tu-darmstadt.de>
@ 2012-04-18 17:22 ` Oliver Hartkopp
  0 siblings, 0 replies; only message in thread
From: Oliver Hartkopp @ 2012-04-18 17:22 UTC (permalink / raw)
  To: Uwe Bonnes, linux-can@vger.kernel.org

On 18.04.2012 19:04, Uwe Bonnes wrote:

> Hello,
> 
> running  a recent 3.4.0-rc2 Kernel, I needed to access my PEAK USB
> Adapters. As there is now an In-Kernel peak_usb.ko Module versus the
> out-of-kernel pcan.ko module, i needed to set the bitrate. After long
> searching, I found that
>>  ip link set canX up type can bitrate 1000000
> did the trick for me.
> 
> 1. The kernel documentation does not tell about these support commands. It
>    would be helpfull if it would.


http://lxr.linux.no/#linux+v3.3.2/Documentation/networking/can.txt#L646

> 2. Where ist the place to put those commands in the /etc tree? 


You may use this can_if script copied to /etc/init.d and add the appropriate
links e.g. in /etc/rc2.d ..

See: http://svn.berlios.de/wsvn/socketcan/trunk/etc/can_if

> 
> Otherwise Thanks for the work to get peak_usb in the kernel!


Yes - Stephane did a good job!

Regards,
Oliver

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-18 17:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20366.62479.788236.563357@elektron.ikp.physik.tu-darmstadt.de>
2012-04-18 17:22 ` [Socketcan-users] Where to permanent set the bitrate Oliver Hartkopp

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.