The Following 2 Users Say Thank You to peterleinchen For This Useful Post: | ||
|
2012-07-20
, 05:43
|
|
Posts: 209 |
Thanked: 156 times |
Joined on Jun 2012
|
#62
|
|
2012-07-20
, 06:37
|
Posts: 30 |
Thanked: 13 times |
Joined on May 2011
|
#63
|
|
2012-07-20
, 17:59
|
|
Posts: 249 |
Thanked: 345 times |
Joined on Aug 2010
@ Italy
|
#64
|
|
2012-07-20
, 19:13
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#65
|
#temperatura=`cat /sys/class/power_supply/bq27200-0/temp` ###temperatura=`cat /sys/devices/platform/omap34xx_temp/temp1_input | awk '{ sub(/-/,""); print $1+7}'` if [ -n "$(lsmod | grep bq27x00)" ] then temperatura=`echo $(cat /sys/class/power_supply/bq27200-0/temp)0` else temperatura=`echo $(i2cget -y 2 0x55 0x06 w) | awk '{ printf ($1*0.25-273)*100 }'` fi temperatura=`expr \( $temperatura + 50 \) \/ 100` echo "temp: " $temperatura
|
2012-07-20
, 21:53
|
|
Posts: 249 |
Thanked: 345 times |
Joined on Aug 2010
@ Italy
|
#66
|
|
2012-07-20
, 22:24
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#67
|
|
2013-04-29
, 01:21
|
Posts: 119 |
Thanked: 24 times |
Joined on Jun 2012
|
#68
|
|
2013-04-30
, 16:28
|
|
Posts: 249 |
Thanked: 345 times |
Joined on Aug 2010
@ Italy
|
#69
|
|
2014-06-15
, 21:57
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#70
|
I am sure there was some discussion to not use bq27x00 anymore together with (by default) enabled BME, but am unsure now.
I do not have it blacklisted anymore (/etc/modules.d/blacklist), but it also get not loaded anymore (/etc/modules).
Hopefully somebody may shed light here?
But anyway here is solution