Ticket #2355 (closed enhancement: invalid)
Adding PowerBook G4 support
| Reported by: | ticket | Owned by: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | sensors | Version: | |
| Keywords: | powerbook, support, kernel module | Cc: | jjdanimoth@… |
Description
Hello to all, I've an Apple Powerbook G4, and ( for now ) lm_sensors can't recognize anything. But I've found a possible solution.
Let me go inorder. I installed lm_sensors and try sensor-detect. The script runs fine, and tell me that it has found 3 modules:
Driver `smartbatt' (should be inserted):
Detects correctly:
* Bus `radeonfb monid'
Busdriver `UNKNOWN', I2C address 0x0b
Chip `Smart Battery' (confidence: 5)
Driver `max6650' (should be inserted):
Detects correctly:
* Bus `radeonfb monid'
Busdriver `UNKNOWN', I2C address 0x1b
Chip `Maxim MAX6650/MAX6651' (confidence: 3)
* Bus `radeonfb monid'
Busdriver `UNKNOWN', I2C address 0x1f
Chip `Maxim MAX6650/MAX6651' (confidence: 3)
* Bus `radeonfb monid'
Busdriver `UNKNOWN', I2C address 0x48
Chip `Maxim MAX6650/MAX6651' (confidence: 3)
* Bus `radeonfb monid'
Busdriver `UNKNOWN', I2C address 0x4b
Chip `Maxim MAX6650/MAX6651' (confidence: 3)
Driver `lm75' (should be inserted):
Detects correctly:
* Bus `uni-n 1'
Busdriver `UNKNOWN', I2C address 0x49
Chip `Dallas Semiconductor DS75' (confidence: 6)
I load these three modules... ...but, when I try to load sensors ( with the config that sensors-detect has created...)
$ sudo sensors -s No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
No good !
So I tried another program ( computertemp, a gnome applet ) and.. surprise ! It works fine! I have investigated how it works. It load the same module that use computertemp ( therm_adt746x ) and this is the dmesg:
adt746x: version 1 (supported) adt746x: Thermostat bus: 1, address: 0x2e, limit_adjust: 0, fan_speed: -1 sensor 0: CPU/INTREPID BOTTOMSIDE sensor 1: CPU BOTTOMSIDE sensor 2: PWR SUPPLY BOTTOMSIDE adt746x: ADT7467 initializing
Sounds good.. I've checked under /sys/devices/temperatures, and I've found all the temperatures and fan speed. One example:
$cat /sys/devices/temperatures/sensor1_location CPU BOTTOMSIDE $ cat /sys/devices/temperatures/sensor1_temperature 47
This is good ! So I've restarted sensors, sure that now it can recognize all things, but... same No Sensors found! error...
We have the right module in the kernel, but lm_sensors doesn't recognize it.
There is a possibility that the Powerbook Aluminium G4 support is added? If you need more tests, controls or other let me know.
Many Thanks !
