View previous topic :: View next topic |
Author |
Message |
cap11235 n00b
Joined: 12 Nov 2012 Posts: 5
|
Posted: Mon Nov 12, 2012 10:01 pm Post subject: External Keyboard Not Working |
|
|
I installed Gentoo onto my laptop, and my external keyboard is not working. The laptop's normal keyboard is fine. The external one is an IBM Model M connected using a GreenAsia PS2 to USB adapter. This worked fine in Windows and Arch Linux, but it is not recognized when in text mode, or X. GRUB and my BIOS can see it fine, though. I've tried changing Legacy mode in my BIOS, as well as trying all possible USB ports. It shows up when I run lsusb, though:
Quote: | Bus 002 Device 006: ID 0e8f:0020 GreenAsia Inc. USB to PS/2 Adapter |
I would have liked to see what driver it was using, but it looks like lsusb doesn't have the -k switch that lspci does. I am pretty sure I also configured the kernel correctly, following the handbook. Any ideas?[/quote] |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Nov 12, 2012 10:12 pm Post subject: |
|
|
Do you have HID_SUPPORT enabled in your current kernel config?
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
cap11235 n00b
Joined: 12 Nov 2012 Posts: 5
|
Posted: Mon Nov 12, 2012 10:27 pm Post subject: |
|
|
From my .config:
Code: |
#
# HID support
#
CONFIG_HID=y
# CONFIG_HID_BATTERY_STRENGTH is not set
CONFIG_HIDRAW=y
CONFIG_HID_GENERIC=y
#
# Special HID drivers
#
CONFIG_HID_A4TECH=y
# CONFIG_HID_ACRUX is not set
CONFIG_HID_APPLE=y
# CONFIG_HID_AUREAL is not set
CONFIG_HID_BELKIN=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
# CONFIG_HID_PRODIKEYS is not set
CONFIG_HID_CYPRESS=y
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
CONFIG_HID_EZKEY=y
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
CONFIG_HID_GYRATION=y
# CONFIG_HID_TWINHAN is not set
CONFIG_HID_KENSINGTON=y
# CONFIG_HID_LCPOWER is not set
CONFIG_HID_LOGITECH=y
CONFIG_HID_LOGITECH_DJ=m
CONFIG_LOGITECH_FF=y
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
CONFIG_LOGIWHEELS_FF=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
# CONFIG_HID_MULTITOUCH is not set
CONFIG_HID_NTRIG=y
# CONFIG_HID_ORTEK is not set
CONFIG_HID_PANTHERLORD=y
CONFIG_PANTHERLORD_FF=y
CONFIG_HID_PETALYNX=y
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
# CONFIG_HID_SPEEDLINK is not set
CONFIG_HID_SUNPLUS=y
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
CONFIG_HID_TOPSEED=y
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
#
# USB HID support
#
CONFIG_USB_HID=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB_ARCH_HAS_XHCI=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_DEBUG=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
|
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Nov 13, 2012 12:44 am Post subject: |
|
|
cap11235 wrote: | I would have liked to see what driver it was using, but it looks like lsusb doesn't have the -k switch that lspci does. |
lsusb -t might show some useful information.
Check if there's any output with udevadm monitor --udev when you plug and unplug the kb - maybe you can get a hint there..
cap11235 wrote: | This worked fine in Windows and Arch Linux |
If you still have access to Arch, check which modules are loaded and compare the list to gentoo's. _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
cap11235 n00b
Joined: 12 Nov 2012 Posts: 5
|
Posted: Tue Nov 13, 2012 1:08 am Post subject: |
|
|
lsusb -t gives the device as
Quote: |
|__ Port 2: Dev 37, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 37, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|
udevadm monitor --udev while plugging in and then removing is
Quote: |
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
UDEV [1352739891.735645] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
UDEV [1352739891.735751] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
UDEV [1352739891.735840] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV [1352739891.736059] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:0E8F:0020.0003 (hid)
UDEV [1352739891.736223] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:0E8F:0020.0004 (hid)
UDEV [1352739891.736444] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:0E8F:0020.0003/hidraw/hidraw2 (hidraw)
UDEV [1352739891.736950] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:0E8F:0020.0004/hidraw/hidraw3 (hidraw)
UDEV [1352739891.737460] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input10 (input)
UDEV [1352739891.737630] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input11 (input)
UDEV [1352739891.741318] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input10/event9 (input)
UDEV [1352739891.741532] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input11/mouse2 (input)
UDEV [1352739891.742571] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input11/event10 (input)
UDEV [1352740003.548235] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input10/event9 (input)
UDEV [1352740003.562132] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input10 (input)
UDEV [1352740003.562339] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:0E8F:0020.0003/hidraw/hidraw2 (hidraw)
UDEV [1352740003.562469] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input11/mouse2 (input)
UDEV [1352740003.562492] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:0E8F:0020.0003 (hid)
UDEV [1352740003.562611] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
UDEV [1352740003.573366] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input11/event10 (input)
UDEV [1352740003.582225] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input11 (input)
UDEV [1352740003.582255] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:0E8F:0020.0004/hidraw/hidraw3 (hidraw)
UDEV [1352740003.582361] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:0E8F:0020.0004 (hid)
UDEV [1352740003.582522] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV [1352740003.592311] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
|
Also, I think it might be worth noting that I used nvidia-xconfig, and my xorg.conf is
Quote: |
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "evdev"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "AUO"
HorizSync 30.0 - 75.0
VertRefresh 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 560M"
EndSection
Section "Screen"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+1080, DFP-2: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-2: nvidia-auto-select +1920+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
|
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Nov 13, 2012 1:30 am Post subject: |
|
|
cap11235,
The output of udevadm looks good - it detects the device
Check make.conf for INPUT_DEVICES="evdev synaptics"
synaptics should take care of the touchpad and evdev an external mouse and keyboard _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
cap11235 n00b
Joined: 12 Nov 2012 Posts: 5
|
Posted: Tue Nov 13, 2012 1:36 am Post subject: |
|
|
Yup, the relevant line in my make.conf is
Quote: | INPUT_DEVICES="synaptics evdev keyboard mouse" |
|
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Nov 13, 2012 1:47 am Post subject: |
|
|
cap11235.
I would try it with just "evdev synaptics"
Then try commenting all the xorg InputDevice lines so it just handles the screen and doing a emerge -av1 $(qlist -IC x11-drivers)
It's worth a shot
UPDATE:
Also look into
CONFIG_HID_GREENASIA: │
│ │
│ Say Y here if you have a GreenAsia (Product ID 0x12) based game │
│ controller or adapter. │
│ _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
cap11235 n00b
Joined: 12 Nov 2012 Posts: 5
|
Posted: Tue Nov 13, 2012 3:19 am Post subject: |
|
|
Ok, I didn't have that flag set. I'm compiling my kernel now, and if it works, I'll set it to solved. Thank you!
Update: Nope, didn't work. I'm trying genkernel |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Nov 13, 2012 3:42 am Post subject: |
|
|
cap11235,
If possible, try a different keyboard - preferably a simple usb kb that doesn't require any type of adapter to narrow down the problem.
I use a logitech wireless mouse and occasionally its companion keyboard - it uses in-kernel <M> Logitech Unifying receivers full support _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Tue Nov 13, 2012 4:46 am Post subject: |
|
|
could also be the difference between UHCI and OHCI
i have one system where one works and not the other
check kernel config for this _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
|