LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 07-29-2003, 12:36 PM   #1
cornucopiae
LQ Newbie
 
Registered: Jul 2003
Distribution: debian
Posts: 5

Rep: Reputation: 0
battery status with ACPI


hi everybody I'm still trying to set linux up on my brand new Sony VAIO FR215S.
Today (new day new problem) I'm stuck with the battery status ;-) My kernel (2.4.19) supports ACPI and my bios too, in /proc/acpi i can read the temperature and if my laptop is connected to the ac_adaptor, but i cannot read the battery status.
There a directory named battery but it's empty. I enabled CONFIG_ACPI_CMBAT in my kernel.
Is it possible that the battery is not supported? The laptop is quite new and I can't find anyone who tried this things before :-(
any idea what else can it be?
Thanks for your help

Matteo
 
Old 07-30-2003, 05:22 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
There have been hundreds of acpi kernel patches added since 2.4.19, I hate to recommend the first place to start being with a kernel update, or disabling acpi in favor of simple apm, but its most likely just that.

Cheers,

Finegan
 
Old 07-31-2003, 02:26 AM   #3
cornucopiae
LQ Newbie
 
Registered: Jul 2003
Distribution: debian
Posts: 5

Original Poster
Rep: Reputation: 0
Hi and Thanks!
before updating the kernel i wanted to be sure that the problem was actually with it and not with a wrong cofiguration file, for example.
if i made some gross mistakes, updating the kernel would be quite useless, wouldn't it?
now I will try to update the kernel, thanks

bye,

Matteo
 
Old 07-31-2003, 02:39 PM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
To make certain there should be some oddities in "dmesg", just paste the whole thing in here (probably in 2 posts)

Cheers,

Finegan
 
Old 08-01-2003, 04:56 AM   #5
cornucopiae
LQ Newbie
 
Registered: Jul 2003
Distribution: debian
Posts: 5

Original Poster
Rep: Reputation: 0
hi, i'm posting dmesg, i post the whole thing:

Linux version 2.4.19 (root@whitenoise) (gcc version 2.95.4 20011002 (Debian prerelease)) #8 SMP Mon Jul 28 18:22:13 CEST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001bf70000 (usable)
BIOS-e820: 000000001bf70000 - 000000001bf7c000 (ACPI data)
BIOS-e820: 000000001bf7c000 - 000000001bf80000 (ACPI NVS)
BIOS-e820: 000000001bf80000 - 000000001c000000 (reserved)
BIOS-e820: 000000002bf80000 - 000000002c000000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
447MB LOWMEM available.
Advanced speculative caching feature not present
On node 0 totalpages: 114544
zone(0): 4096 pages.
zone(1): 110448 pages.
zone(2): 0 pages.
Sony Vaio laptop detected.
Kernel command line: BOOT_IMAGE=Linux_latest ro root=304
No local APIC present or hardware disabled
Initializing CPU#0
Detected 2658.242 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 5308.41 BogoMIPS
Memory: 450148k/458176k available (1473k kernel code, 7640k reserved, 586k data, 120k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: bfebf9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Hyper-Threading is disabled
CPU: After vendor init, caps: bfebf9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000
CPU: Common caps: bfebf9ff 00000000 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU: Before vendor init, caps: bfebf9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 12K, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: Hyper-Threading is disabled
CPU: After vendor init, caps: bfebf9ff 00000000 00000000 00000000
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebf9ff 00000000 00000000 00000000
CPU: Common caps: bfebf9ff 00000000 00000000 00000000
CPU0: Intel(R) Pentium(R) 4 CPU 2.66GHz stepping 07
per-CPU timeslice cutoff: 1462.46 usecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfd8a0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router ALI [10b9/1533] at 00:07.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
ACPI: Core Subsystem version [20011018]
ACPI: Subsystem enabled
EC: found, GPE 24
ACPI: System firmware supports S0 S3 S4 S5
ACPI: AC Adapter found
ACPI: Thermal Zone found
vesafb: framebuffer at 0xf0000000, mapped to 0xdc80e000, size 65472k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: protected mode interface info at c000:51eb
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550
PCI: Found IRQ 11 for device 00:03.0
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (10b9,5457,104d,8158)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.
register_serial(): autoconfig failed
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller on PCI bus 00 dev 78
ALI15X3: detected chipset, but driver not compiled in!
PCI: No IRQ known for interrupt pin A of device 00:0f.0. Please try using pci=biosirq.
ALI15X3: chipset revision 196
ALI15X3: not 100% native mode: will probe irqs later
ALI15X3: simplex device: DMA disabled
ide0: ALI15X3 Bus-Master DMA disabled (BIOS)
ALI15X3: simplex device: DMA disabled
ide1: ALI15X3 Bus-Master DMA disabled (BIOS)
hda: HITACHI_DK23EA-40, ATA DISK drive
hdc: TOSHIBA DVD-ROM SD-R6012, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 78140160 sectors (40008 MB) w/2048KiB Cache, CHS=4864/255/63
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3 hda4
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.25
PCI: Found IRQ 11 for device 00:12.0
eth0: RealTek RTL8139 Fast Ethernet at 0xe07ffc00, 08:00:46:a6:b0:a1, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 380M
agpgart: unsupported bridge
agpgart: no supported devices found.
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] Initialized radeon 1.1.1 20010405 on minor 1
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 00:0a.0
PCI: Sharing IRQ 11 with 00:0c.0
PCI: Sharing IRQ 11 with 01:05.0
PCI: Found IRQ 10 for device 00:0a.1
PCI: Sharing IRQ 10 with 00:0c.1
airo: Probing for PCI adapters
airo: Finished probing for PCI adapters
usb.c: registered new driver hub
Yenta IRQ list 04a8, PCI irq11
Socket status: 30000006
Yenta IRQ list 00a8, PCI irq10
Socket status: 30000410
PCI: Found IRQ 11 for device 00:0c.2
PCI: Sharing IRQ 11 with 00:0a.2
hcd.c: ehci-hcd @ 00:0c.2, VIA Technologies, Inc. USB 2.0
hcd.c: irq 11, pci mem e0805800
usb.c: new USB bus registered, assigned bus number 1
hcd/ehci-hcd.c: USB 2.0 support enabled, EHCI rev 0.95
hub.c: USB hub found
hub.c: 4 ports detected
usb-uhci.c: $Revision: 1.275 $ time 18:23:17 Jul 28 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:0c.0
PCI: Sharing IRQ 11 with 00:0a.0
PCI: Sharing IRQ 11 with 01:05.0
usb-uhci.c: USB UHCI at I/O 0x8080, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 10 for device 00:0c.1
PCI: Sharing IRQ 10 with 00:0a.1
usb-uhci.c: USB UHCI at I/O 0x80a0, IRQ 10
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 1951888k swap-space (priority -1)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.0.3 - 2003-05-18 (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_init: initialized in 11546 iterations
wlan0: NIC: id=0x800c v1.0.0
wlan0: PRI: id=0x15 v1.0.7
wlan0: STA: id=0x1f v1.3.6
wlan0: defaulting to host-based encryption as a workaround for firmware bug in Host AP mode WEP
wlan0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
prism2: wlan0: operating mode changed 3 -> 2
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: prism2_open
wlan0: LinkStatus=1 (Connected)
wlan0: LinkStatus: BSSID=00:30:ab:23:62:93

thanks for you help. bye
matteo
 
Old 08-03-2003, 11:56 AM   #6
Abject
Member
 
Registered: Mar 2002
Location: Studio City, CA
Distribution: Debian (Sarge-Sid)
Posts: 76

Rep: Reputation: 15
Is the ACPI daemon - acpid - running?
According to the Linux Power Management HowTo, you only get the basics from the ACPI kernel modules.

Also, it looks like you need to find the ACPI battery driver for your kernel (which means you'll probably have to compile a kernel anyways). Here's a link to the 2.4.21 version of the ACPI battery driver patch

Please post back here when you get it working!

Thanks,
 
  


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
apm and acpi -> battery status problem jasone Linux - General 3 10-20-2010 04:20 AM
Unable to read battery status jayhel Linux - Laptop and Netbook 2 12-11-2005 08:00 PM
display battery status p41elvis Linux - Laptop and Netbook 2 04-26-2004 03:35 PM
Touchpad and battery status <>Mandrake 10 bluedarkness Linux - Laptop and Netbook 1 03-20-2004 11:21 AM
is there an x battery status applet for woody with acpi?! tortenteufel Linux - Software 0 02-22-2004 12:48 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration