How to use Huawei e1750 modem?

Using applications, configuring, problems
Post Reply
Message
Author
mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

How to use Huawei e1750 modem?

#1 Post by mimeini »

I was so happy that I had gotten my Huawei e169 to work with Puppy Linux 4.1.2 but then I lost this modem in transportation and was forced to order a new one and this time my phone company had a new model Huawei e1750 which unfortunately is not working with Puppy Linux 3g packages from here. I found a tutorial to get it to work in Ubunto The tutorial is here:

http://www.blogcatalog.com/blog/iwrite- ... ad7f9edbd6

I have tried to do the same in the Puppy but it does not work. There is also no "lsusb" in puppy to test with. I would so much like to have my Puppy Linux solution back and I am hoping that you could help me? I have all the log files here, but I would just wait to post them until I you sad if you need them. The problem is that the modem is not found. That is that same in Ubunto until you do the small tweaks described in the tutorial I've linked to.

thank you in advance
Mikkel

mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

#2 Post by mimeini »

yes i am happy again and online with puppy linux. What did I do to fix it? I read a lot into this discussion and found some instructions to get Huawei E1550 to work. So I decided to see if I could use the same principle for my modem Huawei E1750. The thread is here:
http://www.murga-linux.com/puppy/viewto ... &start=345

Actually I just did:

"To get your modem working, you will need to download and install the rules dotpet I posted here: http://www.murga-linux.com/puppy/viewto ... #%20361016"

and:

"he simplest way to collect all the relevant information is to install the pmodemdiag tool using this direct download link: http://www.murga-linux.com/puppy/viewto ... h&id=22470"

So I started network wizard and selected "Internet by dialup analog modem". It had not found any modem but then I run probe and so the modem was found:

/dev/ttyUSBO

and I could get online. Thank you for your fine work Rerwin.

Mikkel

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#3 Post by rerwin »

mimeini,
Thank you for your report of success with the E1750. As a result, I will add "# Huawei E1750" to the rule for the E1550, for the benefit of others.

You did not mention rebooting after installing and editing the rule. I would expect Puppy to detect the modem then -- or on a second reboot. You could test that by doing a "probe >ERASE" in PupDial and rebooting. You should not have to "probe>PROBE" to see the modem.
Richard

mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

#4 Post by mimeini »

Unfortunately I was too hasty yesterday. I did not edit the role and the modem was still found and I was able to reboot and connect to the modem many times, but today my son borrowed the modem over to and other computer running windows and when I got back I could not connect with it. I tried plug unplug reboot etc. and finely a made the erase thing and could note that the modem was not found. I could not make it found again. (so now I am back on ubunto derived system) Do you think it would help to edit the role as you have described in E1550?

/mikkel

mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

#5 Post by mimeini »

so now after connecting in ubunto returning to puppy and the modem is found and and I can connect. Guess it is some kind of switch in the modem being activated/deactivated.

/Mikkel

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#6 Post by rerwin »

mimeini,
Guess it is some kind of switch in the modem being activated/deactivated.
Interesting. Yes, the modem must switch from its storage-device mode into the modem mode. Apparently, Ubuntu makes the switch, then if you reboot to puppy without removing the modem, it stays switched.
Do you think it would help to edit the rule as you have described in E1550?
Yes. That is what causes the switching to take place in Puppy. Please try it.
Richard

mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

#7 Post by mimeini »

I am so glad that you find time to help me on this. However did you uploaded a role with the e1750 specifications? If yes where? If no I might be able to add them my self since they appear in the ubunto usb-modeswithch.conf-thing. From what I can see they differ a bit from the e1550 specifications.

/Mikkel

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#8 Post by rerwin »

mimeini,
From your second post here I inferred that you had found the relevant pieces. But the second link gets you only to the page containing the download, not the actual message (as I had intended).

Everything I see both in the Ubuntu link and the modeswitcher site show the settings to be identical for the E1550, E1750, and E1752. So, you should install the dotpet (direct link here: http://www.murga-linux.com/puppy/viewto ... h&id=23680) and use the E1550 entry in the file:
/etc/udev/rc.d/51-usb_modeswwitch-option-0x12d1-0x1446.rules
See the instructions in that file for details -- uncomment the rule for the E1550.
From what I can see they differ a bit from the e1550 specifications.
The data relevant to mode switching appears to be identical for the E1550 and E1750 (and E1752). The "MessageEndpoint = 0x01" item in the settings you see elsewhere are no longer needed by the modeswitcher, so are omitted from my rules derived from the configuration file.

Be sure to "PupDial > probe > ERASE" if you already see a modem as detected. Reboot and you should see the modem detected as ttyUSB0.

BTW: Please don't waste your time editing the usb_modeswitch.conf file, since Puppy does not use it, at all. I have implemented the content of that file as "udev rules" -- those are what you should be editing (as described above).
Richard

mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

#9 Post by mimeini »

oh I didn't get notification on this replay so I missed it... what a shame I thought you didn't have time to answer so i tried to come op with something my self and I did. If you look at the very long number on the E1750 specification in the ubunto stuff it looks like this.

55534243000000000000000000000011060000000000000000000000000000

and in your E1550 it is:

55534243123456780000000000000011060000000000000000000000000000

so they differ just a bit.
So this is what I intent to write before I saw your post:

So I am getting there. I added this entry

Code: Select all

########################################################
# Huawei E1750

SUBSYSTEM=="usb", ATTRS{idProduct}=="1446", ATTRS{idVendor}=="12d1", ACTION=="add", RUN+="/usr/sbin/pusb_modeswitch.sh -v 0x%s{idVendor} -p 0x%s{idProduct} -V 0x12d1 -P 0x1001 -M '55534243000000000000000000000011060000000000000000000000000000'"

LABEL="modeswitch_rules_end"
to the file
/etc/udev/rules.d/51-usb_modeswitch-option-0x12d1-0x1446.rules

It is just a small mortification of the

Huawei E1550

entry. Notes that here I already edited the line
"SUBSYSTEM=="
and removed the initial "#" from "#SUBSYSTEM==", to activate that rule

After this reboot and make a probe to find the modem.

And now it works pretty stable

Thanks for the help
Mikkel[/code]

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#10 Post by rerwin »

mimeini,
I am afraid you have just "reinvented the wheel". The only difference between the message strings is the "12345678" part, which is simply a placeholder that gets overlaid with generated data.

There is no need to make your addition to the rules file.
Richard

Squishy
Posts: 22
Joined: Mon 28 Dec 2009, 23:09

#11 Post by Squishy »

Hi, I'm having issues with a e1752 modem. I have installed the modeswitch pet, uncommented the relevant line (1550, all id's check out) and blacklisted the onboard modem drivers in pupdial (hsfmc97sis), erased wvdial, rebooted. So the issue is, when I now run PupDial, I scan for modems and nothing seems to happen. The status log shows absolutely nothing new, just this:

Code: Select all

A MODEM WAS NOT AUTOMATICALLY DETECTED, SO YOU NEED TO CLICK THE 'probe' BUTTON. DO THIS NOW!
Before blacklisting and erasing, it would give me a list of interfaces it scanned, now nothing...
Is there something I should be adding to wvdialconfig or is it something else?

PupScan shows the device as:

Code: Select all

Manufacturer=HUAWEI Technology
Product=HUAWEI Mobile
VendorID=12d1 ProductID=1446 KERNEL-MODULE=usb-storage
The usb-storage tag on the kernal module value makes me think mode-switch isn't working properly? Yet the pmount utility is not seeing the Huawei device as storage...

Note: I have tried the pgprs tool but that doesn't detect the usb modem either.

(Using Puppy 4.3.1 fresh install)

mimeini
Posts: 37
Joined: Thu 04 Dec 2008, 10:49

#12 Post by mimeini »

Well I think that happens to me sometimes to. Then I do the "probe" thing and after that it is found. Some time I will also have to do the "unplug plug" again or even the "reboot with modem thing". Then after some different approaches I get it to work.

Best luck
mikkel

Post Reply