Info about Karmic modem manager and mode switching?

2009-12-13 Thread Antti Turunen

Hello all,

we know there is many 3G modems not yet properly recognized and/or 
connected by modem/network managers in 9.10.


I have been searching around for information how the whole new 
modem-manager thing goes, but I have not been able to find much. Could 
someone tell if there is info somewhere about modem-manager plugins, 
different modem-modeswitch options etc? I am not a SW developer, but 
would like to try some tailoring for certain problematic modem models.


Thanks in advance,

Anttu

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Info about Karmic modem manager and mode switching?

2009-12-13 Thread Joao Pinto
Hello Antti,
I had the same problem, on my case NetworkManager was selecting a random
device from the 4 devices recognized from my Vodafone 3G PCMCIA Card.

I was directed to the following wiki page:
https://wiki.ubuntu.com/DebuggingModemmanager

Fortunately on my case the problem is already fixed on the daily trunk,
anyway I would like to understand how it works to isolate the fix and
backport to the stable version.

I was investigation my problem based on HAL information (lshal,
10-modem.fdi) from looking into similar bug reports, after looking at the
modemmanager source I have found I was looking at the wrong place since udev
is now used replacing HAL.

From mm-manager.c I have found that mm scans/handles devices  with subsystem
tty and net .

You can get a list of the currently detected udev devices with:
udevadm info --export-db

Now. I  need to find where is the modem date retrieved from I guess there is
an equivalent to hal-info with the modem information.

Hope it helps.

On Sun, Dec 13, 2009 at 7:18 PM, Antti Turunen antti.turu...@siptune.fiwrote:

  Hello all,

 we know there is many 3G modems not yet properly recognized and/or
 connected by modem/network managers in 9.10.

 I have been searching around for information how the whole new
 modem-manager thing goes, but I have not been able to find much. Could
 someone tell if there is info somewhere about modem-manager plugins,
 different modem-modeswitch options etc? I am not a SW developer, but would
 like to try some tailoring for certain problematic modem models.

 Thanks in advance,

 Anttu


 --
 Ubuntu-devel-discuss mailing list
 Ubuntu-devel-discuss@lists.ubuntu.com
 Modify settings or unsubscribe at:
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss




-- 
João Luís Marques Pinto
GetDeb Team Leader
http://www.getdeb.net
http://blog.getdeb.net
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: Info about Karmic modem manager and mode switching?

2009-12-13 Thread Antti Turunen

Thanks Joao,

this is a good start.

I have already made an own udev rule file for selected modems requiring 
eject or usb_modeswitch and with it I already get the modems nicely to 
modem mode. Even though, that is not enough because network manager: a) 
does not recognize these modems at all or b) sees the modem but 
connecting to the net miserably fails.


In addition, if the modem-modeswitch could do the same as usb_modeswitch 
I would like to learn to use that instead, as it is readily there in 
Ubuntu. Seems that there is only one type option-zerocd available. Is 
it possible to add different types (like in usb_modeswitch) here?



Anttu



On 12/13/2009 11:29 PM, Joao Pinto wrote:

Hello Antti,
I had the same problem, on my case NetworkManager was selecting a 
random device from the 4 devices recognized from my Vodafone 3G PCMCIA 
Card.


I was directed to the following wiki page:
https://wiki.ubuntu.com/DebuggingModemmanager

Fortunately on my case the problem is already fixed on the daily 
trunk, anyway I would like to understand how it works to isolate the 
fix and backport to the stable version.


I was investigation my problem based on HAL information (lshal, 
10-modem.fdi) from looking into similar bug reports, after looking at 
the modemmanager source I have found I was looking at the wrong place 
since udev is now used replacing HAL.


From mm-manager.c I have found that mm scans/handles devices  with 
subsystem tty and net .


You can get a list of the currently detected udev devices with:
udevadm info --export-db

Now. I  need to find where is the modem date retrieved from I guess 
there is an equivalent to hal-info with the modem information.


Hope it helps.

On Sun, Dec 13, 2009 at 7:18 PM, Antti Turunen 
antti.turu...@siptune.fi mailto:antti.turu...@siptune.fi wrote:


Hello all,

we know there is many 3G modems not yet properly recognized and/or
connected by modem/network managers in 9.10.

I have been searching around for information how the whole new
modem-manager thing goes, but I have not been able to find much.
Could someone tell if there is info somewhere about modem-manager
plugins, different modem-modeswitch options etc? I am not a SW
developer, but would like to try some tailoring for certain
problematic modem models.

Thanks in advance,

Anttu


--
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
mailto:Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss




--
João Luís Marques Pinto
GetDeb Team Leader
http://www.getdeb.net
http://blog.getdeb.net
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss