Re: Trying to get suspend to RAM working on an X31

2014-10-11 Thread John Magolske
* Mike Larkin mlar...@azathoth.net [141010 11:18]:
 On Fri, Oct 10, 2014 at 10:01:18AM -0700, John Magolske wrote:
  Upon issuing the `zzz` command, the screen turns off, the machine
  spins down and the little crescent-moon sleep indicator lights up.
  But when woken, the screen comes up frozen with lots of vertical
  stripes. Blind-typing comands into the console has no effect (e.g.
  `zzz` from a root console then `halt -p` after the awakening attempt).
 
 boot -c , disable radeondrm (and also disable auto xdm start).
 
 See if you can zzz/resume from the console without radeondrm running.
 
 That will at least give us a place to start.
 
 Another thing you can try is seeing if the machine is in ddb on resume
 for some reason. Try a few (3 or 4) bo re  commands (enter after each). See
 if the machine reboots, and if so you might have clues in dmesg after 
 reboot.

Thanks, that made a difference. Appears to be suspending to RAM --
hard drive spins down, crescent-moon indicator lights up, screen goes
black...but then the backlight comes back on while remaining in sleep
mode. Closing and opening the lid brings it back to life promptly with
no stripes on the screen, everything is working fine. I just repeated
this reliably about 10 times in a row.

Now if I could figure out how to keep the backlight from coming back
on immediately after the suspend. Also wondering how much I'd be
giving up by forgoing DRM in my case with this mobility radeon 7000.

Rebooted, then suspended to the frozen screen with vertical stripes,
tried the suggested `bo re` ... but no, that screen is frozen solid.

Regards,

John

-- 
John Magolske
http://B79.net/contact



Trying to get suspend to RAM working on an X31

2014-10-10 Thread John Magolske
cardbus0 at cardslot0: bus 3 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 6 device 0 cacheline 0x0, lattimer 0xb0
pcmcia1 at cardslot1
ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x01
pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: IC25N040ATCS04-0
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 disabled (no drives)
ichiic0 at pci0 dev 31 function 3 Intel 82801DB SMBus rev 0x01: irq 5
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 1GB DDR SDRAM non-parity PC2700CL2.5
auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x01: irq 5, ICH4 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
Intel 82801DB Modem rev 0x01 at pci0 dev 31 function 6 not configured
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on wd0a (b5e7324a89417ecd.a) swap on wd0b dump on wd0b
drm: initializing kernel modesetting (RV100 0x1002:0x4C59 0x1014:0x052F).
radeondrm0: GTT: 256M 0xD000 - 0xDFFF
radeondrm0: VRAM: 128M 0xE000 - 0xE7FF (16M used)
drm: Panel ID String: 1024x768
drm: Panel Size 1024x768
radeondrm0: 1024x768
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)


-- 
John Magolske
http://B79.net/contact