Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123341 - g15lcd-1.2.ebuild (New Package)
Summary: g15lcd-1.2.ebuild (New Package)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: LCD Herd
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-02-18 22:13 UTC by Eric Augustus
Modified: 2006-10-22 16:42 UTC (History)
2 users (show)

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


Attachments
g15lcd-1.2.ebuild (New Package) (g15lcd-1.2.ebuild.tar.gz,10.32 KB, application/octet-stream)
2006-02-18 22:16 UTC, Eric Augustus
Details
g15lcd-1.2.ebuild (New Package) (g15lcd-1.2.ebuild,1.19 KB, text/plain)
2006-02-19 09:18 UTC, Eric Augustus
Details
files/g15lcd-1.2.confd /etc/conf.d/g15lcd configuration file (g15lcd-1.2.confd,559 bytes, text/plain)
2006-02-19 11:04 UTC, Eric Augustus
Details
files/g15lcd-1.2.rc g15lcd rc-script (g15lcd-1.2.rc,1.08 KB, text/plain)
2006-02-19 11:06 UTC, Eric Augustus
Details
files/g15-helper (Simple bash script to interface to LCD) (g15-helper,1.96 KB, text/plain)
2006-02-19 11:09 UTC, Eric Augustus
Details
Updated g15lcd-1.2.ebuild (New Package) (g15lcd-1.2.ebuild,1.14 KB, text/plain)
2006-02-19 11:16 UTC, Eric Augustus
Details
g15lcd-1.3.ebuild (g15lcd-1.3.ebuild,1.24 KB, text/plain)
2006-07-09 08:01 UTC, antst
Details
files/g15lcd-1.3.rc g15lcd rc-script (g15lcd-1.3.rc,1.10 KB, text/plain)
2006-07-09 08:02 UTC, antst
Details
files/g15lcd-1.3.confd /etc/conf.d/g15lcd configuration file (g15lcd-1.3.confd,555 bytes, text/plain)
2006-07-09 08:03 UTC, antst
Details
files/g15lcd-1.2.conf /etc/g15lcd.conf configuration file (g15lcd-1.3.conf,193 bytes, text/plain)
2006-07-09 08:04 UTC, antst
Details
files/g15lcd-1.2.conf /etc/g15lcd.conf configuration file (g15lcd-1.3.conf,194 bytes, text/plain)
2006-07-09 08:15 UTC, antst
Details
Updated g15lcd-1.3.ebuild (g15lcd-1.3.ebuild,1.26 KB, text/plain)
2006-07-09 08:20 UTC, antst
Details
files/g15-helper (Simple bash script to interface to LCD) (g15-helper-1.3,2.17 KB, text/plain)
2006-07-09 08:20 UTC, antst
Details
files/g15-helper-1.3 (Simple bash script to interface to LCD) (g15-helper-1.3,2.17 KB, text/plain)
2006-07-09 08:21 UTC, antst
Details
(Updated) files/g15-helper-1.3 (Simple bash script to interface to LCD) (g15-helper-1.3,2.58 KB, text/plain)
2006-07-09 10:15 UTC, antst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Augustus 2006-02-18 22:13:05 UTC
Please find attached g15lcd-1.2.ebuild.tar.gz.

g15lcd is a driver for the Logitech G15 keyboard that depends on libusb to control the LCD display and the extra keys. The g15lcd driver provides users the ability to display text and images on the LCD display, and program the extra keys using unique key scancodes.

I suggest app-misc/g15lcd for installation.
Comment 1 Eric Augustus 2006-02-18 22:16:56 UTC
Created attachment 80146 [details]
g15lcd-1.2.ebuild (New Package)

The g15lcd ebuild depends on libusb, and of course, a Logitech G15 keyboard.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-19 00:01:00 UTC
Attach the ebuild as plain text and reopen, please.
Comment 3 Eric Augustus 2006-02-19 09:18:00 UTC
Created attachment 80190 [details]
g15lcd-1.2.ebuild (New Package)

Ok, resubmitted just the ebuild for g15lcd. 

The ebuild requires an rc-script and conf.d file that is separate from the distribution file. Since this is my first ebuild submission, I wasn't sure how to provide the supporting files other than by a tar file.

I also failed to mention that I'm submitting this ebuild for Philip Lawatsch <philip@lawatsch.at>, who wrote g15lcd, and is the maintainer.
Comment 4 Eric Augustus 2006-02-19 09:19:25 UTC
As requested, attached the ebuild as plain text, and reopening.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-02-19 09:22:21 UTC
(In reply to comment #3)
> The ebuild requires an rc-script and conf.d file that is separate from the
> distribution file. Since this is my first ebuild submission, I wasn't sure how
> to provide the supporting files other than by a tar file.

Attach them as plaintext as well.
Comment 6 Eric Augustus 2006-02-19 11:04:34 UTC
Created attachment 80209 [details]
files/g15lcd-1.2.confd /etc/conf.d/g15lcd configuration file

An /etc/conf.d file for g15lcd. It defines the default variables used by the g15lcd rc-script.
Comment 7 Eric Augustus 2006-02-19 11:06:07 UTC
Created attachment 80210 [details]
files/g15lcd-1.2.rc g15lcd rc-script

An rc-script for g15lcd to start the g15lcd driver at boot time. It depends on /etc/conf.d/g15lcd configuration file.
Comment 8 Eric Augustus 2006-02-19 11:09:32 UTC
Created attachment 80211 [details]
files/g15-helper (Simple bash script to interface to LCD)

g15-helper is a simple bash script that is not included in the distribution file. It is provided for users to format text or images to display on the G15 LCD, but is not required to use the g15lcd driver.
Comment 9 Eric Augustus 2006-02-19 11:16:19 UTC
Created attachment 80213 [details]
Updated g15lcd-1.2.ebuild (New Package)

Updated ebuild. Removed the example text and image files, which aren't needed for install.
Comment 10 Eric Augustus 2006-02-19 11:19:59 UTC
Added the rc-script (g15lcd-1.2.rc), /etc/conf.d configuration file (g15lcd-1.2.confd), and sample script (g15-helper) as requested. The files are needed for the g15lcd-1.2 ebuild to work. 

The added files go into g15lcd/files.
Comment 11 Alessio Cassibba (X-Drum) 2006-06-28 12:35:07 UTC
stable for my system (amd64) it works like a charm
thanks for the ebuild
Comment 12 antst 2006-07-09 07:59:30 UTC
OK, original author seems to be forgot about this project, so I took my new G15 in hands and wrote new version of the code. It now can use FreeType for font rendering, so It can use any extra fonts which you can define for program in config file(bitmap, TTF or what else freetype can handle).

Comment 13 antst 2006-07-09 08:01:40 UTC
Created attachment 91287 [details]
g15lcd-1.3.ebuild
Comment 14 antst 2006-07-09 08:02:29 UTC
Created attachment 91288 [details]
files/g15lcd-1.3.rc g15lcd rc-script
Comment 15 antst 2006-07-09 08:03:21 UTC
Created attachment 91289 [details]
files/g15lcd-1.3.confd /etc/conf.d/g15lcd configuration file
Comment 16 antst 2006-07-09 08:04:06 UTC
Created attachment 91290 [details]
files/g15lcd-1.2.conf /etc/g15lcd.conf configuration file
Comment 17 antst 2006-07-09 08:15:53 UTC
Created attachment 91291 [details]
files/g15lcd-1.2.conf /etc/g15lcd.conf configuration file
Comment 18 antst 2006-07-09 08:20:12 UTC
Created attachment 91292 [details]
Updated g15lcd-1.3.ebuild
Comment 19 antst 2006-07-09 08:20:57 UTC
Created attachment 91293 [details]
files/g15-helper (Simple bash script to interface to LCD)
Comment 20 antst 2006-07-09 08:21:45 UTC
Created attachment 91294 [details]
files/g15-helper-1.3 (Simple bash script to interface to LCD)
Comment 21 antst 2006-07-09 09:10:32 UTC
BTW, version 1.3 supports background images for text (XOR mask applied).
Comment 22 antst 2006-07-09 10:15:28 UTC
Created attachment 91303 [details]
(Updated) files/g15-helper-1.3 (Simple bash script to interface to LCD)

Forgot to fix some stuff for version 1.3
Comment 23 Alessio Cassibba (X-Drum) 2006-07-10 07:49:41 UTC
hi, i'm not able to use g15lcd anymore:

the daemon starts but after 2 seconds it stops and i got a segfault error (dmesg):
g15lcd[29750]: segfault at 000000010050f437 rip 00002b72b1c09056 rsp 00007ffffffe6848 error 4

my platform is amd64
emerge info:
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.1
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="it"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly offensive opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_joystick input_devices_vmmouse kernel_linux linguas_it userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 24 antst 2006-07-10 08:56:56 UTC
(In reply to comment #23)
> hi, i'm not able to use g15lcd anymore:

Is it my version, 1.3 ?

If so, try to reemerge it. Yesterday I've put on a server wrong archive.
But delete /usr/portage/distfiles/g15lcd-1.3.tar.bz2 before.
Comment 25 Alessio Cassibba (X-Drum) 2006-07-10 09:38:03 UTC
(In reply to comment #24)

> Is it my version, 1.3 ?
> 
> If so, try to reemerge it. Yesterday I've put on a server wrong archive.
> But delete /usr/portage/distfiles/g15lcd-1.3.tar.bz2 before.
> 
yes, it is, 
erased the sources and remered the package, but the problem is still
here, it's a kernel issue? 
it worked with the "old" kernel 2.6.16-gentoo-r9
now i'm running 2.6.16-gentoo-r12
Comment 26 antst 2006-07-11 10:08:13 UTC
(In reply to comment #25)
> it worked with the "old" kernel 2.6.16-gentoo-r9
> now i'm running 2.6.16-gentoo-r12

I wrote it with 2.6.15-r7. yesterday I've updated my kernel to 2.6.17 finally. Code seems to work. 

I'll look at it. But don't sure that this is kernel issue.


Comment 27 antst 2006-07-11 10:14:04 UTC
BTW, I've made a patch for lcd4linux G15 driver (rewrote it, it's more correct). So lcd4linux now stable and also supports G15 keyboard LCD and extra-keys.

Comment 28 Alessio Cassibba (X-Drum) 2006-07-11 13:13:55 UTC
(In reply to comment #27)
> BTW, I've made a patch for lcd4linux G15 driver (rewrote it, it's more
> correct). So lcd4linux now stable and also supports G15 keyboard LCD and
> extra-keys.
> 

so what this means?
i have to use lc4linux instead of g15lcd,
or you are working on a new version of g15lcd?

sorry but i dont understand, anyway thanks again for
support
Comment 29 antst 2006-07-11 15:49:37 UTC
> so what this means?
> i have to use lc4linux instead of g15lcd,
> or you are working on a new version of g15lcd?

Both :)
You can use lcd4linux? in this case you have to ask me for patch against CVS version. Either wait until I'll fix g15lcd. I'm going to revrite a bit, to have option to support Xwindows on this screen :)
Comment 30 Alessio Cassibba (X-Drum) 2006-07-11 16:18:55 UTC
(In reply to comment #29)

> You can use lcd4linux? in this case you have to ask me for patch against CVS
> version. 
no i cant/wont because is still hard masked for my arch

> Either wait until I'll fix g15lcd. I'm going to revrite a bit, to have
> option to support Xwindows on this screen :)
the second option wins imho, I will wait for a fixed version of g15lcd :D
thanks again! 

Comment 31 antst 2006-07-16 12:14:22 UTC
Update about current status of development.

I decided to split driver into kernel space part and user space part.
Because, handling of keypresses in user space has some disadvantages. Probably you've notices that with current driver  (v1.2 and v1.3) key handling far from ideal (some percent of lost key events)

So, now I'm working in linux kernel driver for G15 keyboard, which will provide key handling and basic LCD functionality (it will draw of framebuffer content on the screen).

And rest will be converted to userspace program(s), which will prepare framebuffer content. Also LED handling(for Mx keys) will be done in standard way.
In principal, in this case we have option to submit kernel driver to kernel tree, and will have some freedom of userspace level applets (I'll provide two of them, for old g15lcd-like behavior and for X11-on-G15). It would be nice, if someone, who has knoledges about console framebiuffer, will appear  one day and help with console framebuffer driver for G15 LCD. To be able to run shell on this screen and use applications, which are written for console framebuffer. I guess it is more usefull, than X server on LCD.


Comment 32 Roger 2006-08-27 22:02:59 UTC
G15INPUT_PATH=/dev/misc/uinput

should be:

G15INPUT_PATH=/dev/misc/uinput

Right?  It's where my gentoo/udev puts the uinput device.
Comment 33 Robert Buchholz (RETIRED) gentoo-dev 2006-10-05 02:50:10 UTC
One of the g15 developers, Anthony J. Mirabella, wrote to me:
"G15LCD is no longer developed as all of its features are present in the other tools. Any new features will go into the new tools and not G15LCD."

The "other tools" (libg15{,render}, g15{composer,daemon}) are in Portage now. Does anyone still have a need for this in portage?
Comment 34 Markus Ullmann (RETIRED) gentoo-dev 2006-10-09 14:51:27 UTC
As we have an LCD alias now, reassigning, sorry for bugspam
Comment 35 Markus Ullmann (RETIRED) gentoo-dev 2006-10-22 16:42:56 UTC
So after two weeks of inactivity, marking as WONTFIX until someone sees a need for it.