WHY? is it so hard to get Linux to work?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: WHY? is it so hard to get Linux to work?
Re: WHY? is it so hard to get Linux to work?
01-08-2011 9:57 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: MisterW If the modem as a CD drive on the desktop , can you try 'right clicking' on it and selecting 'eject' . That often 'switches' it into modem mode. You may then see it recognised by Network Manager. If not we probably need to investigate usb-modeswitch to see if your dongle is handled by the version in Mint 11.
Clutching at straws..... ! ! ! see my previous post re "marengo blog"...... but have also found this little gem with my Windows Vista laptop
Plugged in the wireless dongle... and it is recognised as drive F 3 Connect... if I click on that... then it lists the contents... (as normal) but one of them is
ResetDevice.exe now I wonder what would happen........ if I click on that... .......
Re: WHY? is it so hard to get Linux to work?
01-08-2011 10:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The only difference in the 12d1:1446 config file between usb-modeswitch-data 20110227 (which, as far as I can tell from http://packages.ubuntu.com, is what 11.04 has) and the latest (20110714), is that the id "1506" has been added to the TargetProductList.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 6:42 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
sudo modprobe usbserial vendor=0x12d1 product=0x1446
though I'd expect running the usb_modeswitch command with the -v and -p (or even -V and -P) switches to be more likely to get it working.
Which particular model of dongle is it?
Re: WHY? is it so hard to get Linux to work?
02-08-2011 8:03 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: WHY? is it so hard to get Linux to work?
02-08-2011 8:44 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote Plugged in the wireless dongle... and it is recognised as drive F 3 Connect... if I click on that... then it lists the contents... (as normal) but one of them is
ResetDevice.exe now I wonder what would happen........ if I click on that... .......
That's basically how the device is made to work as a modem. When you first plug the device in, its detected as a CD ROM ( with an ID 0x12d1 0x1446 ). The CD is autorun by Windows, the drivers on it are installed and then the device is reset ( by the resetdevice.exe ). This causes it to disconnect from the USB bus, it then appears as a different device( with a different ID ) and is detected by the ( now installed ) windows drivers as a modem. Under Linux the same procedure needs to happen, unfortunately the windows software on the CD is no use, obviously!. So thats where usb-modeswitch comes in, it is run when the CD device is detected and then issues the correct command to reset it, sometimes its an eject. The device switches to its modem ID and is detected by the standard Linux modem drivers and is then seen and can be configured using Network manager.
In your case usb-modeswitch doesn't seem to be switching the device to a modem for some reason and that's basically why its not working.
We need to try and establish why modeswitch is not detecting it properly. As Waldo said , can you tell us what device it actually is ? as that may help to understand whats going wrong.
Hope that explains things a little more shutter, and when we've got this working! we'll get on to your USB memory stick cos that should work just fine as well.
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 9:05 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
the device is a HUAWEI Mobile Broadband E353 HSPA+ usb stick running on "Three" mobile
Re: WHY? is it so hard to get Linux to work?
02-08-2011 9:52 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
And the reason it works in M$ and not Linux, THE MANUFACTURE DOESN’T SUPPLY DRIVERS. If they were to wake up and smell the coffee then they would know that more and more people are turning to Linux as an alternative to buying new machines every few years.
If the "cd" had drivers for Linux we wouldn't have these problems but at the moment they don't.
This "auto-switch" is just a pita. It looks like it is being switched since the cd is "disappearing" but fr some reason the network manager isn't seeing it as a modem.
You could try the manual adding of the 3 details to the NM and see if it works after re-inserting it.
I know 3 dongles do work 'cause I have one, but it is the older one without the TF slot & Ae connector on it.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 10:02 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The dongle I have does indeed have a little connector on the side, (hidden under a little button) that I have just found, after your description.....
Re: WHY? is it so hard to get Linux to work?
02-08-2011 10:06 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote So,... is it not possible to get it to work using WINE ?
No, it needs adevice driver to be installed and therefore needs to be recognised at kernel level.
Quote This "auto-switch" is just a pita. It looks like it is being switched since the cd is "disappearing" but fr some reason the network manager isn't seeing it as a modem.
Yep, sound like its switching to modem mode but then not being recognised. Looking at some of forums it seems as though its supposed to be handle by the 'option' driver.
@shutter, Can you post the output of lsusb after the CDROM has disappeared, We can then see if the vid/pid has changed and maybe try and force the option driver with a modprobe.
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 10:27 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
meanwhile.... I will try to get the lsusb and post it back........
Re: WHY? is it so hard to get Linux to work?
02-08-2011 10:35 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
bus 005 Device 001 ID 1d6b:001 Linux foundation 1.1 root hub
bus 004 Device 001 ID ditto
bus 003 Device 001 ID ditto
bus 002 Device 002 ID 1bcf : 0007 Sunplus Innovaction Technology Inc. OpticlMouse
bus 002 Device 001 ID 1d6b : 0001 Linux Foundation 1.1 root hub
bus 001 Device 016 ID 12d1 :1506 Huawei Technologies co., Ltd.
bus 001 Device 001 ID 1d6b : 0002 Linux Foundation 2.0 root hub
Re: WHY? is it so hard to get Linux to work?
02-08-2011 10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Try adding a new Mobile Network and choose 3 as the type.
Then remove and re-add the dongle and AFTER the cd has disappeared choose mobile internet if it will let you.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 11:01 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
after clicking on all the relevant blocks. and "apply"... I returned to the connection icon and "greyed out" it says
Wired Network
Disconnected
Wireless Networks
device not ready (firmware missing)
VPN Connections >
Networking is "enabled"
and so is
Wireless "enabled"
Removed and re -added the dongle,.... same as above...
Incidentally, it is not picking up my wireless router about 18 inches away !... despite "wireless enabled" showing.
Will be going out very shortly, so may not answer any reply for a few hours
Re: WHY? is it so hard to get Linux to work?
02-08-2011 11:52 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You could try downloading the latest data file: http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-20110714.tar.bz2
Extract the 12d1:1446 file from the usb_modeswitch.d folder in that archive, then copy it into the /etc/usb_modeswitch.d/ directory.
Re: WHY? is it so hard to get Linux to work?
02-08-2011 12:28 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote So it looks like it has switched it into modem mode, Just that the NM hasn't "seen" the change.
You're right it has switched to modem mode, the problem is that the option driver hasn't recognised the vid/pid pair.
Usb modeswitch has done it's job fine, we now need to get the driver to recognise it.
@shutter,Plug the device in, wait for the CDROM to disappear and then check using lsusb that the device now appears as
Quote ID 12d1 :1506 Huawei Technologies co., Ltd.
Now try running sudo modprobe option vendor=0x12d1 product=0x1506 ( from a terminal window ) and see if newtork manager now 'sees' the device. You could also perhaps post the output of dmesg ( the last 20 lines or so ) following the sudo modprobe command
Edit: not sure if the option driver will accept vendor/product on a modprobe but its worth a try...
Superusers are not staff, but they do have a direct line of communication into the business in order to raise issues, concerns and feedback from the community.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Re: WHY? is it so hard to get Linux to work?