It's only the dmesg log you requested, right? (attached) and cmdline: # cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg--papaya-testing--root ro quiet splash i915.modeset=1 resume=/dev/disk/by-uuid/5becbcaa-8efc-4f4f-ba9d-47da4338d1fe
Any other logs? 2012/1/7 Lekensteyn <[email protected]>: > The battery information is obviously only existent if there is a battery > plugged into > it. Power usage is only available if the laptop is running on battery. > If /proc/acpi/battery does not exist, have a look at > /sys/class/power_supply/... > > Also, can you still post all logs I've requested? It helps me in verifying > behavior. > > > On Sat, Jan 7, 2012 at 5:30 PM, Wepmaschda <[email protected]> wrote: >> >> Not on mine. ;-) >> >> > find /proc/ -iname "bat*" 2>/dev/null >> >> returns nothing and /proc/acpi/ only contains button, call and wakeup. >> >> >> >> 2012/1/7 Albert Vilella <[email protected]>: >> > The battery information is usually somewhere in your /proc/ directory: >> > >> > find /proc/ -iname "bat*" 2>/dev/null >> > >> > gives me: >> > >> > /proc/acpi/battery >> > /proc/acpi/battery/BAT0 >> > >> > cat /proc/acpi/battery/BAT0/state >> > present: yes >> > capacity state: ok >> > charging state: discharging >> > present rate: 24420 mW >> > remaining capacity: 57150 mWh >> > present voltage: 15499 mV >> > >> > >> > On Sat, Jan 7, 2012 at 3:38 PM, Wepmaschda <[email protected]> wrote: >> >> Yipeee! It's working! >> >> >> >> The single-space was the problem (terminal attached). >> >> >> >> It seems that it gave me some extra battery time although I recently >> >> found out, that my battery is broken and this is the main reason for >> >> low battery time. ;-) >> >> >> >> Can I somehow find out how much power (Watt) the laptop currently uses? >> >> >> >> >> >> Anyway - Thanks for the help and the good work! Keep it going - I look >> >> forward to see the new bumblebee release and maybe I will try out >> >> using the nvidia card in linux. ;-) >> >> >> >> >> >> >> >> 2012/1/7 Lekensteyn <[email protected]>: >> >>> In addition, make sure that *no* driver is loaded before turning the >> >>> card >> >>> off. Check it with >> >>> lspci -vmk -d10de: >> >>> If a driver is loaded, there is a "Driver: ..." line. >> >>> >> >>> >> >>> On Sat, Jan 7, 2012 at 1:02 AM, Lekensteyn <[email protected]> >> >>> wrote: >> >>>> >> >>>> Huh, that was not what I expected. Could you re-run the commands, but >> >>>> then >> >>>> add sudo cat /proc/acpi/call after each sudo tee /proc/acpi/call >> >>>> command? >> >>>> Please >> >>>> attach dmesg as well and cat /proc/cmdline >> >>>> >> >>>> Try using one space as separator as well. When I tried multiple >> >>>> spaces >> >>>> between >> >>>> _DSM and the arguments, I got an "Method call failed: Error: >> >>>> AE_SUPPORT" >> >>>> error. >> >>>> >> >>>> Thanks, >> >>>> Lekensteyn >> >>>> >> >>>> >> >>>> 2012/1/7 Wepmaschda <[email protected]> >> >>>>> >> >>>>> Since it seems that the test wasn't successful, I attached the whole >> >>>>> terminal output. >> >>>>> >> >>>>> I installed the bumblebee-git and apci_call-git AUR packages, added >> >>>>> me >> >>>>> to group bumblebee, restarted the system and tried the commands you >> >>>>> told me. >> >>>>> >> >>>>> Is my system more complicated? ;-) >> >>>>> >> >>>>> 2012/1/5 Lekensteyn <[email protected]>: >> >>>>> > I found the calls in the acpidump and could see on beforehand that >> >>>>> > it >> >>>>> > does >> >>>>> > not work for >> >>>>> > you since these kind of calls require additional treatment, namely >> >>>>> > saving >> >>>>> > and restoring >> >>>>> > the PCI configuration space. >> >>>>> > >> >>>>> > Please confirm (with PM disabled, but keep cardo{n,ff} scripts) >> >>>>> > that >> >>>>> > the >> >>>>> > following sequence >> >>>>> > does work (after making sure that you no acpi calls have been >> >>>>> > performed >> >>>>> > this >> >>>>> > session, i.e. >> >>>>> > by rebooting) >> >>>>> > >> >>>>> > # should not show FF FF FF ... >> >>>>> > xxd -c4 /proc/bus/pci/01/00.0 >> >>>>> > >> >>>>> > cat /proc/bus/pci/01/00.0 > saved.txt >> >>>>> > sudo tee /proc/acpi/call < /etc/bumblebee/cardoff >> >>>>> > >> >>>>> > # should show FF FF FF ... >> >>>>> > xxd -c4 /proc/bus/pci/01/00.0 >> >>>>> > sudo tee /proc/acpi/call < /etc/bumblebee/cardon >> >>>>> > >> >>>>> > # should not show FF FF FF ... >> >>>>> > xxd -c4 /proc/bus/pci/01/00.0 >> >>>>> > sudo tee /proc/bus/pci/01/00.0 < saved.txt >> >>>>> > optirun glxgears >> >>>>> > >> >>>>> > >> >>>>> > Please attach the output of the above commands. >> >>>>> > >> >>>>> > Regards, >> >>>>> > Lekensteyn >> >>>>> > >> >>>>> > >> >>>>> > On Thu, Jan 5, 2012 at 11:16 PM, Wepmaschda <[email protected]> >> >>>>> > wrote: >> >>>>> >> >> >>>>> >> 2012/1/4 Lekensteyn <[email protected]>: >> >>>>> >> > Those ON and OFF lines are code that can be inserted in >> >>>>> >> > /etc/bumblebee/cardon >> >>>>> >> > and /etc/bumblebee/cardoff which needs Bumblebee. See >> >>>>> >> > >> >>>>> >> > https://github.com/Bumblebee-Project/Bumblebee/wiki/ACPI-Removed >> >>>>> >> > for >> >>>>> >> > how >> >>>>> >> > to >> >>>>> >> > use those calls. Note that the card has to be on before >> >>>>> >> > suspending >> >>>>> >> > or >> >>>>> >> > the >> >>>>> >> > card >> >>>>> >> > won't be useable until the PCI configuration space is >> >>>>> >> > reinitialized. >> >>>>> >> > Sorry >> >>>>> >> > for the >> >>>>> >> > technical details, I just try to be complete. >> >>>>> >> >> >>>>> >> I'm not sure if I already understand it completely. ;-) >> >>>>> >> Did you find those calls out from the acpidump? Should they >> >>>>> >> already >> >>>>> >> solve the problem? >> >>>>> >> >> >>>>> >> I created the files cardon and cardoff with the one-lines but >> >>>>> >> "sudo >> >>>>> >> make load" still doesn't work with the same error. >> >>>>> >> >> >>>>> >> Also I started Windows7 and used the nvidia card before I booted >> >>>>> >> back >> >>>>> >> into archlinux before I tested this. So the card should have been >> >>>>> >> "on". >> >>>>> >> >> >>>>> >> Should it already work or can I help with some more >> >>>>> >> information/testing? >> >>>>> >> >> >>>>> >> >> >>>>> >> > I'll see if there is an automated way to detect this kind of >> >>>>> >> > methods >> >>>>> >> > and >> >>>>> >> > integrate >> >>>>> >> > it in bbswitch. >> >>>>> >> >> >>>>> >> If I can help with my hardware, just tell me. >> >>>>> > >> >>>>> > >> >>>> >> >>>> >> >>> >> >> >> >> _______________________________________________ >> >> Mailing list: https://launchpad.net/~hybrid-graphics-linux >> >> Post to : [email protected] >> >> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux >> >> More help : https://help.launchpad.net/ListHelp > > _______________________________________________ Mailing list: https://launchpad.net/~hybrid-graphics-linux Post to : [email protected] Unsubscribe : https://launchpad.net/~hybrid-graphics-linux More help : https://help.launchpad.net/ListHelp

