STICKY: Ideen für diese Seite...






STICKY: Ideen für diese Seite...

In diesem Blog scheint nicht allzu viel zu geschehen. Das möchte ich mit EURER Mithilfe ändern.


Vorschläge, Kommentare... irgendwas... bitte als Kommentar HIER:

http://1kleinerbeitrag.blogspot.com/p/sticky-ideen-fur-diese-seite.html

posten. Ich werde diesen Post entsprechend neuer Ideen anpassen.


Beste Grüße

Mittwoch, 16. Juni 2010

Ubuntu 9.10 on Sony Vaio P (P11Z) - FULLY working GMA500/WWAN/WLAN/Sleep


There are already tutorials to get compiz working, WWAN, someone mentioned wireless is kinda sketchy and so on... why this tutorial?
I didn't find a complete one that adresses everything that's not working like it should when you install a fresh Ubuntu 9.10 (Karmic Koala). And perhaps it's useful for someone else...

What's not working out of the box but after these instructions:
- accelerated 2d/3d graphics (intel gma 500 poulsbo) with compiz
- WWAN (with LiveCD it was there, once installed -> gone)
- Sleep / Hibernation (when wireless is turned on it won't wake up)
- WLAN (out of the box it works, but with a lot of hickups and interrupts)
- random system freezes
*notice* didn't test GPS. since the WWAN module should be working after these steps, GPS should also be enabled.

edit: forgot to mention that i didn't try the microphone. if it doesn't work try this:
http://ubuntuforums.org/showpost.php?p=4238790&postcount=4

first, make sure to connect your VGA/LAN-dongle (works out of the box) to your Vaio P to get an internet-connection in recovery mode (wireless is not trustful at this state).


GMA500:
*notice*
i did it with the default ubuntu 9.10 kernel 2.6.3.1-14
*notice*


- boot into recovery mode (ESC while GRUB loads)
- add some repositories
$ sudo add-apt-repository ppa:gma500/ppa && sudo apt-get update
- install the following
$ sudo apt-get install libdrm-poulsbo1 poulsbo-config poulsbo-driver-2d poulsbo-driver-3d psb-firmware psb-kernel-headers psb-modules xpsb-glx psb-kernel-source
$ sudo dpkg-reconfigure psb-kernel-source 
- prepare grub bootloader
$ sudo nano /etc/default/grub
  search for GRUB_CMDLINE_LINUX_DEFAULT and change it to something like this (1500 in case you have 2GB RAM minus some megabytes reserved for the GMA500):
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem=1500mb acpi_osi=Linux"
$ sudo update-grub
- prevent module i915 to laod
$ sudo nano /etc/modprobe.d/blacklist.conf
- insert following line:
blacklist i915
- configure xorg.conf:
$ sudo nano /etc/X11/xorg.conf
  it should look like this:
Section "Device"
    Identifier "GMA500"
    Option "AccelMethod" "EXA"
    Option "DRI" "on"
    Option "MigrationHeuristic" "greedy"
    Option "IgnoreACPI" "yes"
    Driver "psb"
EndSection

Section "DRI"
    Mode 0666
EndSection
- configure compiz to load with the GMA500:
$ sudo nano /usr/bin/compiz
   search for WHITELIST and change it to something like this:
WHITELIST=”psb nvidia intel ati radeon i810 fglrx”

WWAN:
- download and extract the driver for the z-series (attention to your kernel)
http://www.logic.at/people/preining/software/
- install module
$ cd /path/where/you/extracted/
$ sudo make
$ sudo make install


Sleep:
- now we want to disable wireless before going to sleep / hibernation because of it won't wake up otherwise
- configure sleep.sh / hibernate.sh script:
$ sudo nano /etc/acpi/sleep.sh
  insert the following line at the beginning:
iwconfig wlan0 txpower off
-  do the same with /etc/acpi/hibernate.sh




WLAN:
- download and extract the legacy drivers
http://wireless.kernel.org/en/users/Download/stable/    (i used version 2.6.32-rc5)
- build and install
$ cd /path/to/compat-wireless-2.6.32-rc5
$ ./scripts/driver-select ath9k
$ make
$ sudo make install
$ sudo reboot or unload/load your wireless drivers


DONE!


edit2 - mplayer:
to get mplayer working with va api, this tutorial did it for me:
http://www.loggn.de/ubuntu-mplayer-inkl-smplayer-mit-vaapi-unterstutzung/

note: be sure you disable the screenshot feature in smplayer!

Scrolling with Trackpoint:
create a new file /etc/hal/fdi/policy/mouse-wheel.fdi and post in there the following:

(have to insert text here)


edit3 - mplayer browser plug-in:Flash plugin replacement for Firefox
https://wiki.ubuntu.com/HardwareSupportComponentsVideoCardsPoulsbo/
(for all Ubuntu releases):

* install gnome-mplayer and gecko-mediaplayer

* tune gnome-mplayer settings like the following screenshots:

http://lukaszklich.pl/wp-content/uploads/2010/05/vaapi_output.png

http://lukaszklich.pl/wp-content/uploads/2010/05/vaapi_va.png

(This should already be automatically done by the gnome-mplayer package from the gma500 repository)

* install this firefox addons: http://flvideoreplacer-extension.blogspot.com/

6 Kommentare:

  1. Hi, I have just installed mandriva 2010.1 in my sony p11 and the trackpoint does not work. Could you please post your complete X conf file to see the settings of the mouse/tracpoint.

    Thanks,
    --Carlos

    AntwortenLöschen
  2. oh man i'm so sorry, i don't have it installed anymore. but i do still know that in my xorg.conf were just the video config, no configs for my keyboard or trackpoint device. i can say this posted above was my xorg.conf - nothing more i think.

    i read some people lost mouse functionality with mandriva 2010.1: http://forum.mandriva.com/viewtopic.php?t=120104
    perhaps this thread could help?

    AntwortenLöschen
  3. After reading:
    ubuntuforums.org/showthread.php?t=1150077

    I added
    i8042.reset i8042.nomux i8042.nopnp i8042.noloop

    as boot options in /boot/grub/menu.lst
    And it works now!

    Thanks anyway.

    --Carlos

    AntwortenLöschen
  4. could anyone try if gps works? thx

    AntwortenLöschen
  5. i'll look at that issue when i have time...

    AntwortenLöschen
  6. Just wanted to let people know how this how-to gets along with 10.04 LTS. I wanted 11.04 but it didn't work at all, during the installation GRUB didn't want to install at all and it screwed the existing bootloader. So, tried 10.04 LTS and most stuff works except the microphone. (didn't test GPS). Oh, this is on a VGN-P11Z.

    GMA500: Steps required as outlined here, but "psb-kernel-headers psb-modules" don't exist (anymore?) and are probably not required, it worked without that. compiz gets uninstalled automatically when you install the psb stuff and that seems to be OK, at least I didn't see any problems with that yet (not sure what compiz does, tho). :)

    WWAN: Steps still required as outlined here to get UMTS working.

    Sleep: Doesn't work, even with the iwconfig stuff outlined here. Ubuntu goes to sleep and when you wake it up the computer just reboots.

    WLAN: Not required anymore, works out-of-the-box with 10.04 LTS.

    Oh, some say you can get the mic to work with:
    https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules
    And it did make my mic work in some way, but the output is so screwed up that you dont understand a work. Same for the speakers then, you cant understand anything, its screwed. Went back to the standard Alsa and gotta live without a mic for now.

    AntwortenLöschen