LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-15-2008, 03:12 AM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
USB kybd and mouse not working after rebuild of kernel


SOLVED: CASE CLOSED

It happened from here, then got some help and solved it but another problem again.
http://www.linuxquestions.org/questi...earing-613417/

Before rebuilding, my usb keyboard and mouse is working perfectly well.
This time my usb keyboard and mounse is not working. Booting well. It even says USB Keyboard [OK] Mouse [OK]. But when everything is up, they can't work. I tried to meddle the options around but cant seem to work...
Here's my part of my .config regarding to USB.


Code:
#
# USB support
#
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
CONFIG_USB_AUDIO=m
# CONFIG_USB_EMI26 is not set
CONFIG_USB_MIDI=m
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=m
CONFIG_USB_HIDDEV=m
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_AIPTEK=m
CONFIG_USB_WACOM=m
CONFIG_USB_KBTAB=m
CONFIG_USB_POWERMATE=m
# CONFIG_USB_DC2XX is not set
CONFIG_USB_MDC800=m
CONFIG_USB_SCANNER=m
CONFIG_USB_MICROTEK=m
CONFIG_USB_HPUSBSCSI=m
CONFIG_USB_IBMCAM=m
CONFIG_USB_KONICAWC=m
CONFIG_USB_OV511=m
CONFIG_USB_PWC=m
CONFIG_USB_SE401=m
CONFIG_USB_STV680=m
CONFIG_USB_VICAM=m
CONFIG_USB_DSBR=m
CONFIG_USB_DABUSB=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_KAWETH=m
CONFIG_USB_CATC=m
# CONFIG_USB_AX8817X is not set
CONFIG_USB_CDCETHER=m
CONFIG_USB_USBNET=m
CONFIG_USB_USS720=m
Just in case, this is part of my rc.sysinit regarding to USB

Code:
# Initialize USB controller and HID devices
update_boot_stage RCusb
usb=0
if ! strstr "$cmdline" nousb ; then
  if ! LC_ALL=C grep -q "usb" /proc/devices 2>/dev/null ; then
    aliases=`/sbin/modprobe -c | awk '/^alias usb-controller/ { print $3 }'`
    if [ -n "$aliases" -a "$aliases" != "off" ]; then
      modprobe usbcore
      for alias in $aliases ; do 
      	[ "$alias" = "off" ] && continue
	action $"Initializing USB controller ($alias): " modprobe $alias
      done
      [ $? -eq 0 -a -n "$aliases" ] && usb=1
    fi
  fi
  if LC_ALL=C grep -q "usb" /proc/devices 2>/dev/null ; then
    usb=1
  fi
fi

if [ $usb = 1 -a ! -f /proc/bus/usb/devices ]; then
    action $"Mounting USB filesystem: "  mount -t usbdevfs usbdevfs /proc/bus/usb
fi

needusbstorage=
if [ $usb = "1" ]; then
    needusbstorage=`LC_ALL=C grep -e "^I.*Cls=08" /proc/bus/usb/devices 2>/dev/null`
    LC_ALL=C grep 'hid' /proc/bus/usb/drivers || action $"Initializing USB HID interface: " modprobe hid 2> /dev/null
    action $"Initializing USB keyboard: " modprobe keybdev 2> /dev/null
    action $"Initializing USB mouse: " modprobe mousedev 2> /dev/null 
fi
I'm using RHEL ES 3

Last edited by khaos83; 01-16-2008 at 01:44 AM.
 
Old 01-15-2008, 03:14 AM   #2
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
or is there some where wrong ?
 
Old 01-15-2008, 08:57 PM   #3
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
help?
ping ping
 
Old 01-16-2008, 01:43 AM   #4
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
nevermind

Solved: CASE CLOSED

The problem lies with the modules that are selected during menuconfig or similiar.

I took a look at my /etc/rc.sysinit, my usb are modules.
And also, to know what USB modules are loaded, run lsmod and take note of what is load. Then select the same thing you have investigated in menuconfig.
 
  


Reply

Tags
usb



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
optical usb mouse not working on kernel 2.6 Spartan552 Linux - Newbie 4 09-03-2006 08:26 PM
USB Mouse not working - kernel 2.6.12.2 vasanthraghavan Red Hat 1 07-19-2005 09:10 PM
Kernel 2.6.9 - XF86 4.4.0 - USB Mouse not working MattOlz Linux - Hardware 1 10-28-2004 05:38 PM
USB mouse not working X11 4.4 Kernel 2.6.9 MattOlz Linux - Hardware 0 10-28-2004 02:52 PM
usb mouse not working using kernel 2.6 e88z4 Linux - Hardware 8 02-23-2004 04:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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