From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4936013569992784051==" MIME-Version: 1.0 From: Denis Kenzior Subject: Re: PATCH: Enable udev-based autodetection of calypso modem on Freerunner Date: Tue, 21 Dec 2010 13:18:05 -0600 Message-ID: <4D10FD6D.20804@gmail.com> In-Reply-To: <1292958354.2658.61.camel@aeonflux> List-Id: To: ofono@ofono.org --===============4936013569992784051== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Marcel, On 12/21/2010 01:05 PM, Marcel Holtmann wrote: > Hi Denis, > = >>> We could document this as Freerunner specific notes to point people into >>> the right direction. And we should maybe to the same for IFX since that >>> is currently only documented in the GIT commit logs. >> >> Documentation inside the individual modem driver is the way to go. And >> IFX isn't even documented in git commit logs. I looked ;) > = > commit 3443a7a177fbaca24c84658968aff0a55db8a51d > Author: Marcel Holtmann > Date: Sat Sep 18 22:08:41 2010 +0900 > = > udev: Add support for IFX device detection > = > The IFX device detection is pretty static, but instead of using > a static configuration file it is important to know when the device > node is actually present. For this udev is perfect. Adding a simple > udev rule is all that it takes: > = > KERNEL=3D=3D"ttyIFX[0-9]*", ENV{OFONO_DRIVER}=3D"ifx" > = > With this rule for every TTY with the kernel name like ttyIFX0, a new > modem will be added and the IFX modem plugin driver requested for it. > = > this is not enough? Then I didn't look far back enough (or I'm simply blind). But I still prefer this to be inside the driver or HACKING.calypso for easier access. Regards, -Denis --===============4936013569992784051==--