Since the 3G network is growing fast here in Brazil I decided to give it a try. My carrier offered me a Sony Ericsson MD300 modem as part of the service. Then I had the mission to make it work under Linux, in specific the Ubuntu 8.10 (my current distribution).
The MD300 modem is not officially supported but as I will show bellow, it is quite well compatbile with the Ubuntu 8.10. This USB device comes with 3 different operation modes. The defaul mode is the 1, which the device acts like a flash drive and of course we are not interested. Then we have to tell the Linux to switch to the mode 3 (serial modem) when the new device is plugged. To do so, we create an udev rule. It is quite easy.
Create a udev rule’s file (on the /etc/udev/rules.d) for the device
sudo gedit /etc/udev/rules.d/50-md300modem.rules
Then put the following content on the rule’s file:
ACTION!=”add”, GOTO=”3G_End”
BUS==”usb”, SYSFS{idProduct}==”d0cf”, SYSFS{idVendor}==”0fce”, NAME=”%k”,SYMLINK=”modem3G-%n”, PROGRAM=”/bin/sh -c ‘echo 3 > /sys/%p/device/bConfigurationValue’”
LABEL=”3G_End”
Be careful with the like breaks. The text above has only 3 lines.
After those steps, reboot your machine so the new rules can be applied and connect your modem at an USB port. Now it should be working and two devices must have appeader (/dev/ttyACM0 and /dev/ttyACM1)

November 27, 2008 at 6:39 pm |
would be really nice to my MD300 working in ubuntu 8.10 . i have tryed to follow your instruction ,but it dosent seem to make any difference .
any help would really be appreciated
gulogulo
February 5, 2009 at 8:56 am |
Hi,
Thank you for this tutorial.
i followed your tuto step by step, but it’s doesn’t working for me.
the modem always appear as flash drive.
bellow the output of dmesg when i connect the modem:
[ 289.612190] usb 1-1: new full speed USB device using uhci_hcd and address 4
[ 289.825472] usb 1-1: configuration #1 chosen from 3 choices
[ 289.849080] scsi7 : SCSI emulation for USB Mass Storage devices
[ 289.857226] usb-storage: device found at 4
[ 289.857236] usb-storage: waiting for device to settle before scanning
[ 294.857530] usb-storage: device scan complete
[ 294.861441] scsi 7:0:0:0: Direct-Access SEMC MMC Flash Card 0 PQ: 0 ANSI: 0
[ 294.869269] sd 7:0:0:0: [sdb] 348161 512-byte hardware sectors (178 MB)
[ 294.876495] sd 7:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 294.876505] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 294.888875] sd 7:0:0:0: [sdb] 348161 512-byte hardware sectors (178 MB)
[ 294.901516] sd 7:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 294.901531] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[ 294.901545] sdb: sdb1
[ 294.933408] sdb: p1 exceeds device capacity
[ 294.935548] sd 7:0:0:0: [sdb] Attached SCSI removable disk
[ 294.935769] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 295.669571] attempt to access beyond end of device
[ 295.669589] sdb: rw=0, want=348168, limit=348161
[ 295.669598] __ratelimit: 41 callbacks suppressed
[ 295.669606] Buffer I/O error on device sdb1, logical block 348160
[ 295.669618] attempt to access beyond end of device
[ 295.669624] sdb: rw=0, want=348168, limit=348161
[ 295.669630] Buffer I/O error on device sdb1, logical block 348160
[ 295.669668] attempt to access beyond end of device
[ 295.669675] sdb: rw=0, want=348162, limit=348161
[ 295.669681] Buffer I/O error on device sdb1, logical block 348154
[ 295.669688] attempt to access beyond end of device
[ 295.669694] sdb: rw=0, want=348163, limit=348161
[ 295.669701] Buffer I/O error on device sdb1, logical block 348155
[ 295.669709] attempt to access beyond end of device
[ 295.669715] sdb: rw=0, want=348164, limit=348161
[ 295.669721] Buffer I/O error on device sdb1, logical block 348156
[ 295.669730] attempt to access beyond end of device
[ 295.669736] sdb: rw=0, want=348165, limit=348161
[ 295.669741] Buffer I/O error on device sdb1, logical block 348157
[ 295.669751] attempt to access beyond end of device
[ 295.669756] sdb: rw=0, want=348166, limit=348161
[ 295.669762] Buffer I/O error on device sdb1, logical block 348158
[ 295.669772] attempt to access beyond end of device
[ 295.669777] sdb: rw=0, want=348167, limit=348161
[ 295.669784] Buffer I/O error on device sdb1, logical block 348159
[ 295.731269] attempt to access beyond end of device
[ 295.731282] sdb: rw=0, want=348162, limit=348161
[ 295.731287] Buffer I/O error on device sdb1, logical block 348154
[ 295.731294] attempt to access beyond end of device
[ 295.731298] sdb: rw=0, want=348163, limit=348161
[ 295.731302] Buffer I/O error on device sdb1, logical block 348155
[ 295.731307] attempt to access beyond end of device
[ 295.731311] sdb: rw=0, want=348164, limit=348161
[ 295.731315] attempt to access beyond end of device
[ 295.731319] sdb: rw=0, want=348165, limit=348161
[ 295.731323] attempt to access beyond end of device
[ 295.731326] sdb: rw=0, want=348166, limit=348161
[ 295.731330] attempt to access beyond end of device
[ 295.731334] sdb: rw=0, want=348167, limit=348161
[ 295.731361] attempt to access beyond end of device
[ 295.731365] sdb: rw=0, want=348168, limit=348161
[ 295.731375] attempt to access beyond end of device
[ 295.731379] sdb: rw=0, want=348168, limit=348161
[ 295.731390] attempt to access beyond end of device
[ 295.731395] sdb: rw=0, want=348168, limit=348161
[ 295.731406] attempt to access beyond end of device
[ 295.731410] sdb: rw=0, want=348162, limit=348161
[ 295.731414] attempt to access beyond end of device
[ 295.731417] sdb: rw=0, want=348163, limit=348161
[ 295.731421] attempt to access beyond end of device
[ 295.731425] sdb: rw=0, want=348164, limit=348161
[ 295.731429] attempt to access beyond end of device
[ 295.731433] sdb: rw=0, want=348165, limit=348161
[ 295.731438] attempt to access beyond end of device
[ 295.731441] sdb: rw=0, want=348166, limit=348161
[ 295.731445] attempt to access beyond end of device
[ 295.731450] sdb: rw=0, want=348167, limit=348161
[ 295.767310] attempt to access beyond end of device
[ 295.767323] sdb: rw=0, want=348168, limit=348161
[ 295.767336] attempt to access beyond end of device
[ 295.767341] sdb: rw=0, want=348168, limit=348161
[ 295.921739] attempt to access beyond end of device
[ 295.921757] sdb: rw=0, want=348168, limit=348161
[ 295.922607] attempt to access beyond end of device
[ 295.922619] sdb: rw=0, want=348168, limit=348161
[ 295.924653] attempt to access beyond end of device
[ 295.924665] sdb: rw=0, want=348162, limit=348161
[ 295.926689] attempt to access beyond end of device
[ 295.926700] sdb: rw=0, want=348163, limit=348161
[ 295.928686] attempt to access beyond end of device
[ 295.928696] sdb: rw=0, want=348164, limit=348161
[ 295.930670] attempt to access beyond end of device
[ 295.930680] sdb: rw=0, want=348165, limit=348161
[ 295.932630] attempt to access beyond end of device
[ 295.932641] sdb: rw=0, want=348166, limit=348161
[ 295.934622] attempt to access beyond end of device
[ 295.934633] sdb: rw=0, want=348167, limit=348161
[ 296.003429] attempt to access beyond end of device
[ 296.003448] sdb: rw=0, want=348162, limit=348161
[ 296.005611] attempt to access beyond end of device
[ 296.005624] sdb: rw=0, want=348163, limit=348161
[ 296.007694] attempt to access beyond end of device
[ 296.007706] sdb: rw=0, want=348164, limit=348161
[ 296.009739] attempt to access beyond end of device
[ 296.009751] sdb: rw=0, want=348165, limit=348161
[ 296.009759] attempt to access beyond end of device
[ 296.009765] sdb: rw=0, want=348166, limit=348161
[ 296.009771] attempt to access beyond end of device
[ 296.009776] sdb: rw=0, want=348167, limit=348161
[ 296.009809] attempt to access beyond end of device
[ 296.009815] sdb: rw=0, want=348168, limit=348161
[ 296.009830] attempt to access beyond end of device
[ 296.009836] sdb: rw=0, want=348168, limit=348161
[ 296.009852] attempt to access beyond end of device
[ 296.009857] sdb: rw=0, want=348168, limit=348161
[ 296.009873] attempt to access beyond end of device
[ 296.009878] sdb: rw=0, want=348162, limit=348161
[ 296.009884] attempt to access beyond end of device
[ 296.009890] sdb: rw=0, want=348163, limit=348161
[ 296.009896] attempt to access beyond end of device
[ 296.009901] sdb: rw=0, want=348164, limit=348161
[ 296.009907] attempt to access beyond end of device
[ 296.009913] sdb: rw=0, want=348165, limit=348161
[ 296.009919] attempt to access beyond end of device
[ 296.009924] sdb: rw=0, want=348166, limit=348161
[ 296.009930] attempt to access beyond end of device
[ 296.009935] sdb: rw=0, want=348167, limit=348161
[ 296.074369] attempt to access beyond end of device
[ 296.074388] sdb: rw=0, want=348168, limit=348161
[ 296.074409] attempt to access beyond end of device
[ 296.074415] sdb: rw=0, want=348168, limit=348161
I hope you can help me to fix the problem
Best regards
naoufal
April 20, 2009 at 10:33 am |
merci bien pour votre aide
April 30, 2009 at 12:39 pm |
moi aussi j’ai un problème comme toi
mais pour moi voilà le résultat de:
#dmesg
[ 92.461164] groups: 0 1
[ 92.461176] CPU1 attaching sched-domain:
[ 92.461180] domain 0: span 0-1 level MC
[ 92.461185] groups: 1 0
[ 161.080481] ppdev0: registered pardevice
[ 161.130250] ppdev0: unregistered pardevice
[ 161.942123] ppdev0: registered pardevice
[ 161.992296] ppdev0: unregistered pardevice
[ 163.118237] ppdev0: registered pardevice
[ 163.164150] ppdev0: unregistered pardevice
est ce qui a quelqu’un qui peut nous aider! please
October 8, 2009 at 12:25 pm |
it works