Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel not seeing usb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Jarhead
Guru
Guru


Joined: 26 Mar 2004
Posts: 474

PostPosted: Sat Jun 26, 2004 11:55 pm    Post subject: kernel not seeing usb Reply with quote

I am using development-sources-2.6.7 and fluxbox. My Logitech MX310 mouse and usb printer do not appear to be recognized, but the mouse laser does turn on briefly during boot (but turns off when kernel is loading). Both worked fine before my re-install.... USB shows up in lspci, and uscore core shows up in lsmod. My xorg.conf is good to go as far as the mouse is concerned, and I have usb/usb printer support built into my kernel. What's the deal here?
_________________
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Back to top
View user's profile Send private message
spudicus
Apprentice
Apprentice


Joined: 05 Dec 2002
Posts: 177
Location: Geraldton, Australia

PostPosted: Sun Jun 27, 2004 12:23 am    Post subject: Reply with quote

It seems you've already posted this question here: https://forums.gentoo.org/viewtopic.php?t=187158

Unfortunately, they've asked all the questions I was going to, so at the moment I don't know the problem.
Back to top
View user's profile Send private message
Jarhead
Guru
Guru


Joined: 26 Mar 2004
Posts: 474

PostPosted: Sun Jun 27, 2004 1:45 am    Post subject: Reply with quote

yes I did. However, at that point, I didn't know my printer wasn't being seen either... I think that this points to a bigger, more general problem, hence the new post for it. I thought it was different enough to merit a new thread, but please correct me if I am wrong.

Thanks
_________________
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Back to top
View user's profile Send private message
spudicus
Apprentice
Apprentice


Joined: 05 Dec 2002
Posts: 177
Location: Geraldton, Australia

PostPosted: Sun Jun 27, 2004 1:57 am    Post subject: Reply with quote

Jarhead wrote:
However, at that point, I didn't know my printer wasn't being seen either... I think that this points to a bigger, more general problem


My bad. Obviously I didn't read your post properly :oops:

What USB modules have you compiled into the kernel?
What is the output of:
Code:
grep CONFIG_USB /usr/src/linux/.config

The above assumes you kernel config file is in the given directory.
What is the output of lsmod? I realise you stated usbcore is there but the full listing may offer more insight.
You've stated that you have usbcore and uhci_hcd, do you have usbhid installed? How about usbfs? If usbfs is installed, what does the following output:
Code:
cat /proc/bus/usb/devices


If USB is properly compiled in as a module, what does /etc/modules.autoload.d/kernel-2.6 contain?
Back to top
View user's profile Send private message
Jarhead
Guru
Guru


Joined: 26 Mar 2004
Posts: 474

PostPosted: Sun Jun 27, 2004 3:33 am    Post subject: Reply with quote

I have a habit of not reading posts closely either... don't sweat it. As for my grep CONFIG_USB /usr/src/linux/.config,

Code:

CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_USS720 is not set
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GADGET is not set


I tried putting usbfs on, but fstab didn't like it. As for autoload.d, I just have my ethernet module in there. I never had to put anything more in the file before, however, that was with Gnome and XFree.
_________________
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Back to top
View user's profile Send private message
Corona688
Veteran
Veteran


Joined: 10 Jan 2004
Posts: 1204

PostPosted: Sun Jun 27, 2004 3:50 am    Post subject: Reply with quote

You ARE loading the host controller driver(s), right? Like the ehci-hcd, ohci-hcd, or uhci-hcd modules.
_________________
Petition for Better 64-bit ATI Drivers - Sign Here
http://www.petitiononline.com/atipet/petition.html
Back to top
View user's profile Send private message
spudicus
Apprentice
Apprentice


Joined: 05 Dec 2002
Posts: 177
Location: Geraldton, Australia

PostPosted: Sun Jun 27, 2004 4:20 am    Post subject: Reply with quote

The relevant lines are:
Code:

CONFIG_USB=m
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_PRINTER=m
CONFIG_USB_STORAGE=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y


The majority of these are modules, so they will need to be loaded. Firstly, try:
Code:
 modprobe ehci_hcd
modprobe uhci_hcd
modprobe usbhid
modprobe usblp
ls -R /lib/modules/$(uname -r)/kernel/drivers/usb/|grep ko

The last part should just give a list of all usb modules you have.

If these load successfully (do a lsmod to be sure), add each module to /etc/modules.autoload.d/kernel-2.6. It's possible you previously had these compiled in or (obviously) something else has changed.

This is my /etc/fstab entry for usbfs:
Code:
none            /proc/bus/usb   usbfs       defaults        0 0
Back to top
View user's profile Send private message
Jarhead
Guru
Guru


Joined: 26 Mar 2004
Posts: 474

PostPosted: Sun Jun 27, 2004 4:25 am    Post subject: Reply with quote

Loading the modules did the trick. Thank you very much!
_________________
Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum