It looks like the problem was your display driver.  In order to support 
suspend, the driver for your display may need to be updated.  And 
display adapters from some vendors will probably never be made to 
support CPR, because the vendor has to provide sufficient programming 
information to fully initialize the device without reliance on BIOS.  
Many (most!) video hardware vendors do not provide this information.  
(There are some workarounds available in certain other circumstances -- 
I think, for example, that Nvidia has developed their own 
Nvidia-specific solution.  In any case, at least some Nvidia displays 
suspend properly.)

    -- Garrett

Venu C wrote:
> Since Suspend failed on driver support to cpr, I am CC to driver-discuss.
>
> Thanks,
> Venu.
>
> Venu C wrote:
>   
>> Randy Fishel wrote:
>>     
>>> On Tue, 14 Oct 2008, Venu Chennupati wrote:
>>>
>>>  
>>>       
>>>> Is the cpr(suspend-resume) is supported on Solaris x86 platform?. 
>>>> when I tried
>>>> "/usr/openwin/bin/sys-suspend" and selected "suspend" operation, got 
>>>> notified
>>>> suspend is not supported.
>>>>
>>>> Is there any otherway to enable it or the cpr is not supported on x86.
>>>>
>>>> Thanks,
>>>> Venu.
>>>>     
>>>>         
>>>   It is supported, but it may or may not work on your particular 
>>> platform.  Check the FAQ's at the OpenSolaris Power Management 
>>> Community pages for help in getting it configured for your machine, 
>>> and if you still have problems, come back and ask.
>>>
>>>     http://opensolaris.org/os/community/pm/
>>>   
>>>       
>>    I have updated /etc/power.conf with the line "S3-support enable". 
>> Seems like
>>   cpr is enabled post pmconfig/reboot. But the suspend fails for a 
>> display device:
>>
>> Oct 20 11:13:41 lippert genunix: [ID 535284 kern.notice] System is 
>> being suspended
>> Oct 20 11:13:42 lippert genunix: [ID 122848 kern.warning] WARNING: 
>> Unable to suspend device display at 2.
>> Oct 20 11:13:42 lippert genunix: [ID 537702 kern.warning] WARNING: 
>> Device is busy or does not support suspend/resume.
>> Oct 20 11:13:44 lippert cpr: [ID 208601 kern.notice]
>> Oct 20 11:13:44 lippert The system is back where you left!
>> Oct 20 11:13:44 lippert genunix: [ID 583038 kern.notice] System has 
>> been resumed.
>>
>> The display is based on Intel Graphics Controller(0x8086, 0x8108) and 
>> its info is below:
>>
>>        display, instance #0 (driver name: vgatext)
>>            Driver properties:
>>                name='ddi-no-autodetach' type=int items=1 dev=none
>>                    value=00000001
>>                name='fm-errcb-capable' type=boolean dev=none
>>                name='fm-ereport-capable' type=boolean dev=none
>>            Hardware properties:
>>                name='pci-pm-context' type=byte items=12
>>                    value=00.00.00.00.d0.00.00.00.03.00.00.00
>>                name='pci-cap-info' type=byte items=16
>>                    value=d0.00.01.00.02.00.00.00.90.00.05.00.03.00.00.00
>>                name='pci-config-regs' type=byte items=52
>>                    
>> value=07.00.00.00.00.00.00.00.00.00.f0.fd.01.ff.00.00.00.00.
>> 00.d0.00.00.f8.fd.00.00.00.00.00.00.00.00.01.b0.22.00.00.00.00.00.05.00.00.00.00
>>  
>>
>> .00.00.00.00.00.00.00
>>                name='acpi-namespace' type=string items=1
>>                    value='\_SB_.PCI0.GFX0'
>>                name='video-adapter-type' type=string items=1
>>                    value='svga'
>>
>>                name='display-type' type=string items=1
>>                    value='color'
>>                name='assigned-addresses' type=int items=35
>>                    
>> value=82001010.00000000.fdf00000.00000000.00080000.81001014.
>> 00000000.0000ff00.00000000.00000008.82001018.00000000.d0000000.00000000.10000000
>>  
>>
>> .8200101c.00000000.fdf80000.00000000.00040000.a1001000.00000000.000003b0.0000000
>>  
>>
>> 0.0000000c.a1001000.00000000.000003c0.00000000.00000020.82001000.00000000.000a00
>>  
>>
>> 00.00000000.00020000
>>                name='reg' type=int items=40
>>                    
>> value=00001000.00000000.00000000.00000000.00000000.02001010.
>> 00000000.00000000.00000000.00080000.01001014.00000000.00000000.00000000.00000008
>>  
>>
>> .02001018.00000000.00000000.00000000.10000000.0200101c.00000000.00000000.0000000
>>  
>>
>> 0.00040000.a1001000.00000000.000003b0.00000000.0000000c.a1001000.00000000.000003
>>  
>>
>> c0.00000000.00000020.82001000.00000000.000a0000.00000000.00020000
>>                name='compatible' type=string items=7
>>                    value='pci8086,8108.8086.7270.6' + 
>> 'pci8086,8108.8086.7270'
>> + 'pci8086,7270' + 'pci8086,8108.6' + 'pci8086,8108' + 
>> 'pciclass,030000' + 'pcic
>> lass,0300'
>>                name='model' type=string items=1
>>
>>                    value='VGA compatible controller'
>>                name='power-consumption' type=int items=2
>>                    value=00000001.00000001
>>                name='devsel-speed' type=int items=1
>>                    value=00000000
>>                name='interrupts' type=int items=1
>>                    value=00000001
>>                name='max-latency' type=int items=1
>>                    value=00000000
>>                name='min-grant' type=int items=1
>>                    value=00000000
>>                name='subsystem-vendor-id' type=int items=1
>>                    value=00008086
>>                name='subsystem-id' type=int items=1
>>                    value=00007270
>>                name='device_type' type=string items=1
>>                    value='display'
>>                name='unit-address' type=string items=1
>>                    value='2'
>>                name='class-code' type=int items=1
>>                    value=00030000
>>
>>                name='revision-id' type=int items=1
>>                    value=00000006
>>                name='vendor-id' type=int items=1
>>                    value=00008086
>>                name='device-id' type=int items=1
>>                    value=00008108
>>            Device Minor Nodes:
>>                dev=(99,0)
>>                    dev_path=/pci at 0,0/display at 2:text-0
>>                        spectype=chr type=minor
>>                        dev_link=/dev/fb
>>                        dev_link=/dev/fbs/text-0
>>                        dev_link=/dev/vt00
>>                        dev_link=/dev/text-0
>>                        dev_link=/dev/fb0
>>                    Minor properties:
>>                        name='ddi-kernel-ioctl' type=boolean dev=(99,0)
>>
>> and the platform iotree:
>>
>> System Configuration:  Sun Microsystems  i86pc
>> Memory size: 1015 Megabytes
>> System Peripherals (Software Nodes):
>>
>> i86pc (driver name: rootnex)
>>    scsi_vhci, instance #0 (driver name: scsi_vhci)
>>    isa, instance #0 (driver name: isa)
>>        motherboard
>>        pit_beep, instance #0 (driver name: pit_beep)
>>    pci, instance #0 (driver name: npe)
>>        pci8086,7270
>>        display, instance #0 (driver name: vgatext)
>>        pci8086,7270
>>        pci8086,7270, instance #0 (driver name: audiohd)
>>        pci8086,8110, instance #0 (driver name: pcie_pci)
>>            pci8086,1000, instance #0 (driver name: wpi)
>>        pci8086,8112, instance #1 (driver name: pcie_pci)
>>            pci10b5,8112, instance #2 (driver name: pcie_pci)
>>                pci8086,1209, instance #0 (driver name: iprb)
>>                pci1283,8888
>>                pci1000,12 (driver name: symhisl)
>>        pci8086,7270, instance #0 (driver name: uhci)
>>        pci8086,7270, instance #1 (driver name: uhci)
>>        pci8086,7270, instance #2 (driver name: uhci)
>>        pci8086,7270, instance #0 (driver name: ehci)
>>            hub, instance #1 (driver name: hubd)
>>                device, instance #2 (driver name: usb_mid)
>>                    mouse, instance #4 (driver name: hid)
>>                    input, instance #5 (driver name: hid)
>>                device, instance #3 (driver name: usb_mid)
>>                    keyboard, instance #6 (driver name: hid)
>>                    input, instance #7 (driver name: hid)
>>        pci8086,7270 (driver name: sdhost)
>>        pci8086,7270 (driver name: sdhost)
>>        pci8086,7270 (driver name: sdhost)
>>        pci8086,7270
>>        pci-ide, instance #0 (driver name: pci-ide)
>>            ide, instance #0 (driver name: ata)
>>                cmdk, instance #0 (driver name: cmdk)
>>            ide (driver name: ata)
>>    iscsi, instance #0 (driver name: iscsi)
>>    pseudo, instance #0 (driver name: pseudo)
>>    options, instance #0 (driver name: options)
>>    agpgart, instance #0 (driver name: agpgart)
>>    xsvc, instance #0 (driver name: xsvc)
>>    used-resources
>>    cpus, instance #0 (driver name: cpunex)
>>        cpu, instance #0 (driver name: cpudrv)
>>        cpu, instance #1 (driver name: cpudrv)
>> #
>>
>> I remember using the sequence on sparc (uadmin 3 101, uadmin 3 102, 
>> uadmin 3 0)
>> flags 101, 102 give more details on cpr operation, is it still 
>> supported on x86 platform?
>>
>>
>> Thanks,
>> Venu.
>>
>>
>>
>>
>>
>>     
>>>   Cheers!
>>>
>>>
>>>     ---- Randy
>>>
>>>
>>>   
>>>       
>>     
>
> _______________________________________________
> driver-discuss mailing list
> driver-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>   


Reply via email to