** Description changed:

  Please bear with me as I am a n00b at Xubuntu (Xubuntu 8.10 Intrepid as
  far as I can tell) running an XFCE desktop.
  
  I have a ZTE MF637 Broadband dongle which I cannot connect to the
  internet with. I see that there have been problems with the older MF622,
  MF626, MF628 and MF632 but I don't see anything about the MF637. I've
  been trying to get mine working using the same solutions but have come
  to a dead end where i don't see what the modification for (gedit
  /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi) file which
  was reported in bug #305968. On top of that, I tried to do the
  modification for what IS in the file and I don't seem to have
  permissions to do it and I don't know how to give myself those
  permissions. What I am hoping is that these bugs are already resolved,
  but if they are, I don't understand how they still exist since I only
  downloaded and installed my Xubuntu 8.10 Intrepid about 18 days ago.
  
  A little background on my problem: I bought the USB dongle to connect to
  the internet faster than what I have now. Currently I am connecting
  through a Motorola C380 and using it as a modem via USB. It is only
  getting about 10kps at max so I bought this dongle hoping it would work
  just as easily but unfortunately not the case. I went online to try to
  see if there were any packages i could install via Synaptic Package
  Manager that might help. I've installed a few which managed to make the
  Dongle's light go blue (3G operational) instead of the steady red
  (communication error). With this, i thought I was making some progress
  but no luck after that. I've downloaded a few other packages but none
  seem to help. They were "3G managing" packages for 3G dongles.
  
  Originally I thought the issue was that my computer was not even
  recognizing the dongle because when i went to Terminal and punched in
  LSUSB, or DMESG, i never got any change. The other thing is that I am
  using a PCMCIA to USB adapter card for my USB devices. These devices all
  work fine but when I plug in the dongle, the PCMCIA card freezes up and
  I lose communication from it. I have to remove the dongle and reset my
  PCMCIA card and then the devices work again.
  
  I think thats all the information I can tell. I don't know of anything
  else to do.
  
  -----------------------------
  
  Here is a bit of an update as I have been trying to get this to work. It
  turns out that part of the problem is the dongle's interface with my
  Nexxtec PCMCIA card. When the dongle is plugged into it, it freezes the
  card up so it does not show up on the LSUSB commanded device list.
  
  I plugged the dongle into my replicator USB port (I am using an IBM T43
  with a replicator dock) and I got a device id --- Bus 002 Device 006: ID
  19d2:2000. Now checking this against my 10-modem.fdi file, this vendor
  ID is correct as it comes up with ZTE or ONDA, but the device ID is
  wrong as it should be 0002. I tried a couple of different things
  including modifying the 10-modem.fdi file but to no avail. The computer
  does not recognize the device as anything other than the "Bus 002 Device
  006: ID 19d2:2000" identification.
  
  Next, I did some research with a lot of help from another fellow Linux
  user and came across USB_modeswitch. I already had the file installed
  but had to change the conf file. This is the part I changed (or de-
  commented):
  
  ########################################################
  # ZTE MF628
  #
  # Captured with "usbmon". Has a micro SD slot which can be
  # activated alternatively
  #
  # Contributor: Alvaro Lopes <alvieboy at alvie dot com>
  
  DefaultVendor=  0x19d2
  DefaultProduct= 0x2000
  
  # To modem mode:
  
  TargetVendor=   0x19d2
  TargetProduct=  0x0015
  
  MessageEndpoint=0x08
  
MessageContent="5553424312345678000000000000061b000000030000000000000000000000"
  
  # To SD slot mode:
  
  ;TargetVendor=   0x05c6
  ;TargetProduct=  0x2001
  
  ;MessageEndpoint=0x08
  
;MessageContent="55534243123456782000000080000a86010101180101010101000000000000"
  
  ;ResponseEndpoint=7
  
  
  ########################################################
  
  With that done, I believe that I should have been able to enact the
  usb_modeswitch to engage the Broadband part of the dongle and disengage
  the ZeroCD (false pendrive) portion. Unfortunately that did not work
  either so the next step was to Blacklist the usb-storage by (sudo gedit
  /etc/modprobe.d/blacklist). I did that hoping that it would bring the
  USB storage back to the default but that didn't work either. After
  trying that and retrying the usb_modeswitch, i keep getting the
  notorious (-2) error which states that the device cannot unlock or
  communicate. This is the error.
  
  sudo usb_modeswitch
  
   * usb_modeswitch: tool for controlling "flip flop" mode USB devices
   * Version 0.9.6 (C) Josua Dietze 2009
   * Works with libusb 0.1.12 and probably other versions
  
  Looking for target devices
   No target device found
  Looking for default devices
   Found default devices (1)
  Prepare switching, accessing latest device
  Looking for active default driver to detach it
   No driver found. Device probably not initialized. Trying to continue ...
  Setting up communication with device
  Trying to send the message
   Sending the message returned error -2, trying to continue ...
  -> See /proc/bus/usb/devices (or call lsusb) for changes. Bye
  
  Can anyone help me here? I know there is a way to get this working, I
  just need to find it.
+ 
+ -----------------------------------------------------
+ 
+ Second update here....
+ 
+ Here is a bit more of an update on my problem. I continued on
+ troubleshooting and came across this set of commands in one of the
+ forums and tried it out. This is what I did.
+ 
+ sudo gedit /etc/udev/rules.d/ZTEMF622.rules
+ 
+ With that, I created a rules file for the ZTEMF637 even though the name
+ was 622, I didn't see it to matter much since the product and vendor Ids
+ are identical. Next, I filed in the file with...
+ 
+ ACTION!="add", GOTO="ZTE_End"
+ 
+ # Is this the ZeroCD device?
+ SUBSYSTEM=="usb", SYSFS{idProduct}=="2000",
+ SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"
+ 
+ # Is this the actual modem?
+ SUBSYSTEM=="usb", SYSFS{idProduct}=="0001",
+ 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/src/usb_modeswitch-0.9.2/usb_modeswitch -d 1 -v 0x19d2 -p 0x2000 
-V 0x19d2 -P 0x0001" 
+ 
+ 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=0x0001",
+ # Make users belonging to the dialout group
+ # able to use the usb serial devices.
+ MODE="660", GROUP="dialout"
+ 
+ LABEL="ZTE_End"
+ 
+ And then I saved this file in the location I made it in (
+ etc/udev/rules.d/ZTEMF622.rules )
+ 
+ Next, I did this
+ 
+ sudo gedit /etc/wvdial.conf
+ 
+ [Dialer Defaults]
+ 
+ Init2 = ATZ
+ 
+ Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
+ 
+ Stupid Mode = 1
+ 
+ Modem Type = Analog Modem
+ 
+ ISDN = 0
+ 
+ Phone = *99#
+ 
+ Modem = /dev/ttyUSB0
+ 
+ Username = user
+ 
+ Dial Command = ATDT
+ 
+ Password = pass
+ 
+ Baud = 460800
+ 
+ I saved the file and closed it. Then I shut my computer down and
+ rebooted and tried the sudo wvdial command and I got
+ 
+ --> WvDial: Internet dialer version 1.60
+ --> Cannot open /dev/ttyUSB0: No such file or directory
+ --> Cannot open /dev/ttyUSB0: No such file or directory
+ --> Cannot open /dev/ttyUSB0: No such file or directory
+ 
+ Now this is where I stand now although I HAVE noticed some interesting
+ changes. I no longer have the same issue with my PCMCIA card interfacing
+ with the dongle. If I reboot the system with the dongle in the PCMCIA
+ card, the card functions fine AND the dongle shows up on the LSUSB
+ commanded device list. The only problem is if I pull the dongle out,
+ everything freezes up and my entire system becomes unstable which is
+ odd.
+ 
+ Also, I noticed in DMESG that the usb-storage is now ignored for this
+ device just as I wanted, but the same problem seems to be occurring. The
+ device's ZeroCD sector is being shut down, but the dongle is still
+ unable to unmount so it can be modeswitched as demanded in the Rules
+ file. This has me a bit confused as to how to overcome this issue. I
+ think it could be that OR that it DID modeswitch but it just can't find
+ this /dev/ttyUSB0 file which gives it the direction to activate the
+ broadband dongle for communication.
+ 
+ If anyone has any suggestions, please feel free to tell me.
+ 
+ It still never shows up in Network Manager if anyone is curious about
+ that part.

-- 
USB Broadband ZTE HSUPA Dongle MF637 doesn't connect
https://bugs.launchpad.net/bugs/369311
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs