MrMEEE / bumblebee-Old-and-abbandoned

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

Installation supposed to be fully automated on Asus 1215n? #228

Closed amadofelipe closed 13 years ago

amadofelipe commented 13 years ago

I had to manually replace the scripts bumblebee-enablecard and bumblebee-disablecard and manually include the acpi call module. Are those things supposed to be automatic for Asus 1215n already?

Thank you all (especially Martin) for making this thing work on Linux !! =D

MrMEEE commented 13 years ago

Several entries for the 1215n has been added.. so it should be automatic... could you please run the installation and send me the complete output????

amadofelipe commented 13 years ago

$ sudo ./install.sh

UBUNTU-based distribution found.

Welcome to the bumblebee installation v.1.6.13 Licensed under Red Bull, BEER-WARE License and GPL

This will enable you to utilize both your Intel and nVidia card

Please note that this script will probably only work with Ubuntu, Debian, OpenSuSE and Fedora Based machines and has (by me) only been tested on Ubuntu Natty 11.04 and Fedora 14 but should work on others as well

Are you sure you want to proceed?? (Y/N) Y

Installing needed packages.

Ubuntu 11.04 Detected.

Ign http://dl.google.com stable InRelease Ign http://br.archive.ubuntu.com natty InRelease
Ign http://br.archive.ubuntu.com natty-updates InRelease
Atingido http://br.archive.ubuntu.com natty Release.gpg
Atingido http://br.archive.ubuntu.com natty-updates Release.gpg
Atingido http://br.archive.ubuntu.com natty Release
Atingido http://br.archive.ubuntu.com natty-updates Release
Atingido http://br.archive.ubuntu.com natty/main Sources
Obter:1 http://dl.google.com stable Release.gpg [198 B]
Ign http://ppa.launchpad.net natty InRelease
Atingido http://br.archive.ubuntu.com natty/restricted Sources
Atingido http://br.archive.ubuntu.com natty/universe Sources
Atingido http://br.archive.ubuntu.com natty/multiverse Sources
Ign http://archive.canonical.com natty InRelease
Atingido http://br.archive.ubuntu.com natty/main i386 Packages
Atingido http://br.archive.ubuntu.com natty/restricted i386 Packages
Ign http://ppa.launchpad.net natty InRelease
Ign http://ppa.launchpad.net natty InRelease
Atingido http://br.archive.ubuntu.com natty/universe i386 Packages
Atingido http://br.archive.ubuntu.com natty/multiverse i386 Packages
Ign http://br.archive.ubuntu.com natty/main TranslationIndex
Ign http://br.archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://br.archive.ubuntu.com natty/restricted TranslationIndex
Ign http://br.archive.ubuntu.com natty/universe TranslationIndex
Ign http://extras.ubuntu.com natty InRelease
Atingido http://br.archive.ubuntu.com natty-updates/main Sources
Atingido http://br.archive.ubuntu.com natty-updates/restricted Sources
Atingido http://br.archive.ubuntu.com natty-updates/universe Sources
Atingido http://br.archive.ubuntu.com natty-updates/multiverse Sources
Atingido http://br.archive.ubuntu.com natty-updates/main i386 Packages
Atingido http://br.archive.ubuntu.com natty-updates/restricted i386 Packages
Atingido http://br.archive.ubuntu.com natty-updates/universe i386 Packages
Atingido http://br.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://br.archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://security.ubuntu.com natty-security InRelease
Ign http://br.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://br.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://br.archive.ubuntu.com natty-updates/universe TranslationIndex
Atingido http://br.archive.ubuntu.com natty/main Translation-pt_BR
Atingido http://br.archive.ubuntu.com natty/main Translation-pt
Atingido http://br.archive.ubuntu.com natty/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com natty/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com natty/restricted Translation-pt_BR
Ign http://ppa.launchpad.net natty InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://ppa.launchpad.net natty InRelease
Ign http://deb.opera.com stable InRelease
Atingido http://br.archive.ubuntu.com natty/restricted Translation-pt
Atingido http://br.archive.ubuntu.com natty/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com natty/universe Translation-pt
Atingido http://ppa.launchpad.net natty Release.gpg
Atingido http://ppa.launchpad.net natty Release.gpg
Obter:2 http://dl.google.com stable Release [1.351 B]
Atingido http://archive.canonical.com natty Release.gpg
Atingido http://extras.ubuntu.com natty Release.gpg
Atingido http://security.ubuntu.com natty-security Release.gpg
Obter:3 http://dl.google.com stable/main i386 Packages [1.214 B]
Atingido http://ppa.launchpad.net natty Release.gpg
Atingido http://ppa.launchpad.net natty Release.gpg
Atingido http://deb.opera.com stable Release.gpg
Atingido http://ppa.launchpad.net natty Release.gpg
Atingido http://archive.canonical.com natty Release
Atingido http://extras.ubuntu.com natty Release
Atingido http://security.ubuntu.com natty-security Release
Atingido http://ppa.launchpad.net natty Release.gpg
Atingido http://ppa.launchpad.net natty Release
Ign http://dl.google.com stable/main TranslationIndex
Atingido http://deb.opera.com stable Release
Atingido http://archive.canonical.com natty/partner i386 Packages
Atingido http://extras.ubuntu.com natty/main Sources
Atingido http://security.ubuntu.com natty-security/main Sources
Ign http://br.archive.ubuntu.com natty/main Translation-en
Ign http://br.archive.ubuntu.com natty/multiverse Translation-en
Atingido http://ppa.launchpad.net natty Release
Atingido http://ppa.launchpad.net natty Release
Atingido http://ppa.launchpad.net natty Release
Ign http://br.archive.ubuntu.com natty/restricted Translation-en
Ign http://br.archive.ubuntu.com natty/universe Translation-en
Ign http://br.archive.ubuntu.com natty-updates/main Translation-pt_BR
Ign http://br.archive.ubuntu.com natty-updates/main Translation-pt
Ign http://br.archive.ubuntu.com natty-updates/main Translation-en
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-pt_BR
Ign http://archive.canonical.com natty/partner TranslationIndex
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-pt
Ign http://br.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-pt_BR
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-pt
Ign http://br.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-pt_BR
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-pt
Ign http://br.archive.ubuntu.com natty-updates/universe Translation-en
Atingido http://deb.opera.com stable/non-free i386 Packages
Atingido http://extras.ubuntu.com natty/main i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Atingido http://security.ubuntu.com natty-security/restricted Sources
Atingido http://security.ubuntu.com natty-security/universe Sources
Atingido http://security.ubuntu.com natty-security/multiverse Sources
Atingido http://security.ubuntu.com natty-security/main i386 Packages
Atingido http://security.ubuntu.com natty-security/restricted i386 Packages
Atingido http://ppa.launchpad.net natty Release
Atingido http://ppa.launchpad.net natty Release
Atingido http://security.ubuntu.com natty-security/universe i386 Packages
Atingido http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://deb.opera.com stable/non-free TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Atingido http://ppa.launchpad.net natty/main Sources
Atingido http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Atingido http://ppa.launchpad.net natty/main Sources
Atingido http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Atingido http://ppa.launchpad.net natty/main Sources
Atingido http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Atingido http://ppa.launchpad.net natty/main Sources
Atingido http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Atingido http://ppa.launchpad.net natty/main Sources
Atingido http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Atingido http://ppa.launchpad.net natty/main i386 Packages
Ign http://ppa.launchpad.net natty/main TranslationIndex
Ign http://archive.canonical.com natty/partner Translation-pt_BR
Ign http://extras.ubuntu.com natty/main Translation-pt_BR
Ign http://archive.canonical.com natty/partner Translation-pt
Ign http://extras.ubuntu.com natty/main Translation-pt
Ign http://security.ubuntu.com natty-security/main Translation-pt_BR
Ign http://security.ubuntu.com natty-security/main Translation-pt
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt_BR
Ign http://archive.canonical.com natty/partner Translation-en
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-pt
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-pt_BR
Ign http://security.ubuntu.com natty-security/restricted Translation-pt
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-pt_BR Ign http://security.ubuntu.com natty-security/universe Translation-pt Ign http://dl.google.com stable/main Translation-pt_BR
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://dl.google.com stable/main Translation-pt
Ign http://dl.google.com stable/main Translation-en
Ign http://deb.opera.com stable/non-free Translation-pt_BR
Ign http://deb.opera.com stable/non-free Translation-pt
Ign http://deb.opera.com stable/non-free Translation-en
Ign http://ppa.launchpad.net natty/main Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt
Ign http://ppa.launchpad.net natty/main Translation-en
Ign http://ppa.launchpad.net natty/main Translation-pt_BR
Ign http://ppa.launchpad.net natty/main Translation-pt
Ign http://ppa.launchpad.net natty/main Translation-en
Baixados 2.763 B em 7s (361 B/s)
Lendo listas de pacotes... Pronto Lendo listas de pacotes... Pronto Construindo árvore de dependências
Lendo informação de estado... Pronto O seguinte pacote foi instalado automaticamente e já não é necessário: libnotify-bin Use 'apt-get autoremove' para removê-los. Os NOVOS pacotes a seguir serão instalados: nvidia-current 0 pacotes atualizados, 1 pacotes novos instalados, 0 a serem removidos e 0 não atualizados. É preciso baixar 0 B/28,5 MB de arquivos. Depois desta operação, 83,4 MB adicionais de espaço em disco serão usados. Selecionando pacote previamente não selecionado nvidia-current. (Lendo banco de dados ... 180093 ficheiros e directórios actualmente instalados.) Desempacotando nvidia-current (de .../nvidia-current_270.41.06-0ubuntu1_i386.deb) ... Processando gatilhos para man-db ... Configurando nvidia-current (270.41.06-0ubuntu1) ... update-alternatives: a usar /usr/lib/nvidia-current/ld.so.conf para disponibilizar /etc/ld.so.conf.d/GL.conf (gl_conf) em modo automático. update-alternatives: aviso: saltar a criação de /usr/lib32/vdpau/libvdpau_nvidia.so.1 porque o ficheiro associado /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so.1 (do grupo de ligação gl_conf) não existe. update-alternatives: aviso: saltar a criação de /usr/lib32/libvdpau_nvidia.so porque o ficheiro associado /usr/lib32/nvidia-current/vdpau/libvdpau_nvidia.so (do grupo de ligação gl_conf) não existe. update-initramfs: deferring update (trigger activated) Loading new nvidia-current-270.41.06 DKMS files... First Installation: checking all kernels... Building only for 2.6.38-8-generic Building for architecture i686 Building initial module for 2.6.38-8-generic Done.

nvidia-current.ko: Running module version sanity check.

depmod....

DKMS: install Completed. Processando gatilhos para python-gmenu ... Rebuilding /usr/share/applications/desktop.pt_BR.utf8.cache... Processando gatilhos para bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processando gatilhos para initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic Processando gatilhos para python-support ...

Installing acpi_module

Lendo listas de pacotes... Pronto Construindo árvore de dependências
Lendo informação de estado... Pronto dkms já é a versão mais nova. git já é a versão mais nova. O seguinte pacote foi instalado automaticamente e já não é necessário: libnotify-bin Use 'apt-get autoremove' para removê-los. 0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados. Cloning into acpi_call... remote: Counting objects: 101, done. remote: Compressing objects: 100% (57/57), done. remote: Total 101 (delta 58), reused 76 (delta 42) Receiving objects: 100% (101/101), 14.97 KiB, done. Resolving deltas: 100% (58/58), done.

Creating symlink /var/lib/dkms/acpi_call/1.0/source -> /usr/src/acpi_call-1.0

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area.... make KERNELRELEASE=2.6.38-8-generic IGNORE_CC_MISMATCH=1 KDIR=/lib/modules/2.6.38-8-generic/build PWD=/var/lib/dkms/acpi_call/1.0/build.... cleaning build area....

DKMS: build Completed.

acpi_call.ko: Running module version sanity check.

depmod....

DKMS: install Completed.

Backing up Configuration

Installing Bumblebee Configuration and files

32-bit system detected

Selecionando pacote previamente não selecionado virtualgl. (Lendo banco de dados ... 180254 ficheiros e directórios actualmente instalados.) Desempacotando virtualgl (de .../VirtualGL_i386.deb) ... Configurando virtualgl (2.2.2-20110421) ...

Auto-detecting hardware

Autodetecting Hardware and fetching installation information.

rm: não foi possível remover "/tmp/machineinfo": Arquivo ou diretório não encontrado

Your machine is not registered in the database, starting manual configuration. If you get bumblebee running, please run bumblebee-submitsystem.

Changing Configuration to match your Machine.

Auto-detecting hardware

No power-on/off configuration has been reported for your machine please manully 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...

Setting output device to: CRT-0

Setting up Bumblebee Service

Adding system startup for /etc/init.d/bumblebee ... /etc/rc0.d/K20bumblebee -> ../init.d/bumblebee /etc/rc1.d/K20bumblebee -> ../init.d/bumblebee /etc/rc6.d/K20bumblebee -> ../init.d/bumblebee /etc/rc2.d/S20bumblebee -> ../init.d/bumblebee /etc/rc3.d/S20bumblebee -> ../init.d/bumblebee /etc/rc4.d/S20bumblebee -> ../init.d/bumblebee /etc/rc5.d/S20bumblebee -> ../init.d/bumblebee

Setting up Enviroment variables

The Image Transport is how the images are transferred from the nVidia card to the Intel card, people has different experiences of performance, but just select the default if you are in doubt.

I recently found out that yuv and jpeg both has some lagging this is only noticable in fast moving games, such as 1st person shooters and for me, its only good enough with xv, even though xv sets down performance a little bit.

1) YUV 2) JPEG 3) PROXY 4) XV (default) 5) RGB

4

Setting up bumblebee user rights and/or stating services.

groupadd: grupo 'bumblebee' já existe Adicionando usuário felipe ao grupo bumblebee

Ok... Installation complete...

Please logout and back in to activate new groups.

If you want power saving by shutting the nVidia down when not in use. Please adjust the scripts: /usr/local/bin/bumblebee-enablecard and /usr/local/bin/bumblebee-disablecard for your machine.

Examples and documentation is available in /usr/share/doc/bumblebee/

After that you should be able to start applications with "optirun ".

If you have any problems in or after the installation, please try to run the bumblebee-uninstall script and then rerun this script... if that doesn't work: please run the bumblebee-bugreport tool and send me a bugreport.

Or even better.. create an issue on github... this really makes bugfixing much easier for me and faster for you.

If you need to reconfigure bumblebee the script bumblebee-config as available.

And please... I your system is working.. run the bumblebee-submitsystem utility

Good luck... MrMEEE / Martin Juhl

http://www.martin-juhl.dk, http://twitter.com/martinjuhl, https://github.com/MrMEEE/bumblebee

MrMEEE commented 13 years ago

ok...

So, the acpi_call is actually installed...

could you please give me the output of:

dmidecode --string system-product-name

amadofelipe commented 13 years ago

$ sudo dmidecode --string system-product-name 1215N

I think acpi call was already installed this time (before this installation).. Unless bumblebee-uninstall uninstalled it too, but I installed it manually so I don't know..

amadofelipe commented 13 years ago

But I had to manually replace the bumblebee-enablecard and bumblebee-disablecard again.

MrMEEE commented 13 years ago

Weird...

Please try to run:

wget -O /tmp/machineinfo "http://martin-juhl.dk/bumblebee/?searchitem=`dmidecode --string system-product-name`&search=1" 1>/dev/null 2>/dev/null

cat /tmp/machineinfo

amadofelipe commented 13 years ago

felipe@felipe-1215N:/tmp$ cat machineinfo
felipe@felipe-1215N:/tmp$

It seems like the file has only some blank characteres..

MrMEEE commented 13 years ago

how about:

wget -O /tmp/machineinfo "http://martin-juhl.dk/bumblebee/?searchitem=1215N&search=1"

cat /tmp/machineinfo

amadofelipe commented 13 years ago

$ cat /tmp/machineinfo ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P2.PEGP._PS0| _SB.PCI0.P0P2.PEGP.NVOP 0 0x100 0x1A {255,255,255,255};_SB.PCI0.P0P2.PEGP._PS3| 1215N| ocrampal| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P4.GFX0._PS0;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| _SB.PCI0.P0P4.GFX0._DSM;_SB.PCI0.P0P4.GFX0._PS3;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| 1215N| Nicolas Joyard| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P4.GFX0._PS0;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| _SB.PCI0.P0P4.GFX0._DSM;_SB.PCI0.P0P4.GFX0._PS3;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| 1215N| jonas| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| UNAVAILABLE| UNAVAILABLE| 1215N| az| Linux Mint 11 Katya \n \l

MrMEEE commented 13 years ago

how about:

sudo wget -O /tmp/machineinfo "http://martin-juhl.dk/bumblebee/?searchitem=`dmidecode --string system-product-name`&search=1"

MrMEEE commented 13 years ago

sorry:

wget -O /tmp/machineinfo "http://martin-juhl.dk/bumblebee/?searchitem=`sudo dmidecode --string system-product-name`&search=1"

amadofelipe commented 13 years ago

yes, with sudo works ;D

MrMEEE commented 13 years ago

could you please try to insert in stages/autoconfiguration at line 8:

cat /tmp/machineinfo cat /tmp/machineinfo | wc -l

and try to run the install again...

amadofelipe commented 13 years ago

How weird is this? lol

Auto-detecting hardware

Autodetecting Hardware and fetching installation information.

ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P2.PEGP._PS0| _SB.PCI0.P0P2.PEGP.NVOP 0 0x100 0x1A {255,255,255,255};_SB.PCI0.P0P2.PEGP._PS3| 1215N| ocrampal| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P4.GFX0._PS0;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| _SB.PCI0.P0P4.GFX0._DSM;_SB.PCI0.P0P4.GFX0._PS3;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| 1215N| Nicolas Joyard| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P4.GFX0._PS0;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| _SB.PCI0.P0P4.GFX0._DSM;_SB.PCI0.P0P4.GFX0._PS3;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| 1215N| jonas| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| UNAVAILABLE| UNAVAILABLE| 1215N| az| Linux Mint 11 Katya \n \l
0

Your machine is not registered in the database, starting manual configuration. If you get bumblebee running, please run bumblebee-submitsystem.

Changing Configuration to match your Machine.

Auto-detecting hardware

No power-on/off configuration has been reported for your machine please manully 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...

MrMEEE commented 13 years ago

WHAT???? :D...

What if you just do:

wget -O /tmp/machineinfo "http://martin-juhl.dk/bumblebee/?searchitem=`sudo dmidecode --string system-product-name`&search=1"

and

cat /tmp/machineinfo | wc -l

amadofelipe commented 13 years ago

This is the weirdest thing ever o.o

felipe@felipe-1215N:~$ cat /tmp/machineinfo ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P2.PEGP._PS0| _SB.PCI0.P0P2.PEGP.NVOP 0 0x100 0x1A {255,255,255,255};_SB.PCI0.P0P2.PEGP._PS3| 1215N| ocrampal| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P4.GFX0._PS0;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| _SB.PCI0.P0P4.GFX0._DSM;_SB.PCI0.P0P4.GFX0._PS3;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| 1215N| Nicolas Joyard| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P4.GFX0._PS0;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| _SB.PCI0.P0P4.GFX0._DSM;_SB.PCI0.P0P4.GFX0._PS3;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| 1215N| jonas| Ubuntu 11.04 \n \l
ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| UNAVAILABLE| UNAVAILABLE| 1215N| az| Linux Mint 11 Katya \n \l
felipe@felipe-1215N:~$ cat /tmp/machineinfo | wc -l 0

MrMEEE commented 13 years ago

try to do a:

wc -l

MrMEEE commented 13 years ago

and a

wc --help

MrMEEE commented 13 years ago

just forget the wc -l

and do a:

echo "test" | wc -l

amadofelipe commented 13 years ago

wc -l says there is zero lines in a file without \n (newline character) and the machineinfo file has only one line, without any \n, that's the problem I think.. [ Or not..]

felipe@felipe-1215N:~$ echo "test" | wc -l 1

MrMEEE commented 13 years ago

ok.. weird it works in another way here...

can you please try again ... I think I fixed it on the web service...

amadofelipe commented 13 years ago

I realized there are some strings "\n" in machineinfo file, I think they are supposed to be a newline character, right?

amadofelipe commented 13 years ago

Now it counts 4 lines

felipe@felipe-1215N:~$ cat /tmp/machineinfo ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P2.PEGP._PS0| _SB.PCI0.P0P2.PEGP.NVOP 0 0x100 0x1A {255,255,255,255};_SB.PCI0.P0P2.PEGP._PS3| 1215N| ocrampal| Ubuntu 11.04 \n \l ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P4.GFX0._PS0;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| _SB.PCI0.P0P4.GFX0._DSM;_SB.PCI0.P0P4.GFX0._PS3;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| 1215N| Nicolas Joyard| Ubuntu 11.04 \n \l ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| _SB.PCI0.P0P4.GFX0._PS0;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| _SB.PCI0.P0P4.GFX0._DSM;_SB.PCI0.P0P4.GFX0._PS3;_SB.PCI0.P0P4.GFX0.P3MO;_SB.PCI0.P0P4.GFX0.DGPS| 1215N| jonas| Ubuntu 11.04 \n \l ASUSTeK Computer INC.| 1215N| CRT-0| PCI:00:02:0| PCI:04:00:0| UNAVAILABLE| UNAVAILABLE| 1215N| az| Linux Mint 11 Katya \n \l felipe@felipe-1215N:~$ cat /tmp/machineinfo | wc -l 4

MrMEEE commented 13 years ago

ok.. great..

Can you please try the installation again... just to be sure :D

amadofelipe commented 13 years ago

Now it worked ! =D Thank yoou!

MrMEEE commented 13 years ago

Thank you for reporting... :D