LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   USB kybd and mouse not working after rebuild of kernel (https://www.linuxquestions.org/questions/red-hat-31/usb-kybd-and-mouse-not-working-after-rebuild-of-kernel-613649/)

khaos83 01-15-2008 03:12 AM

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

khaos83 01-15-2008 03:14 AM

or is there some where wrong ?

khaos83 01-15-2008 08:57 PM

help?
ping ping

khaos83 01-16-2008 01:43 AM

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.


All times are GMT -5. The time now is 12:15 AM.