Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 159889 Details for
Bug 249428
'LM78' hardware sensor detected but not usable
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch fixing this as send upstream for merging
hwmon-lm78-detect-isa-with-chipid-0x20.patch (text/plain), 1.24 KB, created by
Hans de Goede
on 2007-07-24 21:37:32 UTC
(
hide
)
Description:
Patch fixing this as send upstream for merging
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2007-07-24 21:37:32 UTC
Size:
1.24 KB
patch
obsolete
>Mark, > >Here is a small but important bugfix to the lm78 driver. I found out about this >problem because a Fedora user filed a bug that the lm78 driver no longer worked >on his system: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=249428 > >The problem is that sometime ago the isa lm78 detection was made more stringent >and this new code now checks the chip-id, but does not accept a chip-id of 20h, >however a chip-id of 20h is valid, and is excepted in the main probe function >of the driver, see line 551. This fixed also makes the isa detection code >accept the chip-id of 0x20 fixing this issue. > >Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> >diff -up linux-2.6.22.x86_64/drivers/hwmon/lm78.c~ linux-2.6.22.x86_64/drivers/hwmon/lm78.c >--- linux-2.6.22.x86_64/drivers/hwmon/lm78.c~ 2007-07-24 23:26:10.000000000 +0200 >+++ linux-2.6.22.x86_64/drivers/hwmon/lm78.c 2007-07-24 23:26:10.000000000 +0200 >@@ -864,7 +864,7 @@ static int __init lm78_isa_found(unsigne > /* Determine the chip type */ > outb_p(LM78_REG_CHIPID, address + LM78_ADDR_REG_OFFSET); > val = inb_p(address + LM78_DATA_REG_OFFSET); >- if (val == 0x00 /* LM78 */ >+ if (val == 0x00 || val == 0x20 /* LM78 */ > || val == 0x40 /* LM78-J */ > || (val & 0xfe) == 0xc0) /* LM79 */ > found = 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 249428
:
159866
|
159867
|
159884
| 159889