Flex Scanner Jammed Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----Original Message-----
From: Jean Delvare [mailto:khali at linux-fr.org] 
Sent: Thursday, August 03, 2006 11:41 AM
To: Calabro, Anthony
Cc: LM Sensors
Subject: Re:  Flex Scanner Jammed Problem

> Try our latest default configuration file:
> http://lm-sensors.org/svn/lm-sensors/trunk/etc/sensors.conf.eg
> 
> If that works, then the problem is definitely the configuration file 
> you created. If not... Please tell us with which versions of flex and 
> bison you built lm_sensors.
> 
> Note that you can use the "-c" option of "sensors" to select a 
> configuration file. This should help you test different files.
> 
> -- I tried the newest config file, still flex scanner jammed, working 
> on getting a copy to send to you.
> 
> -- using flex version 2.5.4
> -- using bison version 1.875c

I just tried this combination but was unable to reproduce the problem.

Can you try removing the following line from lib/conf-lex.l:

%option nodefault

As I understand it, it should cause libsensors to output anything it
doesn't understand in the config file to stdout. Maybe that will provide
some hint. Other than that, I don't know what to suggest.

--------------

Thanks, I tried that, again I emptied out the sensors.conf file to just
the chip line and the label lines.  I got rid of all of the parsing
errors, but it outputs this when you run sensors -s:

	in0  in1  in2  in3  in4  in5  ....

So it seems that it doesn't recognize these names.  I tried changing
them to make sure, and it did the same thing, I changed all of the (n)'s
to (t)'s and got
	
	it0  it1  it2 .....

Samething when I run sensors.  I see the 

	in0  in1  in2  in3  in4  in5  ....

At the top of the output, followed by the sensors readings with 

in0:  
in1:	
....
...

as labels...






[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux