Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127902 - usb mouse randomly freezes in xorg with pl2303 serial converter
Summary: usb mouse randomly freezes in xorg with pl2303 serial converter
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 13:08 UTC by Jan Essert
Modified: 2006-05-10 08:04 UTC (History)
1 user (show)

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


Attachments
first dmesg (dmesg_1,14.31 KB, text/plain)
2006-04-24 22:41 UTC, Jan Essert
Details
second dmesg (dmesg_2,13.97 KB, text/plain)
2006-04-24 22:46 UTC, Jan Essert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Essert 2006-03-28 13:08:45 UTC
Hello,

I have a Logitech Mouse Man Wheel USB and a Siemens Mobile Phone Connector (kernel module pl2303).

If I leave my PC unattended for about 5 minutes or sometimes even don't move the mouse, the mouse cursor freezes. This only seems to happen if I have plugged in the pl2303 device as well.

I'm not quite sure, but I think it once even happened while I moved the mouse.

I've tried with the mouse-Driver and with evdev.

with the mouse-driver, after a freeze I can change to console 1 and back and everything works again.

with evdev, not even 'rmmod usbhid; modprobe usbhid' helps.

With evdev, a cat /dev/input/mice or cat /dev/input/event? shows no output when the mouse has frozen (only before modprobing usbhid, of course. Afterwards it works again, but somehow xorg doesn't seem to care).
With mouse, I haven't tested that yet, and can't do that at the moment (I'm not at the machine at present).

Seems to be a kernel bug to me ...
Any thoughts? Suggestions? Things I could test/try?

emerge info:
Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 AMD Athlon(tm) processor
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/initng /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O2 -pipe -fomit-frame-pointer -m3dnow -mmmx -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://mirror.isp.net.au/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo-x86-portage/"
USE="x86 3dnow 3dnowext X alsa apm avi berkdb bitmap-fonts bzip2 crypt cups dri dvd dvdr eds emboss encode flac foomaticdb fortran gdbm gif gstreamer gtk2 java jpeg kde kdeenablefinal kdexdeltas kipi libg++ libwww mad mikmod mmx mmxext mp3 mpeg musepack mysql ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam pdflib perl pic png python qt quicktime readline real samba sdl spell ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs xine xml2 xv xvid xvmc zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, PORTDIR_OVERLAY
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-04-01 04:47:41 UTC
Please enable CONFIG_USB_DEBUG and post a "dmesg" dump after a hang has occurred.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-04-16 08:39:59 UTC
see comment #1
Comment 3 Jan Essert 2006-04-24 22:39:58 UTC
sorry for the delay, I was on vacation.

I have done what you've asked - unfortunately you won't see much - I suppose, as I see no msg in dmesg when the mouse freezes.

I'll attach two different dmesgs. The freeze always occurs directly before the 'deregistering driver usbhid', this is when I did

rmmod usbhid; modprobe usbhid,

which brings the device back to life :)
Comment 4 Jan Essert 2006-04-24 22:41:15 UTC
Created attachment 85425 [details]
first dmesg
Comment 5 Jan Essert 2006-04-24 22:46:05 UTC
Created attachment 85426 [details]
second dmesg

I don't see any significant difference - this is just to be sure
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-04-26 14:13:09 UTC
You are right, theres nothing obvious happening there. Please reproduce this on the latest development kernel (currently 2.6.17-rc2) so that we can move towards reporting upstream.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-05-10 08:04:38 UTC
see comment #6