linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bit rate configuration of PEAK USB devices
@ 2011-11-15 14:13 Heinz-Jürgen Oertel
  2011-11-15 18:09 ` [Socketcan-users] " Oliver Hartkopp
  0 siblings, 1 reply; 10+ messages in thread
From: Heinz-Jürgen Oertel @ 2011-11-15 14:13 UTC (permalink / raw)
  To: socketcan-users@lists.berlios.de, linux-can@vger.kernel.org


Hello,

I tried
 ip link set can0 type can bitrate 125000
and I tried socketcanlib
can_set_bitrate("can0", 125000);
but everytime got the error 
RTNETLINK answers: Operation not permitted.
Reading the "PCAN driver for Linux - User Manual" v7.1
I could not find instructions to set the bit rate for netdev.
 
Who knows the best and/or correct way?

 Regards
   Heinz

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-11-18  9:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-15 14:13 Bit rate configuration of PEAK USB devices Heinz-Jürgen Oertel
2011-11-15 18:09 ` [Socketcan-users] " Oliver Hartkopp
2011-11-15 18:33   ` Oliver Hartkopp
     [not found]     ` <4EC2B072.5060704-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org>
2011-11-17  6:49       ` Heinz-Jürgen Oertel
     [not found]         ` <B3B3BE5A55ED7743A83865E234A22B1D1B91F2BE57-E+xEQJb9ENTWDPv2tuTBK42P0GrZ+RbP@public.gmane.org>
2011-11-17 11:24           ` Kurt Van Dijck
     [not found]             ` <20111117112447.GA366-MxZ6Iy/zr/UdbCeoMzGj59i2O/JbrIOy@public.gmane.org>
2011-11-17 16:14               ` Oliver Hartkopp
     [not found]                 ` <4EC532E9.5050308-fJ+pQTUTwRTk1uMJSBkQmQ@public.gmane.org>
2011-11-17 16:25                   ` Kurt Van Dijck
     [not found]                     ` <20111117162535.GF366-MxZ6Iy/zr/UdbCeoMzGj59i2O/JbrIOy@public.gmane.org>
2011-11-17 17:55                       ` Wolfgang Grandegger
     [not found]                         ` <4EC54A78.2060109-5Yr1BZd7O62+XT7JhA+gdA@public.gmane.org>
2011-11-18  9:23                           ` Marc Kleine-Budde
2011-11-17 16:11           ` Oliver Hartkopp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).