LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-12-2005, 07:54 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Question on USB module


Hi folks,

BLFS 6.1

On running following commands;
bash-3.00$ su -
Password:
root@localhost:~# modprobe usb
Code:
FATAL: Module usb not found.

bash-3.00$ cat /etc/sysconfig/modules
Code:
########################################################################
# Begin /etc/sysconfig/modules
#
# Description : Module auto-loading configuration
#
# Authors     :
#
# Version     : 00.00
#
# Notes       : The syntax of this file is as follows:
#               <module> [<arg1> <arg2> ...]
#
# Each module should be on it's own line, and any options that you want
# passed to the module should follow it.  The line deliminator is either
# a space or a tab.
########################################################################

# End /etc/sysconfig/modules
"usbcore" module is not listed.

bash-3.00$ cat /etc/fstab
Code:
 
# Begin /etc/fstab

# file system  mount-point    type   options              dump  fsck
#                                                             order

/dev/hda6      /              ext3   defaults                1  1
/dev/hda3      swap           swap   pri=1                   0  0
proc           /proc          proc   defaults                0  0
sysfs          /sys           sysfs  defaults                0  0
devpts         /dev/pts       devpts gid=4,mode=620          0  0
shm            /dev/shm       tmpfs  defaults                0  0
/dev/fd0       /mnt/floppy    auto   noauto,owner,kudzu      0  0
usbfs          /proc/bus/usb  usbfs  devgid=14,devmode=0660  0  0
# End /etc/fstab
The line "usbfs /proc/bus/usb usbfs devgid=14,devmode=0660 0 0" is there.

Is there other command to check whether USB device filesystem has been compiled on the kernel?

Whether I need to recompile the kernel? TIA

BR
satimis
 
Old 09-12-2005, 12:40 PM   #2
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
1) Well, there is no module named "usb" AFAIK.
2) usbcore wouldn't be there unless you explicitly put it there.
3) "dmesg | grep usb" would let you know if it did anything related to usb.

Do you remember if you made these modules or built them in? You can go into the kernel menuconfig again and check and see, and if they're not there just enable them, otherwise just quit and don't save changes.
 
Old 09-12-2005, 06:09 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi kjordan,

Quote:
2) usbcore wouldn't be there unless you explicitly put it there.
Where does usbcore reside?

Quote:
3) "dmesg | grep usb" would let you know if it did anything related to usb.
# dmesg | grep usb
Code:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb 1-1: new low speed USB device using uhci_hcd and address 2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usbcore: registered new driver usb-storage
input: USB HID v1.00 Mouse [Cypress Sem PS2/USB Browser Combo Mouse] on usb-0000:00:11.2-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Quote:
Do you remember if you made these modules or built them in
Yes. From the Notes taken down during recompiling the kernel to make ADSL to work;

@localhost.localdomain : /root@localhost:/usr/src/linux-2.6.11.12# make modules_install
Code:
INSTALL drivers/acpi/ibm_acpi.ko
"make modules_install" has been run.

Others noted with thanks

BR
satimis
 
Old 09-12-2005, 06:41 PM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi kjordan,

Further to my last posting, I just read /usr/src/linux-2.6.11.12/.config
Code:
# USB devices
#

# Open Sound System
# CONFIG_SOUND_PRIME is not set

# USB support
# 
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

CONFIG_USB_DEVICEFS=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y

# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_HCD=y

# USB Device Class drivers
#
# 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=y

CONFIG_USB_STORAGE=y

CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y

CONFIG_USB_EGALAX=m

CONFIG_USB_CYTHERM=m
# CONFIG_USB_PHIDGETKIT is not set
CONFIG_USB_PHIDGETSERVO=m
satimis
 
Old 09-12-2005, 07:29 PM   #5
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
Quote:
Where does usbcore reside?
Well, the actual module is in /lib/modules/2.6.1x.y somewhere. But that config file just specifies modules you want loaded at boot time.


Looks like you have USB support built-in (not as modules) so no extra work required.
 
  


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 module yhus Red Hat 3 09-22-2005 08:28 PM
Pegasus USB module RickRalph Debian 1 03-30-2005 08:00 PM
usb-ohci Module cb951303 Linux - Hardware 1 02-13-2004 02:57 PM
can I install usb-ohci module when I already have usb-uhci? krapaud Mandriva 9 11-17-2003 02:31 AM
No USB module loaded dev8080 Linux - Hardware 16 10-05-2003 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:03 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