From: Marco S. <ma...@pr...> - 2004-04-23 10:11:45
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> <title></title> </head> <body> <div class="moz-text-html" lang="x-western"> hello ,<br> <br> i've got some problems getting some things to work.<br> I want to get the eth0 monitoring and temperature monitoring thing to work.<br> I compiled lcd4linux with the following command:<br> <i><small>./configure --with-drivers=HD44780 --with-plugins=apm,cpuinfo,i2c_sensors_imon,loadavg,meminfo,mysql,pop3,proc_stat,seti,xmms</small><br> <br> </i>In the attachment is my config file, as you can see i commented this:<br> <i><small>#Widget SensorMB {<br> # class 'Text'<br> # expression temp_input1<br> # prefix 'MB: '<br> # postfix 'c'<br> # width 11<br> # align 'R'<br> # update tick<br> #}</small><br> </i>Because if i do this i get an segmentation fault.<br> <br> If I run this with lcd4linux -Fvvv i get to following output:<br> <small><i>Version 0.10.0 starting<br> plugin_cfg.c: Variable minute = '60000' (60000.000000)<br> plugin_cfg.c: Variable tack = '100' (100.000000)<br> plugin_cfg.c: Variable tick = '500' (500.000000)<br> plugin_i2c_sensors.c: Path to i2c sensors from the conf : /sys/bus/i2c/devices/1-002d/<br> plugin_i2c_sensors.c: if i2c_sensors doesn't work, double check this value !<br> [MySQL] no 'Plugin:MySQL.port' entry from /etc/lcd4linux.conf using MySQL's default<br> [MySQL] empty 'Plugin:MySQL.user' entry from /etc/lcd4linux.conf, assuming lcd4linux owner<br> [MySQL] empty 'Plugin:MySQL.password' entry in /etc/lcd4linux.conf, assuming none<br> [MySQL] no 'Plugin:MySQL:database' entry from /etc/lcd4linux.conf, specify one<br> [POP3] No 'Plugin:POP3.server1' entry from /etc/lcd4linux.conf, disabling POP3 account #1<br> [POP3] No 'Plugin:POP3.server2' entry from /etc/lcd4linux.conf, disabling POP3 account #2<br> [POP3] No 'Plugin:POP3.server3' entry from /etc/lcd4linux.conf, disabling POP3 account #3<br> lcd4linux.c: initializing driver HD44780<br> HD44780: using model 'generic'<br> HD44780: controlling 0 GPO's<br> HD44780: using display with 1 controllers<br> HD44780: using 8 bit mode<br> CPU supports Time Stamp Counter<br> CPU runs at 1544.719000 MHz<br> using TSC delay loop, 1545 ticks per microsecond<br> using raw port 0x378 (deprecated!)<br> You *really* should change your setup and use ppdev!<br> HD44780: wiring: [DISPLAY:RS]<==>[PARPORT:INIT]<br> HD44780: wiring: [DISPLAY:RW]<==>[PARPORT:AUTOFD]<br> HD44780: wiring: [DISPLAY:ENABLE]<==>[PARPORT:STROBE]<br> HD44780: wiring: [DISPLAY:ENABLE2]<==>[PARPORT:GND]<br> HD44780: wiring: [DISPLAY:GPO]<==>[PARPORT:GND]<br> HD44780: not using busy-flag checking<br> initializing layout 'Default'<br> Evaluator: unknown function 'netdev' in <(netdev('eth0.Rx.bytes', 500)+netdev('eth0.Tx.bytes', 500))/1024><br> Evaluator: unknown function 'netdev' in <(netdev('eth0.Rx.bytes', 500)+netdev('eth0.Tx.bytes', 500))/1024><br> Evaluator: unknown function 'netdev' in <netdev('eth0.Rx.bytes', 500)><br> Evaluator: unknown function 'netdev' in <netdev('eth0.Tx.bytes', 500)><br> lcd4linux.c: starting main loop<br> </i></small><br> Now i get no temperature on the screeny and i have no idea how to fix the errors on "unknown function netdev"<br> I can go to /proc/net/ and tail dev gives me this output:<br> <i><small>Inter-| Receive | Transmit<br> face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed<br> eth0:10578810 107867 0 0 97 0 0 0 201522 1839 0 0 0 0 0 0<br> lo: 100 2 0 0 0 0 0 0 100 2 0 0 0 0 0 0<br> sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 </small></i> <small> <i>0<br> <br> </i><big>I don know if this correct?<br> <br> And i'd really would like to know how to get the sensors working? am i doing it correct now in like in the config file? (propably not)<br> tail /sys/bus/i2c/devices/1-002d/temp1_input gives me 24000 & the same on temp2_input gives me 27000 which are both correct because gkrellm2 gives me the right output on those 2.<br> <br> Thanks in advance.<br> <br> Greetz,<br> <br> Marco Springer<br> mail: <a class="moz-txt-link-abbreviated" href="mailto:ma...@pr...">ma...@pr...</a><br> </big></small> </div> </body> </html> |