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

Re: Setup WOL (Wake On LAN) on PPC (MacMiniG4)



On Mon, Sep 20, 2010 at 6:49 AM, Paul Mackerras <paulus@samba.org> wrote:
> On Fri, Sep 17, 2010 at 02:49:35PM +0200, Mathieu Malaterre wrote:
>
>> How can I test this ? I tried to suspend-to-ram using:
>>
>> $ sudo apt-get install uswsusp
>> $ sudo s2ram
>> Switching from vt7 to vt1
>> s2ram_do: No such device
>> switching back to vt7
>>
>> with:
>>
>> $ sudo s2ram -n
>>
>>           ~
>> We don't have quirks and hence no whitelist on powerpc
>>
>> How else can I try ?
>
> What video chip do you have?  The main problem is that we only know
> how to re-initialize some specific radeon chips.  Have a look at
> radeonfb_pm_init() in drivers/video/aty/radeon_pm.c to see what ones
> we can do suspend/resume on.

[Sorry for late answer, some minor health issues]

Here is what I have:


$ sudo lspci -vvx -s 0000:00:10.0
0000:00:10.0 VGA compatible controller: ATI Technologies Inc RV280
[Radeon 9200] (rev 01) (prog-if 00 [VGA controller])
	Subsystem: ATI Technologies Inc RV280 [Radeon 9200]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 255 (2000ns min), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 48
	Region 0: Memory at 98000000 (32-bit, prefetchable) [size=128M]
	Region 1: I/O ports at 0400 [size=256]
	Region 2: Memory at 90000000 (32-bit, non-prefetchable) [size=64K]
	Expansion ROM at 90020000 [size=128K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit-
FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=8 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: radeonfb
	Kernel modules: radeon
00: 02 10 62 59 07 00 b0 02 01 00 00 03 08 ff 00 00
10: 08 00 00 98 01 04 00 00 00 00 00 90 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 02 10 62 59
30: 01 00 02 90 58 00 00 00 00 00 00 00 ff 01 08 00



Browsing through drivers/video/aty/radeon_pm.c, I can see ref to
RV280. Should I report something ?

Thanks !
-- 
Mathieu


Reply to: