Re: [cros-discuss] To work on modemmanager in ChromiumOS

161 views
Skip to first unread message

Anton Vayvod

unread,
Dec 13, 2010, 3:28:46 AM12/13/10
to vince...@gmail.com, Chromium OS dev
-chromium-os-discuss
+chromium-os-dev

On Mon, Dec 13, 2010 at 10:55 AM, Vince <vince.w.li@gmail.com> wrote:
Hi,

I'm trying to workon the project "modemmanager".
Although I succeeded in all the process to get a runnable image, I
cannot find where is modemmanager in the system. I think it's supposed
to be in /usr/sbin. But it's not there.

Anyone can help ?

--
Chromium OS discuss mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en

Mandeep Singh Baines

unread,
Dec 13, 2010, 3:31:46 PM12/13/10
to Anton Vayvod, vince...@gmail.com, Chromium OS dev
Anton Vayvod (ava...@chromium.org) wrote:
> -chromium-os-discuss
> +chromium-os-dev
>
> On Mon, Dec 13, 2010 at 10:55 AM, Vince <vince...@gmail.com> wrote:
>
> > Hi,
> >
> > I'm trying to workon the project "modemmanager".
> > Although I succeeded in all the process to get a runnable image, I
> > cannot find where is modemmanager in the system. I think it's supposed
> > to be in /usr/sbin. But it's not there.
> >
> > Anyone can help ?
> >

(chroot) $ equery-x86-generic files modemmanager | grep bin
/build/x86-generic/usr/lib/debug/usr/sbin
/build/x86-generic/usr/lib/debug/usr/sbin/modem-manager.debug
/build/x86-generic/usr/sbin
/build/x86-generic/usr/sbin/modem-manager


> > --
> > Chromium OS discuss mailing list: chromium-...@chromium.org
> > View archives, change email options, or unsubscribe:
> > http://groups.google.com/a/chromium.org/group/chromium-os-discuss?hl=en
> >
>

> --
> Chromium OS Developers mailing list: chromiu...@chromium.org


> View archives, change email options, or unsubscribe:

> http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en

David Rochberg

unread,
Dec 15, 2010, 6:05:56 PM12/15/10
to Vince, Chromium OS dev
[+chromium-os-dev]

On Tue, Dec 14, 2010 at 9:44 PM, Vince <vince.w.li@gmail.com> wrote:
However the screen stuck at black at booting, just after the big blue
point disappeared.
I'd be very surprised if this was related to your modem manager change.   

Then I press "Ctrl+Alt+F2" to login with "chronos" user.
Then I run "/usr/sbin/modem-manager --debug"
I got:
** Message: ModemManager (version 0.4) starting...

** (modem-manager:2052) WARNING **: Could not acquire the
org.freedesktop.ModemManager service.
 Message: 'Connection ":1.37" is not allowed to own the service
"org.freedesktop.ModemManager" due to security policies in the
configuration file'


I'd like to know where is the "configuration file" ?

It's not clear from the message, but this is D-Bus saying that the chronos user isn't allowed to claim to provide modemmanager services.   You'll have to run modem-manager as root (perhaps with sudo)   The configuration file is in /etc/dbus-1/system.d/org.freedesktop.ModemManager.conf 

And I will be appreciate if you can show a way how to develop/debug
ModemManager plugins in chrOS.

To a first order, gmerge and run is what you want.  You will need to make sure to stop modemmanager in upstart so that you don't end up fighting with the system modemmanager.  Either run initctl stop modemmanager (one-time) or move /etc/init/modemmanager.conf out of the way.

Know that our modemmanager tree is not very up-to-date.  Fixing that is one of many things on our list.

 
On 12月13日, 下午10时37分, David Rochberg <rochb...@chromium.org> wrote:
> We turned off installation of modemmanager for the CR-48 launch because we
> don't use it on the CR-48 hardware.  We plan to put it back in to generic
> builds once we get some dependencies straightened out.
>
> You can install modmmanager on a one-time basis by starting a dev
> server (instructions
> here<http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/using...>).
>  Then, on your target device, run gmerge modemmanager  This should install
> modemmanager on the device; it's a one-time thing---if you reimage the
> device, you need to redo this.
>
> If you want to have modemmanager build every time you rebuild your image,
> you can a dependency on modemmanager to the chromeos ebuild:
>
> Add a line
>   net-misc/modemmanager
> to an RDEPEND clause in
>
> trunk/src/third_party/chromiumos-overlay/chromeos-base/chromeos/chromeos-0.-0.1.ebuild
>
> -david

Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages