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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-20-2012, 07:33 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2012
Location: Brazil
Distribution: Slackware 13 x64
Posts: 14
Rep: 
|
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.
|
|
|
|
02-20-2012, 11:26 AM
|
#2
|
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,717
Rep: 
|
post dmesg|grep usb
|
|
|
|
02-20-2012, 06:10 PM
|
#3
|
|
LQ Newbie
Registered: Feb 2012
Location: Brazil
Distribution: Slackware 13 x64
Posts: 14
Original Poster
Rep: 
|
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
|
|
|
|
02-20-2012, 07:03 PM
|
#4
|
|
Member
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 190
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:18 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|