Thomas Schäfer <tschaefer t-online de> writes:
Hello, a friend of mine has this built in modem. He uses it at the moment with nm/mm-->ttyACM-->ppp. But it works with too: echo -en 'at+cgdcont=1,"ip","web.vodafone.de"\r' > /dev/ttyACM0 echo -en 'AT*ENAP=1,1\r' > /dev/ttyACM0 dhclient wwan0 I am not sure about, what nm he is using, may be this device is already in wwan-mode supported. If not please add the wwan-support. Regards, Thomas Bus 002 Device 004: ID 0930:1319 Toshiba Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0930 Toshiba Corp. idProduct 0x1319 bcdDevice 0.00 iManufacturer 1 TOSHIBA iProduct 2 H5321gw
The mbm ModemManager plugin knows how to handle these modems, but this
Toshiba device is not known yet:
bjorn nemi:/usr/local/src/git/modemmanager$ git grep 0930
plugins/mbm/77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130b",
ENV{ID_MM_ERICSSON_MBM}="1"
plugins/mbm/77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130c",
ENV{ID_MM_ERICSSON_MBM}="1"
plugins/mbm/77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="0930", ATTRS{idProduct}=="1311",
ENV{ID_MM_ERICSSON_MBM}="1"
plugins/mbm/77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="0930", ATTRS{idProduct}=="1315",
ENV{ID_MM_ERICSSON_MBM}="1"
plugins/mbm/77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="0930", ATTRS{idProduct}=="1316",
ENV{ID_MM_ERICSSON_MBM}="1"
plugins/mbm/77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="0930", ATTRS{idProduct}=="1317",
ENV{ID_MM_ERICSSON_MBM}="1"
plugins/mbm/77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="0930", ATTRS{idProduct}=="1313",
ENV{ID_MM_ERICSSON_MBM}="1"
plugins/mbm/77-mm-ericsson-mbm.rules:ATTRS{idVendor}=="0930", ATTRS{idProduct}=="1314",
ENV{ID_MM_ERICSSON_MBM}="1"
Something like the attached simple patch should fix it.
BTW, I am pretty sure that the latest firmware upgrade from Toshiba will
make this device a NCM/MBIM device, if it isn't already. But most users
will probably see that as more of a problem than anything else at the
momemt.
Bjørn
Attachment:
0001-mbm-add-udev-rule-for-Toshiba-branded-H5321gw-module.patch
Description: Text Data