CANutilities

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CANutilities

kedar
Hi,
                     when i try to run the below command i am getting the error
./canconfig can0 bitrate 100000 ctrlmode triple-sampling on loopback on
1c
can0 bitrate: 100000, sample-point: 0.875
RTNETLINK answers: Operation not supported
can0: failed to set ctrlmode

How to overcome it

Regards,
kedar
_______________________________________________
Socketcan-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/socketcan-users
Reply | Threaded
Open this post in threaded view
|

Re: CANutilities

Marc Kleine-Budde
On 05/15/2013 09:00 AM, kedari appana wrote:
> Hi,
>                      when i try to run the below command i am getting the error
> ./canconfig can0 bitrate 100000 ctrlmode triple-sampling on loopback on
> 1c
> can0 bitrate: 100000, sample-point: 0.875
> RTNETLINK answers: Operation not supported
> can0: failed to set ctrlmode
>
> How to overcome it

Are you running canconfig as root?

Marc

--
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   |


_______________________________________________
Socketcan-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/socketcan-users

signature.asc (271 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: CANutilities

kedar
Hi Marc,
I am running as a root.my hardware don't support triple sampling mode
is there any issue with that?

Regards,
Kedar.

On Wed, May 15, 2013 at 12:45 PM, Marc Kleine-Budde <[hidden email]> wrote:

> On 05/15/2013 09:00 AM, kedari appana wrote:
>> Hi,
>>                      when i try to run the below command i am getting the error
>> ./canconfig can0 bitrate 100000 ctrlmode triple-sampling on loopback on
>> 1c
>> can0 bitrate: 100000, sample-point: 0.875
>> RTNETLINK answers: Operation not supported
>> can0: failed to set ctrlmode
>>
>> How to overcome it
>
> Are you running canconfig as root?
>
> Marc
>
> --
> 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   |
>
_______________________________________________
Socketcan-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/socketcan-users