LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-20-2012, 07:33 AM   #1
Azevedo
LQ Newbie
 
Registered: Feb 2012
Posts: 20

Rep: Reputation: Disabled
USB Keyboard not working on Slackware 13.37 x64


Hey everyone!
I just made a fresh Slackware 13.37 x64 install.

After booting up, the USB keyboard won't work on login prompt.
I'm not using Xorg, console only.

When a press any key it blinks NumLock led and nothing happens.

Thanks for any help.
 
Old 02-20-2012, 11:26 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,754

Rep: Reputation: Disabled
post dmesg|grep usb
 
Old 02-20-2012, 06:10 PM   #3
Azevedo
LQ Newbie
 
Registered: Feb 2012
Posts: 20

Original Poster
Rep: Reputation: Disabled
Here it goes:

Code:
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.29.6 ehci_hcd
usb usb1: SerialNumber: 0000:00:1a.7
usb usb1: configuration #1 chosen from 1 choice
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.29.6 ehci_hcd
usb usb2: SerialNumber: 0000:00:1d.7
usb usb2: configuration #1 chosen from 1 choice
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.29.6 uhci_hcd
usb usb3: SerialNumber: 0000:00:1a.0
usb usb3: configuration #1 chosen from 1 choice
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.29.6 uhci_hcd
usb usb4: SerialNumber: 0000:00:1a.1
usb usb4: configuration #1 chosen from 1 choice
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.29.6 uhci_hcd
usb usb5: SerialNumber: 0000:00:1a.2
usb usb5: configuration #1 chosen from 1 choice
usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: UHCI Host Controller
usb usb6: Manufacturer: Linux 2.6.29.6 uhci_hcd
usb usb6: SerialNumber: 0000:00:1d.0
usb usb6: configuration #1 chosen from 1 choice
usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb7: Product: UHCI Host Controller
usb usb7: Manufacturer: Linux 2.6.29.6 uhci_hcd
usb usb7: SerialNumber: 0000:00:1d.1
usb usb7: configuration #1 chosen from 1 choice
usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb8: Product: UHCI Host Controller
usb usb8: Manufacturer: Linux 2.6.29.6 uhci_hcd
usb usb8: SerialNumber: 0000:00:1d.2
usb usb8: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
usb 1-4: new high speed USB device using ehci_hcd and address 3
usb 1-4: New USB device found, idVendor=05ac, idProduct=1266
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: iPod
usb 1-4: Manufacturer: Apple Inc.
usb 1-4: SerialNumber: 000A270020C1D5B3
usb 1-4: configuration #1 chosen from 2 choices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb 4-1: new low speed USB device using uhci_hcd and address 2
usb 4-1: config 1 interface 0 altsetting 0 has 2 endpoint descriptors, different from the interface descriptor's value: 1
usb 4-1: New USB device found, idVendor=073a, idProduct=2230
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: configuration #1 chosen from 1 choice
input: HID 073a:2230 as /devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.0/input/input1
generic-usb 0003:073A:2230.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 073a:2230] on usb-0000:00:1a.1-1/input0
usb 5-1: new low speed USB device using uhci_hcd and address 2
usb 5-1: New USB device found, idVendor=413c, idProduct=2107
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: Dell USB Entry Keyboard
usb 5-1: Manufacturer: Dell
usb 5-1: configuration #1 chosen from 1 choice
input: Dell Dell USB Entry Keyboard as /devices/pci0000:00/0000:00:1a.2/usb5/5-1/5-1:1.0/input/input2
generic-usb 0003:413C:2107.0002: input,hidraw1: USB HID v1.10 Keyboard [Dell Dell USB Entry Keyboard] on usb-0000:00:1a.2-1/input0
usb 7-1: new low speed USB device using uhci_hcd and address 2
usb 7-1: New USB device found, idVendor=047d, idProduct=104b
usb 7-1: New USB device strings: Mfr=0, Product=3, SerialNumber=0
usb 7-1: Product: Kensington Ci95m Wireless Mouse with Nano Receiver
usb 7-1: configuration #1 chosen from 1 choice
input: Kensington Ci95m Wireless Mouse with Nano Receiver as /devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/input/input3
generic-usb 0003:047D:104B.0003: input,hidraw2: USB HID v1.11 Mouse [Kensington Ci95m Wireless Mouse with Nano Receiver] on usb-0000:00:1d.1-1/input0
usb-storage: device scan complete
usb 1-2: new high speed USB device using ehci_hcd and address 5
usb 1-2: New USB device found, idVendor=0951, idProduct=1625
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: DT 101 II
usb 1-2: Manufacturer: Kingston
usb 1-2: SerialNumber: 001CC0EC348CAA2187DD3382
usb 1-2: configuration #1 chosen from 1 choice
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
every boot it also reports an error:

FATAL: Refusing to run /etc/rc.d/rc.udev.

/etc/rc.d/rc.udev:
Code:
#!/bin/sh
# This is a script to initialize udev, which populates the /dev
# directory with device nodes, scans for devices, loads the
# appropriate kernel modules, and configures the devices.

PATH="/sbin:/bin"
OPT=""

. /etc/udev/udev.conf

# remove trailing slash from udev_root
UDEV_ROOT=$(echo "${udev_root}" |sed 's/\/*$//')

check_mounted() {
  grep -E -q "^[^[:space:]]+ $1 $2" /proc/mounts
  return $?	
}

mount_devpts() {
  if ! check_mounted $UDEV_ROOT/pts devpts ; then
    mkdir $UDEV_ROOT/pts 2> /dev/null
    mount -n -o mode=0620,gid=5 -t devpts devpts $UDEV_ROOT/pts
  fi
}

case "$1" in
    start)
	# Sanity check #1, udev requires that the kernel support tmpfs:
        if ! grep -wq tmpfs /proc/filesystems ; then
          echo "Sorry, but you need tmpfs support in the kernel to use udev."
          echo
          echo "FATAL:  Refusing to run /etc/rc.d/rc.udev."
          exit 1
        fi

        # Sanity check #2, make sure that a 2.6.x kernel is new enough:
        if [ "$(uname -r | cut -f 1,2 -d .)" = "2.6" ]; then
          if [ "$(uname -r | cut -f 3 -d . | sed 's/[^[:digit:]].*//')" -lt "32" ]; then
            echo "Sorry, but you need a 2.6.32+ kernel to use this udev."
            echo "Your kernel version is only $(uname -r)."
            echo
            echo "FATAL:  Refusing to run /etc/rc.d/rc.udev."
            exit 1
          fi
        fi

        # Sanity check #3, make sure the udev package was not removed.  If udevd
        # is not there, this will also shut off this script to prevent further
        # problems:
        if [ ! -x /sbin/udevd ]; then
          chmod 0644 /etc/rc.d/rc.udev
          echo "No udevd daemon found."
          echo "Turning off udev:  chmod 644 /etc/rc.d/rc.udev"
          echo "FATAL:  Refusing to run /etc/rc.d/rc.udev."
          exit 1
        fi

        # Disable hotplug helper since udevd listens to netlink:
        if [ -e /proc/sys/kernel/hotplug ]; then
          echo "" > /proc/sys/kernel/hotplug
        fi

	if grep -qw devtmpfs /proc/filesystems ; then
	   if ! check_mounted $UDEV_ROOT devtmpfs ; then
		# umount shm if needed
		check_mounted $UDEV_ROOT/shm tmpfs && umount -l $UDEV_ROOT/shm

		# Umount pts if needed, we will remount it later:
		check_mounted $UDEV_ROOT/pts devpts && umount -l $UDEV_ROOT/pts
		
		# Mount tmpfs on $UDEV_ROOT:
		mount -n -t devtmpfs devtmpfs $UDEV_ROOT 
	   fi
	else 
		# Mount tmpfs on $UDEV_ROOT:
		if ! check_mounted $UDEV_ROOT tmpfs ; then
		  # umount shm if needed
		  check_mounted $UDEV_ROOT/shm tmpfs && umount -l $UDEV_ROOT/shm

		  # Umount pts if needed, we will remount it later:
		  check_mounted $UDEV_ROOT/pts devpts && umount -l $UDEV_ROOT/pts
		
		  # Mount tmpfs on $UDEV_ROOT:
		  # the -n is because we don't want $UDEV_ROOT umounted when
		  # someone (rc.[06]) calls umount -a
		  mount -n -o mode=0755 -t tmpfs tmpfs $UDEV_ROOT 
		
		fi
	fi
	# Mount devpts
	mount_devpts

	# Start udevd.
	/sbin/udevd --daemon 2>/dev/null

	# If udevd was already running, then it will return !=0 exit code,
	# so we'll try to re-run failed events
	if [ $? != 0 ]; then
          OPT="--type=failed $OPT"
          ( cd ${UDEV_ROOT}/.udev
            for TMPFILE in tmp-rules-*.rules ; do
              mv $TMPFILE /etc/udev/rules.d/${TMPFILE/tmp-rules--/} 2>/dev/null
            done
          )
	else	# udev is just now being started, so we'll do some initial setup:

	  # Create rootdev rules
	  DEVICENUMBER=$( /bin/stat -c %d / )
	  MAJORNUMBER=$(($DEVICENUMBER / 256))
	  MINORNUMBER=$(($DEVICENUMBER % 256))

	  echo 'ACTION!="remove", SUBSYSTEM=="block", ENV{MAJOR}=="'$MAJORNUMBER'", ENV{MINOR}=="'$MINORNUMBER'", SYMLINK+="root"' > /dev/.udev/rules.d/61-dev-root-link.rules

	  # Set OPT="--action=add" to generate add events on coldplug
	  OPT="--action=add"

	fi

	echo "Triggering udev events:  /sbin/udevadm trigger $OPT"	
	# Call udevtrigger and udevsettle to do the device configuration:
	/sbin/udevadm trigger $OPT && /sbin/udevadm settle --timeout=120

	;;
    stop)
	echo "Stopping udevd is STRONGLY discouraged and not supported."
	echo "If you are sure you want to do this, use 'force-stop' instead."
	;;
    force-stop)
	echo "Stopping udevd"
        if [ -e /proc/sys/kernel/hotplug ]; then
          echo /sbin/hotplug > /proc/sys/kernel/hotplug
        fi
	killall udevd 
	;;
    restart)
	echo "Restarting udevd is STRONGLY discouraged and not supported."
	echo "If you are sure you want to do this, use 'force-restart' instead."
	;;
    force-restart)
	echo "Restarting udevd"
	killall udevd
	sleep 5
	udevd --daemon
	;;
    reload)
	echo "Reloading udev rules"
	udevadm control --reload-rules
	cp --preserve=all --recursive --update /lib/udev/devices/* $UDEV_ROOT
	;;
    force-reload)
	echo "Updating all available device nodes in $UDEV_ROOT"
	udevadm control --reload-rules
	rm -rf $UDEV_ROOT/.udev $UDEV_ROOT/disk
	cp --preserve=all --recursive --update /lib/udev/devices/* $UDEV_ROOT
	;;
	
    *)
	echo "Usage: $0 {start|stop|restart|reload|force-reload}"
	exit 1
	;;
esac
 
Old 02-20-2012, 07:03 PM   #4
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 207

Rep: Reputation: 40
If you look in the rc.udev script you posted you'll see that each occurrence of "FATAL: Refusing to run /etc/rc.d/rc.udev." is preceded by two or three lines telling you what the problem is.

In your case, what are the two or three lines preceding the "FATAL:..." line?
 
  


Reply

Tags
keyboards, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 13.37 x64 & Windows 7 x64 Dual Boot Issues toolman30044 Slackware 4 08-08-2011 02:39 PM
Configuring wireless network using USB Wireless adapter on Slackware-current x64 kkmic Slackware 16 06-28-2011 05:21 AM
USB Keyboard not working :( mofo Linux - Hardware 2 08-29-2006 09:21 PM
USB keyboard not working at all Fredrik992 Linux - Hardware 2 06-23-2005 03:21 PM
USB Keyboard not working xbaez Linux - Hardware 5 07-02-2004 01:14 PM


All times are GMT -5. The time now is 11:22 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration