Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
First off, I hope I put this in the correct forum, it was a toss up between this one and the mobile forum.
I am running Ubuntu 11.04 and I recently purchased a ZTE MF60 mobile hot spot. When I plug the device in with the USB cable Ubuntu automatically recognizes the device as a CD drive instead of a USB Device so it won't connect as to the internet as intended. My question is, How would I go about making the Ubuntu recognize the device as a USB drive? Any help would be appreciated, Thank you in advance.
Well, that was a bust. I already had USB_modeswitch loaded on my machine. I was reading on the Draisberghof page and found this:
There is a problematic handling of devices with ID 19d2:2000 in kernels 2.6.26 to 2.6.28. This affects mostly ZTE devices and makes the "usb-storage" driver ignore the ID. In turn this will prevent proper initialization and may cause switching to fail. There is no other way around this than compiling your own kernel with some tiny edits. See Kernel related issues below for details.
I am currently running 2.6.38-11 but sure enough after doing a lsusb I found that the device is coming up as 19d2:2000. The Draisberghof page is also saying that:
In some newer kernels, certain device families (some Option, some Huawei, some ZTE as mentioned above) get a special treatment in the usb-storage code to enable switching right away. You would not need USB_ModeSwitch anymore for these specific dvices; on the other hand you have no choice of accessing the "CD-ROM" part of your device. Plus, there were cases when the special treatment brought no results and furthermore prevented USB_ModeSwitch to work properly afterwards (happened with ZTE devices, error "-2").
In case of trouble, look into "unusual_devs.h" in the "drivers/usb/storage" folder of your kernel source. If your default ID (vendor and product ID of the storage part) can be found there and you get errors when running USB_ModeSwitch, try first to blacklist "usb-storage".
If that helps, you should consider rebuilding your kernel with the entry in "unusual_devs.h" deactivated. The only thing that will happen is that usb-storage works in the default way afterwards.
I am not sure where to find the source code for Ubuntu, and I have never compiled a modified kernel. If anyone has any ideas before I do something rash and go compiling all willie-nillie, they would be greatly appreciated.
2.6.28 is quite old. You probably want to dodge regressions, but you should be able to upgrade somewhat. Compiling your first kernel is one of those things that makes solitary confinement seem appealing ;-).
Coming from 2.6.28, get a kernel source,
ftp.xx.kernel.org where xx is your country code if outside the US
(I would go with 2.6. 32-35 if you have nvidia and 34-37 if you have ATI. Get the source in /usr/src/linux-version
The untold trick is to turn on all peripherals, load everything and run
make oldconfig which reduces questions, and then
make localmodconfig which configures for your devices. Have fun
I am already running 2.6.38-11, when I get off of work I will have to find a "how to" on building a kernel, but I do appreciate the turn on all peripherals trick. I am almost positive that I can find something on that here. Thank you Buisness Kid.