On Thu, 2011-06-30 at 01:00 -0700, Stu Statman wrote:
> 
> On 6/29/11 11:29 PM, Oliver Hartkopp wrote
> > the things you try to compile are already part of the Linux mainline Kernel.
> I realized that about a minute after I sent that email. Felt like an 
> idiot a bit.
> > - use the original 2.6.39 CAN modules from your 2.6.39-2.el5.elrepo-i686
> > - build the stuff from socketcan/trunk/can-utils
> Exactly what I ended up doing, plus installing the latest version of 
> iproute2 so that we could run :
> 
> ip link set can0 up type can bitrate 250000
> 
> If you have a suggestion for a way I could use the iproute2 that's part 
> of the standard kernel but accomplish the same goal, you would make me 
> very happy!
> 
> Stu

I had a similar problem porting to Android 2.1 - which does not even
support iproute2 - and solved it by writing a simple program to set the
bit rate and restart time using libsocketcan. (E.g. "cansetup -b1000000
can0".)

Would this be of interest?


Chris.

-- 
Chris Isbell
Systems Integration Manager, CDSRail
Fareham, Hampshire, UK.
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users

Reply via email to