-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wolfgang Grandegger schrieb:
> On 09/07/2009 05:42 PM, Sebastian Haas wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Oliver,
>>
>> like I've written on netdev I'm posting the ems_usb driver here.
>>
>> At the moment I'm fighting with the netlink interface. Everytime I want
>> to set the bitrate I'm getting the following error from the IP tool:
>>
>> sudo ./ip link set can0 type can bitrate 500000
>> RTNETLINK answers: Numerical argument out of domain
>>
>> dmesg says:
>> [ 1185.018724] ems_usb 2-6:1.0: bitrate error 100.0% too high
>>
>> Any ideas? I hope I'm using the candev interface correctly.
> 
> priv->can.clock.freq = ?
That was the problem. Thanks.

Sebastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkql+6wACgkQpqRB8PJG7Xw/TQCeIP9YTtgyOgayfX4k69XaNPlL
tocAnRVNHgyo9hdi1wyi3uiLH3EjsK7y
=PTTR
-----END PGP SIGNATURE-----
-- 
EMS Dr. Thomas Wuensche e.K.
Sonnenhang 3
85304 Ilmmuenster
HRA Neuburg a.d. Donau, HR-Nr. 70.106
Phone: +49-8441-490260
Fax  : +49-8441-81860
http://www.ems-wuensche.com
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to