All of lore.kernel.org
 help / color / mirror / Atom feed
* CANutilities
@ 2013-05-15  7:00 kedari appana
       [not found] ` <CANdmM3MkAN9tZLUDSnVrdXTngu7CH5UESUAo7NO4u85D0Hg2tQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: kedari appana @ 2013-05-15  7:00 UTC (permalink / raw)
  To: Marc Kleine-Budde,
	linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	socketcan-users-0fE9KPoRgkgATYTw5x5z8w

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

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

* Re: CANutilities
       [not found] ` <CANdmM3MkAN9tZLUDSnVrdXTngu7CH5UESUAo7NO4u85D0Hg2tQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-05-15  7:15   ` Marc Kleine-Budde
       [not found]     ` <5193360F.3040609-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Marc Kleine-Budde @ 2013-05-15  7:15 UTC (permalink / raw)
  To: kedari appana
  Cc: socketcan-users-0fE9KPoRgkgATYTw5x5z8w,
	linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org


[-- Attachment #1.1: Type: text/plain, Size: 689 bytes --]

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   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

[-- Attachment #2: Type: text/plain, Size: 190 bytes --]

_______________________________________________
Socketcan-users mailing list
Socketcan-users-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org
https://lists.berlios.de/mailman/listinfo/socketcan-users

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

* Re: CANutilities
       [not found]     ` <5193360F.3040609-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2013-05-15  7:39       ` kedari appana
  2013-05-15  7:43         ` CANutilities Marc Kleine-Budde
  0 siblings, 1 reply; 13+ messages in thread
From: kedari appana @ 2013-05-15  7:39 UTC (permalink / raw)
  To: Marc Kleine-Budde
  Cc: socketcan-users-0fE9KPoRgkgATYTw5x5z8w,
	linux-can-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

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 <mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> 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   |
>

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

* Re: CANutilities
  2013-05-15  7:39       ` CANutilities kedari appana
@ 2013-05-15  7:43         ` Marc Kleine-Budde
  2013-05-15  8:21           ` CANutilities kedari appana
  0 siblings, 1 reply; 13+ messages in thread
From: Marc Kleine-Budde @ 2013-05-15  7:43 UTC (permalink / raw)
  To: kedari appana; +Cc: linux-can@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

On 05/15/2013 09:39 AM, kedari appana wrote:
> I am running as a root.my hardware don't support triple sampling mode
> is there any issue with that?

What's your hardware?

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   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

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

* Re: CANutilities
  2013-05-15  7:43         ` CANutilities Marc Kleine-Budde
@ 2013-05-15  8:21           ` kedari appana
  2013-05-15  8:24             ` CANutilities Marc Kleine-Budde
  0 siblings, 1 reply; 13+ messages in thread
From: kedari appana @ 2013-05-15  8:21 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: linux-can@vger.kernel.org

Hi,

xilinx canps

regards,
Kedar.

On Wed, May 15, 2013 at 1:13 PM, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
> On 05/15/2013 09:39 AM, kedari appana wrote:
>> I am running as a root.my hardware don't support triple sampling mode
>> is there any issue with that?
>
> What's your hardware?
>
> 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   |
>

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

* Re: CANutilities
  2013-05-15  8:21           ` CANutilities kedari appana
@ 2013-05-15  8:24             ` Marc Kleine-Budde
  2013-05-15  8:52               ` CANutilities kedari appana
  0 siblings, 1 reply; 13+ messages in thread
From: Marc Kleine-Budde @ 2013-05-15  8:24 UTC (permalink / raw)
  To: kedari appana; +Cc: linux-can@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

On 05/15/2013 10:21 AM, kedari appana wrote:
> xilinx canps

If your hardware doesn't support triple sampling, why are you trying to
active it?

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   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

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

* Re: CANutilities
  2013-05-15  8:24             ` CANutilities Marc Kleine-Budde
@ 2013-05-15  8:52               ` kedari appana
  2013-05-15  8:57                 ` CANutilities Marc Kleine-Budde
  0 siblings, 1 reply; 13+ messages in thread
From: kedari appana @ 2013-05-15  8:52 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: linux-can@vger.kernel.org

hi Marc,

if i try without triple sampling on
and just this command #./canconfig can0 bitrate 100000 ctrlmode  loopback on

1c
can0 bitrate: 100000, sample-point: 0.875
RTNETLINK answers: Operation not supported
can0: failed to set ctrlmode
the same error i am getting what was the issue.

Regards,
Kedar.

On Wed, May 15, 2013 at 1:54 PM, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
> On 05/15/2013 10:21 AM, kedari appana wrote:
>> xilinx canps
>
> If your hardware doesn't support triple sampling, why are you trying to
> active it?
>
> 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   |
>

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

* Re: CANutilities
  2013-05-15  8:52               ` CANutilities kedari appana
@ 2013-05-15  8:57                 ` Marc Kleine-Budde
  2013-05-15  8:59                   ` CANutilities kedari appana
  0 siblings, 1 reply; 13+ messages in thread
From: Marc Kleine-Budde @ 2013-05-15  8:57 UTC (permalink / raw)
  To: kedari appana; +Cc: linux-can@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

On 05/15/2013 10:52 AM, kedari appana wrote:
> if i try without triple sampling on
> and just this command #./canconfig can0 bitrate 100000 ctrlmode  loopback on
> 
> 1c
> can0 bitrate: 100000, sample-point: 0.875
> RTNETLINK answers: Operation not supported
> can0: failed to set ctrlmode
> the same error i am getting what was the issue.

Does your hardware/driver support loopback mode?

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   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

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

* Re: CANutilities
  2013-05-15  8:57                 ` CANutilities Marc Kleine-Budde
@ 2013-05-15  8:59                   ` kedari appana
  2013-05-15  8:59                     ` CANutilities Marc Kleine-Budde
  2013-05-15  9:00                     ` CANutilities kedari appana
  0 siblings, 2 replies; 13+ messages in thread
From: kedari appana @ 2013-05-15  8:59 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: linux-can@vger.kernel.org

yes

On Wed, May 15, 2013 at 2:27 PM, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
> On 05/15/2013 10:52 AM, kedari appana wrote:
>> if i try without triple sampling on
>> and just this command #./canconfig can0 bitrate 100000 ctrlmode  loopback on
>>
>> 1c
>> can0 bitrate: 100000, sample-point: 0.875
>> RTNETLINK answers: Operation not supported
>> can0: failed to set ctrlmode
>> the same error i am getting what was the issue.
>
> Does your hardware/driver support loopback mode?
>
> 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   |
>

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

* Re: CANutilities
  2013-05-15  8:59                   ` CANutilities kedari appana
@ 2013-05-15  8:59                     ` Marc Kleine-Budde
  2013-05-15  9:00                     ` CANutilities kedari appana
  1 sibling, 0 replies; 13+ messages in thread
From: Marc Kleine-Budde @ 2013-05-15  8:59 UTC (permalink / raw)
  To: kedari appana; +Cc: linux-can@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

On 05/15/2013 10:59 AM, kedari appana wrote:
> yes

Show us the driver.

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   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

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

* Re: CANutilities
  2013-05-15  8:59                   ` CANutilities kedari appana
  2013-05-15  8:59                     ` CANutilities Marc Kleine-Budde
@ 2013-05-15  9:00                     ` kedari appana
  2013-05-15  9:03                       ` CANutilities kedari appana
  1 sibling, 1 reply; 13+ messages in thread
From: kedari appana @ 2013-05-15  9:00 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: linux-can@vger.kernel.org

yes it supports loopback mode and silent mode.I tried with the ip
command and as well as with the canconfig command same error as
mentioned above i am getting

On Wed, May 15, 2013 at 2:29 PM, kedari appana <kedare06@gmail.com> wrote:
> yes
>
> On Wed, May 15, 2013 at 2:27 PM, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
>> On 05/15/2013 10:52 AM, kedari appana wrote:
>>> if i try without triple sampling on
>>> and just this command #./canconfig can0 bitrate 100000 ctrlmode  loopback on
>>>
>>> 1c
>>> can0 bitrate: 100000, sample-point: 0.875
>>> RTNETLINK answers: Operation not supported
>>> can0: failed to set ctrlmode
>>> the same error i am getting what was the issue.
>>
>> Does your hardware/driver support loopback mode?
>>
>> 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   |
>>

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

* Re: CANutilities
  2013-05-15  9:00                     ` CANutilities kedari appana
@ 2013-05-15  9:03                       ` kedari appana
  2013-05-15  9:07                         ` CANutilities Marc Kleine-Budde
  0 siblings, 1 reply; 13+ messages in thread
From: kedari appana @ 2013-05-15  9:03 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: linux-can@vger.kernel.org

Hi ,

I am unable to send that code to you it supports loopback mode the
driver is under developing and i am the driver developer .Please tell
me the fix

Regards,
Kedar.

On Wed, May 15, 2013 at 2:30 PM, kedari appana <kedare06@gmail.com> wrote:
> yes it supports loopback mode and silent mode.I tried with the ip
> command and as well as with the canconfig command same error as
> mentioned above i am getting
>
> On Wed, May 15, 2013 at 2:29 PM, kedari appana <kedare06@gmail.com> wrote:
>> yes
>>
>> On Wed, May 15, 2013 at 2:27 PM, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
>>> On 05/15/2013 10:52 AM, kedari appana wrote:
>>>> if i try without triple sampling on
>>>> and just this command #./canconfig can0 bitrate 100000 ctrlmode  loopback on
>>>>
>>>> 1c
>>>> can0 bitrate: 100000, sample-point: 0.875
>>>> RTNETLINK answers: Operation not supported
>>>> can0: failed to set ctrlmode
>>>> the same error i am getting what was the issue.
>>>
>>> Does your hardware/driver support loopback mode?
>>>
>>> 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   |
>>>

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

* Re: CANutilities
  2013-05-15  9:03                       ` CANutilities kedari appana
@ 2013-05-15  9:07                         ` Marc Kleine-Budde
  0 siblings, 0 replies; 13+ messages in thread
From: Marc Kleine-Budde @ 2013-05-15  9:07 UTC (permalink / raw)
  To: kedari appana; +Cc: linux-can@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 611 bytes --]

On 05/15/2013 11:03 AM, kedari appana wrote:
> I am unable to send that code to you it supports loopback mode the
> driver is under developing and i am the driver developer .Please tell
> me the fix

I don't mind looking at a driver which is still under development.
Without the code, it's not easy to debug.

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

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

end of thread, other threads:[~2013-05-15  9:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15  7:00 CANutilities kedari appana
     [not found] ` <CANdmM3MkAN9tZLUDSnVrdXTngu7CH5UESUAo7NO4u85D0Hg2tQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-15  7:15   ` CANutilities Marc Kleine-Budde
     [not found]     ` <5193360F.3040609-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2013-05-15  7:39       ` CANutilities kedari appana
2013-05-15  7:43         ` CANutilities Marc Kleine-Budde
2013-05-15  8:21           ` CANutilities kedari appana
2013-05-15  8:24             ` CANutilities Marc Kleine-Budde
2013-05-15  8:52               ` CANutilities kedari appana
2013-05-15  8:57                 ` CANutilities Marc Kleine-Budde
2013-05-15  8:59                   ` CANutilities kedari appana
2013-05-15  8:59                     ` CANutilities Marc Kleine-Budde
2013-05-15  9:00                     ` CANutilities kedari appana
2013-05-15  9:03                       ` CANutilities kedari appana
2013-05-15  9:07                         ` CANutilities Marc Kleine-Budde

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.