Re: Supporting ADT7481 temperature sensor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 12 Oct 2012 10:30:32 +0000, Jia Hongtao-B38951 wrote:
> Hello all,
> 
> 
> 
> I'm looking for ADT7481 support in kernel.
> 
> I got some messages here:
> 
> http://www.spinics.net/lists/lm-sensors/msg25066.html
> 
> 
> 
> It seems this patch has not been upstreamed yet.
> 
> 
> 
> Does anyone know where to find the patch?

There was a discussion but no code was ever submitted. You should try
contacting Malcolm, but it was long ago, he may have changed jobs or
lost interest meanwhile.

> If not could anyone know a quick way to support ADT7481 in kernel?

You can try forcing ADT7461 support on your chip as apparently the
ADT7481 implements a superset of the ADT7461 features. Find which i2c
bus your chip is on, then from user space, do:

# echo adt7461 $ADDR > /sys/bus/i2c/devices/i2c-$BUSNR/new_device

where $ADDR is the hexadecimal 7-bit address address of your ADT7461
device, and $BUSNR the i2c bus number.

Obviously you won't have support for the 2nd external sensor that way,
but that's a start.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux