Bug 7911 - ADM1030 unrecognized in PowerBook G4 867MHz via therm_windtunnel module
Summary: ADM1030 unrecognized in PowerBook G4 867MHz via therm_windtunnel module
Status: REJECTED DOCUMENTED
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: PPC-64 (show other bugs)
Hardware: i386 Linux
: P2 high
Assignee: Benjamin Herrenschmidt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-31 14:40 UTC by Joe Stone
Modified: 2007-02-04 20:46 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.19.2
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Joe Stone 2007-01-31 14:40:29 UTC
Most recent kernel where this bug did *NOT* occur:
Distribution: Ubuntu Edgy
Hardware Environment: PowerBook G4 867MHz, model A1010
Software Environment: 
Problem Description: The source code within therm_windtunnel.c does not
correctly recognize this PowerBook G4 in function g4fan_init. 

Steps to reproduce: Dependant upon specific PowerBook G4 hardware

Open Firmware Dump follows:

0 > dev / ls
ff882e80: /cpus
ff883158:   /PowerPC,G4@0
ff8835b0:     /l2-cache
ff884368: /chosen
ff8845b0: /memory@0
ff884888: /openprom
ff884a60:   /client-services
ff885d78: /rom@ff800000
ff885fa0:   /boot-rom@fff00000
ff886210:   /macos
ff886318: /options
ff886420: /aliases
ff888860: /packages
ff888970:   /deblocker
ff889338:   /disk-label
ff889e30:   /obp-tftp
ff893740:   /telnet
ff894068:   /mac-parts
ff895a10:   /mac-files
ff898c00:   /hfs-plus-files
ff89df20:   /fat-files
ff8a0848:   /iso-9660-files
ff8a16d8:   /bootinfo-loader
ff8a3378:   /xcoff-loader
ff8a3e40:   /pe-loader
ff8a48c0:   /elf-loader
ff8a5f98:   /usb-hid-class
ff8a8b58:   /usb-ms-class
ff8ab8c0:   /usb-audio-class
ff919468:   /sbp2-disk
ff91c3a0:   /ata-disk
ff91e910:   /atapi-disk
ff920cf0:   /bootpath-search
ff9276a0:   /terminal-emulator
ff927818: /firewire-disk-mode
ff93d3e0: /pseudo-hid
ff93d510:   /keyboard
ff93dc38:   /mouse
ff93e1f8:   /eject-key
ff93e6f8: /pseudo-sound
ff93ea58: /multiboot
ff9528d8: /diagnostics
ff9529e8: /nvram@fff04000
ff954080: /uni-n@f8000000
ff9542b0:   /hw-clock
ff955250:   /i2c@f8001000
ff955d90:     /fan@158
ff9572c0:     /cereal@1c0
ff957a38: /pci@f0000000
ff9af080:   /uni-north-agp@b
ff9af408:   /NVDA,Parent@10
ff9ceda8:     /NVDA,Display-A@0
ff9d2208:       /i2c
ff9cfbd0:     /NVDA,Display-B@1
ff958c70: /pci@f2000000
ff95b7a8:   /mac-io@17
ff962bc8:     /interrupt-controller@40000
ff962e38:     /gpio@50
ff963090:       /extint-gpio1@9
ff963390:       /programmer-switch@11
ff963680:       /gpio4@1e
ff963858:       /gpio5@6f
ff963a70:       /gpio6@70
ff963c90:       /extint-gpio4@5c
ff963f20:       /gpio11@75
ff964170:       /extint-gpio15@67
ff9643e0:     /escc-legacy@12000
ff964680:       /ch-a@12004
ff9648a8:       /ch-b@12000
ff964ad0:     /escc@13000
ff964d80:       /ch-a@13020
ff965988:       /ch-b@13000
ff966510:     /i2s@10000
ff966768:       /i2s-a@10000
ff966ac0:         /sound
ff967248:     /timer@15000
ff967468:     /via-pmu@16000
ff96aea0:       /pmu-i2c
ff96bce8:       /rtc
ff96c3e8:       /adb
ff96c5c8:         /keyboard@2
ff96d508:         /mouse@3
ff96d900:         /eject-key
ff96db28:       /power-mgt
ff9d2918:         /usb-power-mgt
ff96ded8:     /battery@0
ff96e028:     /backlight@f300
ff96e1e0:     /i2c@18000
ff96ed38:       /cereal@1c0
ff96f4b0:       /deq@6a
ff9d1ea8:       /i2c-modem
ff96f638:     /ata-3@20000
ff972418:       /disk
ff980630:   /pci80211@12
ff981138:   /usb@18
ff9d09d8:     /device@2
ff9d0b80:       /interface@0
ff9d0ce8:       /interface@1
ff9d0e48:       /interface@2
ff989110:   /usb@19
ff9910e8:   /usb@1a
ff959f10: /pci@f4000000
ff999298:   /ata-6@d
ff99c538:     /disk
ff99cc18:   /firewire@e
ff9a9c00:   /ethernet@f
ff9d2b88:     /ethernet-phy
ff95b180: /vsp@f9000000
ff95b498:   /veo@f9080000
ff95b620:   /veo@f9180000
 ok

0 > dev / .properties
model                   PowerBook6,1
compatible              PowerBook6,1
                        MacRISC3
                        Power Macintosh
serial-number           MRT









                        UV3032DA





















customer-sw-config
color-code              ff13
scb#                    00000001
display-config-info     08000013 00000000
name                    device-tree
copyright               Copyright 1983-2002 Apple Computer, Inc. All Rights Reserved
device_type             bootrom
system-id               0000000000000
#address-cells          00000001
#size-cells             00000001
clock-frequency         07ef4594
AAPL,add-fcode-file     ff862ec0
graphic-options         00000009

 ok



0 > dev /pci@f2000000/mac-io/via-pmu/power-mgt .properties
name                    power-mgt
device_type             power-mgt
compatible              via-pmu-99
max-aux-power           00000000
registry-name           65787469 6e742d67 70696f31 00
prim-info               000000ff 00000060 00003e80 00017fb5 0002d607 00000000
                        00011300 46000220
                        101400
thermal-info            030102
clock-spreading-info    02d4d506 01000000 01000000 00800000 00000000 06200000
                        00000000 00000000 08000000 00000000 00000000 00000000
                        00000000 00000000

 ok


0 > dev fan .properties
name                    fan
compatible              adm1030
device_type             adm1030
built-in
reg                     00000158
hwsensor-params-version 00000001
hwsensor-id             00000000 00000001
hwsensor-zone           00000000 00000000
hwsensor-type           74656d70 65726174 75726500 74656d70 65726174 75726500
hwsensor-location       47505520 544f5053 49444500 43505520 424f5454 4f4d5349 444500
hwsensor-polling-period 0000000a 0000000a
hwctrl-params-version   00000001
hwctrl-id               00000000
hwctrl-zone             00000000
hwctrl-type             66616e00
hwctrl-location         52454152 20455848 41555354 00
company-id              00000041
device-id               00000030

 ok
Comment 1 Andrew Morton 2007-01-31 14:45:23 UTC
Powerbooks don't use acpi ;)  Reassigning to Ben.
Comment 2 Len Brown 2007-01-31 19:07:37 UTC
moving to Platform Specific/Harware -- PPC-64
Comment 3 Benjamin Herrenschmidt 2007-02-04 17:24:13 UTC
therm_windtunnel is only mean for those desktop G4s also known as "windtunnel".
There is no driver for PowerBooks with an ADM1030, it's assumed that the
firmware setttings are good enough. 
Comment 4 Anonymous Emailer 2007-02-15 10:41:32 UTC
Reply-To: wellsandlake@googlemail.com

Hello, I use a 800 mhz g4 15" Powerbook.
The onboard video doesn't work but the DVI works fine.
I suppose I have a Powerbook mac mini.
It all works fine but for the fact that I have to install a new OS in a 
Wall Street and transfer the drive to the G4. I get no boot screen or 
Open Firmware screen through my DVI output.
I know there is a entry for the DVI output in the OF ls device tree, 
but I can't access the OF device tree through the terminal. If there is 
a command I can't find it in the man pages.
I can change the OF devices through the Terminal.
I see you have put your entire ls OF device tree in the webpage I foung 
through google, but the listing I need to see has this notice "email 
protected".
I have tried to access my OF screen through telnet from a client 
computer but I can't even get a ping from the G4 through OF.
If you could send me an attachment with your complete OF device tree, 
or the Terminal command for accessing the OF device tree I would be 
most appreciative.
Thanks
  


Note You need to log in before you can comment on or make changes to this bug.