OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Personal Photo
Personal Statement
Nick Lee doesn't have a personal statement currently.
Personal Info
Nick Lee
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
No Information
Joined: 30-July 10
Profile Views: 1,308*
Last Seen: 5th August 2010 - 12:24 AM
Local Time: Jul 10 2020, 07:26 PM
2 posts (0 per day)
Contact Information
AIM No Information
Yahoo No Information
ICQ No Information
MSN No Information
* Profile views updated each hour

Nick Lee


My Content
2 Aug 2010
I'm trying to include the driver for National Semiconductor's LM63 chip in our build and am having trouble getting it to work. I've selected the following in the kernel configuration:

(*) I2C Support
(*) I2C Device Interface
(*) Autoselect Pertinent Helper Modules
(M) Hardware Monitoring Support
(M) National Semiconductor LM63
(M) Generic Thermal sysfs driver
(*) Hardware Monitoring Support

In bitbake, I've added kernel-modules and lmsensors-apps. The latter seems to exclude all the required libraries from the final image, even though they get built - but when I copy them manually to the board, I can run i2cdump, etc. Running i2cdump on the correct address for the sensor I'm trying to read gives me the temperature, as expected. However, when I link a program to libsensors (which also has to be copied across manually, which is probably a clue to what the problem is), and attempt to read from the sensor using the interface provided by lmsensors, it fails with an error code which I've traced to the part of the source code that reads from sysfs. Looking in sysfs, there appears to be no entry for the temperature sensor, though I'm not entirely sure where it should be! I've done modprobe lm63 and modprobe thermal_sys.

Should there be an entry somewhere in /dev or /sys/fs for the various sensors supported by the LM63 module?
How do I correctly add support for this module in bitbake / kernel config, as I'm convinced there are bits missing?

Hope I've provided enough information - if there is anything missing, please ask!


Last Visitors
Nick Lee has no visitors to display.

Other users have left no comments for Nick Lee.

There are no friends to display.
RSS Lo-Fi Version Time is now: 10th July 2020 - 10:26 AM