Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Sep 2014, 18:36
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to use Huawei e1750 modem?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
mimeini

Joined: 04 Dec 2008
Posts: 36

PostPosted: Sat 28 Nov 2009, 19:28    Post subject:  How to use Huawei e1750 modem?  

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-2/dbbfb38ae5ef9ccef8540aad7f9edbd6

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
Back to top
View user's profile Send private message 
mimeini

Joined: 04 Dec 2008
Posts: 36

PostPosted: Sun 29 Nov 2009, 16:48    Post subject:  

Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1515
Location: Maine, USA

PostPosted: Mon 30 Nov 2009, 12:29    Post subject:  

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
Back to top
View user's profile Send private message 
mimeini

Joined: 04 Dec 2008
Posts: 36

PostPosted: Mon 30 Nov 2009, 16:44    Post subject:  

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
Back to top
View user's profile Send private message 
mimeini

Joined: 04 Dec 2008
Posts: 36

PostPosted: Mon 30 Nov 2009, 17:34    Post subject:  

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
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1515
Location: Maine, USA

PostPosted: Wed 02 Dec 2009, 23:44    Post subject:  

mimeini,
Quote:
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.
Quote:
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
Back to top
View user's profile Send private message 
mimeini

Joined: 04 Dec 2008
Posts: 36

PostPosted: Thu 03 Dec 2009, 07:35    Post subject:  

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
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1515
Location: Maine, USA

PostPosted: Thu 03 Dec 2009, 11:12    Post subject:  

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/viewtopic.php?mode=attach&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.
Quote:
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
Back to top
View user's profile Send private message 
mimeini

Joined: 04 Dec 2008
Posts: 36

PostPosted: Sun 06 Dec 2009, 16:52    Post subject:  

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:

########################################################
# 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]
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1515
Location: Maine, USA

PostPosted: Tue 08 Dec 2009, 23:09    Post subject:  

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
Back to top
View user's profile Send private message 
Squishy

Joined: 28 Dec 2009
Posts: 22

PostPosted: Sun 10 Jan 2010, 12:10    Post subject:  

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:
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:
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)
Back to top
View user's profile Send private message 
mimeini

Joined: 04 Dec 2008
Posts: 36

PostPosted: Sun 10 Jan 2010, 19:44    Post subject:  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0788s ][ Queries: 11 (0.0040s) ][ GZIP on ]