I have a laptop (HP 6910p) which is plugged into a docking station which is connected to a KVM (IOGEAR GCS1764) and when my mouse (Logitech MX1100) is connected to the KVM console port it fails to work correctly with the laptop, however, if the mouse is plugged directly into the laptop it works as expected. I have been able to verify that the mouse does work correctly through the KVM as I have a second system (Dell Precision 530) connected to the KVM and the mouse works correctly on that system. I've tried running several different kernels on the laptop, including gentoo-sources-{2.6.27-r8,2.6.27-r10,2.6.28-r4}, and the same behavior is shown on each release. I will attach my kernel configuration and dmesg output (mouse is identified as "idVendor=046d, idProduct=c526") from 2.6.28-gentoo-r4 to this bug. I've tried to run "lsusb" when the mouse is attached but it hangs and never returns, "lsusb" runs normally when the mouse is not attached. Let me know if you need any additional information, I'm more than happy help try and resolve this issue. Reproducible: Always Steps to Reproduce: 1. Boot system 2. Plug in mouse Actual Results: See attached dmesg output. Expected Results: Working mouse. Portage 2.1.6.10 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.28-gentoo-r4-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0 Timestamp of tree: Tue, 24 Mar 2009 13:00:08 +0000 app-shells/bash: 4.0_p10-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r15, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r5 dev-util/cmake: 2.6.3 sys-apps/baselayout: 1.12.12 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j2" 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/access-hp /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 a52 aac acl acpi aiglx aim alsa amarok amazon amr amrnb amrwb animgif arts asf async avantgo berkdb bittorrent bl bluetooth branding buttons bzip2 cairo calendar cdb cddb cdparanoia cdr cdrom cli colordiff connectionstatus cpudetection cracklib crypt cscope css cups dbus dga divx dnd doc dri dv dvb dvd dvdnav dvdr dvdread eds emboss encode eolconv esd evo examples exif fam fat fbcon fbsplash ffmpeg firefox flac fortran ftp gd gdbm gif gimp glep glut gmedia gnome gphoto2 gpm gstreamer gtk hal hdri highlight htmlhandbook iconv id3 ieee1394 imagemagick imap ipv6 irc isdnlog jabber java javascript jpeg jpeg2k kde kdeprefix lame ldap libnotify libwww live logitech-mouse lzo lzw mad matrox midi mikmod mime mjpeg mmap mng mozilla moznocompose moznoirc moznomail moznoroaming mp3 mp4 mpeg mpeg2 mplayer msn mtp mudflap musicbrainz na_dd na_icons ncurses netmeeting nfs nls nptl nptlonly nsplugin ofx ogg openexr opengl openmp pam pcre pda pdf perl pmu png pnm posix ppds pppd python qemu qt3 qt3support qt4 quicktime rdesktopreadline realmedia reflection rss rtc ruby samba scanner sdl sdl-image session sftp sharedmem shout smp sms snmp sockets sound spell spl ssl startup-notification subversion svg sysfs syslog taglib tagwriting tcpd templates threads tiff tivo translator truetype unicode usb uudeview v4l v4l2 vcd vim-with-x visualizationvnc vorbis webdav webkit wifi win32codecs wma wmf wmp x264 x86 xanim xcompositexext xft xim xine xml xml2 xorg xpm xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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_cacheenv 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="evdev keyboard mousesynaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 186145 [details] Output from dmesg Output from dmesg when the mouse is attached
Created attachment 186146 [details] Kernel config Kernel configuration for 2.6.28-gentoo-r4
Can you test with gentoo-sources-2.6.29.
Same problem with gentoo-sources-2.6.29, I've updated the kernel config and dmesg output.
Created attachment 186670 [details] Kernel config for gentoo-sources-2.6.29
Created attachment 186671 [details] Dmesg output for gentoo-sources-2.6.29
I don't know anything about this hardware but I saw something about connecting the receiver to the KVM mouse port. Does that make sense and is something that can be tried?
That is the problem, if I connect the mouse/receiver to the KVM's mouse port it fails; if I connect the mouse/receiver directly to the laptop it works. Right now the workaround is that I have to keep moving the mouse/receiver manually between systems instead of letting the KVM do it for me. Needless to say this is getting very annoying and I'd like to resolve this issue. Is there any more information I can provide to help? I'm very anxious to solve this problem.
Do you have another mouse to test with?
I do not currently have another working USB mouse (this new mouse replaced my previous mouse which died) but when I did everything worked fine. Also, I've determined that this problem does not appear to be hardware related as I can boot the laptop into windows with the mouse plugged into the KVM and everything works as expected. The problem appears to be caused by the combination of Linux and the mouse plugged into the KVM.
Can you attach lsusb -v with mouse attached directly.
Created attachment 188603 [details] Lsusb output for gentoo-sources-2.6.29-r1
Thanks for looking into this problem, hopefully the lsusb output will help.
Can you build a kernel with CONFIG_USB_DEBUG enabled, then boot the system without the mouse plugged in anywhere. *After* it has booted, plug in the usb mouse, run "dmesg" and attach the output here. Then run "lsusb -v", it will hang? Run dmesg again, look for any *new* messages at the end of the output again and note them here. Thanks!
Created attachment 191363 [details] Output from dmesg immediately after booting Data for information request in comment #14
Created attachment 191365 [details] Output from dmesg immediately after booting and mouse plugged into KVM Data for information request in comment #14
Created attachment 191366 [details] Output from dmesg immediately after booting with mouse plugged into KVM and after running "lsusb -v" Data for information request in comment #14
Created attachment 191367 [details] Kernel config for gentoo-sources-2.6.29-r1 Data for information request in comment #14
(In reply to comment #14) > Can you build a kernel with CONFIG_USB_DEBUG enabled, then boot the system > without the mouse plugged in anywhere. *After* it has booted, plug in the usb > mouse, run "dmesg" and attach the output here. > Then run "lsusb -v", it will hang? Run dmesg again, look for any *new* messages > at the end of the output again and note them here. Thanks! I've attached dmesg output for the system after it boots (1) but before plugging in the mouse, after plugging in the mouse (2) and finally after running "lsusb-v" (3). As noted previously, lsusb just hangs with no output so I wasn't able to capture anything useful from lsusb. If you need me to run any special patches to help instrument the USB code just let me know. Looking at the dmesg output, there was no change between the output in (2) and (3) but running diff between (1) and (2) yields the following at the bottom of the output: @@ -686,3 +641,45 @@ kjournald starting. Commit interval 5 s EXT3-fs warning: maximal mount count reached, running e2fsck is recommended EXT3 FS on dm-0, internal journal EXT3-fs: mounted filesystem with ordered data mode. +hub 1-2.4:1.0: state 7 ports 4 chg 0000 evt 0010 +hub 1-2.4:1.0: port 4, status 0101, change 0001, 12 Mb/s +hub 1-2.4:1.0: debounce: port 4: total 100ms stable 100ms status 0x101 +usb 1-2.4.4: new full speed USB device using ehci_hcd and address 6 +usb 1-2.4.4: ep0 maxpacket = 32 +usb 1-2.4.4: skipped 1 descriptor after interface +usb 1-2.4.4: skipped 1 descriptor after interface +usb 1-2.4.4: default language 0x0409 +usb 1-2.4.4: New USB device found, idVendor=046d, idProduct=c526 +usb 1-2.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 +usb 1-2.4.4: Product: USB Receiver +usb 1-2.4.4: Manufacturer: Logitech +usb 1-2.4.4: uevent +usb 1-2.4.4: usb_probe_device +usb 1-2.4.4: configuration #1 chosen from 1 choice +usb 1-2.4.4: adding 1-2.4.4:1.0 (config #1, interface 0) +usb 1-2.4.4:1.0: uevent +usbhid 1-2.4.4:1.0: usb_probe_interface +usbhid 1-2.4.4:1.0: usb_probe_interface - got id +input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2.4/1-2.4.4/1-2.4.4:1.0/input/input9 +generic-usb 0003:046D:C526.0003: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1a.7-2.4.4/input0 +usb 1-2.4.4: adding 1-2.4.4:1.1 (config #1, interface 1) +usb 1-2.4.4:1.1: uevent +usbhid 1-2.4.4:1.1: usb_probe_interface +usbhid 1-2.4.4:1.1: usb_probe_interface - got id +input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2.4/1-2.4.4/1-2.4.4:1.1/input/input10 +drivers/usb/core/file.c: looking for a minor, starting at 96 +generic-usb 0003:046D:C526.0004: input,hiddev96: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1a.7-2.4.4/input1 +drivers/usb/core/inode.c: creating file '006' +hub 1-2.4:1.0: state 7 ports 4 chg 0000 evt 0010 +usb 1-2.4.4: uevent +usb 1-2.4.4:1.0: uevent +usb 1-2.4.4: uevent +usb 1-2.4.4:1.0: uevent +usb 1-2.4.4: uevent +usb 1-2.4.4:1.1: uevent +usb 1-2.4.4: uevent +usb 1-2.4.4: reset full speed USB device using ehci_hcd and address 6 +hub 1-2.4:1.0: port 4 not reset yet, waiting 10ms +hub 1-2.4:1.0: state 7 ports 4 chg 0000 evt 0010 +usb 1-2.4.4: ep0 maxpacket = 32 +usbhid 1-2.4.4:1.1: forced unbind
Created attachment 195013 [details] Kernel config for gentoo-sources-2.6.30-r1
Created attachment 195014 [details] Output from dmesg with mouse plugged into KVM With kernel 2.6.30-r1 I can plug the mouse into the KVM and the system without any hangs but the mouse still does not work.
Created attachment 195015 [details] Output from lsusb for gentoo-sources-2.6.30-r1 With kernel 2.6.30-r1 I can plug the mouse into the KVM and run lsusb without any hangs.
It has been a while since I've seen any updates, any progress on this bug that you can share? I just booted 2.6.30-gentoo-r1 (see recent attachments) and the situation is marginally improved but the mouse still does not work. If there is anything I can do to help please let me know, this is growing increasingly frustrating. Thanks.
have you tried with gentoo-sources-2.6.30-r4?
(In reply to comment #24) > have you tried with gentoo-sources-2.6.30-r4? No, not yet. Is there any indication that this will fix the problem or are we just grasping at straws hoping a new kernel revision will magically solve things? I've supplied several logs w/o any real feedback about what may be going on - does anyone have any hunches yet? Do you need me to capture something else to help?
Same problems with gentoo-sources-2.6.30-r5
Hey Paul, sorry for keeping you waiting all this time. I take it you have enabled the "NoDCC" option on your Xorg, right? If you have the courage, I'd encourage you to submit this bug upstream. It will probably get things moving :) Thanks for the bug report!
Once you submit upstream, please attach the link to the bug in this report.
Where should I report this upstream? Pointers are appreciated ...
(In reply to comment #29) > Where should I report this upstream? Pointers are appreciated ... > You should file the bug in bugzilla.kernel.org under the Drivers -> Input Devices section. Just to double check, did you try the "NoDCC" option on your Xorg?