Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122661 - Keyboard and mouse only working with grub, not when linux completely booted
Summary: Keyboard and mouse only working with grub, not when linux completely booted
Status: VERIFIED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
: 122662 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-13 03:20 UTC by Nicolai Marck Ødum
Modified: 2006-02-23 04:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
.config file used to compile 2.6.15-gentoo-r5 (.config,26.78 KB, text/plain)
2006-02-13 03:46 UTC, Nicolai Marck Ødum
Details
dmsg (dmesg,11.82 KB, text/plain)
2006-02-13 03:59 UTC, Nicolai Marck Ødum
Details
.config file used to compile 2.6.14-gentoo-r5 (config-2.6.14-gentoo-r5,26.82 KB, text/plain)
2006-02-13 04:09 UTC, Nicolai Marck Ødum
Details
patch #1 (2715_usb-ehci-early-handoff.patch,7.15 KB, patch)
2006-02-17 08:53 UTC, Daniel Drake (RETIRED)
Details | Diff
patch #2 (2720_usb-ehci-early-handoff-smi.patch,2.32 KB, patch)
2006-02-17 08:54 UTC, Daniel Drake (RETIRED)
Details | Diff
Dmseg when using USB->PS2 converter (dmesg,13.31 KB, text/plain)
2006-02-20 02:37 UTC, Nicolai Marck Ødum
Details
Dmesg when connected with USB->PS/2 converter through Miniview (dmesg,13.50 KB, application/octet-stream)
2006-02-20 03:34 UTC, Nicolai Marck Ødum
Details
Dmesg when connected with USB->PS/2 converter directly (dmesg,13.32 KB, text/plain)
2006-02-20 03:37 UTC, Nicolai Marck Ødum
Details
Dmesg with vanilla-kernel 2.6.16-r4 (dmesg,13.98 KB, text/plain)
2006-02-22 01:24 UTC, Nicolai Marck Ødum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolai Marck Ødum 2006-02-13 03:20:25 UTC
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="da"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 audiofile authdaemond avi berkdb bitmap-fonts bzip2 cdr crypt cups curl cvsgraph dga dvd dvdr eds emboss encode esd exif expat fam firefox foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imap imlib ipv6 java jce jpeg kerberos lcms libwww lzw lzw-tiff mhash mng mod_python mozilla mp3 mpeg ncurses nls nvidia oav opengl pam pdflib perl png postgres python quicktime readline ruby samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales valias vhosts xinerama xml2 xmms xpm xv zlib linguas_da userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 03:23:16 UTC
*** Bug 122662 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 03:31:59 UTC
Reopen with 

- meaningful summary
- description of the problem
- kernel .config attached and dmesg output attached (do not paste it inline)
Comment 3 Nicolai Marck Ødum 2006-02-13 03:46:23 UTC
Created attachment 79671 [details]
.config file used to compile 2.6.15-gentoo-r5
Comment 4 Nicolai Marck Ødum 2006-02-13 03:50:51 UTC
I have 2 machines running kernel 2.6.14-gentoo-r5 and 2.6.13-gentoo-r5. I have tried on both machines to upgrade to kernel 2.6.15-gentoo-r1 and 2.6.15-gentoo-r5 but keyboard and mouse isn't working after boot. The funny part is that keyboard is working in boot manager grub. I have looked in all log files but I can find nothing interessting.
The keyboard and mouse is a "logitech cordless desktop pro" attached through a switchbox "miniview" switch. The keyboard is conntected to the switch with a usb->ps2 converter.
The hardware setup is working with "old" kernel
Comment 5 Nicolai Marck Ødum 2006-02-13 03:53:58 UTC
I can still SSH to both machines and keyboard works there.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 03:56:47 UTC
As said, we need dmesg output. Attach /var/log/dmesg here. Also, does it work when connected directly? (Dunno what's switchbox "miniview" switch either).
Comment 7 Nicolai Marck Ødum 2006-02-13 03:59:34 UTC
Created attachment 79672 [details]
dmsg
Comment 8 Nicolai Marck Ødum 2006-02-13 04:05:36 UTC
Have tried to connected directly - keyboard both with USB and with USB->PS/2 converter. Still not working.
Comment 9 Nicolai Marck Ødum 2006-02-13 04:09:28 UTC
Created attachment 79674 [details]
.config file used to compile 2.6.14-gentoo-r5

This one is working perfectly
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 04:15:34 UTC
(In reply to comment #8)
> Have tried to connected directly - keyboard both with USB and with USB->PS/2
> converter. Still not working.

2.6.15-r5
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y

2.6.14-r5
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y

So - do you have usbhid module loaded? Seems not, kernel doesn't detect any mouse or keyboard at all. (Or try to compile the driver into kernel, not as a module.)
Comment 11 Nicolai Marck Ødum 2006-02-13 04:21:16 UTC
I have tried USB both as module and build into kernel. But does the kernel see the keyboard as a USB keyboard when using a usb->PS/2 converter?
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-02-13 04:27:12 UTC
(In reply to comment #11)
> I have tried USB both as module and build into kernel. But does the kernel see
> the keyboard as a USB keyboard when using a usb->PS/2 converter?

Kernel doesn't see your mouse and keyboard at all (neither PS2 or USB). I still don't understand that miniswitch stuff, also you said it doesn't work even without the PS2 converter, when plugged in directly into USB port (that's why I asked about the module.)

Passing this to kernel devs.
Comment 13 Nicolai Marck Ødum 2006-02-13 05:10:15 UTC
Miniview SE is a 4 port mouse and keyboard switch

http://www.iogear.com/main.php?loc=product&Item=GCS84B
Comment 14 Daniel Drake (RETIRED) gentoo-dev 2006-02-17 08:53:28 UTC
Created attachment 80016 [details, diff]
patch #1
Comment 15 Daniel Drake (RETIRED) gentoo-dev 2006-02-17 08:54:16 UTC
Created attachment 80017 [details, diff]
patch #2
Comment 16 Daniel Drake (RETIRED) gentoo-dev 2006-02-17 08:57:03 UTC
Please apply both of those patches (#1 then #2) to 2.6.15 and retest. Ensure that all required USB support (EHCI, OHCI, UHCI and HID) is built into the kernel (not as modules).

If the problem still exists, plug the keyboard directly into the USB port of the system, boot it up, login via ssh and obtain a dmesg log for that session.
Comment 17 Nicolai Marck Ødum 2006-02-17 09:24:22 UTC
Thx - I will test it monday and report back if it worked or not.
Comment 18 Nicolai Marck Ødum 2006-02-20 02:37:26 UTC
Created attachment 80257 [details]
Dmseg when using USB->PS2 converter
Comment 19 Nicolai Marck Ødum 2006-02-20 02:45:23 UTC
Have tried with both pacthes applied with mixed result. The "cordless mouse and keyboard reciver" from logitech comes with a PS/2 connector used by the mouse and a USB connector for the keyboard - but also with a USB->PS/2 converter so the keyboard can be used as a PS/2 keyboard.In all 3 boot situations the mouse is connected through PS/2.


1. I connect the keyboard as USB the patchs works /Cheer!!
2. I connect the keyboard through the USB->PS/2 neigther the mouse or keyboard works.
3. I use the swithbox (witch also demands the PS/2 converter) neighter the mouse or keyboard works.


I have attaced the dmseg message from boot situation nr 2.
Comment 20 Daniel Drake (RETIRED) gentoo-dev 2006-02-20 02:58:40 UTC
Thanks for testing that. Can you also post dmesg output from 2.6.14 where the keyboard is connected directly through the USB->PS/2 converter to the PS/2 port?
Comment 21 Nicolai Marck Ødum 2006-02-20 03:34:07 UTC
Created attachment 80262 [details]
Dmesg when connected with USB->PS/2 converter through Miniview
Comment 22 Nicolai Marck Ødum 2006-02-20 03:37:40 UTC
Created attachment 80263 [details]
Dmesg when connected with USB->PS/2 converter directly
Comment 23 Daniel Drake (RETIRED) gentoo-dev 2006-02-21 03:52:03 UTC
Thanks. Final bit of info we need before we can pass this onto the input developers: can you please test the latest development kernel (currently 2.6.16-rc4)? No need to patch anything in there. I'm only interested in the behaviour with the uSB->PS2 adapter at this point - please get another dmesg dump.
Comment 24 Nicolai Marck Ødum 2006-02-22 01:24:13 UTC
Created attachment 80409 [details]
Dmesg with vanilla-kernel 2.6.16-r4

I used vanilla kernel - hope that is the right one. Unfortunally didn't neighter the keyboard or mouse work.
Comment 25 Daniel Drake (RETIRED) gentoo-dev 2006-02-22 11:21:28 UTC
Please file an input bug for this at http://bugzilla.kernel.org. Keep it simple and stick to the non-working case, i.e. you should report:

- you connect directly to ps/2 with the converter
- 2.6.14 worked, 2.6.15 doesnt, 2.6.16-rc4 doesnt

You should post dmesg output from 2.6.14 and 2.6.16-rc1 (i.e. comment #22 and comment #24).

You should also emerge dmidecode and post the output from running "dmidecode".

When you have opened the new bug, please post the new URL here.
Comment 26 Nicolai Marck Ødum 2006-02-23 03:41:04 UTC
Problem solved - I updated the bios on my motherboard: GIGABYTE GA-K8NMF-9  from version F4 to F9 and now everything works - why it helped I have no idea about.

Motherboard bios link: http://tw.giga-byte.com/Support/Motherboard/BIOS_Model.aspx?ProductID=1911

Thx for the help :-)
Comment 27 Daniel Drake (RETIRED) gentoo-dev 2006-02-23 04:04:18 UTC
Ok, thanks for letting us know.