LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-19-2009, 06:23 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,475

Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
No USB Keyboard or USB Mouse with 12.2 and New Box (Solved)


I have a new box that eventually will become an HTPC. An Asus M3N78-EM motherboard, AMD 5050e 2.6 GHz Dual Core CPU, Western Digital WD6400AAKS hard drive, Lite-On iHAS324-08 24X SATA DVD, HDMI, DVI-D, VGA.

I have an Adesso RF wireless keyboard with a built-in trackball. The RF receiver is USB.

I connected a Logitech USB M-BJ58/M-BJ69 optical wheel mouse.

With Slackware 12.2, the wireless keyboard and Logitech mouse do not work.

I did some testing with some Live CDs. All USB ports are functional.

At boot, both in the BIOS setup screens and with the (GRUB) bootloader, the wireless keyboard works fine. The BIOS boot messages indicate 1 USB keyboard connected and two USB mice.

The wireless keyboard, built-in trackball, and Logitech mouse all work fine with the Live CDs. Several times I had a PS/2 keyboard connected as well and both keyboards and both mice (Logitech and trackball) worked with the Live CDs.

Running lsusb lists both the keyboard and Logitech mouse:

Code:
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
Bus 004 Device 002: ID 1241:f768 Belkin
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I can remove either device and lsusb updates correctly.

As mentioned, all USB ports are functional. When in X/KDE, I can insert a USB flash drive and the drive appears on the desktop. Konsole shows the device being mounted as well.

Nothing I do gets 12.2 to recognize the USB keyboard and mice.

This is not a fresh installation. I mirrored my office box drive partitions because of very similar specs. The office box uses a PS/2 keyboard and mouse. Updating various configuration files took only some nominal time and seemed like a more efficient route rather than a fresh installation. Seems to be the case because everything works great except the USB input devices. 12.2 just does not recognize them.

This is not an X/KDE problem because the wireless keyboard fails to function at the console, which is how I first noticed the problem. Only after starting X/KDE did I discover that neither mouse was working.

I appreciate any help. Thanks.

Last edited by Woodsman; 07-20-2009 at 12:27 AM. Reason: Solved
 
Old 07-19-2009, 06:26 PM   #2
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
There have been some problems recognizing USB keyboards and mice in the past with certain BIOSes...
I remember something about a setting in a BIOS for "USB compatibility".

Maybe this is the case with your new computer?
 
Old 07-19-2009, 08:14 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,475

Original Poster
Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
Quote:
Maybe this is the case with your new computer?
Well, unlikely, as the BIOS boot screen displays the message of finding 1 USB keyboard and 2 USB mice. And the Live CDs had no such problems.
 
Old 07-19-2009, 08:39 PM   #4
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 89
Did you check with the live cds which drivers are being used?
Live CDs can be good at automatically loading the right modules
 
Old 07-19-2009, 09:50 PM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by Woodsman View Post
This is not a fresh installation. I mirrored my office box drive partitions because of very similar specs. The office box uses a PS/2 keyboard and mouse.
Maybe it should be. I wonder if some udev rules aren't getting properly written?
I'm sure you unplugged them both, ran "udevadm monitor", and then plugged them back in.

I don't understand this:

Quote:
Originally Posted by Woodsman View Post
Running lsusb lists both the keyboard and Logitech mouse:

Code:
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 004: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
Bus 004 Device 002: ID 1241:f768 Belkin
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I can remove either device and lsusb updates correctly.

As mentioned, all USB ports are functional. When in X/KDE, I can insert a USB flash drive and the drive appears on the desktop. Konsole shows the device being mounted as well.

Nothing I do gets 12.2 to recognize the USB keyboard and mice.
I ass-u-me maybe too much. You say "lsusb" lists them; but they're "not recognized".

You mean the Belkin device is the Adesso wireless kdb? My wireless kdb shows up as:
Code:
mingdao@silas64:~$ /sbin/lsusb | grep Logitech
Bus 002 Device 002: ID 046d:c512 Logitech, Inc. LX-700 Cordless Desktop Receiver
Yours doesn't appear to have a receiver connected.

Sorry for grabbing at straws, mate.
 
Old 07-19-2009, 10:08 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,475

Original Poster
Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
Quote:
Live CDs can be good at automatically loading the right modules
I did notice with lsmod that the hid, ohci1394, ehci-hcd, ohci-hcd, uhci_hcd, usbcore, and usbhid modules were loaded. I thought they might be the missing links. I tried loading them but no modules found. I then checked my config file for my kernel compile and except for the hid module, all the remainder are built-in. The odd thing is that I can insert a USB flash drive into any USB port and the system sees the new drive. Just not USB peripherals.

The BIOS sees the devices. The system sees the peripherals too, they just don't work.

Quote:
I wonder if some udev rules aren't getting properly written?
That is what I'm thinking. I have not touched the /lib/udev rules and I deleted all the /etc/udev rules and rebooted. No change.

Quote:
I'm sure you unplugged them both, ran "udevadm monitor", and then plugged them back in.
No, I hadn't. But now I have. Plugging in both individually resulted a bunch of udev gibberish but the word "add" appeared with each line. Conversely when I pulled each device I saw the word "remove" on each line.

Quote:
You say "lsusb" lists them; but they're "not recognized".
Perhaps "recognized" is not a good word. Specifically, no characters appear when I use the keyboard and the mouse pointer never moves.

Quote:
You mean the Belkin device is the Adesso wireless kdb?
Weird but yes. When I remove the receiver the Belkin device is gone. When I insert the receiver the Belkin device is listed.

Quote:
Sorry for grabbing at straws, mate.
I've been grabbing at straws all afternoon.

Last edited by Woodsman; 07-19-2009 at 10:26 PM.
 
Old 07-19-2009, 10:16 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Might check something else:
Code:
mingdao@silas64:~$ lsmod | grep hid
hid_logitech           10976  0
usbhid                 38176  1 hid_logitech
hid                    49152  2 hid_logitech,usbhid
I don't have a 2.6.27.7 (your sig indictates), but check this:
Code:
mingdao@jeremiah:~$ grep -i 'hid' kernel/linux-2.6.30.1/.config
CONFIG_BT_HIDP=m
CONFIG_HID_SUPPORT=y
CONFIG_HID=m
CONFIG_HID_DEBUG=y
CONFIG_HIDRAW=y
CONFIG_USB_HID=m
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
# Special HID drivers
CONFIG_HID_A4TECH=m
CONFIG_HID_APPLE=m
CONFIG_HID_BELKIN=m
CONFIG_HID_CHERRY=m
CONFIG_HID_CHICONY=m
CONFIG_HID_CYPRESS=m
CONFIG_HID_EZKEY=m
CONFIG_HID_KYE=m
CONFIG_HID_GYRATION=m
CONFIG_HID_KENSINGTON=m
CONFIG_HID_LOGITECH=m
CONFIG_HID_MICROSOFT=m
CONFIG_HID_MONTEREY=m
CONFIG_HID_NTRIG=m
CONFIG_HID_PANTHERLORD=m
CONFIG_HID_PETALYNX=m
CONFIG_HID_SAMSUNG=m
CONFIG_HID_SONY=m
CONFIG_HID_SUNPLUS=m
CONFIG_HID_TOPSEED=m
 
Old 07-19-2009, 10:40 PM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,475

Original Poster
Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
I just tried running lsusb with the Live CD (I don't know why I did not try that sooner). Same results. So the keyboard receiver and Logitech mouse are being identified the same.

Quote:
lsmod | grep hid
I ran lsmod hid. No effect. All the others are built in to the kernel.

Quote:
CONFIG_HID_BELKIN=m
CONFIG_HID_BELKIN=y

The Live CD is using a 2.6.26.8 kernel. Therefore there is no reason to belive the hardware is too new. Besides, the M3N78-EM board has been around for a while. That is why I went with the board --- good reviews and support.
 
Old 07-19-2009, 10:53 PM   #9
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,475

Original Poster
Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
Update: partial success.

I installed the huge kernel and booted with that. I was able to use the wireless keyboard. I used the vesa driver to boot into X/KDE and the mouse pointer worked.

Now to find the difference between the two kernel config files.
 
Old 07-19-2009, 11:07 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Some Live CD is using 2.6.26.8 kernel; you are using 2.6.27.7?

Did you diff the module in that kernel vs. yours?
Code:
mingdao@jeremiah:~/kernel/linux-2.6.30.1$ diff -u /usr/src/linux-2.6.29.6/drivers/hid/hid-belkin.c drivers/hid/hid-belkin.c
--- /usr/src/linux-2.6.29.6/drivers/hid/hid-belkin.c    2009-07-03 07:41:20.000000000 +0800
+++ drivers/hid/hid-belkin.c    2009-07-03 07:52:38.000000000 +0800
@@ -101,5 +101,3 @@
 module_init(belkin_init);
 module_exit(belkin_exit);
 MODULE_LICENSE("GPL");
-
-HID_COMPAT_LOAD_DRIVER(belkin);
My usb.ids has that company elsewhere:
Code:
mingdao@jeremiah:~/kernel/linux-2.6.30.1$ grep 'Adesso' /usr/share/usb.ids
087c  Adesso/Kbtek America, Inc.
Heck, I'm sorry ... the straws are getting shorter ... time for a kip.
 
Old 07-19-2009, 11:10 PM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by Woodsman View Post
Update: partial success.

I installed the huge kernel and booted with that. I was able to use the wireless keyboard. I used the vesa driver to boot into X/KDE and the mouse pointer worked.

Now to find the difference between the two kernel config files.
I'm sure you know, but just in case:
Code:
mingdao@jeremiah:/boot$ grep -i 'belkin' config-generic-2.6.29.5 config-huge-2.6.29.5
config-generic-2.6.29.5:CONFIG_OLD_BELKIN_DONGLE=m
config-generic-2.6.29.5:CONFIG_USB_BELKIN=y
config-generic-2.6.29.5:CONFIG_HID_BELKIN=m
config-generic-2.6.29.5:CONFIG_USB_SERIAL_BELKIN=m
config-huge-2.6.29.5:CONFIG_OLD_BELKIN_DONGLE=m
config-huge-2.6.29.5:CONFIG_USB_BELKIN=y
config-huge-2.6.29.5:CONFIG_HID_BELKIN=y
config-huge-2.6.29.5:CONFIG_USB_SERIAL_BELKIN=m
 
Old 07-19-2009, 11:51 PM   #12
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,475

Original Poster
Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
Solved

I just recompiled a new kernel.

I found Bluetooth support disabled. Some folks might think, "Well duh!" but the keyboard is my first RF device ever so that part does not surprise me. Disabling stuff is a carry over from the days when I owned only old hardware and needed to reduce cruft. With my newish office box last year I had to enable a lot of features but some of that baggage remains. I prefer my file systems built-in rather than deal with initrds, therefore starting from scratch with the generic kernel might be a plausible idea someday. The new box will serve as a playground for several weeks before I focus seriously on HTPC features. So I might do just that.

I also found a couple of USB HID options not set. I enabled them as modules.

All three peripherals (Logitech mouse, trackball, and keyboard) now function as expected.

Some days this just isn't fun! A PB&J snack has helped somewhat recover my disposition.
 
Old 07-20-2009, 12:11 AM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Man, what I wouldn't give for some Goober Grape!

You might check the thread thing where it's now setup to mark
the first post [SOLVED] so it shows in the forum posts.

Glad you got a new box, and have it working. I'm doing my own
bit of experimenting with Slackware for x86_64 on two comps in
anticipation of the 13.0 release. I'd really like to install it to the
wife and daughter's PC, but if I bork their box I'll have to stop
everything until it's fixed, or I'm in the doghouse.

My Lenovo laptop has a bluetooth receiver built in, and some time
between Slackware-12.2 and when I installed Slackware64 -current,
then along the updates, it quit coming on. After a few days of
investigating, it turns out to be thinkpad-acpi at fault. This is
my first bluetooth device, so I understand the new ground.

I'll have to wait for the kernel devls to get rfkill rewritten,
then maybe get my Broadcom receiver put into thinkpad-acpi.
 
Old 07-20-2009, 12:28 AM   #14
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,475

Original Poster
Rep: Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530Reputation: 530
Quote:
You might check the thread thing where it's now setup to mark
the first post [SOLVED] so it shows in the forum posts.
I would if I knew how. I edited the title but the change does not appear in the thread listings.
 
Old 07-20-2009, 12:47 AM   #15
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Try this thread -- as I had to do.
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB keyboard and USB mouse mimabroma Linux - Hardware 2 03-09-2004 09:41 AM
usb keyboard and mouse breakerfall Linux - General 5 11-10-2003 06:46 AM
No USB Mouse or USB Keyboard after Shutdown ooliquidice Linux - Hardware 3 10-09-2003 02:05 PM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 09:43 AM
USB mouse support thru usb "hub" of MS keyboard.. zeppelin Linux - Hardware 3 07-29-2003 11:25 PM


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