sony ericsson md300 mobile broadband modem isn't recognized

Bug #380389 reported by Daniel Ribeiro
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I think this it not a bug itself. When the Sony Ericsson MD300 is inserted, its not recognized as a 3g modem, just as a block devide. To make it to work i need to create the file /etc/udev/rules.d/50-md300modem.rules with the contents:

ACTION!="add", GOTO="3G_End"
BUS=="usb", SYSFS{idProduct}=="d0cf", SYSFS{idVendor}=="0fce",
PROGRAM="/bin/sh -c 'echo 3 > /sys/%p/device/bConfigurationValue'"
LABEL="3G_End"

Then, i just need to restart udev and the modem are correctly recognized.
 (i take this trick from the site http://laudecioliveira.org/blog/?p=70).

I don't know if i need to open a new bug, but the network manager only activate this modem in the 'auto' mode, where it choice the band (2G or 3G) automatically, and i can't set it to work only with 3G (i can do this sending the command AT+CFUN=6 to the modem, but NM cannot permit to the user change the modem init strings.

System: i only tested this with ubuntu 9.04 and 8.10 (i386 and amd64).
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: danielm 1638 F.... pulseaudio
 /dev/snd/pcmC0D0p: danielm 1638 F...m pulseaudio
CRDA: Error: [Errno 2] Arquivo ou diretório não encontrado
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xdfff8000 irq 23'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,10438290,00100101'
   Controls : 37
   Simple ctrls : 20
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=f5355523-1ceb-492e-8bd9-6461b663cd3c
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 vboxnet0 no wireless extensions.
Lsusb:
 Bus 002 Device 019: ID 0fce:d0cf Sony Ericsson Mobile Communications AB
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: System manufacturer System Product Name
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: root=UUID=a4e2c11b-589e-4ddc-a1b4-fd74f513e859 ro locale=pt_BR quiet splash
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, user)
 LANG=pt_BR.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Regression: No
RelatedPackageVersions: linux-firmware 1.34.1
Reproducible: Yes
RfKill:

Tags: lucid networking needs-upstream-testing
Uname: Linux 2.6.32-24-generic i686
UserGroups: adm admin audio cdrom dialout dip disk fax floppy fuse lpadmin netdev plugdev sambashare tape vboxusers video
WpaSupplicantLog:

dmi.bios.date: 08/20/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0403
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M2N-MX SE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev x.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0403:bd08/20/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM2N-MXSE:rvrRevx.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.
Is this bug reproducible with the latest Lucid packages ?
Tanks in advance.

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : Re: [Bug 380389] Re: sony ericsson md300 mobile broadband modem isn't recognized

I'll try as soon as possible.

---
Daniel R Matos
Laboratorios de Pesquisa em Ciencia da Computação - LIA
Departamento de Computação
Universidade Federal do Ceará
Campus do Pici. Bloco 910. 60.455-760
Fone/Fax: (85) 3366 9841 Ramal 214

Em 30-07-2010 17:10, Fabio Marconi escreveu:
> Thank you for taking the time to report this bug and helping to make Ubuntu better.
> Is this bug reproducible with the latest Lucid packages ?
> Tanks in advance.
>
> ** Changed in: ubuntu
> Status: New => Incomplete
>
>

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

 Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage .

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://help.ubuntu.com/community/ReportingBugs.

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote :

Sorry, I didn't had time to do a fresh install to test, but with my
current computer, the modem still not working without the proper udev
rules - the modem still not recognized as a modem device, just a USB disk.
I think the package reponsable for this detection is modemmanager, but
I'm not sure. The udev rule /lib/udev/rules.d/77-mm-ericsson-mbm.rules
do this when the modem is connected: ENV{ID_MM_ERICSSON_MBM}="1" maybe
some other package must read this, but i don't really know. I did a env
| grep ID_MM_ERICSSON_MBM, but this returns nothing (I don't know much
about udev, so maybe this is the correct behavior and this ENV is not
system env).

About the selection of band (2G, 3G or mixed mode), I read that the
developers of Network Manager are working on this.

---
Daniel R Matos
Laboratorios de Pesquisa em Ciencia da Computação - LIA
Departamento de Computação
Universidade Federal do Ceará
Campus do Pici. Bloco 910. 60.455-760
Fone/Fax: (85) 3366 9841 Ramal 214

Em 28-08-2010 17:41, Fabio Marconi escreveu:
> We'd like to figure out what's causing this bug for you, but we haven't
> heard back from you in a while. Could you please provide the requested
> information? Thanks!
>
>

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Can you run in a terminal this command:
apport-collect 380389
Fabio

affects: ubuntu → linux (Ubuntu)
Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : AplayDevices.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : ArecordDevices.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : BootDmesg.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : Lspci.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : PciMultimedia.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : ProcModules.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : UdevDb.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : UdevLog.txt

apport information

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : WifiSyslog.txt

apport information

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
status: Confirmed → Incomplete
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello Daniel Ribeiro.
Your problem is solved:
https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch-data/+bug/451787
the package is here:
http://packages.ubuntu.com/maverick/comm/
But on first read well the other report.
Fabio

Revision history for this message
Daniel Ribeiro (danielm-lia) wrote : Re: [Bug 380389] Re: sony ericsson md300 mobile broadband modem isn't recognized

Thanks. In fact, I used this solution, I'm just trying to make this
permanent for all Ubuntu users.
Sorry for the duplicate - maybe I didn't search sufficient before open
this bug.

---
Daniel R Matos
Laboratorios de Pesquisa em Ciencia da Computação - LIA
Departamento de Computação
Universidade Federal do Ceará
Campus do Pici. Bloco 910. 60.455-760
Fone/Fax: (85) 3366 9841 Ramal 214

Em 30-08-2010 16:21, Fabio Marconi escreveu:
> *** This bug is a duplicate of bug 451787 ***
> https://bugs.launchpad.net/bugs/451787
>
> Hello Daniel Ribeiro.
> Your problem is solved:
> https://bugs.launchpad.net/ubuntu/+source/usb-modeswitch-data/+bug/451787
> the package is here:
> http://packages.ubuntu.com/maverick/comm/
> But on first read well the other report.
> Fabio
>
> ** This bug has been marked a duplicate of bug 451787
> Add udev rules for Sony MD300 GSM modem
>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.