LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2009, 01:17 PM   #1
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Question How do I disable this "feature"?


Hello. I have an Acer Aspire One D250 laptop running Ubuntu Karmic 9.10.

Every time I plug in or pull out my AC Adapter, my computer goes into sleep mode. How do I disable this feature?

Just in case you need it here is the dmesg output after an instance of this happening:
Code:
[    0.972450] ACPI: Power Button [PWRB]
[    0.972542] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input2
[    0.972625] ACPI: Lid Switch [LID0]
[    0.972727] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3
[    0.972735] ACPI: Sleep Button [SLPB]
[    0.973030] fan PNP0C0B:00: registered as cooling_device0
[    0.973043] ACPI: Fan [FAN] (on)
[    0.974390] ACPI: SSDT 7f592c90 00239 (v02  PmRef  Cpu0Ist 00003000 INTL 20051117)
[    0.975205] ACPI: SSDT 7f591e10 001C7 (v02  PmRef  Cpu0Cst 00003001 INTL 20051117)
[    0.976799] Marking TSC unstable due to TSC halts in idle
[    0.976839] ACPI: CPU0 (power states: C1[C1] C2[C2] C3[C3])
[    0.976888] processor LNXCPU:00: registered as cooling_device1
[    0.976897] ACPI: Processor [CPU0] (supports 8 throttling states)
[    0.977645] ACPI: SSDT 7f592f10 000D0 (v02  PmRef  Cpu1Ist 00003000 INTL 20051117)
[    0.978371] ACPI: SSDT 7f590f10 00083 (v02  PmRef  Cpu1Cst 00003000 INTL 20051117)
[    0.980088] ACPI: CPU1 (power states: C1[C1] C2[C2] C3[C3])
[    0.980145] processor LNXCPU:01: registered as cooling_device2
[    0.980155] ACPI: Processor [CPU1] (supports 8 throttling states)
[    1.042895] thermal LNXTHERM:01: registered as thermal_zone0
[    1.042913] ACPI: Thermal Zone [THRM] (27 C)
[    1.043054] isapnp: Scanning for PnP cards...
[    1.397283] isapnp: No Plug & Play device found
[    1.696204] ACPI: Battery Slot [BAT0] (battery present)
[    1.696512] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.699156] brd: module loaded
[    1.700202] loop: module loaded
[    1.700385] input: Macintosh mouse button emulation as /devices/virtual/input/input4
[    1.700551] ahci 0000:00:1f.2: version 3.0
[    1.700581] ahci 0000:00:1f.2: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[    1.700646]   alloc irq_desc for 27 on node -1
[    1.700651]   alloc kstat_irqs on node -1
[    1.700670] ahci 0000:00:1f.2: irq 27 for MSI/MSI-X
[    1.700733] ahci: SSS flag set, parallel bus scan disabled
[    1.700783] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0x5 impl SATA mode
[    1.700791] ahci 0000:00:1f.2: flags: 64bit ncq ilck stag pm led clo pio slum part 
[    1.700801] ahci 0000:00:1f.2: setting latency timer to 64
[    1.701179] scsi0 : ahci
[    1.701426] scsi1 : ahci
[    1.701563] scsi2 : ahci
[    1.701693] scsi3 : ahci
[    1.702066] ata1: SATA max UDMA/133 abar m1024@0x96344000 port 0x96344100 irq 27
[    1.702073] ata2: DUMMY
[    1.702079] ata3: SATA max UDMA/133 abar m1024@0x96344000 port 0x96344200 irq 27
[    1.702084] ata4: DUMMY
[    1.702240] ata_piix 0000:00:1f.1: version 2.13
[    1.702271] ata_piix 0000:00:1f.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.702352] ata_piix 0000:00:1f.1: setting latency timer to 64
[    1.702505] scsi4 : ata_piix
[    1.702646] scsi5 : ata_piix
[    1.703686] ata5: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x50c0 irq 14
[    1.703695] ata6: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x50c8 irq 15
[    1.704061] ata6: port disabled. ignoring.
[    1.705836] Fixed MDIO Bus: probed
[    1.705922] PPP generic driver version 2.4.2
[    1.706131] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.706175] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.706208] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[    1.706215] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[    1.706325] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[    1.710253] ehci_hcd 0000:00:1d.7: debug port 1
[    1.710265] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported
[    1.710295] ehci_hcd 0000:00:1d.7: irq 16, io mem 0x96344400
[    1.724031] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[    1.724196] usb usb1: configuration #1 chosen from 1 choice
[    1.724266] hub 1-0:1.0: USB hub found
[    1.724282] hub 1-0:1.0: 8 ports detected
[    1.724422] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.724463] uhci_hcd: USB Universal Host Controller Interface driver
[    1.724534] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.724548] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[    1.724555] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[    1.724633] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[    1.724674] uhci_hcd 0000:00:1d.0: irq 16, io base 0x000050a0
[    1.724850] usb usb2: configuration #1 chosen from 1 choice
[    1.724914] hub 2-0:1.0: USB hub found
[    1.724929] hub 2-0:1.0: 2 ports detected
[    1.725027] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[    1.725040] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[    1.725047] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[    1.725112] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[    1.725164] uhci_hcd 0000:00:1d.1: irq 17, io base 0x00005080
[    1.725336] usb usb3: configuration #1 chosen from 1 choice
[    1.725398] hub 3-0:1.0: USB hub found
[    1.725413] hub 3-0:1.0: 2 ports detected
[    1.725515] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[    1.725528] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[    1.725534] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[    1.725601] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[    1.725651] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00005060
[    1.725821] usb usb4: configuration #1 chosen from 1 choice
[    1.725882] hub 4-0:1.0: USB hub found
[    1.725897] hub 4-0:1.0: 2 ports detected
[    1.725989]   alloc irq_desc for 19 on node -1
[    1.725995]   alloc kstat_irqs on node -1
[    1.726008] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
[    1.726019] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[    1.726027] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[    1.726099] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[    1.726150] uhci_hcd 0000:00:1d.3: irq 19, io base 0x00005040
[    1.726325] usb usb5: configuration #1 chosen from 1 choice
[    1.726387] hub 5-0:1.0: USB hub found
[    1.726402] hub 5-0:1.0: 2 ports detected
[    1.726600] PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSS0] at 0x60,0x64 irq 1,12
[    1.759311] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.759328] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.759499] mice: PS/2 mouse device common for all mice
[    1.759782] rtc_cmos 00:03: RTC can wake from S4
[    1.759874] rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
[    1.759923] rtc0: alarms up to one month, 242 bytes nvram, hpet irqs
[    1.760265] device-mapper: uevent: version 1.0.3
[    1.760523] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[    1.760726] device-mapper: multipath: version 1.1.0 loaded
[    1.760735] device-mapper: multipath round-robin: version 1.0.0 loaded
[    1.761049] EISA: Probing bus 0 at eisa.0
[    1.761062] Cannot allocate resource for EISA slot 1
[    1.761068] Cannot allocate resource for EISA slot 2
[    1.761073] Cannot allocate resource for EISA slot 3
[    1.761077] Cannot allocate resource for EISA slot 4
[    1.761082] Cannot allocate resource for EISA slot 5
[    1.761102] EISA: Detected 0 cards.
[    1.761489] cpuidle: using governor ladder
[    1.761745] cpuidle: using governor menu
[    1.762880] TCP cubic registered
[    1.763239] NET: Registered protocol family 10
[    1.764243] lo: Disabled Privacy Extensions
[    1.764960] NET: Registered protocol family 17
[    1.765006] Bluetooth: L2CAP ver 2.13
[    1.765011] Bluetooth: L2CAP socket layer initialized
[    1.765019] Bluetooth: SCO (Voice Link) ver 0.6
[    1.765025] Bluetooth: SCO socket layer initialized
[    1.765119] Bluetooth: RFCOMM TTY layer initialized
[    1.765129] Bluetooth: RFCOMM socket layer initialized
[    1.765135] Bluetooth: RFCOMM ver 1.11
[    1.766857] Using IPI No-Shortcut mode
[    1.767053] PM: Resume from disk failed.
[    1.767079] registered taskstats version 1
[    1.767316]   Magic number: 5:565:932
[    1.767453] rtc_cmos 00:03: setting system clock to 2009-12-21 10:56:28 UTC (1261392988)
[    1.767466] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    1.767469] EDD information not available.
[    1.785835] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
[    2.001122] Clocksource tsc unstable (delta = -206755318 ns)
[    2.020160] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    2.021634] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
[    2.036100] usb 1-2: new high speed USB device using ehci_hcd and address 2
[    2.062978] ata1.00: ATA-8: ST9320423AS, 0002SDM1, max UDMA/133
[    2.062994] ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    2.065687] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
[    2.066170] ata1.00: configured for UDMA/133
[    2.080440] scsi 0:0:0:0: Direct-Access     ATA      ST9320423AS      0002 PQ: 0 ANSI: 5
[    2.080756] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    2.080878] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[    2.081031] sd 0:0:0:0: [sda] Write Protect is off
[    2.081039] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.081110] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.081456]  sda: sda1 sda2 < sda5 sda6 >
[    2.140883] sd 0:0:0:0: [sda] Attached SCSI disk
[    2.205815] usb 1-2: configuration #1 chosen from 1 choice
[    2.400146] ata3: SATA link down (SStatus 0 SControl 300)
[    2.416336] Freeing unused kernel memory: 540k freed
[    2.416926] Write protecting the kernel text: 4568k
[    2.417008] Write protecting the kernel read-only data: 1836k
[    2.705492] Linux agpgart interface v0.103
[    2.776373] agpgart-intel 0000:00:00.0: Intel 945GME Chipset
[    2.776693] agpgart-intel 0000:00:00.0: detected 7932K stolen memory
[    2.779581] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0x80000000
[    2.852279] [Firmware Bug]: ACPI: ACPI brightness control misses _BQC function
[    2.852912] acpi device:1a: registered as cooling_device3
[    2.853440] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:16/input/input6
[    2.853553] ACPI: Video Device [OVGA] (multi-head: yes  rom: yes  post: no)
[    2.926699] [drm] Initialized drm 1.1.0 20060810
[    2.980838] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    2.980851] i915 0000:00:02.0: setting latency timer to 64
[    3.212117] [drm] fb0: inteldrmfb frame buffer device
[    3.212135] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    3.538588] [drm] LVDS-8: set mode 1024x600 e
[    3.926935] Console: switching to colour frame buffer device 128x37
[    4.440320] PM: Starting manual resume from disk
[    4.440330] PM: Resume from partition 8:6
[    4.440334] PM: Checking hibernation image.
[    4.440764] PM: Resume from disk failed.
[    4.472634] EXT4-fs (sda5): barriers enabled
[    4.493006] kjournald2 starting: pid 360, dev sda5:8, commit interval 5 seconds
[    4.493083] EXT4-fs (sda5): delayed allocation enabled
[    4.493098] EXT4-fs: file extents enabled
[    4.528247] EXT4-fs: mballoc enabled
[    4.528281] EXT4-fs (sda5): mounted filesystem with ordered data mode
[    5.207473] type=1505 audit(1261392991.937:2): operation="profile_load" pid=383 name=/usr/share/gdm/guest-session/Xsession
[    5.214106] type=1505 audit(1261392991.944:3): operation="profile_load" pid=384 name=/sbin/dhclient3
[    5.214689] type=1505 audit(1261392991.944:4): operation="profile_load" pid=384 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[    5.215021] type=1505 audit(1261392991.944:5): operation="profile_load" pid=384 name=/usr/lib/connman/scripts/dhclient-script
[    5.277223] type=1505 audit(1261392992.008:6): operation="profile_load" pid=385 name=/usr/bin/evince
[    5.286466] type=1505 audit(1261392992.016:7): operation="profile_load" pid=385 name=/usr/bin/evince-previewer
[    5.292187] type=1505 audit(1261392992.024:8): operation="profile_load" pid=385 name=/usr/bin/evince-thumbnailer
[    5.317642] type=1505 audit(1261392992.048:9): operation="profile_load" pid=387 name=/usr/lib/cups/backend/cups-pdf
[    5.318372] type=1505 audit(1261392992.048:10): operation="profile_load" pid=387 name=/usr/sbin/cupsd
[    5.337371] type=1505 audit(1261392992.068:11): operation="profile_load" pid=388 name=/usr/sbin/tcpdump
[   13.320091] udev: starting version 147
[   13.325984] Adding 5253212k swap on /dev/sda6.  Priority:-1 extents:1 across:5253212k 
[   13.387273] lp: driver loaded but no devices found
[   13.508929] EXT4-fs (sda5): internal journal on sda5:8
[   13.844454] intel_rng: FWH not detected
[   14.111793] atl1c 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   14.111818] atl1c 0000:03:00.0: setting latency timer to 64
[   14.111905] atl1c 0000:03:00.0: PME# disabled
[   14.111920] atl1c 0000:03:00.0: PME# disabled
[   14.156375] Linux video capture interface: v2.00
[   14.203163] atl1c 0000:03:00.0: version 1.0.0.1-NAPI
[   14.205483] cfg80211: Calling CRDA to update world regulatory domain
[   14.216112] uvcvideo: Found UVC 1.00 device WebCam (0c45:62c0)
[   14.232116] acer-wmi: Acer Laptop ACPI-WMI Extras
[   14.290586] input: WebCam as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.0/input/input7
[   14.290751] usbcore: registered new interface driver uvcvideo
[   14.290763] USB Video Class driver (v0.1.0)
[   14.312401] ath5k 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   14.312428] ath5k 0000:01:00.0: setting latency timer to 64
[   14.312514] ath5k 0000:01:00.0: registered as 'phy0'
[   14.372402] cfg80211: World regulatory domain updated:
[   14.372412] 	(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   14.372423] 	(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.372433] 	(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.372442] 	(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   14.372451] 	(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.372460] 	(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   14.472124] acer-wmi: Unable to detect available WMID devices
[   14.561509] ath: EEPROM regdomain: 0x65
[   14.561518] ath: EEPROM indicates we should expect a direct regpair map
[   14.561528] ath: Country alpha2 being used: 00
[   14.561533] ath: Regpair used: 0x65
[   14.678674]   alloc irq_desc for 28 on node -1
[   14.678684]   alloc kstat_irqs on node -1
[   14.678714] atl1c 0000:03:00.0: irq 28 for MSI/MSI-X
[   14.679605] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.698313] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.802106] phy0: Selected rate control algorithm 'minstrel'
[   14.804388] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[   14.931366] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   15.105568] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   15.105644] HDA Intel 0000:00:1b.0: setting latency timer to 64
[   15.270383] hda_codec: Unknown model for ALC272, trying auto-probe from BIOS...
[   15.271378] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input8
[   15.442706] type=1505 audit(1261414602.172:12): operation="profile_replace" pid=908 name=/usr/share/gdm/guest-session/Xsession
[   15.447559] type=1505 audit(1261414602.176:13): operation="profile_replace" pid=909 name=/sbin/dhclient3
[   15.448477] type=1505 audit(1261414602.180:14): operation="profile_replace" pid=909 name=/usr/lib/NetworkManager/nm-dhcp-client.action
[   15.448968] type=1505 audit(1261414602.180:15): operation="profile_replace" pid=909 name=/usr/lib/connman/scripts/dhclient-script
[   15.461180] type=1505 audit(1261414602.192:16): operation="profile_replace" pid=910 name=/usr/bin/evince
[   15.475686] type=1505 audit(1261414602.204:17): operation="profile_replace" pid=910 name=/usr/bin/evince-previewer
[   15.492889] type=1505 audit(1261414602.224:18): operation="profile_replace" pid=910 name=/usr/bin/evince-thumbnailer
[   15.517693] type=1505 audit(1261414602.248:19): operation="profile_replace" pid=913 name=/usr/lib/cups/backend/cups-pdf
[   15.518761] type=1505 audit(1261414602.248:20): operation="profile_replace" pid=913 name=/usr/sbin/cupsd
[   15.525663] type=1505 audit(1261414602.256:21): operation="profile_replace" pid=914 name=/usr/sbin/tcpdump
[   15.620873] Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04771/0xa40000
[   15.751025] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input9
[   16.970863] ppdev: user-space parallel port driver
[   17.652185] CPU0 attaching NULL sched-domain.
[   17.652200] CPU1 attaching NULL sched-domain.
[   17.665186] CPU0 attaching sched-domain:
[   17.665199]  domain 0: span 0-1 level SIBLING
[   17.665208]   groups: 0 1
[   17.665220]   domain 1: span 0-1 level MC
[   17.665227]    groups: 0-1 (__cpu_power = 2048)
[   17.665243] CPU1 attaching sched-domain:
[   17.665250]  domain 0: span 0-1 level SIBLING
[   17.665257]   groups: 1 0
[   17.665270]   domain 1: span 0-1 level MC
[   17.665277]    groups: 0-1 (__cpu_power = 2048)
[   20.559878] CPU0 attaching NULL sched-domain.
[   20.559891] CPU1 attaching NULL sched-domain.
[   20.585141] CPU0 attaching sched-domain:
[   20.585152]  domain 0: span 0-1 level SIBLING
[   20.585162]   groups: 0 1
[   20.585175]   domain 1: span 0-1 level MC
[   20.585183]    groups: 0-1 (__cpu_power = 2048)
[   20.585200] CPU1 attaching sched-domain:
[   20.585207]  domain 0: span 0-1 level SIBLING
[   20.585215]   groups: 1 0
[   20.585227]   domain 1: span 0-1 level MC
[   20.585234]    groups: 0-1 (__cpu_power = 2048)
[   48.761018] hda-intel: azx_get_response timeout, switching to polling mode: last cmd=0x014f000c
[   49.665634] wlan0: authenticate with AP 00:23:69:ff:44:dd
[   49.667167] wlan0: authenticated
[   49.667180] wlan0: associate with AP 00:23:69:ff:44:dd
[   49.669467] wlan0: RX AssocResp from 00:23:69:ff:44:dd (capab=0x411 status=0 aid=1)
[   49.669478] wlan0: associated
[   49.671288] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   49.699371] padlock: VIA PadLock not detected.
[   60.356119] wlan0: no IPv6 routers present
[ 4236.609425] CPU0 attaching NULL sched-domain.
[ 4236.609441] CPU1 attaching NULL sched-domain.
[ 4236.624218] CPU0 attaching sched-domain:
[ 4236.624229]  domain 0: span 0-1 level SIBLING
[ 4236.624238]   groups: 0 1
[ 4236.624252] CPU1 attaching sched-domain:
[ 4236.624258]  domain 0: span 0-1 level SIBLING
[ 4236.624266]   groups: 1 0
[ 4238.994418] CPU0 attaching NULL sched-domain.
[ 4238.994431] CPU1 attaching NULL sched-domain.
[ 4239.009117] CPU0 attaching sched-domain:
[ 4239.009127]  domain 0: span 0-1 level SIBLING
[ 4239.009133]   groups: 0 1
[ 4239.009145] CPU1 attaching sched-domain:
[ 4239.009150]  domain 0: span 0-1 level SIBLING
[ 4239.009155]   groups: 1 0
[ 4239.895340] wlan0: deauthenticating by local choice (reason=3)
[ 4240.002128] wlan0: disassociating by local choice (reason=3)
[ 4245.725619] PM: Syncing filesystems ... done.
[ 4245.731577] PM: Preparing system for mem sleep
[ 4245.731587] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 4245.733183] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 4245.733365] PM: Entering mem sleep
[ 4245.733389] Suspending console(s) (use no_console_suspend to debug)
[ 4245.776154] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 4245.776559] sd 0:0:0:0: [sda] Stopping disk
[ 4247.304887] atl1c 0000:03:00.0: PME# disabled
[ 4247.304901] atl1c 0000:03:00.0: PCI INT A disabled
[ 4247.320244] ath5k 0000:01:00.0: PCI INT A disabled
[ 4247.384339] ata6: port disabled. ignoring.
[ 4247.384475] ata_piix 0000:00:1f.1: PCI INT A disabled
[ 4247.384493] ehci_hcd 0000:00:1d.7: PCI INT A disabled
[ 4247.384506] uhci_hcd 0000:00:1d.3: PCI INT D disabled
[ 4247.384517] uhci_hcd 0000:00:1d.2: PCI INT C disabled
[ 4247.384529] uhci_hcd 0000:00:1d.1: PCI INT B disabled
[ 4247.384540] uhci_hcd 0000:00:1d.0: PCI INT A disabled
[ 4247.488576] HDA Intel 0000:00:1b.0: PCI INT A disabled
[ 4247.523717] i915 0000:00:02.0: PCI INT A disabled
[ 4247.536431] PM: suspend devices took 1.804 seconds
[ 4247.536710] ehci_hcd 0000:00:1d.7: PME# disabled
[ 4247.552465] ACPI: Preparing to enter system sleep state S3
[ 4247.552882] Disabling non-boot CPUs ...
[ 4247.656034] CPU 1 is now offline
[ 4247.656040] SMP alternatives: switching to UP code
[ 4247.661384] CPU0 attaching NULL sched-domain.
[ 4247.661391] CPU1 attaching NULL sched-domain.
[ 4247.661407] CPU0 attaching NULL sched-domain.
[ 4247.661919] CPU1 is down
[ 4247.661939] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 4247.661939] Back to C!
[ 4247.661939] CPU0: Thermal LVT vector (0xfa) already installed
[ 4247.661939] Enabling non-boot CPUs ...
[ 4247.661939] SMP alternatives: switching to SMP code
[ 4247.667511] Booting processor 1 APIC 0x1 ip 0x6000
[ 4247.661160] Initializing CPU#1
[ 4247.661160] Calibrating delay using timer specific routine.. 3192.02 BogoMIPS (lpj=6384046)
[ 4247.661160] CPU: L1 I cache: 32K, L1 D cache: 24K
[ 4247.661160] CPU: L2 cache: 512K
[ 4247.661160] CPU: Physical Processor ID: 0
[ 4247.661160] CPU: Processor Core ID: 0
[ 4247.661160] mce: CPU supports 5 MCE banks
[ 4247.661160] CPU1: Thermal monitoring enabled (TM2)
[ 4247.661160] x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
[ 4247.756975] CPU1: Intel(R) Atom(TM) CPU N270   @ 1.60GHz stepping 02
[ 4247.757089] CPU0 attaching NULL sched-domain.
[ 4247.761020] Switched to high resolution mode on CPU 1
[ 4247.772038] CPU0 attaching sched-domain:
[ 4247.772047]  domain 0: span 0-1 level SIBLING
[ 4247.772054]   groups: 0 1
[ 4247.772065] CPU1 attaching sched-domain:
[ 4247.772072]  domain 0: span 0-1 level SIBLING
[ 4247.772078]   groups: 1 0
[ 4247.776044] CPU1 is up
[ 4247.776051] ACPI: Waking up from system sleep state S3
[ 4247.779625] HDA Intel 0000:00:1b.0: restoring config space at offset 0x4 (was 0x4, writing 0x96340004)
[ 4247.779642] HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
[ 4247.779713] pcieport-driver 0000:00:1c.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[ 4247.779793] pcieport-driver 0000:00:1c.1: restoring config space at offset 0x7 (was 0x20003030, writing 0x3030)
[ 4247.779815] pcieport-driver 0000:00:1c.1: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[ 4247.779903] pcieport-driver 0000:00:1c.2: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
[ 4247.779980] uhci_hcd 0000:00:1d.0: restoring config space at offset 0x1 (was 0x2800005, writing 0x2800001)
[ 4247.780071] uhci_hcd 0000:00:1d.1: restoring config space at offset 0x1 (was 0x2800005, writing 0x2800001)
[ 4247.780118] uhci_hcd 0000:00:1d.2: restoring config space at offset 0x1 (was 0x2800005, writing 0x2800001)
[ 4247.780164] uhci_hcd 0000:00:1d.3: restoring config space at offset 0x1 (was 0x2800005, writing 0x2800001)
[ 4247.780220] ehci_hcd 0000:00:1d.7: restoring config space at offset 0x1 (was 0x2900006, writing 0x2900002)
[ 4247.780248] ehci_hcd 0000:00:1d.7: PME# disabled
[ 4247.780267] pci 0000:00:1e.0: restoring config space at offset 0xf (was 0x0, writing 0xff)
[ 4247.780286] pci 0000:00:1e.0: restoring config space at offset 0xa (was 0x0, writing 0xffffffff)
[ 4247.780435] ahci 0000:00:1f.2: restoring config space at offset 0x9 (was 0x96340000, writing 0x96344000)
[ 4247.780459] ahci 0000:00:1f.2: restoring config space at offset 0x1 (was 0x2b00007, writing 0x2b00407)
[ 4247.780598] ath5k 0000:01:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x8)
[ 4249.327401] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4249.327411] i915 0000:00:02.0: setting latency timer to 64
[ 4249.388728] [drm] LVDS-8: set mode 1024x600 e
[ 4249.408837] pci 0000:00:02.1: PME# disabled
[ 4249.408853] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4249.408864] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 4249.408907] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4249.408917] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 4249.408948] usb usb2: root hub lost power or was reset
[ 4249.408975] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 4249.408985] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 4249.409013] usb usb3: root hub lost power or was reset
[ 4249.409044] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[ 4249.409058] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 4249.409093] usb usb4: root hub lost power or was reset
[ 4249.409120] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
[ 4249.409130] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 4249.409158] usb usb5: root hub lost power or was reset
[ 4249.409183] ehci_hcd 0000:00:1d.7: PME# disabled
[ 4249.409191] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4249.409201] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 4249.409249] pci 0000:00:1e.0: setting latency timer to 64
[ 4249.409266] ata_piix 0000:00:1f.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4249.409275] ata_piix 0000:00:1f.1: setting latency timer to 64
[ 4249.409343] ata6: port disabled. ignoring.
[ 4249.409368] ahci 0000:00:1f.2: setting latency timer to 64
[ 4249.409435] ath5k 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4249.409452] atl1c 0000:03:00.0: PME# disabled
[ 4249.409461] atl1c 0000:03:00.0: PME# disabled
[ 4249.622038] sd 0:0:0:0: [sda] Starting disk
[ 4249.729173] ata3: SATA link down (SStatus 0 SControl 300)
[ 4252.416145] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 4252.418466] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
[ 4252.421624] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 filtered out
[ 4252.422113] ata1.00: configured for UDMA/133
[ 4252.572145] usb 1-2: reset high speed USB device using ehci_hcd and address 2
[ 4252.753820] PM: resume devices took 4.972 seconds
[ 4252.753878] PM: Finishing wakeup.
[ 4252.753882] Restarting tasks ... done.
[ 4252.954281] atl1c 0000:03:00.0: irq 28 for MSI/MSI-X
[ 4252.954998] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 4252.996760] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 4253.384653] CPU0 attaching NULL sched-domain.
[ 4253.384665] CPU1 attaching NULL sched-domain.
[ 4253.397739] CPU0 attaching sched-domain:
[ 4253.397749]  domain 0: span 0-1 level SIBLING
[ 4253.397757]   groups: 0 1
[ 4253.397770] CPU1 attaching sched-domain:
[ 4253.397776]  domain 0: span 0-1 level SIBLING
[ 4253.397783]   groups: 1 0
[ 4275.978664] wlan0: authenticate with AP 00:23:69:ff:44:dd
[ 4275.984681] wlan0: authenticated
[ 4275.984693] wlan0: associate with AP 00:23:69:ff:44:dd
[ 4275.987191] wlan0: RX AssocResp from 00:23:69:ff:44:dd (capab=0x411 status=0 aid=1)
[ 4275.987203] wlan0: associated
[ 4275.990384] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 4286.478993] wlan0: no IPv6 routers present
And here is a lspci output:
Code:
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
03:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8132 / L1c Gigabit Ethernet Adapter (rev c0)
If there is a command you need please ask, this has gotten very annoying. Thank you all.
 
Old 12-21-2009, 01:24 PM   #2
SethsdadtheLinuxer
Member
 
Registered: Jun 2007
Posts: 152

Rep: Reputation: 37
in boot/grub/menu.lst add noacpi to your kernel line and reboot.
 
Old 12-21-2009, 01:27 PM   #3
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Original Poster
Rep: Reputation: 146Reputation: 146
I use GRUB2. Where do I set that? There's no menu.lst file in GRUB2.
 
Old 12-21-2009, 02:05 PM   #4
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 113

Rep: Reputation: 23
Quote:
Originally Posted by leopard View Post
I use GRUB2. Where do I set that? There's no menu.lst file in GRUB2.
In GRUB2; menu.lst has been replaced by grub.cfg.
To add "noacpi" to your kernel line; you should edit the file: /etc/default/grub and add "noacpi" to the GRUB_CMDLINE_LINUX_DEFAULT variable.
Then run "update-grub".

AND double check the new grub.cfg before rebooting.

--ET
 
1 members found this post helpful.
Old 12-21-2009, 02:21 PM   #5
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Original Poster
Rep: Reputation: 146Reputation: 146
Hey, Thanks, but after I rebooted I tested it, and my laptop still went to sleep mode when I pulled out the AC adapter. I checked for no error and confirmed. Here is the entry in grub.cfg:
Code:
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
	set quiet=1
	insmod ext2
	set root=(hd0,5)
	search --no-floppy --fs-uuid --set 036602de-9f86-4bd1-addf-74c5ab2dbe70
	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=036602de-9f86-4bd1-addf-74c5ab2dbe70 ro   quiet splash noacpi
	initrd	/boot/initrd.img-2.6.31-14-generic
What is wrong? Thanks.
 
Old 12-21-2009, 02:48 PM   #6
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 113

Rep: Reputation: 23
I see on this thread:

http://www.linuxquestions.org/questi...option-180325/

that you may need to change "noacpi" to "acpi=off noacpi".
BUT I also see on Google searches that "acpi=off" may cause the kernel to hang when booting.

I would give the "acpi=off noacpi" a try.
But I would also make certain to add second entry to grub that doesn't have that option. OR at least have a rescue/installation CD/DVD available.

--ET
 
1 members found this post helpful.
Old 12-21-2009, 02:51 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
While this may give the desired result, it also means that you
disable all power-saving, and potentially stuff like temperature
readings in the /proc file-system. Are you sure it's a good idea
to go and disable ALL of ACPI rather than searching for a more
fine-grained control mechanism?




Cheers,
Tink
 
Old 12-21-2009, 03:04 PM   #8
forubu
LQ Newbie
 
Registered: Jul 2009
Location: Trondheim, Norway
Distribution: Ubuntu
Posts: 28

Rep: Reputation: 16
Have you checked System -> Settings -> Power Settings

My Karmic is not English so I'm not sure if these are the correct names in the menu.
I also believe there is some power settings on the Screensaver tab.

It might be helpful.
 
1 members found this post helpful.
Old 12-21-2009, 03:15 PM   #9
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
While this may give the desired result, it also means that you
disable all power-saving, and potentially stuff like temperature
readings in the /proc file-system. Are you sure it's a good idea
to go and disable ALL of ACPI rather than searching for a more
fine-grained control mechanism?
That's why I'm here!

Quote:
I would give the "acpi=off noacpi" a try.
But I would also make certain to add second entry to grub that doesn't have that option. OR at least have a rescue/installation CD/DVD available.
I will give that a try; but you mention that might be harmful. I do have my Ubuntu live CD with me...how would I revert just those settings in case it has an undesirable result?

Quote:
Have you checked System -> Settings -> Power Settings

My Karmic is not English so I'm not sure if these are the correct names in the menu.
I also believe there is some power settings on the Screensaver tab.

It might be helpful.
That was helpful; but I didn't see anything relevant to "when AC power is removed..."

I thank all your guys help.
 
Old 12-21-2009, 03:27 PM   #10
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
My 9.0.4 has setting for battery power. Is it possible that when running on battery power it's set to sleep, or maybe the low battery setting is set to shutdown and the laptop just isn't undertanding the battery level?
What happens when you boot with no AC? I don't have my laptop here to look at it.
 
Old 12-21-2009, 03:31 PM   #11
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Original Poster
Rep: Reputation: 146Reputation: 146
Quote:
What happens when you boot with no AC?.
It boots normally and acts normally, with a slightly dimmer screen.
 
Old 12-21-2009, 03:54 PM   #12
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Original Poster
Rep: Reputation: 146Reputation: 146
I fixed the problem by setting "When laptop lid is closed" to "Do Nothing," in "Power Management (Settings)"

Now the screen just goes black, instead of actually sleeping.

Strange that those are one of the same; much less related. Because I'm 100% sure that I don't close the lid every time just alternate between plugged in and on battery power.

I think the kernel has mistakenly associated the two.
 
Old 12-21-2009, 03:58 PM   #13
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
i found this which seems to talk about some similar situations. I didn't read it all, but it seems it might be workth reading if you haven't already. http://ubuntuforums.org/archive/index.php/t-190673.html

It's old, but it's the same behavior.
 
Old 12-21-2009, 04:07 PM   #14
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Original Poster
Rep: Reputation: 146Reputation: 146
I read that and it seems to be the exact behaviour present in my laptop.
 
Old 12-21-2009, 04:17 PM   #15
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
I'm no expert but it looks like maybe there's something to be done in /etc/laptop-mode/laptop-mode.conf that could work for you. If you find a good fix I'd be interested in hearing it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to disable "last login log" & disable "last login message" when start login. hocheetiong Linux - Newbie 4 02-08-2011 06:35 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
"Click Here to Find Similar Threads" Greatest Feature Ever calid LQ Suggestions & Feedback 2 07-01-2009 12:58 PM
How do I disable "shutdown" and "restart" options in KDE logout screen for all users? maxgsp Linux - Distributions 1 12-12-2008 04:18 PM
LXer: amaroK"Fast Forward" Feature Guide LXer Syndicated Linux News 0 04-18-2006 06:33 AM


All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration