LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2008, 08:02 PM   #1
galapogos
Member
 
Registered: May 2008
Posts: 227

Rep: Reputation: 30
USB problem in Mandrake 9.1


Hi,

I have just installed Mandrake 9.1 on a P4 system(yes I know it's old but I have to support some hardware on a 2.4 kernel hence I'm using 9.1) and I'm having trouble with USB.

When I do a lsusb it shows me the error:

Code:
Invalid product/subclass spec at line 2650
cannot open /proc/bus/usb, No such file or directory (2)
Sure enough when I go to /proc/bus/ I only see pci/ and no usb/

I try to then mount usbdevfs with mount -t usbdevfs none /proc/bus/usb but I get the error message that there's no such mount point as /proc/bus/usb.

My USB mouse is however working, though it's detected as a PS/2 mouse, and the wheel isn't working.

Does anyone know what's wrong?
 
Old 11-04-2008, 09:40 PM   #2
John_Roberts
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
If you go into the Mandrake Control Panel and then the manage partition or whatever it is called, can you see your usb drive there? I used to use 9.1 and I think I solved the problem by creating a hard mount point for it. Also check that you have got the HAL service daemon running/installed.

Cheers
John
 
Old 11-04-2008, 10:01 PM   #3
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
Nope, don't see the drive. In the first place, usbdevfs isn't loaded, and the usb module isn't even loaded upon bootup. If I manually modprobe it, then I can mount usbdevfs, and then I can mount my USB drive. However, strangely, once I do the modprobe, my USB mouse stops working.
 
Old 11-04-2008, 11:17 PM   #4
John_Roberts
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
These step by step instructions basically describe how I made a hard mount point for my usb drive. I used Gedit instea of vi as I think it is more user friendly.

I hope this helps:

http://nm1m.blogspot.com/2004/12/mou...-on-linux.html

These are the steps from the blog post:

Turn on computer.

Log in.

su to root. (I have not tried doing this without su-ing to root, although it may work.)

Go to /mnt (is: "cd /mnt").

Create a directory called "usb" ("mkdir /usb").

Change the directory mode to be 777. ("chmod 777 usb")

Go to /etc. ("cd /etc")

Open up the file "fstab". ("vi fstab"). I am going to do this using vi. You are welcome to use any program that you wish. Also, be really careful with the fstab file. It is the file that tells your computer how to connect to different file systems, such as your hard drives, and your cd drive. fstab is pretty forgiving of any new stuff that you may add, but don't mess with any text that is already there.

Go to the end of the file. (Press the down button until you are on the bottom line. Then press the "End" button on your keyboard.)

Tell vi that you want to insert text. (Press the letter "i")

Press the "End" button on your keyboard again. You should now be at the end of the last line of the fstab file.

Create a new line by pressing the "enter" button on your keyboard.

Type in the following, verbatim (leave out the quotation marks):

"/dev/sda mnt/usb ext3,vfat defaults,noauto,users 0 0"

(Make sure that you left out the quotation marks.)

Hit the escape button on your keyboard. ("Esc").

Press the colon button on your keyboard. (":")

Type the following: "sav fstab".

(Leave out the quotation marks.)

Tell vi that you want to quit the program. (":q")

Type in the following: "mount /mnt/usb".

(Once again, leave out the quotation marks.)

Your Sony Microvault is now mounted! If you are using Mandrake 9.1, there is now a picture of a hard drive on your desktop. You can access the microvault thru this icon.

Cheers
John
 
Old 11-04-2008, 11:29 PM   #5
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
Thanks, but I believe those instructions assume that the usb module is loaded and that usbdevfs is mounted. In my case, they aren't, and I'm having trouble loading/mounting them.
 
Old 11-05-2008, 12:59 AM   #6
galapogos
Member
 
Registered: May 2008
Posts: 227

Original Poster
Rep: Reputation: 30
OK, so I tried a modprobe usbcore and now usbcore module is loaded, and the mouse is still responding. I'm also able to mount the usbdevfs and /proc/bus/usb exists. However, I don't see the sda entry in /dev until I modprobe usb-uhci, and once I do that, the mouse stops responding.

lsusb then shows all connected usb devices properly(including the mouse).

I tried using mousedrake to select a USB mouse, but then it says no usb bus found.

The I tried to rmmod all the usb modules, but even then the mouse doesn't respond.

This is just weird.

Last edited by galapogos; 11-05-2008 at 01:18 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB problem on Mandrake 9.1 galapogos Linux - Hardware 1 06-04-2008 03:15 AM
USB problem, Mandrake 10.1 Robert Saunders Mandriva 4 03-14-2005 08:46 AM
mandrake 10.1 has some usb problem ylts Linux - Hardware 6 03-10-2005 09:01 PM
Mandrake 10.1 USB Problem hjcotton Mandriva 1 11-01-2004 09:21 AM
Problem with Mandrake 10.0 Community, Sagem usb modem and logitech usb mouse. al370601 Mandriva 4 04-29-2004 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration