Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290429 - sys-kernel/gentoo-sources-2.6.31-r3 does not detect Logitech Keyboard if it plugged via USB hub (ehci_hcd)
Summary: sys-kernel/gentoo-sources-2.6.31-r3 does not detect Logitech Keyboard if it p...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://bugzilla.kernel.org/show_bug.c...
Whiteboard: linux-2.6.31
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-25 05:49 UTC by Anton Bolshakov
Modified: 2009-11-04 16:23 UTC (History)
0 users

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


Attachments
add back the call to addsychronize_rcu (addsynchronize-rcu-call.patch,374 bytes, patch)
2009-10-31 23:30 UTC, Mike Pagano
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2009-10-25 05:49:56 UTC
It looks like a kernel bug, but I'll file it here first.
I'm using AlcorMicro usb hub as an extension for keyboard and mouse. Kernel does not detect keyboard during boot or then I connect hub with keyboard attached ( I tried with/without mouse)
I have to unplug and plug keyboard back to the hub every time.
There is no such problem with mouse though. I tried it with Windows XP as well and it worked fine.
Here is a log file with the problem and my action:

Oct 25 13:35:12 kde4 usb 2-1: new high speed USB device using ehci_hcd and address 10
Oct 25 13:35:12 kde4 usb 2-1: configuration #1 chosen from 1 choice
Oct 25 13:35:12 kde4 hub 2-1:1.0: USB hub found
Oct 25 13:35:12 kde4 hub 2-1:1.0: 4 ports detected
Oct 25 13:35:12 kde4 usb 2-1.2: new full speed USB device using ehci_hcd and address 11
Oct 25 13:35:12 kde4 usb 2-1.2: unable to read config index 0 descriptor/start: -32
Oct 25 13:35:12 kde4 usb 2-1.2: chopping to 0 config(s)
Oct 25 13:35:12 kde4 usb 2-1.2: string descriptor 0 read error: -32
Oct 25 13:35:12 kde4 usb 2-1.2: no configuration chosen from 0 choices
Oct 25 13:35:12 kde4 usb 2-1.4: new low speed USB device using ehci_hcd and address 12
Oct 25 13:35:12 kde4 usb 2-1.4: configuration #1 chosen from 1 choice
Oct 25 13:35:12 kde4 input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1.4/2-1.4:1.0/input/input13
Oct 25 13:35:12 kde4 generic-usb 0003:046D:C01D.0007: input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.7-1.4/input0
Oct 25 13:35:23 kde4 usb 2-1.2: USB disconnect, address 11
<----------- I disconnected keyboard here and plugged it back ---------->
Oct 25 13:35:27 kde4 usb 2-1.2: new full speed USB device using ehci_hcd and address 13
Oct 25 13:35:27 kde4 usb 2-1.2: configuration #1 chosen from 1 choice
Oct 25 13:35:27 kde4 input: Logitech Logitech Illuminated Keyboard as /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1.2/2-1.2:1.0/input/input14
Oct 25 13:35:27 kde4 generic-usb 0003:046D:C318.0008: input: USB HID v1.11 Keyboard [Logitech Logitech Illuminated Keyboard] on usb-0000:00:1d.7-1.2/input0
Oct 25 13:35:27 kde4 input: Logitech Logitech Illuminated Keyboard as /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1.2/2-1.2:1.1/input/input15
Oct 25 13:35:27 kde4 generic-usb 0003:046D:C318.0009: input,hiddev96: USB HID v1.11 Device [Logitech Logitech Illuminated Keyboard] on usb-0000:00:1d.7-1.2/input1

------------------------------------------
bash# lsusb
Bus 002 Device 013: ID 046d:c318 Logitech, Inc.
Bus 002 Device 012: ID 046d:c01d Logitech, Inc. MX510 Optical Mouse
Bus 002 Device 010: ID 058f:6254 Alcor Micro Corp.
Bus 002 Device 001: ID 1d6b:0002

------------------------------------------

emerge --info                                             
Portage 2.2_rc46 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r3 i686)                                                                                                       
=================================================================                                        
System uname: Linux-2.6.31-gentoo-r3-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1   
Timestamp of tree: Sun, 25 Oct 2009 02:30:01 +0000                                                       
app-shells/bash:     4.0_p28                                                                             
dev-java/java-config: 2.1.9-r1                                                                           
dev-lang/python:     2.6.2-r1                                                                            
dev-util/cmake:      2.6.4                                                                               
sys-apps/baselayout: 2.0.1                                                                               
sys-apps/openrc:     0.5.2-r1                                                                            
sys-apps/sandbox:    1.6-r2                                                                              
sys-devel/autoconf:  2.13, 2.63-r1                                                                       
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2                                                          
sys-devel/binutils:  2.18-r3                                                                             
sys-devel/gcc-config: 1.4.1                                                                              
sys-devel/libtool:   2.2.6a                                                                              
virtual/os-headers:  2.6.27-r2                                                                           
ACCEPT_KEYWORDS="x86"                                                                                    
CBUILD="i686-pc-linux-gnu"                                                                               
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                                    
CHOST="i686-pc-linux-gnu"                                                                                
CONFIG_PROTECT="/etc /usr/share/config"                                                                  
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"               
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                                  
DISTDIR="/usr/portage/distfiles"                                                                         
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                     
GENTOO_MIRRORS="http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sectools /usr/local/portage"
SYNC="rsync://gentoo.o0o.nu/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt dbus dri dts dvd dvdr eds emboss encode evo firefox flac fortran gdbm gif gpm hal iconv ipv6 isdnlog java jpeg kde libnotify mad mikmod modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis win32codecs x264 x86 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" LIRC_DEVICES="sir" USERLAND="GNU" VIDEO_CARDS="intel vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Anton Bolshakov 2009-10-27 10:27:33 UTC
I have narrowed down the problem.
It is working fine with gentoo-source-2.6.30-r6, but doesn't work with 2.6.30-r8 and above.

Comment 2 Mike Pagano gentoo-dev 2009-10-31 23:30:49 UTC
Created attachment 208910 [details, diff]
add back the call to addsychronize_rcu

Can you install gentoo-sources-2.6.31-r4, apply this patch, test and post back the result
Comment 3 Anton Bolshakov 2009-11-01 00:05:40 UTC
It didn't help, sorry.
Comment 4 Mike Pagano gentoo-dev 2009-11-01 00:08:38 UTC
This looks like the same issue as https://bugs.launchpad.net/ubuntu/+source/linux/+bug/445160, but maybe not.

Can you post this bug upstream to http://bugzilla.kernel.org and then post the url back here.
Comment 5 Anton Bolshakov 2009-11-01 00:28:19 UTC
submitted to upstream
http://bugzilla.kernel.org/show_bug.cgi?id=14524
Comment 6 Mike Pagano gentoo-dev 2009-11-04 16:23:33 UTC
Thanks, we will keep an eye on the upstream bug.