Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15957 - lm_sensors 'sensors-detect' script contains errors
Summary: lm_sensors 'sensors-detect' script contains errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-18 17:02 UTC by Paul Slinski
Modified: 2003-08-19 09:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slinski 2003-02-18 17:02:45 UTC
When running the 'sensors-detect' script for lm_sensors 2.7.0, the script
generates the error:

Character in "C" format wrapped at /usr/sbin/sensors-detect line 1137

While this may be normal, I'm not sure if it's interferring with the detection
process.

Reproducible: Always
Steps to Reproduce:
1. Install lm_sensors 2.7.0
2. Run sensors-detect
3. Fail

Actual Results:  
Probing for `National Semiconductor LM78'
Character in "C" format wrapped at /usr/sbin/sensors-detect line 1137.
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Character in "C" format wrapped at /usr/sbin/sensors-detect line 1137.
  Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Character in "C" format wrapped at /usr/sbin/sensors-detect line 1137.
  Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Character in "C" format wrapped at /usr/sbin/sensors-detect line 1137.
  Trying address 0x0290... Failed!
Comment 1 Brandon Low (RETIRED) gentoo-dev 2003-02-21 20:26:09 UTC
works fine here.

What locale?
Comment 2 Paul Slinski 2003-02-24 12:20:59 UTC
How can I find out for you?
Comment 3 Brandon Low (RETIRED) gentoo-dev 2003-03-01 14:43:13 UTC
*shrugs* Do you use a language other than english for your primary locale selection?
Comment 4 Paul Slinski 2003-03-03 09:35:26 UTC
*laughs* no, it does it on a couple other systems as well. The only thing they have in common is that they're Gentoo 1.4_rc2 unstable.

Comment 5 Brandon Low (RETIRED) gentoo-dev 2003-06-08 15:26:54 UTC
I've just committed a patch from another user which MAY fix this, please test lm-sensors-2.7.0-r1 when it hits rsync.
Comment 6 Brandon Low (RETIRED) gentoo-dev 2003-06-08 15:32:34 UTC
lied, didn't fix it.
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2003-08-13 11:54:31 UTC
Is this still a bug? [lm-sensors-2.7.0-r1 is out a while ago] and lm-sensors-2.8.0 is at bug 25004
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2003-08-19 09:35:47 UTC
This seems to happen on newer perl versions. It is fatal in as much as the
sensors are not detected. The solution appears to be to simply add & 0x7f to the
pack statement at line 1138 of sensors_detect...

sub outb
{
  my $towrite = pack( "C", $_[1] & 0x7f);

--

http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1223