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/

I did some digging around and couldn't find a Linux module for the TMP006.

Writing a Linux kernel module is outside my area of expertise, but I can't imagine it would be a trivial port of the Arduino code. My guess is that you'd be better off moving the code up a layer of abstraction or two and make a library you can call from within your own code.

The Arduino code can give you a general roadmap there. It has all the constants and call-response sequences necessary to make the TMP006 talk.

When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.

Kernel drivers are convenient, but they aren't necessary. If you have one, it does all the annoying gruntwork of translating "I want a temperature reading" into a series of I2C commands. If you don't have one, you can send those same commands yourself.

The Adafruit I2C python module: https://github.com/adafruit/Adafruit-Ra ... uit_I2C.py gives you some basic functions that control the I2C bus directly. You can combine those with the "here's how to talk to the TMP006" code from the Arduino library and make your own module that will get the sensor working for you.

When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.