LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   USB is AWOL on my HP. (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/usb-is-awol-on-my-hp-92840/)

Macguyvok 09-14-2003 08:58 PM

USB is AWOL on my HP.
 
Well, I thought I had everything working on my laptop. I even had suspend to disk working for the first time today.... but now I've hit another snag.... USB. I plugged a device in... and nothing. USB isn't even in my /proc. I rand harddrak, and it shows 3 usb devices, just like windows does, (where my USb works fine) but, when I plug a USB mouse in, the light doesn't come on. I've tried 2 mice, and a USB flash drive.... nothing. Under windows they all work. I've tried mandrake 9.1 and 9.2 RC2. I'm kinda at a loss. Any help?

BTW, laptop is a HP ze5385us. USB works under Knoppix 3.2, and from what I can tell no one's had a UB issue with this laptop yet.... so I'm stumpped. I've done 3 fresh installs.. and it still doesn't work.

Is there something I can pass to the kernel to tell it to "turn on" usb? (since I have to do a "linux no auto" install inorder to keep it from detecting my firewire, which freezes the install)

I appologize for the scrambled post, but I'm pretty tired as I type this....

Brian1 09-14-2003 09:12 PM

First lets see if it can see them. Use this command ' cat /proc/scsi/scsi '
If it shows your USB device then you will need to mount it manually.

First create a directory for it to mount to ' mkdir /mnt/usbdrive '
Then to mount it ' mount -t vfat /dev/sda1 /mnt/usbdevice ' as long as it is vfat. If it is any thing else change vfat to whatever filesystem type it is.

Hope this helps.
Brian1

Macguyvok 09-15-2003 03:16 PM

Nope. Not there. It doesn't seem to register USB at all.

Brian1 09-15-2003 06:03 PM

Sorry didn't read your question very well.

Show me these outputs. With the mouse plugged in and with the flashreader plugged in.

cat /proc/bus/usb/devices

cat /proc/bus/usb/drivers

cat /proc/scsi/scsi

lsmod

You can download a program called usbview to show USB info in a gui screen.

Also to see if USB is compiled as a module check and see if you have the following directory /lib/modules/*****/kernel/drivers/usb (***** is the current kernel you are using if there is more than one.
Example of mine file:/lib/modules/2.4.23-pre4/kernel/drivers/usb

Macguyvok 09-17-2003 09:12 PM

I have USB view, and it complains about not being able to find /proc/usb/devices.

Here's the cats u wanted:

cat /proc/bus/usb/devices
No such file or Directory

cat /proc/bus/usb/drivers
No such file or Directory

cat /proc/bus/scsi/scsi
Attatched Devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TEAC Model: DW-224E Rev: A.0H
Type: CD-ROM ANSI SCSI revision: 02

Not very helpful, huh? When I look for the USB drivers, I find that yes, I have the /lib/modules/2.4.22-mdk6/kernel/drives/usb, and it has a ton of things in it.

Also, I don't remember if I said this, but if I boot a USB device, it has power, but if I plug one in after I boot mandrake, it doesn't recieve power, IE the light on the optical mouse doesn't light up, nor the light on the flashdrive.... nothing.

Brian1 09-18-2003 07:00 PM

What does your ' lsmod ' report. This list the modules running.

Doesn't look like modules are loaded or kernel issue.

ArmedGeek 09-19-2003 01:11 AM

Same Problem here
 
I use a HP - N5415 laptop. This machine (probably yours too) uses (i believe) an ALi USB. I have the same problem.

If you check your logs you will probably find something like:
USB device not accepting new address=2 (error=-110)

I have not been able to solve this problem. I spent several weeks banging away at this and have finally given up. I have not been able to find any solutions on the internet.

Whatever the problem is, it is beyond my skills to fix. I am now just waiting for someone more skilled than myself to fix it, or possibly newer versions of the OS or kernel.

tsy 09-19-2003 03:34 AM

Same problem here.

I have a JVC-XP 7250 Laptop with USB 2.0 and am using Mandrake 9.2RC1. I can't mount any device on the USB ports, during startup linux is complaining about some IRQ or IO problems regarding the OHCI module.

But if i connect my USB flashcard _before_ I start the Computer, OHCI is starting fine and I can mount the flashcard. If I start the computer without the attached flashcard and plug it in when lilo is running and before booting linux OHCI is complaining about IRQs/IOs again.

So it seems the BIOS has to enable the ports, which it will only make, when a device is connected (newbie view). Otherwise with Windows everything is working.

Hoping that somebody finds a solution now that more guys seem to have the same problem.

Thorsten

Macguyvok 09-24-2003 10:35 PM

Well, It's not loading the USB modules.. how do I load them?

Brian1 09-25-2003 05:49 PM

At a terminal screen issue these commands. This is to see which ones you need.

insmod usb-ohci for some 1.0 1.1 usb cards
insmod usd-uhci for other 1.0 1.1 usb cards
insmod ehci-hcd for 2.0 usb

One or two will not load. The ones that load with no errors you could then add them to /etc/modules.conf file. Example below of my statements in my modules.conf file.


edit /etc/modules.conf
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd


All times are GMT -5. The time now is 06:27 AM.