Re: [f75387] modifying f75375s module

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

 



On Mon, 2011-11-28 at 11:48 -0500, Gerhart, Bjoern wrote:
> Dear list,
> 
> at the moment I modify the existing f75375s kernel module for supporting the current Fintek model f75387 (which is being recognized by sensors-detect but yet unsupported). My configuration is CentOS 5 + kernel 2.6.39 + lm_sensors 3.3.1.
> 
> One of the main differences between the two models is that the 75387 has 11-bit temperature read in contrast to 8-bit with the older model. Up to now, I managed the 11-bit part by converting some lines out of the lm63 source code. The temperature reading of the 75387 with the modified kernel module code seems now to be valid, so the module really seems to operate the chip.
> 
If you have a patch adding support for the F75387, can you submit it to
the list ? After all, you are asking for support, so it would only be
fair to give something back.

> However, I defined some labels in /etc/sensors3.conf. These labels do not appear in the sensors command. When strace'ing the sensors command I see that the /sys/class/hwmon/hwmon0/device/in0_label and all other label files do not exist.
> Additionally, the thresholds defined in sensors3.conf are not written to the appropriate files in /sys/class/hwmon/hwmon0/device, although the threshold files temp1_max and others do exist. I can define them manually by just echo'ing the threshold value into temp1_max. Then the command sensors does show the right threshold.
> The "ignore" statements (e.g. ignore fan1) also do not have any effect.
> 
The relevant entries of your configuration file as well as the output of
"sensors" might help.

> So this is my question: Which are the prerequisites for the module to create the label files and to set the thresholds on module load?
> 
Not sure I understand. Are you saying that "sensors -s" does not work ?
And what do you mean with "prerequisites for the module to create the
label files" ? As far as I can see, the f75375s driver does not create
any label files.

My wild guess is that the entry you created in sensors3.conf doesn't
match the device name, and thus the sensors command does not have a
means to connect the configuration entry with the actual device. We
would need to see the configuration file entry and the sensors command
output to be able to determine what is going on.

> (..or is this in the end a question for the kernel list..?)
> 
> Best Regards
> Björn Gerhart
> 
> WINCOR NIXDORF International GmbH
> Sitz der Gesellschaft: Paderborn
> Registergericht Paderborn HRB 3507
> Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
> Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
> Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193
> 
> Diese E-Mail enthält vertrauliche Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
> informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
> 
> This e-mail may contain confidential information.
> If you are not the intended recipient (or have received this e-mail in error)
> please notify the sender immediately and destroy this e-mail.
> Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
> 

You might want to remove such disclaimers from e-mails sent to public
lists, at least if you don't want your e-mail to be ignored (or deleted
as requested). If that is against company policy, and/or if the
information is added automatically by your company's e-mail system, you
might want to consider using a Google account or similar for public
communication.

Guenter



_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors



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

  Powered by Linux