From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: gianluca <gianlucarenzi@eurekelettronica.it>,
"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
Subject: Re: Socketcan correct way to bootup...
Date: Wed, 09 Jul 2014 14:36:54 +0200 [thread overview]
Message-ID: <53BD3766.6090202@pengutronix.de> (raw)
In-Reply-To: <CAGm1_kuBTJEsTjrYCtop6vcdB+pyNe64bjVgMbz6F0bXsGsHeg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
On 07/09/2014 02:29 PM, Yegor Yefremov wrote:
>> BTW: you probably want to integrate your application into the automatic
>> startup via an init script or in new designs with systemd...and _not_
>> start it by hand.
>
> You can also use libsocketcan or libnl to configure CAN interface
> directly from your application.
Good point.
here's libsocketcan's API:
http://git.pengutronix.de/?p=tools/libsocketcan.git;a=blob;f=include/libsocketcan.h;h=dc52053b824d1a8976126b043de4ee5d843c1401;hb=0c91940da1c16e01e8220e9fa18c703852ba6d1b
http://www.pengutronix.de/software/libsocketcan/download/
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: 242 bytes --]
next prev parent reply other threads:[~2014-07-09 12:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <53BD1BE1.8050403@eurekelettronica.it>
2014-07-09 11:16 ` Socketcan correct way to bootup Marc Kleine-Budde
2014-07-09 12:29 ` Yegor Yefremov
2014-07-09 12:36 ` Marc Kleine-Budde [this message]
2014-07-09 12:44 ` Yegor Yefremov
2014-07-09 23:45 ` Oliver Hartkopp
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=53BD3766.6090202@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=gianlucarenzi@eurekelettronica.it \
--cc=linux-can@vger.kernel.org \
--cc=yegorslists@googlemail.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).