OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

Profile
Personal Photo
Options
Options
Personal Statement
Nick Lee doesn't have a personal statement currently.
Personal Info
Nick Lee
Age Unknown
Gender Not Set
Location Unknown
Birthday Unknown
Interests
No Information
Statistics
Joined: 30-July 10
Profile Views: 380*
Last Seen: 5th August 2010 - 12:24 AM
Local Time: Dec 27 2014, 04:50 AM
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

Members


Topics
Posts
Comments
Friends
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!

Ta,

Nick
Last Visitors
Nick Lee has no visitors to display.

Comments
Other users have left no comments for Nick Lee.

Friends
There are no friends to display.
RSS Lo-Fi Version Time is now: 26th December 2014 - 07:50 PM