View previous topic :: View next topic |
Author |
Message |
hal8000b n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_r2-d2.gif)
Joined: 28 Sep 2004 Posts: 32 Location: UK
|
Posted: Tue Apr 26, 2005 10:23 pm Post subject: USB Problems |
|
|
Im trying to setup my USB HP970CXI printer. However before I even start I am having trouble getting the usbfs started. I'm pretty sure I've done something stupid.....
Read the gentoo usb guide I have usb module support on my 2.6 kernel...
bash-2.05b$ lsmod
Module Size Used by
--snip--
usbcore 107640 1
skge 35728 0
Ouput of :
bash-2.05b# lspci -v |grep USB
0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02) (prog-if 00 [UHCI])
0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
Motherboard is Asus P4P800E (supports USB2)
Content of /etc/fstab
--snip--
none /proc/bus usbfs defaults 0 0
I emerged usbview, when I run it a message states
" can not open /proc/bus/usb/devices verify that USB is compiled into your kernel and USB core modules loaded and have usbdevfs mounted.
bash-2.05b$ mount
--snip--
none on /proc/bus/usb type usbfs (rw)
I dont understand what is wrong usbdevfs is known as usbfs on a 2.6.x kernel and as mount shows is running. I do have a /proc/bus/usb directory but no device directory. Heres an extract from dmesg
bash-2.05b$ dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
I am under the impression that usbview should show status of the usb system even if no (configured) devices are connected, am I wrong
any help appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
i92guboj Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/5913531844c4d36a8e43f9.jpg)
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Tue Apr 26, 2005 10:45 pm Post subject: Re: USB Problems |
|
|
hal8000b wrote: | Im trying to setup my USB HP970CXI printer. However before I even start I am having trouble getting the usbfs started. I'm pretty sure I've done something stupid.....
Read the gentoo usb guide I have usb module support on my 2.6 kernel...
bash-2.05b$ lsmod
Module Size Used by
--snip--
usbcore 107640 1
skge 35728 0
Ouput of :
bash-2.05b# lspci -v |grep USB
0000:00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02) (prog-if 00 [UHCI])
0000:00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02) (prog-if 00 [UHCI])
0000:00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02) (prog-if 00 [UHCI])
0000:00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02) (prog-if 00 [UHCI])
0000:00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
Motherboard is Asus P4P800E (supports USB2)
Content of /etc/fstab
--snip--
none /proc/bus usbfs defaults 0 0
I emerged usbview, when I run it a message states
" can not open /proc/bus/usb/devices verify that USB is compiled into your kernel and USB core modules loaded and have usbdevfs mounted.
bash-2.05b$ mount
--snip--
none on /proc/bus/usb type usbfs (rw)
I dont understand what is wrong usbdevfs is known as usbfs on a 2.6.x kernel and as mount shows is running. I do have a /proc/bus/usb directory but no device directory. Heres an extract from dmesg
bash-2.05b$ dmesg | grep usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
I am under the impression that usbview should show status of the usb system even if no (configured) devices are connected, am I wrong
any help appreciated. | Is usblp loading? Your usb bus is detected, i think...
You can try lsusb (from usbutils), you will see something like
Code: |
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
|
If you are running hotplug and you now turn on the printer you should be able to see it if usblp is loaded (you may need to load it if not loaded nor built into the kernel):
Code: |
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 04b8:080e Seiko Epson Corp.
Bus 001 Device 001: ID 0000:0000
|
If you can see this then it's time to set up cups... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hal8000b n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_r2-d2.gif)
Joined: 28 Sep 2004 Posts: 32 Location: UK
|
Posted: Wed Apr 27, 2005 8:35 am Post subject: Re: USB Problems |
|
|
Quote: |
You can try lsusb (from usbutils), you will see something like
Code: |
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
|
If you are running hotplug and you now turn on the printer you should be able to see it if usblp is loaded (you may need to load it if not loaded nor built into the kernel):
Code: |
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 04b8:080e Seiko Epson Corp.
Bus 001 Device 001: ID 0000:0000
|
If you can see this then it's time to set up cups... |
Hi, looks like this is the problem as output of lsusb shows nothing
bash-2.05b# lsusb
bash-2.05b#
I know hotplug is running at default level (init 3 )
bash-2.05b# rc-update --show
--snip--
hdparm |
hostname | boot
hotplug | default
So what is the problem? Does this mean its a kernel config error? I have self compiled the kernel I may have to try genkernel if I cannot find a solution. Any more ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
i92guboj Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/5913531844c4d36a8e43f9.jpg)
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Wed Apr 27, 2005 5:15 pm Post subject: Re: USB Problems |
|
|
Weird, for the output of dmesg I can tell you that your kernel is properly configuring your usb hubs, even the 2.0 support, because it shows ehci as the choosen driver, which is for usb 2.0.
Since the kernel part is working but lsusb shows nothing I think this could be a usbfs problem, and re-reading your first post I saw this:
hal8000b wrote: |
Content of /etc/fstab
--snip--
none /proc/bus usbfs defaults 0 0
|
Try changing that for:
Code: |
none /proc/bus/usb usbfs defaults 0 0
|
Reboot and see if that does the trick. ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|