You are not logged in.

#1 2010-09-18 05:24:26

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

[SOLVED] Suspending from Terminal Works Perfectly, with Acpid Not So

As the subject line indicates, if I run s2ram from dmenu, say (I have a line in my sudoers file to run sudo s2ram without having to input the password), my computer suspends and resumes perfectly. If I use the line in my acpid, to suspend automatically when I close the laptop lid, when I resume, the screen appears blank, but what has actually happened is that the screen is very, very dim (shining a flashlight at the screen enables me to read it). I didn't always have this problem, and I do not know what has triggered it.

My handler.sh (the default, except for my addition to button/lid):

#!/bin/sh
# Default acpi script that takes an entry for all actions

# NOTE: This is a 2.6-centric script.  If you use 2.4.x, you'll have to
#       modify it to not use /sys

minspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq`
maxspeed=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
setspeed="/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed"

set $*

case "$1" in
    button/power)
        #echo "PowerButton pressed!">/dev/tty5
        case "$2" in
            PWRF)   logger "PowerButton pressed: $2" ;;
            *)      logger "ACPI action undefined: $2" ;;
        esac
        ;;
    button/sleep)
        case "$2" in
            SLPB)   echo -n mem >/sys/power/state ;;
            *)      logger "ACPI action undefined: $2" ;;
        esac
        ;;
    ac_adapter)
        case "$2" in
            AC)
                case "$4" in
                    00000000)
                        echo -n $minspeed >$setspeed
                    ;;
                    00000001)
                        echo -n $maxspeed >$setspeed
                    ;;
                esac
                ;;
            *)  logger "ACPI action undefined: $2" ;;
        esac
        ;;
    battery)
        case "$2" in
            BAT0)
                case "$4" in
                    00000000)   #echo "offline" >/dev/tty5
                    ;;
                    00000001)   #echo "online"  >/dev/tty5
                    ;;
                esac
                ;;
            CPU0)    
                ;;
            *)  logger "ACPI action undefined: $2" ;;
        esac
        ;;
    button/lid)
        #echo "LID switched!">/dev/tty5
        if [ `/bin/awk '{print $2}' /proc/acpi/button/lid/LID/state` == closed ]; then
        s2ram
        fi
        ;;
    *)
        logger "ACPI group/action undefined: $1 / $2"
        ;;
esac

Help would be much appreciated. I miss the days of just putting my computer in my bag, knowing it had safely suspended.

I don't want to use pm-utils with acpid, but I have tried it in the past when trying to fix this issue, and it didn't work any better than plain old s2ram. I'm running the latest acpid in extra, and my computer is a Fujitsu T900. By the way, my other computer, a Thinkpad X200t, does not have this problem, with the same setup.

Another thing to note is that when I suspend manually, and then close the laptop lid, my computer automatically resumes (to a perfectly lit screen) when I open the lid (so acpid is working). I suspect there is some type of permissions issue going on here... how does acpid execute the handler.sh? I used to have lines for laptop-mode to start and stop, and I noticed that acpid wasn't ever stopping the laptop-mode daemon (I've removed those lines from the script now because I don't need them anymore, but this is interesting to note). So maybe it had insufficient permissions to stop the daemon, and similarly, here, insufficient permissions to properly call s2ram (though I thought the handler.sh was run from root).

I hope my thoughts help in figuring this problem out.

Edit: This issue has been fixed for quite some time now, on a fully-up-to-date Arch machine.

Last edited by Sara (2011-06-08 22:42:44)


Registed Linux User 483618

Offline

#2 2010-09-18 22:35:40

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: [SOLVED] Suspending from Terminal Works Perfectly, with Acpid Not So

This is a bug and there are workarounds. I'll try to post links to the specifics when I get back later, but you should check some of the bug trackers like Red Hat's, Ubuntu's, or Xorg's.

Offline

#3 2010-09-18 23:08:01

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

Re: [SOLVED] Suspending from Terminal Works Perfectly, with Acpid Not So

Thanks a lot. This bug report is particularly helpful, as it notes that the problem is vendor-specific (which explains why my ThinkPad doesn't have the same issue). Unfortunately, I didn't see any workarounds (at this post), though someone recommended that this should be fixed at the kernel level.

[i915] dualscreen: video config is destroyed by acpid (videobtn.sh) when suspending via lid
https://bugs.launchpad.net/ubuntu/+sour … bug/352708

I am using KMS, and was using it even before it was standard, so maybe that's why I didn't experience this problem when I first installed Linux on this machine (though now the problem is KMS-agnostic). I'll keep poking around in the forums you described.

The screenfix.sh script mentioned in Red Hat's bug tracker (adapted for my computer, which uses LVDS1, not LVDS) does not work for me:

#!/bin/sh
xrandr --output LVDS1 --off
xrandr --output LVDS1 --auto

Applying it (I made a keyboard shortcut in xmonad, and I tried adding it under power button in my handler.sh, to make it so that when I switch the power button, the script runs) does not work. Well, it does work in a sense: the screen flashes, so that's the screen turning off and on. But the backlight is not restored, and due to another problem I have with suspend, I can't change the brightness with the brightness keys post suspend. But I do have a script brightness.sh to change the brightness from the cli

#!/bin/sh
sudo sh -c "echo $1 > /sys/class/backlight/acpi_video0/brightness"

that does not work either (post suspend).

Last edited by Sara (2010-09-18 23:50:14)


Registed Linux User 483618

Offline

#4 2010-09-19 02:24:58

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: [SOLVED] Suspending from Terminal Works Perfectly, with Acpid Not So

Can you post your 'lspci -vvnn' output? Mostly just for posterity. Are you able to manually alter the brightness before and after suspending? Also run 'xbacklight' and see what it says.

Browse around the kernel bug tracker and see if anything looks familiar as well.
https://bugzilla.kernel.org/buglist.cgi … =backlight

Last edited by codycarey (2010-09-19 02:29:29)

Offline

#5 2010-09-19 03:16:22

Sara
Member
From: USA
Registered: 2009-07-09
Posts: 219
Website

Re: [SOLVED] Suspending from Terminal Works Perfectly, with Acpid Not So

~$ lspci -vvnn
00:00.0 Host bridge [0600]: Intel Corporation Core Processor DRAM Controller [8086:0044] (rev 12)
    Subsystem: Fujitsu Limited. Device [10cf:1505]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR+ INTx-
    Latency: 0
    Capabilities: <access denied>
    Kernel driver in use: agpgart-intel
    Kernel modules: intel-agp

00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 12) (prog-if 00 [VGA controller])
    Subsystem: Fujitsu Limited. Device [10cf:1508]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 42
    Region 0: Memory at f2000000 (64-bit, non-prefetchable) [size=4M]
    Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Region 4: I/O ports at 1800 [size=8]
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

00:16.0 Communication controller [0780]: Intel Corporation 5 Series/3400 Series Chipset HECI Controller [8086:3b64] (rev 06)
    Subsystem: Fujitsu Limited. Device [10cf:152b]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx+
    Latency: 0
    Interrupt: pin A routed to IRQ 10
    Region 0: Memory at f2827800 (64-bit, non-prefetchable) [size=16]
    Capabilities: <access denied>

00:16.2 IDE interface [0101]: Intel Corporation 5 Series/3400 Series Chipset PT IDER Controller [8086:3b66] (rev 06) (prog-if 85 [Master SecO PriO])
    Subsystem: Fujitsu Limited. Device [10cf:152e]
    Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin C routed to IRQ 18
    Region 0: I/O ports at 1828 [size=8]
    Region 1: I/O ports at 180c [size=4]
    Region 2: I/O ports at 1820 [size=8]
    Region 3: I/O ports at 1808 [size=4]
    Region 4: I/O ports at 1810 [size=16]
    Capabilities: <access denied>
    Kernel modules: ata_generic, pata_acpi, ide-pci-generic

00:16.3 Serial controller [0700]: Intel Corporation 5 Series/3400 Series Chipset KT Controller [8086:3b67] (rev 06) (prog-if 02 [16550])
    Subsystem: Fujitsu Limited. Device [10cf:152f]
    Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin B routed to IRQ 17
    Region 0: I/O ports at 1830 [size=8]
    Region 1: Memory at f2824000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>
    Kernel driver in use: serial

00:19.0 Ethernet controller [0200]: Intel Corporation 82577LM Gigabit Network Connection [8086:10ea] (rev 06)
    Subsystem: Fujitsu Limited. Device [10cf:1574]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Interrupt: pin A routed to IRQ 44
    Region 0: Memory at f2800000 (32-bit, non-prefetchable) [size=128K]
    Region 1: Memory at f2825000 (32-bit, non-prefetchable) [size=4K]
    Region 2: I/O ports at 1840 [size=32]
    Capabilities: <access denied>
    Kernel driver in use: e1000e
    Kernel modules: e1000e

00:1a.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b3c] (rev 06) (prog-if 20 [EHCI])
    Subsystem: Fujitsu Limited. Device [10cf:1528]
    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: 0
    Interrupt: pin A routed to IRQ 22
    Region 0: Memory at f2828000 (32-bit, non-prefetchable) [size=1K]
    Capabilities: <access denied>
    Kernel driver in use: ehci_hcd
    Kernel modules: ehci-hcd

00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 06)
    Subsystem: Fujitsu Limited. Device [10cf:1475]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 45
    Region 0: Memory at f2820000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel

00:1c.0 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 [8086:3b4c] (rev 06) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Bus: primary=00, secondary=08, subordinate=0f, sec-latency=0
    I/O behind bridge: 00002000-00002fff
    Memory behind bridge: f0000000-f1ffffff
    Prefetchable memory behind bridge: 00000000c8000000-00000000c81fffff
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
    BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: <access denied>
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:1c.1 PCI bridge [0604]: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 [8086:3b44] (rev 06) (prog-if 00 [Normal decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Bus: primary=00, secondary=10, subordinate=17, sec-latency=0
    I/O behind bridge: 00003000-00003fff
    Memory behind bridge: f2400000-f24fffff
    Prefetchable memory behind bridge: 00000000c8200000-00000000c83fffff
    Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
    BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: <access denied>
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:1d.0 USB Controller [0c03]: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller [8086:3b34] (rev 06) (prog-if 20 [EHCI])
    Subsystem: Fujitsu Limited. Device [10cf:1528]
    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: 0
    Interrupt: pin A routed to IRQ 22
    Region 0: Memory at f2828400 (32-bit, non-prefetchable) [size=1K]
    Capabilities: <access denied>
    Kernel driver in use: ehci_hcd
    Kernel modules: ehci-hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a6) (prog-if 01 [Subtractive decode])
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
    Bus: primary=00, secondary=48, subordinate=4d, sec-latency=32
    I/O behind bridge: 00004000-00004fff
    Memory behind bridge: f2500000-f25fffff
    Prefetchable memory behind bridge: 00000000c0000000-00000000c7ffffff
    Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR+
    BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
        PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller [8086:3b07] (rev 06)
    Subsystem: Fujitsu Limited. Device [10cf:157a]
    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: 0
    Capabilities: <access denied>
    Kernel modules: iTCO_wdt

00:1f.2 SATA controller [0106]: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller [8086:3b2f] (rev 06) (prog-if 01 [AHCI 1.0])
    Subsystem: Fujitsu Limited. Device [10cf:1523]
    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: 0
    Interrupt: pin B routed to IRQ 43
    Region 0: I/O ports at 1888 [size=8]
    Region 1: I/O ports at 183c [size=4]
    Region 2: I/O ports at 1880 [size=8]
    Region 3: I/O ports at 1838 [size=4]
    Region 4: I/O ports at 1860 [size=32]
    Region 5: Memory at f2827000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: <access denied>
    Kernel driver in use: ahci
    Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller [8086:3b30] (rev 06)
    Subsystem: Fujitsu Limited. Device [10cf:1525]
    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-
    Interrupt: pin C routed to IRQ 18
    Region 0: Memory at f2828800 (64-bit, non-prefetchable) [size=256]
    Region 4: I/O ports at 18a0 [size=32]
    Kernel driver in use: i801_smbus
    Kernel modules: i2c-i801

00:1f.6 Signal processing controller [1180]: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem [8086:3b32] (rev 06)
    Subsystem: Fujitsu Limited. Device [10cf:1526]
    Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin C routed to IRQ 11
    Region 0: Memory at f2826000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>

10:00.0 Network controller [0280]: Intel Corporation WiFi Link 6000 Series [8086:422c] (rev 35)
    Subsystem: Intel Corporation WiFi Link 6000 Series 2x2 6000AGN [8086:1301]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 46
    Region 0: Memory at f2400000 (64-bit, non-prefetchable) [size=8K]
    Capabilities: <access denied>
    Kernel driver in use: iwlagn
    Kernel modules: iwlagn

48:03.0 CardBus bridge [0607]: O2 Micro, Inc. OZ711SP1 Memory CardBus Controller [1217:7136] (rev 01)
    Subsystem: Fujitsu Limited. Device [10cf:143d]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 168
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at f2503000 (32-bit, non-prefetchable) [size=4K]
    Bus: primary=48, secondary=49, subordinate=49, sec-latency=176
    Memory window 0: c0000000-c3fff000 (prefetchable)
    Memory window 1: cc000000-cffff000
    I/O window 0: 00004000-000040ff
    I/O window 1: 00004400-000044ff
    BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
    16-bit legacy interface ports at 0001
    Kernel driver in use: yenta_cardbus
    Kernel modules: yenta_socket

48:03.1 CardBus bridge [0607]: O2 Micro, Inc. OZ711SP1 Memory CardBus Controller [1217:7136] (rev 01)
    Subsystem: Fujitsu Limited. Device [10cf:143d]
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 168
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at f2504000 (32-bit, non-prefetchable) [size=4K]
    Bus: primary=48, secondary=4a, subordinate=4d, sec-latency=176
    Memory window 0: c4000000-c7fff000 (prefetchable)
    Memory window 1: f4000000-f7fff000
    I/O window 0: 00004800-000048ff
    I/O window 1: 00004c00-00004cff
    BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
    16-bit legacy interface ports at 0001
    Kernel driver in use: yenta_cardbus
    Kernel modules: yenta_socket

48:03.2 SD Host controller [0805]: O2 Micro, Inc. Integrated MMC/SD Controller [1217:7120] (rev 02) (prog-if 01)
    Subsystem: Fujitsu Limited. Device [10cf:143d]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 32, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at f2500000 (32-bit, non-prefetchable) [size=256]
    Capabilities: <access denied>
    Kernel driver in use: sdhci-pci
    Kernel modules: sdhci-pci

48:03.3 Mass storage controller [0180]: O2 Micro, Inc. Integrated MS/xD Controller [1217:7130] (rev 01)
    Subsystem: Fujitsu Limited. Device [10cf:143d]
    Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 10
    Region 0: Memory at f2501000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>

48:03.4 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Firewire (IEEE 1394) [1217:00f7] (rev 02) (prog-if 10 [OHCI])
    Subsystem: Fujitsu Limited. Device [10cf:143e]
    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: 32, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 16
    Region 0: Memory at f2502000 (32-bit, non-prefetchable) [size=4K]
    Region 1: Memory at f2500800 (32-bit, non-prefetchable) [size=2K]
    Capabilities: <access denied>
    Kernel driver in use: firewire_ohci
    Kernel modules: firewire-ohci

ff:00.0 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers [8086:2c62] (rev 02)
    Subsystem: Fujitsu Limited. Device [10cf:155b]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:00.1 Host bridge [0600]: Intel Corporation Core Processor QuickPath Architecture System Address Decoder [8086:2d01] (rev 02)
    Subsystem: Fujitsu Limited. Device [10cf:155b]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:02.0 Host bridge [0600]: Intel Corporation Core Processor QPI Link 0 [8086:2d10] (rev 02)
    Subsystem: Fujitsu Limited. Device [10cf:155b]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:02.1 Host bridge [0600]: Intel Corporation Core Processor QPI Physical 0 [8086:2d11] (rev 02)
    Subsystem: Fujitsu Limited. Device [10cf:155b]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:02.2 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d12] (rev 02)
    Subsystem: Fujitsu Limited. Device [10cf:155b]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0

ff:02.3 Host bridge [0600]: Intel Corporation Core Processor Reserved [8086:2d13] (rev 02)
    Subsystem: Fujitsu Limited. Device [10cf:155b]
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0
~$ xbacklight
27.272727

I can manually (with brightness.sh) alter the brightness before and after suspending, if I suspend manually. If I suspend by closing the lid, I can't. It might be interesting to note that laptop-mode also manages my brightness without a hitch pre- and post-suspend, but not if I suspend by closing the lid. In that case, plugging the power plug in and out changes nothing at all.

Before suspending, as mentioned before, the brightness keys are also function, which might or might not be relevant.

Thanks for your help.

[Edit] Found more than one bug report at the link you provided.

Backlight stays disabled after resume (identical to my problem, and recent, 30 July):
https://bugzilla.kernel.org/show_bug.cgi?id=16484

Dell latitude E4300: sometimes the backlight doesn't come back on after resume (my problem also used to happen only 5% of the time too, when it first appeared, but now it is practically every time):
https://bugzilla.kernel.org/show_bug.cgi?id=13773

[/Edit]

Last edited by Sara (2010-09-19 03:25:50)


Registed Linux User 483618

Offline

Board footer

Powered by FluxBB