MrMEEE / bumblebee-Old-and-abbandoned

OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide"
http://www.martin-juhl.dk/2011/08/ironhide-reporting-for-duty/
469 stars 50 forks source link

/usr/local/bin/bumblebee-enablecard: line 29: INSERTPOWERON: command not found #434

Closed marcoho closed 13 years ago

marcoho commented 13 years ago

Hello, I installed bumblebee via the ppa on ubuntu 11.04 (Laptop Dell XPS 15z) and get the error as stated in the Title when trying to enable the nividia card. I sent the bug report to email address as requested by the bugreport tool. Thanks Marco

MrMEEE commented 13 years ago

How have you installed the enable/disable scripts?? manually or have you chosen a profile???

marcoho commented 13 years ago

I have chosen the profile from Abu Bakar for the Dell XPS 15z. I haven't installed anything else than bumblebee and the NVIDIA drivers from Additional Drivers menu. I didn't install any scripts, should I?

MrMEEE commented 13 years ago

Hi..

I have just submitted a fix for this.. an update should be available in the ppa within the next 30 minutes..

You shouldn't have to do anything else than to install bumblebee.. it should also pull in the necessary nvidia drivers...

Please let me know if it works...

You can follow that status of the ppa here:

https://launchpad.net/~mj-casalogic/+archive/bumblebee/+packages

do a:

sudo apt-get update sudo apt-get dist-upgrade

to upgrade..

MrMEEE commented 13 years ago

The new packages are ready.. :D

marcoho commented 13 years ago

Hello I just pulled the new bumblebee package and installed it. Reconfiguring:

      │  No power-on/off configuration has been reported for your machine,
      │  please manually enter configuration in:
      │
      │  /usr/local/bin/bumblebee-enablecard and /usr/local/bin/bumblebee-disablecard
      │ 
      │  Some examples are available in /usr/share/doc/bumblebee/.
      │ 
      │  Press any key to continue... 

hoefle@wks02:~$ cat /usr/local/bin/bumblebee-enablecard

!/bin/bash

This script should contain the command(s) necessary to switch on the

nVidia card.

This is a template script.

#

Please note that the acpi_call module is need for these operations:

http://linux-hybrid-graphics.blogspot.com/2010/07/using-acpicall-module-to-switch-onoff.html

modprobe acpi_call

if ! lsmod | grep -q acpi_call; then

echo "Error: acpi_call module not loaded"

exit

fi

acpi_call () {

echo "$*" > /proc/acpi/call

result=$(cat /proc/acpi/call)

case "$result" in

Error*)

echo "Enabling nVidia card failed ($result)."

;;

*)

echo "Enabling nVidia card succeeded."

;;

esac

}

INSERTPOWERON

modprobe nvidia-current

So how should I proceed? The scipt won't work.

marcoho commented 13 years ago

Uups, it looks that some character combinations confused the thread. After the update all commands in /usr/local/bin/bumblebee-enablecard were commented, was this the intention?

MrMEEE commented 13 years ago

Hi...

Yes, it was the intention that all lines should be commented.. as noone has submitted a set of working scripts for you machine..

Bumblebee should still work, but without the power management...