All of lore.kernel.org
 help / color / mirror / Atom feed
* Does PEAK usb can support getting error count?
@ 2015-01-15  2:21 Ruan TingQuan (ST-FIR/ENG1-Zhu)
  2015-01-15 11:43 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Ruan TingQuan (ST-FIR/ENG1-Zhu) @ 2015-01-15  2:21 UTC (permalink / raw)
  To: linux-can

Hello Linux-can-team,

I am using PEAK-USB-CAN adapter in my linux system (kernel 3.11). 
When I try to get RX/TX error count via netlink interface, return nothing. But it work fine on getting state, bittiming, control mode.

Does PEAK usb can support error count getting? If not, is there plan to have it?

Regards!
Leo Ruan

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

* Re: Does PEAK usb can support getting error count?
  2015-01-15  2:21 Does PEAK usb can support getting error count? Ruan TingQuan (ST-FIR/ENG1-Zhu)
@ 2015-01-15 11:43 ` Marc Kleine-Budde
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2015-01-15 11:43 UTC (permalink / raw)
  To: Ruan TingQuan (ST-FIR/ENG1-Zhu), linux-can

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

On 01/15/2015 03:21 AM, Ruan TingQuan (ST-FIR/ENG1-Zhu) wrote:
> I am using PEAK-USB-CAN adapter in my linux system (kernel 3.11). 
> When I try to get RX/TX error count via netlink interface, return
> nothing. But it work fine on getting state, bittiming, control mode.

> Does PEAK usb can support error count getting? If not, is there plan
> to have it?

No the driver currently doesn't support it. However I think the
information is present. Currently Stephane is working to get the new
CANFD devices supported, once this is finished you can add support for
reading the error counters.

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: 819 bytes --]

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

end of thread, other threads:[~2015-01-15 11:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-15  2:21 Does PEAK usb can support getting error count? Ruan TingQuan (ST-FIR/ENG1-Zhu)
2015-01-15 11:43 ` 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.