Occidentalis, I2C & lm-sensors issue

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
pdp7
 
Posts: 27
Joined: Sun Apr 24, 2011 1:35 am

Occidentalis, I2C & lm-sensors issue

Post by pdp7 »

Hi - I hope this is the best place to discuss Occidentalis. I had been using an I2C TMP102 temp sensor (http://www.element14.com/community/grou ... spberry-pi) with bootc.net's image (http://www.bootc.net/archives/2012/07/0 ... ezy-image/). I was able to read the TMP102 via the 'senors' utility which I installed via the 'lm-sensors' package.

This week I tried out Occidentalis and was pleased to get the 1-wire DS18B20 temp sensor working with it. However, when I tried to use the I2C TMP102, I received an error message from 'sensors': http://www.element14.com/community/grou ... ment-15937

This is a screenshot:
Image

i2cdetect does see the TMP102 on the bus, but the issue is that the 'sensors' utility reports:

"No sensors found!"
"Make sure you loaded all the kernel drivers you need"

Any ideas would be appreciated. (I'll add a screenshot of i2cdetect from Occidentalis tonight, but it did see a device at 0x48 which is the TMP102's address).

UPDATE: screenshots including hwclock not finding ds1307 located at: https://picasaweb.google.com/1175420012 ... 01I2CIssue#

Thanks,
Drew
Last edited by pdp7 on Sun Aug 12, 2012 4:27 am, edited 1 time in total.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Occidentalis, I2C & lm-sensors issue

Post by adafruit »

sounds like theres some other driver cboot has wrapped in that we do not, you should put in an issue on our linux kernel repo at the adafruit github repo

can you do that?

pdp7
 
Posts: 27
Joined: Sun Apr 24, 2011 1:35 am

Re: Occidentalis, I2C & lm-sensors issue

Post by pdp7 »

Sure, but I don't see the Issues tab on the adafruit account's adafruit-raspberrypi-linux repo:

http://i.imgur.com/LyUpX.png

like I do for the raspberrypi account's linux repo:

http://i.imgur.com/Hx0z5.png

thanks,
drew

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: Occidentalis, I2C & lm-sensors issue

Post by adafruit »

huh. ok we'll just remember it on our todo list

pdp7
 
Posts: 27
Joined: Sun Apr 24, 2011 1:35 am

Re: Occidentalis, I2C & lm-sensors issue

Post by pdp7 »

I think that your adafruit-raspberrypi-linux repo doesn't have Issues enabled. Looking at one of my repos, I see a checkbox for Issues under the Admin section:

http://i.imgur.com/S7BDX.png
Image

pdp7
 
Posts: 27
Joined: Sun Apr 24, 2011 1:35 am

Re: Occidentalis, I2C & lm-sensors issue

Post by pdp7 »

Comparing with bootc.net's image, I see the problem for TMP102 and DS1307 is that Occidentalis is missing the kernel modules. This is what bootc.net image loads:

root@raspberrypi:~# lsmod
Module Size Used by
tmp102 2571 0
hwmon 1023 1 tmp102
rtc_ds1307 6171 0

User avatar
steverino
 
Posts: 2
Joined: Tue Aug 14, 2012 6:53 am

Re: Occidentalis, I2C & lm-sensors issue

Post by steverino »

I haven't tried it yet, but there's some discussion on the Raspberry Pi boards about this topic. They show an example of using the tmp102 without the lm-sensors tools.

http://www.raspberrypi.org/phpBB3/viewt ... 44&t=11319

pdp7
 
Posts: 27
Joined: Sun Apr 24, 2011 1:35 am

Re: Occidentalis, I2C & lm-sensors issue

Post by pdp7 »


Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”