FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 07-15-2010, 09:46 PM
Lino Mastrodomenico
 
Default Bug#589231: linux-image-2.6.32-5-powerpc: pmu_battery is not loaded automatically, so ibook battery detection does not work

Package: linux-2.6
Version: 2.6.32-15
Severity: normal

The pmu_battery module is not loaded so ibook battery detection does not work
(e.g. the GNOME power applet always report that the laptop is connected to the
AC adapter and has no battery).

To fix the problem just do modprobe pmu_battery.

It will be great to have a native detection of ibook g4 battery.

FYI this has already been reported by someone else to Ubuntu
(<https://bugs.launchpad.net/ubuntu/+source/linux/+bug/552597>), but I see the
exactly same problem in Debian testing (squeeze).



-- Package-specific info:
** Version:
Linux version 2.6.32-5-powerpc (Debian 2.6.32-15) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-1) ) #1 Tue Jun 1 09:13:17 UTC 2010

** Command line:
root=/dev/hda5 ro

** Not tainted

** Kernel log:
[ 1771.242279] ohci_hcd 0001:10:1b.0: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100002)
[ 1771.242314] ohci_hcd 0001:10:1b.1: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100002)
[ 1771.242349] ehci_hcd 0001:10:1b.2: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100012)
[ 1771.258170] radeonfb (0000:00:10.0): resuming from state: 2...
[ 1771.978005] agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 4x mode
[ 1771.978014] radeonfb 0000:00:10.0: putting AGP V2 device into 4x mode
[ 1773.161978] eth0: resuming
[ 1773.226321] PHY ID: 4061e4, addr: 0
[ 1774.360254] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 1774.361760] adb: starting probe task...
[ 1774.366033] hda: UDMA/100 mode selected
[ 1774.369782] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 1774.369913] hdc: MWDMA2 mode selected
[ 1774.387463] adb devices: [2]: 2 c4 [7]: 7 1f
[ 1774.392358] ADB keyboard at 2, handler 1
[ 1774.392363] adb: finished probe task...
[ 1774.665982] usb 2-2: reset full speed USB device using ohci_hcd and address 3
[ 1774.832993] appletouch: Geyser mode initialized.
[ 1774.886061] PM: Finishing wakeup.
[ 1774.886067] Restarting tasks ... done.
[ 1775.531053] agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 4x mode
[ 1775.531067] radeonfb 0000:00:10.0: putting AGP V2 device into 4x mode
[ 1775.531179] [drm] Num pipes: 1
[ 1775.731134] [drm] Num pipes: 1
[ 1776.878455] PM: Syncing filesystems ... done.
[ 1777.338054] PM: Preparing system for mem sleep
[ 1777.338073] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1777.342846] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1777.342929] PM: Entering mem sleep
[ 1777.342933] Suspending console(s) (use no_console_suspend to debug)
[ 1777.344032] btusb_intr_complete: hci0 urb eb9cfc00 failed to resubmit (1)
[ 1777.344993] btusb_bulk_complete: hci0 urb eb9cf000 failed to resubmit (1)
[ 1777.345994] btusb_bulk_complete: hci0 urb eb9cf980 failed to resubmit (1)
[ 1778.343137] eth0: suspending, WakeOnLan disabled
[ 1778.422073] radeonfb (0000:00:10.0): suspending for event: 2...
[ 1778.422111] agpgart-uninorth 0000:00:0b.0: disabling AGP on device 0000:00:10.0
[ 1778.422132] agpgart-uninorth 0000:00:0b.0: disabling AGP on bridge
[ 1778.919597] radeonfb 0000:00:10.0: restoring config space at offset 0xc (was 0x0, writing 0x90020001)
[ 1778.919612] radeonfb 0000:00:10.0: restoring config space at offset 0x6 (was 0x0, writing 0x90000000)
[ 1778.919619] radeonfb 0000:00:10.0: restoring config space at offset 0x5 (was 0x1, writing 0x401)
[ 1778.919626] radeonfb 0000:00:10.0: restoring config space at offset 0x4 (was 0x8, writing 0x98000008)
[ 1778.919633] radeonfb 0000:00:10.0: restoring config space at offset 0x3 (was 0x0, writing 0xff08)
[ 1778.919640] radeonfb 0000:00:10.0: restoring config space at offset 0x1 (was 0x2b00000, writing 0x2b00007)
[ 1778.919685] b43-pci-bridge 0001:10:12.0: restoring config space at offset 0x4 (was 0x0, writing 0x80084000)
[ 1778.919692] b43-pci-bridge 0001:10:12.0: restoring config space at offset 0x3 (was 0x0, writing 0x1000)
[ 1778.919700] b43-pci-bridge 0001:10:12.0: restoring config space at offset 0x1 (was 0x0, writing 0x6)
[ 1778.921782] ohci_hcd 0001:10:1b.0: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100002)
[ 1778.921817] ohci_hcd 0001:10:1b.1: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100002)
[ 1778.921851] ehci_hcd 0001:10:1b.2: restoring config space at offset 0x1 (was 0x2100000, writing 0x2100012)
[ 1778.937692] radeonfb (0000:00:10.0): resuming from state: 2...
[ 1779.657530] agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 4x mode
[ 1779.657539] radeonfb 0000:00:10.0: putting AGP V2 device into 4x mode
[ 1780.841507] eth0: resuming
[ 1780.905844] PHY ID: 4061e4, addr: 0
[ 1782.039635] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 1782.041143] adb: starting probe task...
[ 1782.045537] hda: UDMA/100 mode selected
[ 1782.049192] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 1782.049322] hdc: MWDMA2 mode selected
[ 1782.066184] adb devices: [2]: 2 c4 [7]: 7 1f
[ 1782.070932] ADB keyboard at 2, handler 1
[ 1782.070937] adb: finished probe task...
[ 1782.261208] PM: Finishing wakeup.
[ 1782.261216] Restarting tasks ... done.
[ 1783.102563] agpgart-uninorth 0000:00:0b.0: putting AGP V2 device into 4x mode
[ 1783.102579] radeonfb 0000:00:10.0: putting AGP V2 device into 4x mode
[ 1783.102689] [drm] Num pipes: 1
[ 1783.157536] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
[ 1783.210339] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1794.153599] wlan0: direct probe to AP 00:0f:3d:0a:70:dd (try 1)
[ 1794.154939] wlan0: direct probe responded
[ 1794.154953] wlan0: authenticate with AP 00:0f:3d:0a:70:dd (try 1)
[ 1794.156351] wlan0: authenticated
[ 1794.156405] wlan0: associate with AP 00:0f:3d:0a:70:dd (try 1)
[ 1794.158828] wlan0: RX AssocResp from 00:0f:3d:0a:70:dd (capab=0x401 status=0 aid=5)
[ 1794.158837] wlan0: associated
[ 1794.159834] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1804.909500] wlan0: no IPv6 routers present
[ 2209.313879] hda: host max PIO4 wanted PIO0 selected PIO0
[ 2229.017526] usb 4-1: new low speed USB device using ohci_hcd and address 3
[ 2229.232545] usb 4-1: New USB device found, idVendor=046d, idProduct=c03d
[ 2229.232561] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2229.232579] usb 4-1: Product: USB-PS/2 Optical Mouse
[ 2229.232587] usb 4-1: Manufacturer: Logitech
[ 2229.232925] usb 4-1: configuration #1 chosen from 1 choice
[ 2229.245128] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0001:10/0001:10:1b.1/usb4/4-1/4-1:1.0/input/input8
[ 2229.246900] generic-usb 0003:046D:C03D.0004: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0001:10:1b.1-1/input0
[ 2265.765539] usb 1-1: new high speed USB device using ehci_hcd and address 6
[ 2265.910560] usb 1-1: New USB device found, idVendor=18d1, idProduct=4e11
[ 2265.910574] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2265.910584] usb 1-1: Product: Nexus One
[ 2265.910592] usb 1-1: Manufacturer: Google, Inc.
[ 2265.910599] usb 1-1: SerialNumber: HT05EP801224
[ 2265.914406] usb 1-1: configuration #1 chosen from 1 choice
[ 2265.921595] scsi1 : SCSI emulation for USB Mass Storage devices
[ 2265.922476] usb-storage: device found at 6
[ 2265.922484] usb-storage: waiting for device to settle before scanning
[ 2270.923579] usb-storage: device scan complete
[ 2270.926033] scsi 1:0:0:0: Direct-Access Google, Inc.Nexus One PQ: 0 ANSI: 2
[ 2270.944617] sd 1:0:0:0: [sda] Attached SCSI removable disk

** Model information
revision : 1.5 (pvr 8003 0105)
platform : PowerMac
model : PowerBook6,7
machine : PowerBook6,7
motherboard : PowerBook6,7 MacRISC3 Power Macintosh

** Loaded modules:
Module Size Used by
pmu_battery 4706 0
power_supply 10795 1 pmu_battery
sd_mod 34291 0
crc_t10dif 4500 1 sd_mod
usb_storage 40414 0
radeon 690320 2
ttm 46748 1 radeon
drm_kms_helper 24325 1 radeon
drm 142443 5 radeon,ttm,drm_kms_helper
cpufreq_powersave 4138 0
cpufreq_stats 5840 0
cpufreq_conservative 8952 0
cpufreq_ondemand 10789 0
cpufreq_userspace 5156 0
parport_pc 28780 0
lp 10975 0
parport 32295 2 parport_pc,lp
sco 11560 2
bridge 48859 0
stp 4885 1 bridge
bnep 13750 2
rfcomm 37794 8
l2cap 32868 16 bnep,rfcomm
binfmt_misc 10371 1
fuse 57733 1
ext3 124692 1
jbd 40847 1 ext3
loop 15921 0
firewire_sbp2 16011 0
scsi_mod 126838 3 sd_mod,usb_storage,firewire_sbp2
snd_aoa_codec_tas 13079 2
snd_aoa_fabric_layout 12091 1
snd_aoa 15580 2 snd_aoa_codec_tas,snd_aoa_fabric_layout
snd_aoa_i2sbus 20629 1
snd_pcm_oss 42143 0
snd_mixer_oss 19030 1 snd_pcm_oss
snd_pcm 65001 2 snd_aoa_i2sbus,snd_pcm_oss
snd_page_alloc 9045 1 snd_pcm
snd_seq_midi 8216 0
snd_rawmidi 21199 1 snd_seq_midi
arc4 4442 2
snd_seq_midi_event 7956 1 snd_seq_midi
ecb 5353 2
snd_seq 51409 2 snd_seq_midi,snd_seq_midi_event
btusb 14004 2
snd_timer 20956 2 snd_pcm,snd_seq
bluetooth 52362 9 sco,bnep,rfcomm,l2cap,btusb
snd_seq_device 8405 3 snd_seq_midi,snd_rawmidi,snd_seq
ams 10712 0
b43 168213 0
rng_core 6446 1 b43
mac80211 155784 1 b43
joydev 12831 0
snd 52643 13 snd_aoa_codec_tas,snd_aoa_fabric_layout,snd_aoa,sn d_aoa_i2sbus,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd _rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8003 1 snd
appletouch 11881 0
evdev 11760 13
snd_aoa_soundbus 6669 2 snd_aoa_fabric_layout,snd_aoa_i2sbus
cfg80211 117433 2 b43,mac80211
rfkill 17994 4 bluetooth,cfg80211
input_polldev 5651 1 ams
ext4 316497 1
mbcache 8286 2 ext3,ext4
jbd2 70781 1 ext4
crc16 4475 2 l2cap,ext4
usbhid 39920 0
hid 68161 1 usbhid
ssb 48983 1 b43
mmc_core 54446 2 b43,ssb
ohci_hcd 35272 0
ehci_hcd 42750 0
ide_cd_mod 28553 0
pcmcia 25655 2 b43,ssb
sungem 30865 0
firewire_ohci 25992 0
cdrom 36699 1 ide_cd_mod
pcmcia_core 30647 3 b43,ssb,pcmcia
i2c_powermac 6651 0
sungem_phy 12982 1 sungem
usbcore 131800 7 usb_storage,btusb,appletouch,usbhid,ohci_hcd,ehci_ hcd
firewire_core 44106 2 firewire_sbp2,firewire_ohci
crc_itu_t 4495 1 firewire_core
nls_base 8693 1 usbcore

** PCI devices:
0000:00:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth 2 AGP [106b:0034]
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: 16, Cache Line Size: 32 bytes
Capabilities: <access denied>
Kernel driver in use: agpgart-uninorth

0000:00:10.0 VGA compatible controller [0300]: ATI Technologies Inc M11 NV [FireGL Mobility T2e] [1002:4e56] (rev 80) (prog-if 00 [VGA controller])
Subsystem: ATI Technologies Inc M11 NV [FireGL Mobility T2e] [1002:4e56]
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: 255 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 48
Region 0: Memory at 98000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 0400 [size=256]
Region 2: Memory at 90000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at 90020000 [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeonfb

0001:10:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth 2 PCI [106b:0035]
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: 16, Cache Line Size: 32 bytes

0001:10:12.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
Subsystem: Apple Computer Inc. Device [106b:4318]
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: 16
Interrupt: pin A routed to IRQ 52
Region 0: Memory at 80084000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge

0001:10:17.0 Class [ff00]: Apple Computer Inc. KeyLargo/Intrepid Mac I/O [106b:003e]
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: 16, Cache Line Size: 32 bytes
Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=512K]
Kernel driver in use: macio

0001:10:18.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo/Intrepid USB [106b:003f] (prog-if 10 [OHCI])
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 A routed to IRQ 27

0001:10:19.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo/Intrepid USB [106b:003f] (prog-if 10 [OHCI])
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 A routed to IRQ 28

0001:10:1a.0 USB Controller [0c03]: Apple Computer Inc. KeyLargo/Intrepid USB [106b:003f] (prog-if 10 [OHCI])
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: 16 (750ns min, 21500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 29
Region 0: Memory at 80083000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

0001:10:1b.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 43) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus [1033:0035]
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: 16 (250ns min, 10500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 63
Region 0: Memory at 80082000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd

0001:10:1b.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 43) (prog-if 10 [OHCI])
Subsystem: NEC Corporation Hama USB 2.0 CardBus [1033:0035]
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: 16 (250ns min, 10500ns max), Cache Line Size: 32 bytes
Interrupt: pin B routed to IRQ 63
Region 0: Memory at 80081000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd

0001:10:1b.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 04) (prog-if 20 [EHCI])
Subsystem: NEC Corporation USB 2.0 [1033:00e0]
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: 16 (4000ns min, 8500ns max), Cache Line Size: 32 bytes
Interrupt: pin C routed to IRQ 63
Region 0: Memory at 80080000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

0002:20:0b.0 Host bridge [0600]: Apple Computer Inc. UniNorth 2 Internal PCI [106b:0036]
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: 16, Cache Line Size: 32 bytes

0002:20:0d.0 Class [ff00]: Apple Computer Inc. UniNorth/Intrepid ATA/100 [106b:003b]
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: 32 bytes
Interrupt: pin ? routed to IRQ 39
Region 0: Memory at f5004000 (32-bit, non-prefetchable) [size=16K]
Kernel driver in use: ide-pmac

0002:20:0e.0 FireWire (IEEE 1394) [0c00]: Apple Computer Inc. UniNorth 2 FireWire [106b:0031] (rev 81) (prog-if 10 [OHCI])
Subsystem: Apple Computer Inc. iBook G4 2004 [106b:5811]
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: 64 (3000ns min, 6000ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 40
Region 0: Memory at f5000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: firewire_ohci

0002:20:0f.0 Ethernet controller [0200]: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) [106b:0032] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: gem


** USB devices:
Bus 004 Device 003: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 05ac:8207 Apple, Inc.
Bus 002 Device 003: ID 05ac:030b Apple, Inc. Internal Trackpad
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 18d1:4e11 Google Inc. Nexus One Phone
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.32-5-powerpc depends on:
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii initramfs-tools [linux-initra 0.97.2 tools for generating an initramfs
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii linux-base 2.6.32-15 Linux image base package
ii module-init-tools 3.12-1 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.32-5-powerpc recommends:
pn firmware-linux-free <none> (no description available)

Versions of packages linux-image-2.6.32-5-powerpc suggests:
pn linux-doc-2.6.32 <none> (no description available)
pn mkvmlinuz <none> (no description available)

Versions of packages linux-image-2.6.32-5-powerpc is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
ii firmware-linux-nonfree 0.25 Binary firmware for various driver
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)

-- debconf information:
linux-image-2.6.32-5-powerpc/postinst/bootloader-error-2.6.32-5-powerpc:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.32-5-powerpc/prerm/would-invalidate-boot-loader-2.6.32-5-powerpc: true
linux-image-2.6.32-5-powerpc/prerm/removing-running-kernel-2.6.32-5-powerpc: true
linux-image-2.6.32-5-powerpc/postinst/bootloader-test-error-2.6.32-5-powerpc:
linux-image-2.6.32-5-powerpc/postinst/depmod-error-initrd-2.6.32-5-powerpc: false
linux-image-2.6.32-5-powerpc/postinst/missing-firmware-2.6.32-5-powerpc:



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100715214630.2843.46507.reportbug@ibook">http://lists.debian.org/20100715214630.2843.46507.reportbug@ibook
 
Old 07-16-2010, 01:14 AM
Ben Hutchings
 
Default Bug#589231: linux-image-2.6.32-5-powerpc: pmu_battery is not loaded automatically, so ibook battery detection does not work

On Thu, 2010-07-15 at 23:46 +0200, Lino Mastrodomenico wrote:
> Package: linux-2.6
> Version: 2.6.32-15
> Severity: normal
>
> The pmu_battery module is not loaded so ibook battery detection does not work
> (e.g. the GNOME power applet always report that the laptop is connected to the
> AC adapter and has no battery).
>
> To fix the problem just do modprobe pmu_battery.
>
> It will be great to have a native detection of ibook g4 battery.
>
> FYI this has already been reported by someone else to Ubuntu
> (<https://bugs.launchpad.net/ubuntu/+source/linux/+bug/552597>), but I see the
> exactly same problem in Debian testing (squeeze).
[...]

Did this work in an earlier kernel version?

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
 
Old 07-22-2010, 06:14 PM
Lino Mastrodomenico
 
Default Bug#589231: linux-image-2.6.32-5-powerpc: pmu_battery is not loaded automatically, so ibook battery detection does not work

2010/7/16 Ben Hutchings <ben@decadent.org.uk>:
> On Thu, 2010-07-15 at 23:46 +0200, Lino Mastrodomenico wrote:
>> Package: linux-2.6
>> Version: 2.6.32-15
>> Severity: normal
>>
>> The pmu_battery module is not loaded so ibook battery detection does not work
>> (e.g. the GNOME power applet always report that the laptop is connected to the
>> AC adapter and has no battery).
>>
>> To fix the problem just do modprobe pmu_battery.
> [...]
>
> Did this work in an earlier kernel version?

I don't know, I just recently started using Debian testing on this computer.

In lenny AFAIK the pmu_battery module (and the functionality it
provides) was not available at all.

--
Lino Mastrodomenico



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTineohE5eoz8hGU8HfWBSVf1hUNjheFcHwICDwL3@mail .gmail.com">http://lists.debian.org/AANLkTineohE5eoz8hGU8HfWBSVf1hUNjheFcHwICDwL3@mail .gmail.com
 
Old 02-07-2011, 03:35 AM
danny
 
Default Bug#589231: linux-image-2.6.32-5-powerpc: pmu_battery is not loaded automatically, so ibook battery detection does not work

Battery-status reporting on all pmu based powerpc machines is currently completely broken. This worked in previous debian releases, but the switch to the new pmu-battery module
and UPower broke things.

There is a small bug in the pmu-battery module that reports the status always as full. This has been fixed in 2.6.33. I could probably track down the commit (but I suspect a diff of this module code between debian and 2.6.33 is minimal).


Then there is UPower. It seems that hal (which worked fine) is replaced by UPower. Unfortunately, UPowers upstream maintainer thinks it is bad for userspace to poll battery devices (when the battery is full, it stops polling). He may be right, but since there is a lot of slightly broken hardware out there, the kernel is not always able to send a signal that the status changed to discharging. He blames the kernel, kernel people blame upower.... This caused problems on x86 with the result the upstream maintainer seems now rather uncooperative imho.


AFAIK the pmu hardware does not send any signal when the battery status changes. However, the pmu driver is polling the pmu anyway ever few secs. So it theoretically could send a signal to userspace. However, the linux pmu driver is a mess, and I do not want to touch it. Moreover, the battery gets now handled by the pmu-battery driver. Which is not doing polling. Adding another layer of polling the pmu in pmu-battery is silly.

By far the easiest solution would be to let upower poll full batteries on mac every 30 secs or so (just like it does on not-full batteries).

I can try to make patches, but I would like to see some discussion about the proper cause of action first.


Danny
 

Thread Tools




All times are GMT. The time now is 03:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org