Bug 148769 - g15daemon-1.2.1.ebuild (New Package)
Bug#: 148769 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: jokey@gentoo.org Reported By: swapon@gmail.com
Component: Ebuilds
URL:  http://g15daemon.sourceforge.net/
Summary: g15daemon-1.2.1.ebuild (New Package)
Keywords:  EBUILD
Status Whiteboard: 
Opened: 2006-09-23 05:37 0000
Description:   Opened: 2006-09-23 05:37 0000
G15daemon takes control of the G15 keyboard, through the linux kernel uinput
device driver.

i did an ebuild for this package
this ebuild depends on:
dev-libs/libusb
dev-libs/libdaemon
app-misc/libg15 (see bug #148766 i did an ebuild for it too)

the daemon works correctly on amd64

------- Comment #1 From Alessio Cassibba (X-Drum) 2006-09-23 05:38:13 0000 -------
Created an attachment (id=97833) [details]
g15daemon-1.2.1.ebuild

g15daemon-1.2.1 ebuild (new package)
requires lib15 see bug #148766

------- Comment #2 From Alessio Cassibba (X-Drum) 2006-09-23 05:39:07 0000 -------
Created an attachment (id=97834) [details]
files/g15daemon-1.2.1.rc

g15daemon-1.2.1 init script for gentoo

------- Comment #3 From Alessio Cassibba (X-Drum) 2006-09-23 06:52:03 0000 -------
Created an attachment (id=97845) [details]
g15daemon-1.2.1.ebuild

g15daemon ebuild (new package)

-fixed some typos
-added INPUT_UINPUT check to the ebuild

------- Comment #4 From Robert Buchholz 2006-10-02 17:58:48 0000 -------
Ebuild is in Jokey's overlay[1] now and will be added to the tree.

Thanks a lot here, too!

[1] http://overlays.gentoo.org/dev/jokey/browser/trunk/app-misc/g15daemon

------- Comment #5 From Markus Ullmann 2006-10-04 13:17:28 0000 -------
In Tree now, thanks for the good work :)

------- Comment #6 From Grégoire Favre 2006-10-08 10:29:24 0000 -------
Trying to use it but it takes 100% cpu here with the following ligns in
/var/log/messages :
Oct  8 19:25:42 ar input: G15 Extra Keys as /class/input/input31
Oct  8 19:25:42 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
Oct  8 19:25:42 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
Oct  8 19:25:42 ar g15daemon[26668]: g15daemon 1.2.1 loaded
Oct  8 19:25:42 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
Oct  8 19:25:42 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
Oct  8 19:25:43 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
...
Oct  8 19:25:46 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
Oct  8 19:25:46 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
Oct  8 19:25:46 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
Oct  8 19:25:46 ar usb 1-8.1.3.4: usbfs: usb_submit_urb returned -28
... all the same till \infinity ???

I have put some info under : http://gregoire.favre.googlepages.com/linux
And emerge --info gives :
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 -march=k8 -pipe"
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 -march=k8 -pipe"
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

Any idea what's the problem could come from and how to solve it ? Thank !

------- Comment #7 From Alessio Cassibba (X-Drum) 2006-10-08 10:34:09 0000 -------
(In reply to comment #6)
> Trying to use it but it takes 100% cpu here with the following ligns in
> /var/log/messages :
[snip]
> Any idea what's the problem could come from and how to solve it ? Thank !
> 
i think there is something wrong with you current kernel,
here g15daemon is working fine (amd64 with gentoo-sources-2.6.17-r8)

------- Comment #8 From Markus Ullmann 2006-10-08 12:18:59 0000 -------
Please open a new bug if you have issues ;)

------- Comment #9 From Grégoire Favre 2006-10-08 13:27:28 0000 -------
OK, I opened this one :
http://bugs.gentoo.org/show_bug.cgi?id=150508