{10} All Tickets (copy) (110 matches)

  • List all tickets by priority.
  • Color each row based on priority.
  • If a ticket has been accepted, a '*' is appended after the owner's name

Results (1 - 100 of 110)

1 2
Ticket Summary Component Version Milestone Type Severity Owner Status Created
Description
#58 picoLCD + keypad ! lcd4linux None defect blocker anonymous assigned 03/08/07

Hi Micheal.

Now everything works fine, *BUT* the only problems is that I dont know ho to set every differnt widget on a differt key on my keypad !! Is this possible with lcd4linux? Because i create a simple program that read from stdin the hexcode refered to a key f* and everytime kill the process (lcd4linux) and put a new lcd4linux with a differnt conf for each different key. this solution its really bad.

Let me know if its possible to manage this trought lcd4linux.


#119 PICOLCD trixbox lcd4linux None defect blocker michael new 06/17/08

Hi, I use TrixBox?, an asterisk based CentOS 5 trixbox install lcd4linux software by yum i configure /etc/lcd4linux.conf to use PICOLCD because i have a picolcd and when i run lcd4linux -F i have drv_init(PicoLCD) failed: no such driver

please help me

excuse for my english


#54 picoLCD drivers compile errors. lcd4linux None defect normal michael closed 03/04/07

drv_picoLCD.o(.text+0x16): In function `drv_pL_send': /home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:162: undefined reference to `usb_interrupt_write' drv_picoLCD.o(.text+0x630): In function `drv_pL_init': /home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:100: undefined reference to `usb_debug' drv_picoLCD.o(.text+0x639):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:102: undefined reference to `usb_init' drv_picoLCD.o(.text+0x63e):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:103: undefined reference to `usb_find_busses' drv_picoLCD.o(.text+0x643):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:104: undefined reference to `usb_find_devices' drv_picoLCD.o(.text+0x648):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:105: undefined reference to `usb_get_busses' drv_picoLCD.o(.text+0x6b3):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:113: undefined reference to `usb_open' drv_picoLCD.o(.text+0x6c9):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:115: undefined reference to `usb_get_driver_np' drv_picoLCD.o(.text+0x705):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:120: undefined reference to `usb_detach_kernel_driver_np' drv_picoLCD.o(.text+0x720):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:126: undefined reference to `usb_set_configuration' drv_picoLCD.o(.text+0x73c):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:129: undefined reference to `usb_claim_interface' drv_picoLCD.o(.text+0x757):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:134: undefined reference to `usb_set_altinterface' drv_picoLCD.o(.text+0x77a):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:136: undefined reference to `usb_get_string_simple' drv_picoLCD.o(.text+0x79d):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:137: undefined reference to `usb_get_string_simple' drv_picoLCD.o(.text+0x7c0):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:138: undefined reference to `usb_get_string_simple' drv_picoLCD.o(.text+0x967): In function `drv_pL_quit': /home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:153: undefined reference to `usb_release_interface' drv_picoLCD.o(.text+0x973):/home/root/Downloads/lcd4linux-0.10.1-RC1/drv_picoLCD.c:154: undefined reference to `usb_close' collect2: ld returned 1 exit status make[1]: *** [lcd4linux] Error 1 make[1]: Leaving directory `/home/root/Downloads/lcd4linux-0.10.1-RC1' make: *** [all] Error 2 bash-3.1#


#37 string overflow in drv_Crystalfontz v1.42, drv_CF_send() lcd4linux defect blocker michael closed 07/13/06

unsigned char buffer[22] needs to be at least 24


#41 CrystalFontz CF635 : Buffer overflow after initialisation of layout lcd4linux defect blocker michael closed 08/20/06

Dear Sir,

I have a Suse 10.1 x86_64. I have a buffer overflow message when I do a lcd4linux -Fvvq with my CF635.

Please have a look to the dump bellow. Any idea?

Many thanks Hervé Display CF635 {

Icons 1 Driver 'Crystalfontz' Model '635' Port '/dev/ttyUSB0' Speed 115200 Contrast 16 Backlight 50

} Layout DefaultCF635 {

Row1 {

Col1 'OS'

} Row2 {

Col1 'CPU' Col10 'RAM'

} Row3 {

Col1 'Busy' Col10 'Rain' Col11 'BusyBar?'

} Row4 {

Col1 'Load' Col11 'LoadBar?'

}

}

solar:/home/root # lcd4linux -Fvvq

Version 0.10.1-CVS starting

plugin_cfg.c: Variable minute = '60000' (60000)

plugin_cfg.c: Variable tack = '100' (100)

plugin_cfg.c: Variable tick = '500' (500)

lcd4linux.c: initializing driver Crystalfontz

Crystalfontz: $Revision: 1.42 $

Crystalfontz: using model '635'

Crystalfontz: using port '/dev/ttyUSB0' at 115200 baud

removing stale lockfile /var/lock/LCK..ttyUSB0

Crystalfontz: display identifies itself as 'CFA635:h1.0,v1.4'

Crystalfontz: display type 'CFA635', hardware version 1.0, firmware version v1.4

Crystalfontz: reserving 1 of 8 user-defined characters for icons

Crystalfontz: using 4 GPI's and 12 GPO's

initializing layout 'DefaultCF635'

lcd4linux.c: starting main loop

*** buffer overflow detected ***: lcd4linux terminated

======= Backtrace: =========

/lib64/libc.so.6(chk_fail+0x2f)[0x2b5668038ebf]

lcd4linux[0x40f1e8]

lcd4linux[0x40f5d3]

lcd4linux[0x41fb7a]

lcd4linux[0x4097d5]

lcd4linux[0x40525c]

/lib64/libc.so.6(libc_start_main+0xf4)[0x2b5667f85154]

lcd4linux[0x404a79]

...


#7 virtual rows in RC10? lcd4linux 0.1 defect critical michael reopened 02/17/05

hi,

i need just a small hint i cant find around in the wiki documentation and in forums: how are the virtual rows working? i mean in wich position of the config file should i put rows, scroll and turn options?? i dont get also this little mess about sections.. the format changed i know.. for instance this is the old 9 format here? :

https://ssl.bulix.org/projects/lcd4linux/wiki/Sample_09 while this is the new? https://ssl.bulix.org/projects/lcd4linux/wiki/lcd4linux_conf right? they are not compatible i immagine..

so.. and..in reality there are also a couple more thinks.. if you have time to go trough them: i get also some errors about sensors at startup: Feb 17 13:03:56 scarpiera LCD4Linux[32205]: i2c_sensors: unable to autodetect i2c sensors! infacti i didnt get them to work (anyway i didnt get how would i set the sensors device in shfs.. here there is no clue: https://ssl.bulix.org/projects/lcd4linux/wiki/plugin_i2c_sensors an then other errors about compile time missing include..: Feb 17 13:03:56 scarpiera LCD4Linux[32206]: udelay: The file 'include/asm/msr.h' was missing at compile time. Feb 17 13:03:56 scarpiera LCD4Linux[32206]: udelay: Even if your CPU supports TSC, it will not be used! Feb 17 13:03:56 scarpiera LCD4Linux[32206]: udelay: You *really* should install msr.h and recompile LCD4linux! wht is this msr used for? advantages? i have such a file in my 2.6 kernel source tree but i didnt get ./configure to get it to see.. uhm..

ok, thanks a lot if U have time to go trough this, tent:wq


#42 problems 44780 lcd4linux 0.1 defect critical michael closed 08/23/06

hi i have a hd44780 lcd but i can't go on it, :( and i want a config for my lcd, can you give me a general hd44780 configuration and i will change it to my lcd

thks


#21 lcd driver for SC2002A lcd4linux defect normal michael closed 11/16/05

Hello

i problem for SC2002A because i don't know driver for lcd4linux. u can config simple for LCM Model SC2002A

Thank you very much

*i speak little english :(


#27 [patch] adds GPO for blinking LEDs on Crystal Fontz 635 lcd4linux enhancement normal michael closed 02/17/06

Simple patch included to enable GPO5-GPO12 for use in blinking LEDs. From bottom to top, green is GPO5,7,9 and 11. Red is GPO6,8,10, and 12. 0 off, 100 full on. Turn pairs like GPO5&6 on to produce an orange color.

GPO1-4 is for fan use, I think, and although it's accessible I didn't try it.

Example in config file to blink lights every other second:

Widget led {
  class 'GPO'
  expression strftime('%S',time())%2*100
  update 1000
}

Layout Default {
  GPO5 'led'
  GPO7 'led'
  GPO9 'led'
  GPO11 'led'
}

Here's the patch:

Index: drv_Crystalfontz.c
===================================================================
RCS file: /cvsroot/lcd4linux/lcd4linux/drv_Crystalfontz.c,v
retrieving revision 1.38
diff -u -r1.38 drv_Crystalfontz.c
--- drv_Crystalfontz.c  30 Jan 2006 06:25:49 -0000      1.38
+++ drv_Crystalfontz.c  17 Feb 2006 18:42:27 -0000
@@ -252,7 +252,7 @@
     {632, "632", 2, 16, 0, 0, 1, 0},
     {633, "633", 2, 16, 4, 4, 2, 18},
     {634, "634", 4, 20, 0, 0, 1, 0},
-    {635, "635", 4, 20, 0, 0, 3, 22},
+    {635, "635", 4, 20, 4, 12, 3, 22},
     {636, "636", 2, 16, 0, 0, 1, 0},
     {-1, "Unknown", -1, -1, 0, 0, 0, 0}
 };
@@ -675,6 +675,7 @@
 static int drv_CF_GPO(const int num, const int val)
 {
     static unsigned char PWM[4] = { 0, };
+    static unsigned char PWM3[2];
 
     int v = val;
 
@@ -684,11 +685,16 @@
        v = 100;
 
     PWM[num] = v;
+    PWM3[0] = num + 1;
+    PWM3[1] = v;
 
     switch (Protocol) {
     case 2:
        drv_CF_send(17, 4, PWM);
        break;
+    case 3:
+       drv_CF_send(34, 2, PWM3);
+       break;
     }
 
     return v;

#39 I've a problem with the mounting of my USB Display lcd4linux 0.9.11 defect normal michael closed 07/25/06

I've been Suse 8.2 and a CFA632-NFA-KU Display by Crystalfontz. My problem is that the LCD4Linux didnt connect to the Display. I think the problem is in the Config file of LCD4Linux, there who the port for the display is the port for the FTDI_SIO, if I mount that to a folder and set it in the configfile --> it doesnt work! Plz help me


#1 Update documentation documentation 0.1 None defect blocker michael closed 12/29/04

The documentation needs to be updated in order to comply with changes in 0.10.


#56 picoLCD my gosh! lcd4linux None defect blocker michael closed 03/06/07

My gosh.

-Hardware ok. -Firmware upgraded! -Debugs looks perfect. -Conf REALLY OK. (minimal conf) -strace looks good! what else?

DOESNT DISPLAY ANY F*K DATA !! going crazy. somebody help.

i attach strace and little debug.


#15 Device or resource busy lcd4linux 0.1 None defect critical michael closed 04/19/05

I´ve compiled usblcd into the kernel and i try:

modprobe usblcd

and i get:

howap:~/lcd/lcdfun-0.2# lcd4linux -Fvv Version 0.10.0-RC2 starting cfg.c: Warning: key <Display>: value <'LCD-Linux'> overwritten with <'USBLCD'> plugin_cfg.c: Variable minute = '60000' (60000) plugin_cfg.c: Variable tack = '100' (100) plugin_cfg.c: Variable tick = '500' (500) lcd4linux.c: initializing driver USBLCD drv_USBLCD.c: using device /dev/usb/lcd USBLCD: open(/dev/usb/lcd) failed: Device or resource busy howap:~/lcd/lcdfun-0.2#

I try to access /dev/usb/lcd without success with, for example, cat. I think that the device is all right because if i try to access when i rmmod usblcd i get:

howap:~/lcd/lcdfun-0.2# lcd4linux -Fvv Version 0.10.0-RC2 starting cfg.c: Warning: key <Display>: value <'LCD-Linux'> overwritten with <'USBLCD'> plugin_cfg.c: Variable minute = '60000' (60000) plugin_cfg.c: Variable tack = '100' (100) plugin_cfg.c: Variable tick = '500' (500) lcd4linux.c: initializing driver USBLCD drv_USBLCD.c: using device /dev/usb/lcd USBLCD: open(/dev/usb/lcd) failed: No such device howap:~/lcd/lcdfun-0.2#

PLEASE HELP ME.


#127 LCD4Linux problems lcd4linux None defect major michael closed 09/22/08

Hi there, I'm a bit stumped. I own a CFA2004A-TMI-JP LCD from CrystalFontz? that I was trying to get going with lcd4linux.

When running the program with any "}" characters it throws up an error "' is invalidfig file '/etc/lcd4linux.conf' line 4: key '}"

If I remove the offending '{'s and run lcd4linux, I receive the following error "Jade:/home/whale# lcd4linux

: garbage <arse error in <'HD44780-winamp'

missing 'Display:HD44780-winamp.Driver' entry in /etc/lcd4linux.conf!"

My lcd4linux file is attached, perhaps someone can tell me what I have messed up :)

Thanks for your help,

Z-master


#33 Missing file reading plugin documentation 0.1 None defect normal michael closed 03/28/06

file::readline is either missing or not working. I think missing as I can't find any sign of it anywhere yet it is documented on the plugin page??


#52 BWCT lcd4linux 0.1 None defect normal michael closed 02/16/07

Hallo NG

kann jemand mit dieser Fehlermeldung was anfangen? Wollte lcd4linux installieren gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c drv_BWCT.c drv_BWCT.c: In function `drv_BW_open': drv_BWCT.c:114: parse error before `int' drv_BWCT.c:115: `c' undeclared (first use in this function) drv_BWCT.c:115: (Each undeclared identifier is reported only once drv_BWCT.c:115: for each function it appears in.) make: * [drv_BWCT.o] Error 1


#57 serdisplib, ctinclud lcd4linux 0.1 None defect normal michael closed 03/08/07

hi, i have a ctinclud display. by compilire have Error "drv_init(serdisplib) failed: no such driver" i have last, aktuelle lcd4linux Version svn installation


#63 show IP address in LCD4Linux lcd4linux 0.1 None defect normal michael new 04/09/07

My LCD model is Cwlinux Model: Cw16x2 I want to show my host IP address in the LCD, how to write the Widgets. or maybe how to capture the ip address as command ifconfig.

Thanks


#72 gps plugin update lcd4linux None enhancement normal michael closed 05/22/07

I've updated the gps plugin, this time it also runns ;)

I've added alot of features and it even supports a "emulate mode" so you dont need a real gps device, ideal for testing...

src: http://www.neophob.com/files/owrt/plugin-gps2.zip (patch and plugin_gps.c)

cheers


#116 Corrupted characters on bars lcd4linux 0.1 None defect normal michael closed 04/21/08

After a couple of hours of running, my screen shows corrupted characters. I have set the timings to give more time to the LCD but it has no effect.


#125 HElp with scrolling lcd4linux None defect normal michael new 09/03/08

I have just installed crystal font cfa633 and its working execpt for the navigation please help me out here is my configuration file

http://pastebin.com/m2586fd39

I press the buttons and nothing happens please tell me if im missing anything

rrichiez


#24 Compile error in Kubuntu 5.10 lcd4linux None task trivial michael closed 01/12/06

after successfull ./configure I get following error after a few lines of make:

"drv_SimpleLCD.c:212: warning: pointer targets in passing argument 6 of 'cfg_number' differ in signedness"

"gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c drv_generic_i2c.c In file included from drv_generic_i2c.c:76: lcd4linux_i2c.h:81: error: array type has incomplete element type make: *** [drv_generic_i2c.o] Error 1"


#51 buffer overflow detected - CF631 with lcd4linux -Fvv lcd4linux 0.1 defect blocker michael closed 02/02/07

Version 0.10.1-CVS starting plugin_cfg.c: Variable minute = '60000' (60000) plugin_cfg.c: Variable tack = '100' (100) plugin_cfg.c: Variable tick = '500' (500) lcd4linux.c: initializing driver Crystalfontz Crystalfontz: $Revision: 1.42 $ Crystalfontz: using model '631' Crystalfontz: using port '/dev/ttyUSB0' at 115200 baud removing stale lockfile /var/lock/LCK..ttyUSB0 Crystalfontz: display identifies itself as 'CFA631:h1.0,b1.0' Crystalfontz: display type 'CFA631', hardware version 1.0, firmware version b1.0 *** buffer overflow detected ***: lcd4linux terminated ======= Backtrace: ========= /lib/libc.so.6(chk_fail+0x41)[0xb7d29581] lcd4linux[0x8056859] lcd4linux[0x8056cbb] lcd4linux[0x8068b87] lcd4linux[0x8057604] lcd4linux[0x804bbca] /lib/libc.so.6(libc_start_main+0xdc)[0xb7c6df9c] lcd4linux[0x804b5c1] ======= Memory map: ======== 08048000-0807b000 r-xp 00000000 08:12 1626029 /usr/bin/lcd4linux 0807b000-0807e000 rw-p 00032000 08:12 1626029 /usr/bin/lcd4linux 0807e000-080a3000 rw-p 0807e000 00:00 0 [heap] b79a8000-b79a9000 rw-p b79a8000 00:00 0 b79a9000-b79c7000 r-xp 00000000 08:12 743245 /usr/lib/libexpat.so.1.5.0 b79c7000-b79c8000 r--p 0001d000 08:12 743245 /usr/lib/libexpat.so.1.5.0 b79c8000-b79ca000 rw-p 0001e000 08:12 743245 /usr/lib/libexpat.so.1.5.0 b79ca000-b79cb000 rw-p b79ca000 00:00 0 b79cb000-b79df000 r-xp 00000000 08:12 32870 /lib/libpthread-2.5.so b79df000-b79e1000 rw-p 00013000 08:12 32870 /lib/libpthread-2.5.so b79e1000-b79e3000 rw-p b79e1000 00:00 0 b79e3000-b79e7000 r-xp 00000000 08:12 743465 /usr/lib/libXdmcp.so.6.0.0 b79e7000-b79e9000 rw-p 00003000 08:12 743465 /usr/lib/libXdmcp.so.6.0.0 b79e9000-b79eb000 r-xp 00000000 08:12 743463 /usr/lib/libXau.so.6.0.0 b79eb000-b79ed000 rw-p 00001000 08:12 743463 /usr/lib/libXau.so.6.0.0 b79ed000-b79ff000 r-xp 00000000 08:12 32855 /lib/libnsl-2.5.so b79ff000-b7a01000 rw-p 00011000 08:12 32855 /lib/libnsl-2.5.so b7a01000-b7a03000 rw-p b7a01000 00:00 0 b7a03000-b7a0c000 r-xp 00000000 08:12 32848 /lib/libcrypt-2.5.so b7a0c000-b7a0f000 rw-p 00008000 08:12 32848 /lib/libcrypt-2.5.so b7a0f000-b7a37000 rw-p b7a0f000 00:00 0 b7a37000-b7a48000 r-xp 00000000 08:12 32901 /lib/libz.so.1.2.3 b7a48000-b7a4a000 rw-p 00010000 08:12 32901 /lib/libz.so.1.2.3 b7a4a000-b7a6c000 r-xp 00000000 08:12 743550 /usr/lib/libpng12.so.0.12.0 b7a6c000-b7a6e000 rw-p 00021000 08:12 743550 /usr/lib/libpng12.so.0.12.0 b7a6e000-b7ad6000 r-xp 00000000 08:12 743473 /usr/lib/libfreetype.so.6.3.10 b7ad6000-b7ad8000 r--p 00068000 08:12 743473 /usr/lib/libfreetype.so.6.3.10 b7ad8000-b7ada000 rw-p 0006a000 08:12 743473 /usr/lib/libfreetype.so.6.3.10 b7ada000-b7afc000 r-xp 00000000 08:12 743782 /usr/lib/libfontconfig.so.1.1.0 b7afc000-b7b03000 r--p 00022000 08:12 743782 /usr/lib/libfontconfig.so.1.1.0 b7b03000-b7b05000 rw-p 00029000 08:12 743782 /usr/lib/libfontconfig.so.1.1.0 b7b05000-b7b23000 r-xp 00000000 08:12 743308 /usr/lib/libjpeg.so.62.0.0 b7b23000-b7b25000 rw-p 0001d000 08:12 743308 /usr/lib/libjpeg.so.62.0.0 b7b25000-b7b26000 rw-p b7b25000 00:00 0 b7b26000-b7b35000 r-xp 00000000 08:12 745093 /usr/lib/libXpm.so.4.11.0 b7b35000-b7b37000 rw-p 0000e000 08:12 745093 /usr/lib/libXpm.so.4.11.0 b7b37000-b7b39000 r-xp 00000000 08:12 32850 /lib/libdl-2.5.so b7b39000-b7b3b000 rw-p 00001000 08:12 32850 /lib/libdl-2.5.so b7b3b000-b7c53000 r-xp 00000000 08:12 744035 /usr/lib/libX11.so.6.2.0 b7c53000-b7c57000 rw-p 00118000 08:12 744035 /usr/lib/libX11.so.6.2.0 b7c57000-b7c58000 rw-p b7c57000 00:00 0 b7c58000-b7d80000 r-xp 00000000 08:12 32844 /lib/libc-2.5.so b7d80000-b7d81000 r--p 00128000 08:12 32844 /lib/libc-2.5.so b7d81000-b7d83000 rw-p 00129000 08:12 32844 /lib/libc-2.5.so b7d83000-b7d86000 rw-p b7d83000 00:00 0 b7d86000-b7daa000 r-xp 00000000 08:12 32852 /lib/libm-2.5.so b7daa000-b7dac000 rw-p 00023000 08:12 32852 /lib/libm-2.5.so b7dac000-b7ebc000 r-xp 00000000 08:12 1758582 /usr/lib/libmysqlclient.so.15.0.0 b7ebc000-b7ebd000 r--p 0010f000 08:12 1758582 /usr/lib/libmysqlclient.so.15.0.0 b7ebd000-b7eec000 rw-p 00110000 08:12 1758582 /usr/lib/libmysqlclient.so.15.0.0 b7eec000-b7eee000 rw-p b7eec000 00:00 0 b7eee000-b7f09000 r-xp 00000000 08:12 1758589 /usr/lib/libserdisp.so.1.97 b7f09000-b7f0c000 rw-p 0001a000 08:12 1758589 /usr/lib/libserdisp.so.1.97 b7f0c000-b7f28000 r-xp 00000000 08:12 1758586 /usr/lib/libgd.so.2.0.0 b7f28000-b7f48000 rw-p 0Aborted


#12 lcd4linux segmentation fault lcd4linux 0.1 defect critical michael closed 03/22/05

I am trying to use lcd4linux on a Fedora Core 3 system with a CrystalFontz? CF633 serial lcd panel. However, I get a segmentaion fault when I tried to run lcd4linux. Please see attached -Fvv output.

Thanks, tron

lcd4linux -Fvv Version 0.10.0-RC1 starting plugin_cfg.c: Variable minute = '60000' (60000.000000) plugin_cfg.c: Variable tack = '100' (100.000000) plugin_cfg.c: Variable tick = '500' (500.000000) [POP3] No 'Plugin:POP3.server2' entry from /etc/lcd4linux.conf, disabling POP3 account #2 [POP3] No 'Plugin:POP3.server3' entry from /etc/lcd4linux.conf, disabling POP3 account #3 [POP3] 1 POP3 accounts have been succesfully defined lcd4linux.c: initializing driver Crystalfontz Crystalfontz: using model '633' Crystalfontz: using port '/dev/ttyS1' at 19200 baud removing stale lockfile /var/lock/LCK..ttyS1 drv_Crystalfontz.c: dropping garbage byte -127 drv_Crystalfontz.c: dropping garbage byte 4 drv_Crystalfontz.c: dropping garbage byte 3 drv_Crystalfontz.c: dropping garbage byte 2 drv_Crystalfontz.c: dropping garbage byte 0 drv_Crystalfontz.c: dropping garbage byte 0 drv_Crystalfontz.c: dropping garbage byte 99 Segmentation fault


#43 HD44780 Bars wiget displays accented y (&#255) character instead of bars lcd4linux defect major michael closed 09/18/06

The bar bars wiget displays accented y (two dots over it) character instead of bars, regular text appears fine on the display. The wiring I used is listed below but it should be the common winamp wiring. The display works perfectly in windows when used with Smartie (http://lcdsmartie.sourceforge.net/) displaying bars and custom characters correctly.

I am using the following wiring. 1 GND 2 +5V 3 GND 4 Parallel Port pin 16 5 GND 6 Parallel Port pin 1 7 Parallel Port pin 2 8 Parallel Port pin 3 9 Parallel Port pin 4 10 Parallel Port pin 5 11 Parallel Port pin 6 12 Parallel Port pin 7 13 Parallel Port pin 8 14 Parallel Port pin 9


#34 LCD4Linux CVS SegFaults with the G-15 driver documentation 0.1 defect minor michael new 04/08/06

Here is what I get:

Version 0.10.1-CVS starting plugin_cfg.c: Variable minute = '60000' (60000) plugin_cfg.c: Variable tack = '100' (100) plugin_cfg.c: Variable tick = '500' (500) lcd4linux.c: initializing driver G-15 G-15: $Revision: 1.6 $ G-15: Scanning USB for G-15 keyboard... Segmentation fault

Attached is a strace output...

-Benjamin Kudria


#114 picoLCD driver does not work. lcd4linux None defect critical michael closed 04/02/08

I compiled the lcd4linux from svn revision 863 on my CentOS system in a Mini-Box M300 LCD case. When I start the software I get : drv_init(picoLCD) failed: no such driver

I traced the cause of the error and now the software works very well.

Below is the diff.

Grtz. Niels Basjes

Index: drv.c =================================================================== --- drv.c (revision 863) +++ drv.c (working copy) @@ -151,7 +151,7 @@

#ifdef WITH_PERTELIAN

&drv_Pertelian,

#endif

-#ifdef WITH_picoLCD +#ifdef WITH_PICOLCD

&drv_picoLCD,

#endif #ifdef WITH_ROUTERBOARD


#8 Crystal Fontz cfa-631 write error. lcd4linux 0.1 None defect major michael closed 02/18/05

I have a crytstal fontz cfa-631. It displays fine for a time but after 5 minutes to 1 hour the display stops updating and I get these messages in my logs. Feb 18 03:03:00 [LCD4Linux] Crystalfontz: write(/dev/usb/tts/0) failed: Resource temporarily unavailable Feb 18 03:03:23 [LCD4Linux] Crystalfontz: write(/dev/usb/tts/0) failed: Resource temporarily unavailable

I have to kill the lcd4linux program and restart it. It then will work for a while longer. If i run with the -Fvv option I get the following messages after the display stops. Crystalfontz: write(/dev/usb/tts/0): EAGAIN #1 Crystalfontz: write(/dev/usb/tts/0): EAGAIN #2 Crystalfontz: write(/dev/usb/tts/0): EAGAIN #3 Crystalfontz: write(/dev/usb/tts/0): EAGAIN #4 Crystalfontz: write(/dev/usb/tts/0): EAGAIN #5 Crystalfontz: write(/dev/usb/tts/0): EAGAIN #6 Crystalfontz: write(/dev/usb/tts/0): EAGAIN #7 Crystalfontz: write(/dev/usb/tts/0): EAGAIN #8 Crystalfontz: write(/dev/usb/tts/0): EAGAIN #9 Crystalfontz: write(/dev/usb/tts/0) failed: Resource temporarily unavailable this repeats until I control-c

Is this possibly a ftdi_sio driver issue? I am using a 2.4.28 kernel at present.


#66 MySQL plugin desn't work lcd4linux 0.1 None defect major michael closed 04/25/07

I have version 0.10 installed and everything is fine except MySQL plugin. It seems this plugin just not compiled in binary, it's even didn't try to connect to the server. On attempt to use it I have following message in StdErr?:

Evaluator: unknown function 'MySQL::query' in <MySQL::query('SELECT COUNT(calldate) FROM cdr WHERE DATE(calldate) = "2007-04-24"')>

The MySQL and libraries installed on the machine:

mysql 4.1.20-1 mysql-bench 4.1.20-1 mysql-connector-odbc 3.51.12-2 mysql-devel 4.1.20-1 MySQL-python 1.2.1_p2-1 mysql-server 4.1.20-1 MySQL-shared-standard 5.0.27-0 MySQL-standard-debuginfo 4.1.22-0 perl-DBD-MySQL 2.9004-3.1 php-mysql 4.3.11-2.8

Anybody else has the similar experince? Thanks a lot.


#118 plugin_mpd not working lcd4linux 0.1 None defect major michael closed 05/22/08

I recently tried to get lcd4linux to work with mpd. Installing lcd4linux worked like a charm, but I'm unable to get plugin_mpd to work. I tried severel linux distributions and several versions of lcd4linux:

Debian Etch Debian Lenny Slackware 12.0

lcd4linux 0.10.0 lcd4linux 0.10.1-RC1 lcd4linux 0.10.1-RC2

I tried the distribution specific packages as well as building lcd4linux from source (with the --with-plugins=mpd option), but still no success. Lcd4linux runs fine, but plugin_mpd is not loaded (even if executed with -Fvv) and the mpd widgets are not recognized.

The plugin is loaded via lcd4linux.conf:

Plugin MPD { enabled 1 server 'localhost' port 6600 }

When starting the lcd4linux daemon it connects to mpd, but the plugin still doesn't work.

Any help would be appreciated.

Regards,

Jan


#120 Problems with bwct-driver and linux-kernel 2.6.24-19 (ubuntu hardy 64 bit) lcd4linux None defect major michael new 06/18/08

I've updated my (64bit) Ubuntu 8.04 installation today (to kernel 2.6.24-19) and the bwct-driver stopped working like before:

Version 0.10.1-RC2-796 starting plugin_cfg.c: Variable minute = '60000' (60000) plugin_cfg.c: Variable tack = '100' (100) plugin_cfg.c: Variable tick = '500' (500) [KVV] Using station 89 [KVV] Using default port 80 [KVV] Using default refresh interval of 60 seconds [KVV] Default abbreviation setting: off lcd4linux.c: initializing driver BWCT BWCT: $Rev: 773 $ BWCT: scanning USB for BWCT LCD... BWCT: could not find a BWCT USB LCD


#121 Cannot get ST2205 to work on LCD4Linux lcd4linux 0.1 None defect major michael closed 06/22/08

Hi Guys

I have an ST2205 display, it is on SDD, I can get it to display a pic with a tool called setpic. but I cannot get lcd4linux to do anything at all, it just runs and goes to the command prompt, the .conf file is setup for the driver, if I run it with -Fvv I get the below

Version 0.10.2-SVN-796 starting plugin_cfg.c: Variable tick = '500' (500) [FIFO] read 'Plugin:FIFO.fifopath', value is '/tmp/lcd4linux.fifo' [KVV] Using station 89 [KVV] Using default port 80 [KVV] Using default refresh interval of 60 seconds [KVV] Default abbreviation setting: off lcd4linux.c: initializing driver st2205

Can anyone help, it goes back to the command prompt straight after that

DJH


#79 doing things only once lcd4linux 0.1 None defect minor michael new 06/12/07

Hi,

I have the following scenario: once a key is pressed on my lcd display, an external command should be launched ONCE via exec(). it seems as if such evaluations don't work:

evaluation key == 2 ? exec ('start_something',3000) evaluation2 key == 2 ? key = 1 :

Any help would be appreciated!


#92 problem: importing lcd4linux to another machine lcd4linux 0.1 None defect minor michael assigned 12/05/07

Hello,
I configured lcd4linux on a testing machine and copied everything onto my machine on which I want to use lcd4linux (it is the same hardware excepting hdd and ram). But somehow it does not work. This is the message lcd4linux delivers:
initializing layout 'info'
widget 'confirm_info': class 'Keypad' not supported
widget 'leave_menu': class 'Keypad' not supported


I would be glad, if someone is able to help me.
Thanks


#113 lcd4linux in debian repositories generates segfault lcd4linux 0.1 None defect minor michael new 03/19/08

hi there,

tried to install lcd4linux from debian repositories, but this generates segfault immendiately after opening parport. code from cvs, compiled by hand, works well. if needed, i can post a -Fvv output here.

damaltor


#30 config file: string concatenation and precision attribute lcd4linux 0.1 None defect normal michael closed 02/22/06

Hello,

when I use string concatenation (using the "." operator) together with the precision attribute in the configuration file, the expression always evaluates to zero. The following code will produce the error:

Widget ppp0 {
    class 'Text'
    expression (netdev('ppp0', 'Rx_bytes', 1000) / 1024) . 'k/' . (netdev('ppp0', 'Tx_bytes', 1000) / 1024) . 'k'
    prefix 'Down/Up: '
    width 40
    precision 1
    align 'L'
    update 1000
}

In a working scenario, the output should be something like "Down/Up: 125k/14k".

Leaving out the precision attribute works, however it will result in very large floating-point numbers, which will unfortunately consume most of your LCD space.

Any workarounds, I have discovered have drawbacks considering positioning of the string on the LCD or are just too complex for this a simple task.

Otherwise, lcd4linux is a great project.

Regards, locutus


#31 Bar Widget with direction N or S doesn't work lcd4linux 0.1 None defect normal michael closed 03/26/06

Bar Widgets with direction E or W works as expected. With direction N or S the widget is displayed vertically but the result of the expression is displayed horizontally.

I'm using the actual CVS Source.


#55 picoLCD. lcd4linux None defect normal michael assigned 03/06/07

Everything is ok. But nothig display on.

why?


#59 0.10.1-RC1, keypad fix for 631, 633 and 635 for drv_Crystalfontz.c lcd4linux None defect normal michael closed 03/13/07

To whoever cares...

To enable keypad for model 631, line 107 in static MODEL Models[] stanza should be

{631, "631", 2, 20, 4, 0, 3, 22},

In function drv_CF_keypad you'll find that case 5 was skipped so the entire stanza should be The valid keypress return for the 633 and 635 is 1-12, the 631 returns 13-20.

switch (num) { case 1: case 7:

val += WIDGET_KEY_UP; break;

case 2: case 8:

val += WIDGET_KEY_DOWN; break;

case 3: case 9:

val += WIDGET_KEY_LEFT; break;

case 4: case 10:

val += WIDGET_KEY_RIGHT; break;

case 5: case 11:

val += WIDGET_KEY_CONFIRM; break;

case 6: case 12:

val += WIDGET_KEY_CANCEL; break;

// added for 631, too lazy to make new WIDGET_KEY defines case 13: case 17:

val += WIDGET_KEY_UP; // really UPLEFT break;

case 14: case 18:

val += WIDGET_KEY_RIGHT; // really UPRIGHT break;

case 15: case 19:

val += WIDGET_KEY_LEFT; // really DOWNLEFT break;

case 16: case 20:

val += WIDGET_KEY_DOWN; // really DOWNRIGHT break;

}


#60 Axis Devboard with Crystalfontz 634 kernel crash lcd4linux 0.1 None defect normal michael assigned 03/17/07

I don't think this is a LCD4Linux issue, but I am writing it up just in case...

Compiled for Linux 2.6.12 under CRIS for an Etrax LX. No problems there. Set configuration for a Crystalfontz 634:

Display CF634 {

Icons 0 Driver 'Crystalfontz' Model '634' Port '/dev/ttyUSB0' Speed 19200 Contrast 16 Backlight 50

}

// for the layout supplied I removed the last two rows (as my display is 4 rows, // although I suppose these just scroll via the driver).

Layout Default {

Row1 {

Col1 'OS'

} Row2 {

Col1 'CPU' Col10 'RAM'

} Row3 {

Col1 'Busy' Col10 'Rain' Col11 'BusyBar?'

} Row4 {

Col1 'Load' Col11 'LoadBar?'

}

}

Display 'CF634' Layout 'Default'

The display clears (I have another piece of code that writes something to it first) and then the kernel locks. All services die. The console (/dev/ttyS0) locks up. Nada.

I was having this same issue when sending control sequences to the display with my test program (written in C). I found it necessary to pause 100 microseconds or so between commands (not displayable ascii). I also found that many commands are ignored. I have a CD632 which has the same issue.

Now the Axis has a USB-based eth1 port (eth0 is a dedicated controller) and under kernel 2.6.x this has been known in the past to be problematic. I suspect this is a factor, but would welcome any suggestions from the experts before I revert to a 2.4 kernel and try again.

Output:

# ./lcd4linux -Fvv Version 0.10.1-RC1-768 starting plugin_cfg.c: Variable minute = '60000' (60000) plugin_cfg.c: Variable tack = '100' (100) plugin_cfg.c: Variable tick = '500' (500) [KVV] Using station 89 [KVV] Using default port 80 [KVV] Using default refresh interval of 60 seconds [KVV] Default abbreviation setting: off lcd4linux.c: initializing driver Crystalfontz Crystalfontz: $Rev: 728 $ Crystalfontz: using model '634' Crystalfontz: using port '/dev/ttyUSB0' at 19200 baud

Here's dmesg if it helps:

# dmesg MU. On node 0 totalpages: 4096

DMA zone: 4096 pages, LIFO batch:1 Normal zone: 0 pages, LIFO batch:1 HighMem? zone: 0 pages, LIFO batch:1

Linux/CRIS port on ETRAX 100LX (c) 2001 Axis Communications AB Built 1 zonelists Kernel command line: root=/dev/mtdblock3 init=/linuxrc PID hash table entries: 256 (order: 8, 4096 bytes) ds1302: RTC found. ds1302: SDA, SCL, RST on PB0, PB1, GENIO0 rtc_time : 23:54:33 rtc_date : 2007-03-16 rtc: sec 0x33 min 0x54 hour 0x23 day 0x16 mon 0x3 year 0x7 Enabling watchdog... Dentry cache hash table entries: 8192 (order: 2, 32768 bytes) Inode-cache hash table entries: 4096 (order: 1, 16384 bytes) Memory: 30056k/32768k available (1411k kernel code, 2664k reserved, 310k data, 6 4k init) Calibrating delay loop... 99.53 BogoMIPS (lpj=497664) Mount-cache hash table entries: 1024 NET: Registered protocol family 16 SCSI subsystem initialized usbcore: registered new driver usbfs usbcore: registered new driver hub Bluetooth: Core ver 2.7 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized JFFS version 1.0, (C) 1999, 2000 Axis Communications AB JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc. ETRAX 100LX serial-driver 1.25 $, (c) 2000-2004 Axis Communications AB ttyS0 at 0xb0000060 is a builtin UART with DMA ttyS2 at 0xb0000070 is a builtin UART with DMA fast_timer_init() io scheduler noop registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize PPP generic driver version 2.4.2 ETRAX 100LX 10/100MBit ethernet v2.0 (c) 2000-2003 Axis Communications AB eth0: changed MAC to 00:40:8C:CD:00:00 drivers/usb/host/hc_crisv10.c: ETRAX 100LX USB-HCD $Revision: 1.4 $ (c) 2001-200 3 Axis Communications AB

ETRAX 100LX : new USB bus registered, assigned bus number 1 drivers/usb/host/hc_crisv10.c: USB controller in host mode. hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected Initializing USB Mass Storage driver... drivers/usb/host/hc_crisv10.c: USB controller in host mode. drivers/usb/host/hc_crisv10.c: USB controller started. drivers/usb/host/hc_crisv10.c: USB controller in host mode. drivers/usb/host/hc_crisv10.c: USB controller started. drivers/usb/host/hc_crisv10.c: USB controller running. usb 1-1: new full speed USB device using ETRAX 100LX and address 2 usb 1-2: new full speed USB device using ETRAX 100LX and address 3 usbcore: registered new driver usb-storage USB Mass Storage support registered. drivers/usb/net/rtl8150.c: rtl8150 based usb-ethernet driver v0.6.2 (2004/08/27) drivers/usb/net/rtl8150.c: eth%d: rtl8150 is detected usbcore: registered new driver rtl8150 usbcore: registered new driver usbserial drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI SIO drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI 8U232AM Compatible drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI FT232BM Compatible drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI FT2232C Compatible drivers/usb/serial/usb-serial.c: USB Serial support registered for USB-UIRT Infr ared Tranceiver drivers/usb/serial/usb-serial.c: USB Serial support registered for Home-Electron ics TIRA-1 IR Transceiver ftdi_sio 1-2:1.0: FTDI FT232BM Compatible converter detected usb 1-2: FTDI FT232BM Compatible converter now attached to ttyUSB0 usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.2:USB FTDI Serial Converters Driver Bluetooth: HCI USB driver ver 2.8 usbcore: registered new driver hci_usb cse0: Probing a 0x04000000 bytes large window at 0xe0000000. cse0: Probing for AMD compatible flash... cse0: unknown flash device at 0x0, mfr id 0x1f, dev id 0xc8 cse0: Found no AMD compatible device at location zero cse0: Found 1 x16 devices at 0x0 in 16-bit bank cse0: Found an alias at 0x400000 for the chip at 0x0 cse0: Found an alias at 0x800000 for the chip at 0x0 cse0: Found an alias at 0xc00000 for the chip at 0x0 cse0: Found an alias at 0x1000000 for the chip at 0x0 cse0: Found an alias at 0x1400000 for the chip at 0x0 cse0: Found an alias at 0x1800000 for the chip at 0x0 cse0: Found an alias at 0x1c00000 for the chip at 0x0 cse0: Found an alias at 0x2000000 for the chip at 0x0 cse0: Found an alias at 0x2400000 for the chip at 0x0 cse0: Found an alias at 0x2800000 for the chip at 0x0 cse0: Found an alias at 0x2c00000 for the chip at 0x0 cse0: Found an alias at 0x3000000 for the chip at 0x0 cse0: Found an alias at 0x3400000 for the chip at 0x0 cse0: Found an alias at 0x3800000 for the chip at 0x0 cse0: Found an alias at 0x3c00000 for the chip at 0x0

Amd/Fujitsu Extended Query Table at 0x0041

cse0: CFI does not contain boot bank location. Assuming top. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. cse1: Probing a 0x04000000 bytes large window at 0xe4000000. cse1: Probing for AMD compatible flash... cse1: unknown flash device at 0x0, mfr id 0xc2, dev id 0x22a7 cse1: Found no AMD compatible device at location zero cse1: Found 1 x16 devices at 0x0 in 16-bit bank cse1: Found an alias at 0x400000 for the chip at 0x0 cse1: Found an alias at 0x800000 for the chip at 0x0 cse1: Found an alias at 0xc00000 for the chip at 0x0 cse1: Found an alias at 0x1000000 for the chip at 0x0 cse1: Found an alias at 0x1400000 for the chip at 0x0 cse1: Found an alias at 0x1800000 for the chip at 0x0 cse1: Found an alias at 0x1c00000 for the chip at 0x0 cse1: Found an alias at 0x2000000 for the chip at 0x0 cse1: Found an alias at 0x2400000 for the chip at 0x0 cse1: Found an alias at 0x2800000 for the chip at 0x0 cse1: Found an alias at 0x2c00000 for the chip at 0x0 cse1: Found an alias at 0x3000000 for the chip at 0x0 cse1: Found an alias at 0x3400000 for the chip at 0x0 cse1: Found an alias at 0x3800000 for the chip at 0x0 cse1: Found an alias at 0x3c00000 for the chip at 0x0

Amd/Fujitsu Extended Query Table at 0x0040

cse1: Swapping erase regions for broken CFI table. number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. Concatenating MTD devices: (0): "cse0" (1): "cse1" into device "cse0+cse1" cse0+cse1: 0x00800000 bytes of flash memory.

Found a valid partition table at 0xf001000a-0xf0010056.

/dev/flash1 at 0x00010000, size 0x00350000 /dev/flash2 at 0x00360000, size 0x004a0000

Adding readonly flash partition for romfs image:

/dev/flash3 at 0x000eb136, size 0x0024c000

Creating 4 MTD partitions on "cse0+cse1": 0x00000000-0x00010000 : "part0" 0x00010000-0x00360000 : "part1" 0x00360000-0x00800000 : "part2" 0x000eb136-0x00337136 : "romfs" gpio init GPIO port G: in_bits: 0xC1FFFF3E out_bits: 0xF200003F val: FDFF00FE GPIO port G: dir: 00000001 changeable: 01FFFF00 ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002, 2003, 2004 Axis Communications AB err: timer0 irq for gpio err: PA irq for gpio ds1302: RTC found. ds1302: SDA, SCL, RST on PB0, PB1, GENIO0 rtc_time : 23:54:34 rtc_date : 2007-03-16 NET: Registered protocol family 2 IP: routing cache hash table of 1024 buckets, 8Kbytes TCP established hash table entries: 4096 (order: 2, 32768 bytes) TCP bind hash table entries: 4096 (order: 1, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) ip_tables: (C) 2000-2002 Netfilter core team NET: Registered protocol family 1 NET: Registered protocol family 17 Bluetooth: L2CAP ver 2.7 Bluetooth: L2CAP socket layer initialized Bluetooth: RFCOMM ver 1.5 Bluetooth: RFCOMM socket layer initialized Bluetooth: BNEP (Ethernet Emulation) ver 1.2 VFS: Mounted root (cramfs filesystem) readonly. Freeing unused kernel memory: 64k freed eth0: changed MAC to 00:40:8C:63:AB:BB # dmesg | grep cry # dmesg | grep crystalfontz # dmesg | grep usb usbcore: registered new driver usbfs usbcore: registered new driver hub drivers/usb/host/hc_crisv10.c: ETRAX 100LX USB-HCD $Revision: 1.4 $ (c) 2001-200 3 Axis Communications AB drivers/usb/host/hc_crisv10.c: USB controller in host mode. drivers/usb/host/hc_crisv10.c: USB controller in host mode. drivers/usb/host/hc_crisv10.c: USB controller started. drivers/usb/host/hc_crisv10.c: USB controller in host mode. drivers/usb/host/hc_crisv10.c: USB controller started. drivers/usb/host/hc_crisv10.c: USB controller running. usb 1-1: new full speed USB device using ETRAX 100LX and address 2 usb 1-2: new full speed USB device using ETRAX 100LX and address 3 usbcore: registered new driver usb-storage drivers/usb/net/rtl8150.c: rtl8150 based usb-ethernet driver v0.6.2 (2004/08/27) drivers/usb/net/rtl8150.c: eth%d: rtl8150 is detected usbcore: registered new driver rtl8150 usbcore: registered new driver usbserial drivers/usb/serial/usb-serial.c: USB Serial Driver core v2.0 drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI SIO drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI 8U232AM Compatible drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI FT232BM Compatible drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI FT2232C Compatible drivers/usb/serial/usb-serial.c: USB Serial support registered for USB-UIRT Infr ared Tranceiver drivers/usb/serial/usb-serial.c: USB Serial support registered for Home-Electron ics TIRA-1 IR Transceiver usb 1-2: FTDI FT232BM Compatible converter now attached to ttyUSB0 usbcore: registered new driver ftdi_sio drivers/usb/serial/ftdi_sio.c: v1.4.2:USB FTDI Serial Converters Driver usbcore: registered new driver hci_usb #


#61 adhoc text to display via process lcd4linux 0.1 None enhancement normal michael new 03/17/07

I had assumed that, with lcd4linux running, I could send it a message to display some text on line (n) col (n) using either an existing layout or perhaps with parameters.

Layouts and widgets appear to be static entities once lcd4linux is loaded, with any "dynamics" a matter of the widgets used (example: the new file reading plugin).

Primary use of this driver for me would be so that applications could output some messages to the display. Our system is for remote telemetry and provides some alarm capability. The display wants to show status, current operation, and any messages that might give a user some idea what's going on. All of these are quite dynamic.

The clear advantage of a resident driver is to take off from other applications the need to service the lcd.

Other than polling a text file periodically (inefficient) is there a built-in method to address this requirement? If not, it seems that some additional messaging capability might be dandy and I may have to write it.


#62 file::readline - process dies when no new line lcd4linux None defect normal anonymous closed 03/20/07

plugin_file.c: my_readline uses fgets which expects a newline character in order that data is returned for a line.

In my testing if I specify a widget:

Widget OperationStatusLine?2 {

class 'Text'

expression file::readline('/var/tmp/solarwave/statmsg',3)

align 'L'

width 20

update 1000

}

Then put it on the 4th line of my LCD:

Layout Default {

Row1 {

Col1 'Time'

} Row2 {

Col1 'Operation'

} Row3 {

Col1 'OperationStatusLine?1'

} Row4 {

Col1 'OperationStatusLine?2'

}

}

and if my text file has 5 lines (each has a newline character at the end) the process runs fine and I see from ps:

569 root 768 S ./lcd or 569 root 768 R ./lcd

S or R depending on its state ("lcd" being my name for the lcd4linux binary)

However if I remove the last newline, the process displays all but the last line, and then dies. As I expect, ps however shows that the application

569 root 776 R ./lcd

is always in the RUN state. It never seems to sleep and is only recoverable with killall -9 lcd

The console does not issue the message "readline requested line %d but file only had %d lines" which is also strange.

It appears that lcd4linux enters a race condition. Top is indicating almost 100% utilization.

What I'm attempting to do here is set up a channel whereby other applications can write to a certain file and have the contents displayed with a 1-second update. I'd rather the file operations be a little more forgiving.

Apart from this issue, one question: what happens when SetResult?() returns a null? It would be great if, back in the widget setup, one could say:

if (result==null)

don't erase the current data on the display

I don't see any way to do this, even if I were to re-write readline because it appears that once the function is called from the timer, you're committed to writing to the display.


#64 serdisplib problems lcd4linux None defect normal michael closed 04/14/07

Hello, i'm using Ubuntu 6.10, and apt-getted lcd4linux. Version is 0.10.1-CVS. I also downloaded, compiled and make installed serdisplib-1.97.5.

My lcd4linux.conf follows:

Display 1 {
    Driver     'serdisplib'
    Model      'PCD8544'
    Port       '/dev/lp0'
    Options    ''
}

Widget CPU {
    class      'Text'
    expression  uname('machine')
    prefix     'CPU '
    width       9
    align      'L'
    update      tick
}

Layout Default {
    Row1 {
        Col1 'CPU'
    }
}

Variables {
   tick 500
}

Display '1' Layout 'Default'

But that happens:

root@fishi-desktop:/home/fishi/serdisplib-1.97.5/src# lcd4linux -Fvv
Version 0.10.1-CVS starting
plugin_cfg.c: Variable tick = '500' (500)
[KVV] Using station 89
[KVV] Using default port 80
[KVV] Using default refresh interval of 60 seconds
[KVV] Default abbreviation setting: off
lcd4linux.c: initializing driver serdisplib
drv_init(serdisplib) failed: no such driver

what to do?


#65 plugin_mpd lcd4linux 0.1 None defect normal michael closed 04/23/07

I've created a patch for plugin_mpd.c, alot of new functions are implemented...


#67 0.10.1 RC2 build problem lcd4linux 0.1 None defect normal michael closed 05/01/07

Building LCD4Linux-0.10.1 RC2 on OpenSuSE 10.2 / i386 (AMD Athlon 2400) (gcc 4.1.2) - fails with

gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -Wall -W -g -O2 -c drv_generic_i2c.c In file included from drv_generic_i2c.c:76: lcd4linux_i2c.h:81: error: array type has incomplete element type

make: *** [drv_generic_i2c.o] Error 1

The offending source line is the advance declaration:

extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num);

./configure reports no problems


#69 Support for brightness levels in HD44780 Driver for Noritake VFD's lcd4linux None enhancement normal michael assigned 05/03/07

I have a Noritake 20x4 VFD which is based on the HD44780 chipset.

lcd4linux'es driver works perfectly, but there are some extensions to the chipset which would be nice to integrate.

One of these is the ability to set the brightness level of the VFD from 25% to 100%, (in jumps of 25%).

Anyone willing to do it? I'm willing to test it out.

I have two datasheets for the VFD. one of these includes information on setting the brightness (page 8 on my pdf viewer).

If you need any more information let me know.

Thanks.

EDIT:

Sorry but I can't upload any files, TRAC keeps giving me "Internal Error" when I try. so here are the datasheets:

http://www.elektronica-it.com/Itron/CU20045SCPB-W5A_E00.pdf #Module specification, page 8 seems to have info regarding brightness settings http://www.elektronica-it.com/Itron/CU20045SCPB-W5J-01.pdf #Datasheet


#70 alpha version of gps plugin lcd4linux None enhancement normal michael closed 05/18/07

I've created a gps plugin (nmea protocol). Well I guess I'am too stupid to compile it, as this plugin depends on 2 .h files in the build dir, but I'm unable to link'em:

plugin_gps.o: In function `parse':
/home/lcd4linuxsvn/__latest/lcd4linux/plugin_gps.c:205: undefined reference to `nmeap_parseBuffer'
plugin_gps.o: In function `plugin_init_gps':
/home/lcd4linuxsvn/__latest/lcd4linux/plugin_gps.c:266: undefined reference to `nmeap_init'
/home/lcd4linuxsvn/__latest/lcd4linux/plugin_gps.c:275: undefined reference to `nmeap_gpgga'
/home/lcd4linuxsvn/__latest/lcd4linux/plugin_gps.c:275: undefined reference to `nmeap_addParser'
/home/lcd4linuxsvn/__latest/lcd4linux/plugin_gps.c:285: undefined reference to `nmeap_gprmc'
/home/lcd4linuxsvn/__latest/lcd4linux/plugin_gps.c:285: undefined reference to `nmeap_addParser'
collect2: ld returned 1 exit status
make[1]: *** [lcd4linux] Error 1

is this a not allowed situation? If no, dont hesitate to help me ;)

cheers


#71 usb keyboard input, parsed by lcd4linux lcd4linux None enhancement normal michael closed 05/18/07

I use openwrt and would like to build a (car) mp3 player. I want to use lcd4linux as my input/output handler... so far so good, but would lcd4linux be able to handle usb-keyboad input (via hid device)? Or is this a completely wrong approach?

Currently I'm using cmdpad for input handling (http://cmdpad.sourceforge.net/) but it would be nice if I could merge this action...

thanks in advance cheers michu / neophob.com


#73 plugin_mpd - connect host/port fix lcd4linux None enhancement normal michael closed 06/05/07

I was talking to robert, and he told me that I forget to use the env variables in the 2nd connect method... I fixed this with this patch.

Index: plugin_mpd.c
===================================================================
--- plugin_mpd.c        (revision 802)
+++ plugin_mpd.c        (working copy)
@@ -5,6 +5,7 @@
  *
  * Copyright (C) 2006 Stefan Kuhne <sk-privat@gmx.net>
  * Copyright (C) 2007 Robert Buchholz <rb