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/

Occidentalis, I2C & lm-sensors issue

by pdp7 on Thu Aug 09, 2012 4:16 pm

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/groups/raspberry-pi/blog/2012/07/26/is-it-done-yet-temperature-sensing-with-the-raspberry-pi) with bootc.net's image (http://www.bootc.net/archives/2012/07/01/updated-debian-wheezy-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/groups/raspberry-pi/blog/2012/08/08/raspberry-pi-speaks-1-wire-with-adafruits-occidentalis-image#comment-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 ... 1I2CIssue#

Thanks,
Drew
Last edited by pdp7 on Sun Aug 12, 2012 3:27 am, edited 1 time in total.
pdp7
 
Posts: 27
Joined: Sun Apr 24, 2011 12:35 am

Re: Occidentalis, I2C & lm-sensors issue

by adafruit on Thu Aug 09, 2012 4:46 pm

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?
User avatar
adafruit
 
Posts: 11666
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Occidentalis, I2C & lm-sensors issue

by pdp7 on Fri Aug 10, 2012 1:15 am

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
pdp7
 
Posts: 27
Joined: Sun Apr 24, 2011 12:35 am

Re: Occidentalis, I2C & lm-sensors issue

by adafruit on Fri Aug 10, 2012 11:19 am

huh. ok we'll just remember it on our todo list
User avatar
adafruit
 
Posts: 11666
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: Occidentalis, I2C & lm-sensors issue

by pdp7 on Sun Aug 12, 2012 2:54 am

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 12:35 am

Re: Occidentalis, I2C & lm-sensors issue

by pdp7 on Sun Aug 12, 2012 5:22 am

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
pdp7
 
Posts: 27
Joined: Sun Apr 24, 2011 12:35 am

Re: Occidentalis, I2C & lm-sensors issue

by Steverino on Tue Aug 14, 2012 6:01 am

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
Steverino
 
Posts: 2
Joined: Tue Aug 14, 2012 5:53 am

Re: Occidentalis, I2C & lm-sensors issue

by pdp7 on Tue Aug 14, 2012 11:25 am

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