linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Automatic baud rate detection
@ 2012-03-12 17:55 Sandro Anders | CarMedialab
  2012-03-12 20:05 ` Wolfgang Grandegger
  0 siblings, 1 reply; 2+ messages in thread
From: Sandro Anders | CarMedialab @ 2012-03-12 17:55 UTC (permalink / raw)
  To: linux-can

Hi,

we currently developing our own socketcan driver and we have the
requirement to auto detect the baud rate at load time. Our HW is
supporting this but it seems this behavior is not configurable via IP
tools. Maybe I am  wrong but has anyone an suggestion to do this? We
thought to use baud rate 0 to detect this but this is obviously not
allowed. 

Thanks,
Sandro

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

* Re: Automatic baud rate detection
  2012-03-12 17:55 Automatic baud rate detection Sandro Anders | CarMedialab
@ 2012-03-12 20:05 ` Wolfgang Grandegger
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Grandegger @ 2012-03-12 20:05 UTC (permalink / raw)
  To: Sandro Anders | CarMedialab; +Cc: linux-can

Hi Sandro,

On 03/12/2012 06:55 PM, Sandro Anders | CarMedialab wrote:
> Hi,
> 
> we currently developing our own socketcan driver and we have the
> requirement to auto detect the baud rate at load time. Our HW is
> supporting this but it seems this behavior is not configurable via IP
> tools. Maybe I am  wrong but has anyone an suggestion to do this? We
> thought to use baud rate 0 to detect this but this is obviously not
> allowed. 

Kernel space support for bitrate detection is not available or
implemented. But software driven bitrate detection should be possible
from user space by using the listen only mode. What hardware are you
speaking about? How does the hardware do the bitrate detection?

Wolfgang.

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

end of thread, other threads:[~2012-03-12 20:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 17:55 Automatic baud rate detection Sandro Anders | CarMedialab
2012-03-12 20:05 ` Wolfgang Grandegger

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