Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150508 - app-misc/g15daemon uses 100% CPU
Summary: app-misc/g15daemon uses 100% CPU
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
URL: http://g15daemon.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-08 13:26 UTC by Grégoire Favre
Modified: 2006-10-09 05:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grégoire Favre 2006-10-08 13:26:28 UTC
As written in : http://bugs.gentoo.org/show_bug.cgi?id=148769
I can't use g15daemon because it always write 
usbfs: usb_submit_urb returned -28
in my syslogd which takes 100% of my CPU.
I also put on the ebuild announcement some other info.
I must say that I get the same result with all kernels revisions I tried (lots...), all with exactly same behaviour.
If I compil it myself without ebuild from svn I have the same problem also...

Please ask me for any needed infos in order to solve this issue :)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 13:32:43 UTC
emerge --info, please.
Comment 2 Grégoire Favre 2006-10-08 13:49:27 UTC
Sorry, didn't want to post it twice, here it is :

Portage 2.1.2_pre2-r6 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-mm2 x86_64)
=================================================================
System uname: 2.6.18-mm2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Sun, 08 Oct 2006 09:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://www.gigaload.org/gentoo.org/ ftp://mirror.switch.ch/mirror/gentoo/"
LC_ALL="en_GB.iso8859-1"
LDFLAGS="-Wl,-O1 "
LINGUAS="en ko"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/vmware /usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex 64bit 7zip X Xaw3d a52 aac aalib acl acpi aim aio alsa amr ansi aotuv apache2 apm asf async atlas auctex audacious audiofile avahi bash-completion batch berkdb bidi bitmap-fonts blas bonjour bonobo browserplugin buffysize buttons bzip2 bzlib cairo caps cdda cddb cdio cdparanoia cdr cg chm chroot cli corba crypt cscope css csv ctype cups curl curlwrappers daap dbus dga dio directfb divx divx4linux djbfft djvu dlloader doc dri dts dv dvb dvd dvdr dvdread dvi dynagraph ecc effects elibc_glibc encode exif expat exscalibar ext-doc ext-dvi ext-gnumeric ext-koffice ext-kpresenter ext-kspread ext-kword ext-lyx ext-man ext-openoffice ext-pdf ext-ppt ext-ps ext-rpm ext-rtf ext-tex ext-xls extrafilters fame fat fbcon ffmpeg fftw firefox flac flood fltk fontconfig foomaticdb fortran fping fpx freetext gb gcl gd gdal gdbm general gg ggi gif gimp gimpprint ginac glibc-omitfp glitz glut glx gmedia gmp gmtfull gmthigh gmtsuppl gmttria gnome gnutls gopher gpgme gpm grammar graphviz grass gs gstreamer gtalk gtk gtk2 gtkhtml guile h323 hal hdf5 httpd icq id3 idn ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irc isdnlog ithreads jabber java javascript jbig jikes jp2 jpeg jpeg2k kernel_linux kig-scripting lame lapack latex lcms ldap libcaca libedit libg++ libsamplerate libtommath libvisual libwww linguas_en linguas_ko live lj lm_sensors logitech-mouse logrotate lzo mad matroska mbox mikmod mime mimencode mjpeg mng mod mono motif moznocompose moznoirc moznomail moznoroaming mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer msn msnextras musepack mythtv nautilus ncurses nethack netpbm network nfs nls nntp normalizemime nptl nptlonly nsplugin nvidia nvram offensive ogg oggvorbis ole on-the-fly-crypt openexr opengl openssl oscar pam pcre pda pdf perl player plotutils png posix ppds pppd preview-latex python pyzor qhull qt3 qt4 quicktime rar readline recode reflection reiser4 reiserfs rss rtc rtsp sasl screen sdl session shout sid silc slang slp smime sms sndfile sourcecaps sox speex spell spl srt sse-filters ssl stream subtitles svg svgz szip tcltk tcpd tetex theora thesaurus threads tiff tomsfastmath tools transcode truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 uudeview v4l v4l2 vcd vcdimager vdr video_cards_ati video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vga vim vim-pager vim-with-x vlm vorbis webdav wma wma123 wmf wmp wordperfect wv wxgtk1 wxwindows x264 xanim xattr xchattext xext xfs xine xinerama xinetd xml xml2 xmms xorg xpm xprint xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2006-10-08 16:17:59 UTC
How did you compile UINPUT support (into kernel or module)?
Please give me the output of
  grep UINPUT /usr/src/linux/.config

If it is `m' for module, check `lsmod' for its state (is it loaded?).

If it is not loaded, please run
  modprobe uinput

Then retry g15daemon.
Comment 4 Grégoire Favre 2006-10-08 16:41:41 UTC
No it's compiled in the kernel, and I had also tried with it as a module : same result.
I think g15daemon try to access something uncorecctly, but it could be undirected to g15 keyboard.
In case that could help, I have configure, dmidecode, lspci under : 
http://gregoire.favre.googlepages.com/linux
Not related, but in "/usr/share/g15daemon/contrib" a "perl testbindings.pl" gives :
Can't locate G15Daemon.pm in @INC (@INC contains: /etc/perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.8 /usr/lib64/perl5/vendor_perl/5.8.5 /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.8 /usr/lib64/perl5/site_perl/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl .) at testbindings.pl line 1.
BEGIN failed--compilation aborted at testbindings.pl line 1.

Starting usbd before g15daemon don't seems to change anything neither...

Thank.
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2006-10-08 17:00:29 UTC
By the way, error 28 is:
  ENOSPC /* No space left on device */

Do you have other devices plugged in via USB at the same controller or via a hub?
If so, please try unplugging all other devices.
Comment 6 Robert Buchholz (RETIRED) gentoo-dev 2006-10-08 18:48:19 UTC
(In reply to comment #4)
> Not related, but in "/usr/share/g15daemon/contrib" a "perl testbindings.pl"
> gives :
> Can't locate G15Daemon.pm in @INC (@INC contains: /etc/perl
...

The current ebuild does not install the perl language bindings (python neither). This will be fixed in a revision bump to come. Thanks for the hint.
Comment 7 Grégoire Favre 2006-10-09 00:54:54 UTC
If I remove the "hub" from my monitor (Dell 2405FP with two usb ports and cards reader) the message is gone, so the bug is between this.
Any idea on how to use both ?
Thank :)
Comment 8 Robert Buchholz (RETIRED) gentoo-dev 2006-10-09 03:55:01 UTC
This seems to be an upstream bug, and I filed it at the project's bugtracker [1].

I don't think there's much you can do about it right now but to buy an extra USB controller or remove the hub. You can also try to have a a look at a similar problen in [2].

I think this bug can be closed when the upstream maintainer responds at his tracker.

[1] http://sourceforge.net/tracker/index.php?func=detail&aid=1573644&group_id=172261&atid=861060
[2] http://ubuntuforums.org/showthread.php?t=247646
Comment 9 Grégoire Favre 2006-10-09 05:55:35 UTC
Oh :-)
I have found one combinaison of usb ports on my computer (I got 8) which don't have this problem !!!

Thank you very much and have a great day :)