:: Re: [maemo-leste] Grand plan to get…
Top Pagina
Delete this message
Reply to this message
Auteur: Pavel Machek
Datum:  
Aan: Merlijn Wajer
CC: Tony Lindgren, maemo-leste, nekit1000, mpartap, sre, martin_rysavy
Onderwerp: Re: [maemo-leste] Grand plan to get make phones... phone (for Motorola Droid 4)
Hi!

> >> Pavel, are you seeing this on your ofono fork/branch too?
> >
> > No, I believe I have the basics working. (But disable the PIN code for
> > testing.)
> >
> >> I will add this ofono to the -devel repo today, since it's easy to build
> >> for me. Happy to try to build Pavel's ofono too, if you think the repos
> >> diverge significantly (it's not quite clear to me at this point).
> >
> > They are now significantly different.
> >
> > If you want something working, take one of the branches I mentioned before.
> >
> > If you want to look at the code, take a look at the latest
> > branch... and that one is also suitable base for development.
>
> I checked out mux-v1.31-5, but I can't get it to pick up the modem. Is
> anything missing in these rules?
>
> > # grep -v '#' /etc/udev/rules.d/55-modem.rules
> > KERNEL=="gsmtty[0-9]*", GROUP="dialout", MODE="0660"
> > SUBSYSTEMS=="gnss", GROUP="root", MODE="0644"
> > KERNEL=="motmdm1", ENV{OFONO_DRIVER}="motmdm"
> > ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8",
> > ATTRS{idProduct}=="2a70", TEST=="power/control"
> > ATTR{power/control}="auto"


I believe you need:

KERNEL=="gsmtty[0-9]*", GROUP="dialout", MODE="0660", ENV{OFONO_DRIVER}="motmdm"

(I'll double-check).

> Do you use special arguments or environment variables when testing?


Yes, I do, but there's good chance it should work with defaults. My
arguments are in the run script. (You also get semi-useful debug
output that way).

Best regards,                                Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html