Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Willcom 3G modem on Linux



On Sun, Jul 11, 2010 at 6:10 PM, Akihiro Moriguchi
<oboretakyojin@example.com> wrote:
> There's a successful report on USB_ModeSwitch with Willcom HX003Z here,
> though I haven't test it.
> http://yuki-lab.jp/linux/ubuntu-9.04.html#willcomcore3g

Thanks, but unfortunately it doesn't work. I changed
/etc/usb_modeswitch.conf, but this seems to have changed to
/etc/usb_modeswitch.d/19d2:0103 which seems to be the preferred format
for the usb_modeswitch version shipped with Ubuntu 10.04. When I plug
in the model I never get the /dev/ttyUSB* file, and when I check lsmod
I see that usb_storage gets activated instead of usbserial, even
though the 60-local.rules script is supposed to block this. I have
restarted the udev system and even rebooted the computer. Possibly my
device is different from the one described in Yuki's page, but lsusb
gives me:
Bus 002 Device 002: ID 19d2:0103 ONDA Communication S.p.A.

Any ideas?
/Johan

>
> USB_ModeSwitch http://www.draisberghof.de/usb_modeswitch/
>
> Under Ubuntu
> 1. Install of USB_ModeSwitch
> 2. Addtion of following snippet on /etc/usb_modeswitch.conf
> ########################################################
> # Willcom HX003ZT(ZTE MF633)
> #
> # Contributor: KAWAKAMI Yukio
>
> DefaultVendor=  0x19d2
> DefaultProduct= 0x0103
>
> TargetVendor=   0x19d2
> TargetProduct=  0x0031
>
> # only for reference
> MessageEndpoint=0x01
>
> MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
>
> # if that command doesn't work, try the other ("eject")
> MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
>
> 3. Addition of following udev rule with /etc/udev/rules.d/60-local.rules
>
> ACTION!="add", GOTO="ZTE_End"
>
> # Is this the ZeroCD device?
> SUBSYSTEM=="usb", SYSFS{idProduct}=="0103",
> SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"
>
> # Is this the actual modem?
> SUBSYSTEM=="usb", SYSFS{idProduct}=="0031",
> SYSFS{idVendor}=="19d2", GOTO="ZTE_Modem"
>
> LABEL="ZTE_ZeroCD"
> # This is the ZeroCD part of the card, remove
> # the usb_storage kernel module so
> # it does not get treated like a storage device
> RUN+="/usr/sbin/usb_modeswitch", GOTO="ZTE_End"
>
> LABEL="ZTE_Modem"
> # This is the Modem part of the card, let's
> # load usbserial with the correct vendor
> # and product ID's so we get our usb serial devices
> RUN+="/sbin/modprobe usbserial vendor=0x19d2 product=0x0031",
> # Make users belonging to the dialout group
> # able to use the usb serial devices.
> MODE="660", GROUP="dialout"
>
> LABEL="ZTE_End"
>
> 4. udev restart  /etc/init.d/udev restart
>
> 5. Make sure hardware recognition.
> After restarting udev, insert HX003ZT and check if /dev/ttyUSB0~2 is created.
>
> 6. Configure with gnome-ppp
> # Username : wcm
> # Password : *** <- Check the configuration tool on Windows
> # Phone number : *99#
> # Device : /dev/ttyUSB2 <- I don't know why it can connect.
> # Type : USB Modem
> # Init2 : ATZ
> # Init3 : ATE0V1&D2&C1S0=0 <- I don't know well. It can be omitted?
> # Ignore terminal strings (stupid mode) <- uncheck
>
> HTH
> AM
>


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links