From: Wolfgang Grandegger <wg@grandegger.com>
To: Sandro Anders | CarMedialab <sandro.anders@carmedialab.com>
Cc: linux-can@vger.kernel.org
Subject: Re: Automatic baud rate detection
Date: Mon, 12 Mar 2012 21:05:43 +0100 [thread overview]
Message-ID: <4F5E5717.2080308@grandegger.com> (raw)
In-Reply-To: <18F8639CFC8C7C4D819AB347808079D40144C16B@pluto.office.rac.de>
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.
prev parent reply other threads:[~2012-03-12 20:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 17:55 Automatic baud rate detection Sandro Anders | CarMedialab
2012-03-12 20:05 ` Wolfgang Grandegger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F5E5717.2080308@grandegger.com \
--to=wg@grandegger.com \
--cc=linux-can@vger.kernel.org \
--cc=sandro.anders@carmedialab.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).