* [lm-sensors] Support for Fintek F71872F
@ 2006-05-12 18:15 Jure Klakočar
2006-05-12 18:22 ` Thomas Andrews
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Jure Klakočar @ 2006-05-12 18:15 UTC (permalink / raw)
To: lm-sensors
I have an Epox 9NPA7I board that uses the F71872F chip. The CVS version
of sensors-detect returns:
Driver `f71805f' (should be inserted):
Detects correctly:
* ISA bus address 0x0295 (Busdriver `i2c-isa')
Chip `Fintek F71872F/FG Super IO Sensors' (confidence: 9)
However I am unable to successfully insert the f71805f module for the
2.6.16 kernel. How much work still has to be done to support the F71872F
chip? I'd be willing to program the support myself, but I would need a
few pointers and the necessary documentation.
Thanks,
Jure
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lm-sensors] Support for Fintek F71872F
2006-05-12 18:15 [lm-sensors] Support for Fintek F71872F Jure Klakočar
@ 2006-05-12 18:22 ` Thomas Andrews
2006-05-14 8:01 ` Jean Delvare
2006-05-14 8:12 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Andrews @ 2006-05-12 18:22 UTC (permalink / raw)
To: lm-sensors
On Fri, May 12, 2006 at 08:15:20PM +0200, Jure Klako??ar wrote:
> I have an Epox 9NPA7I board that uses the F71872F chip. The CVS version
> of sensors-detect returns:
>
> Driver `f71805f' (should be inserted):
> Detects correctly:
> * ISA bus address 0x0295 (Busdriver `i2c-isa')
> Chip `Fintek F71872F/FG Super IO Sensors' (confidence: 9)
>
> However I am unable to successfully insert the f71805f module for the
> 2.6.16 kernel. How much work still has to be done to support the F71872F
> chip? I'd be willing to program the support myself, but I would need a
> few pointers and the necessary documentation.
Having started playing with i2c a couple of weeks ago, I'd say just give
it a try yourself: Rebuild your kernel with i2c debugging enabled, and
then just have a look at dmesg output to see what happens. What I do is
put a bunch of printk messages in the driver, and just watch to see what
happens. It isn't hard to figure it out.
-Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lm-sensors] Support for Fintek F71872F
2006-05-12 18:15 [lm-sensors] Support for Fintek F71872F Jure Klakočar
2006-05-12 18:22 ` Thomas Andrews
@ 2006-05-14 8:01 ` Jean Delvare
2006-05-14 8:12 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2006-05-14 8:01 UTC (permalink / raw)
To: lm-sensors
Hi Jure,
> I have an Epox 9NPA7I board that uses the F71872F chip. The CVS version
> of sensors-detect returns:
>
> Driver `f71805f' (should be inserted):
> Detects correctly:
> * ISA bus address 0x0295 (Busdriver `i2c-isa')
> Chip `Fintek F71872F/FG Super IO Sensors' (confidence: 9)
>
> However I am unable to successfully insert the f71805f module for the
> 2.6.16 kernel. How much work still has to be done to support the F71872F
> chip? I'd be willing to program the support myself, but I would need a
> few pointers and the necessary documentation.
No surprise here. I listed the Fintek F71872F chip as supported by the
f71805f driver in sensors-detect because I know that the F71805F and
F71872F are essentially compatible. However, the driver currently
doesn't have actual support for your chip.
I have an F71872F datasheet, which I can send to you. You are welcome to
work on this. Adding support for the F71872F chip should be easy. First
thing to do is to add the F71872F chip ID (definition and use in
f71805f_find()). This will let the driver load and detect your chip. If
I remember correctly, the additional features of the F71872F over the
F71805F are:
* Three more voltage inputs
* VID pins
So you can then add support for this in the driver. You'll have to keep
track of the chip type somehow, so that you don't create sysfs
interface files for features which do not exist in a given chip. Don't
forget to update the documentation (Documentation/hwmon/f71805f). When
done, please submit your work as a patch against the latest -mm kernel.
When you're done with the driver, you'll have to update the user-space
part. Here again it should be really simple, mostly copy-n-paste work.
See how the F71805F is supported in libsensors (lib subdirectory in
lm_sensors) and do the same for the F71872F. Please reuse the F71805F
constants wherever possible. Same for the sensors program (prog/sensors
subdirectory in lm_sensors.) You should be able to keep most code in
common here. Last is the configuration file (etc/sensors.conf.eg). When
done, please submit your work as a patch against lm_sensors CVS.
Once you're done with all this, you may notice that the driver lacks
support for fan speed control, while both the F71805F and the F71872F
chips do support this. I didn't have the time to implement it when
writing the driver in the first place. If you want to work on this,
you're welcome.
If you have any problem or question, just ask and I'll try to help.
Thanks,
--
Jean Delvare
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lm-sensors] Support for Fintek F71872F
2006-05-12 18:15 [lm-sensors] Support for Fintek F71872F Jure Klakočar
2006-05-12 18:22 ` Thomas Andrews
2006-05-14 8:01 ` Jean Delvare
@ 2006-05-14 8:12 ` Jean Delvare
2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2006-05-14 8:12 UTC (permalink / raw)
To: lm-sensors
Hi Thomas,
> > However I am unable to successfully insert the f71805f module for the
> > 2.6.16 kernel. How much work still has to be done to support the F71872F
> > chip? I'd be willing to program the support myself, but I would need a
> > few pointers and the necessary documentation.
>
> Having started playing with i2c a couple of weeks ago, I'd say just give
> it a try yourself: Rebuild your kernel with i2c debugging enabled, and
> then just have a look at dmesg output to see what happens. What I do is
> put a bunch of printk messages in the driver, and just watch to see what
> happens. It isn't hard to figure it out.
That wouldn't work, the f71805f driver is a platform driver, not an i2c
driver.
It's not a bug anyway. As I said in another post, the f71805f driver
simply lacks support for the F71872F chip at the moment, so some
additional code will be needed. Should be easy to do though.
--
Jean Delvare
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-05-14 8:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-12 18:15 [lm-sensors] Support for Fintek F71872F Jure Klakočar
2006-05-12 18:22 ` Thomas Andrews
2006-05-14 8:01 ` Jean Delvare
2006-05-14 8:12 ` Jean Delvare
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.