Archivi tag: Linux

Screen resolution, VGA and HDMI on Sony Vaio VPCS11E7E with Ubuntu 10.04 (no bed of roses)

Italiano | English

UPDATE (08-30-2010): To bring TTYs back and set boot resolution, click here.

Have you succeeded in installing Ubuntu 10.04 on your Vaio? Good, now let’s deal with screen resolution and shit like that (OMG, not my politeness day!). I know that installing NVIDIA proprietary driver and manually modifying xorg.conf works, but I don’t know if NVIDIA drivers are really required. If you wish to keep nouveau drivers read this post and use it your way.

Install NVIDIA drivers by SystemAdministrationHardware drivers and when you’re asked to reboot don’t do it.

Open a terminal and type

gksu gedit /etc/X11/xorg.conf

and add lines 14 and 15 to that file, like this

Section "Screen"
Identifier      "Default Screen"
DefaultDepth    24
EndSection

Section "Module"
Load    "glx"
EndSection

Section "Device"
Identifier      "Default Device"
Driver  "nvidia"
Option  "NoLogo"        "True"
Option  "ConnectedMonitor"      "DFP-0,DFP-1,CRT"
Option  "CustomEDID" "DFP-0: /proc/acpi/video/IGPU/LCD0/EDID"
EndSection

What do those lines do?

  1. line: configures 3 possible monitors (DFP-0, DFP-1 e CRT).
  2. line: tells your graphic chip your monitor specifications (DFP-0) from an EDID generated by ACPI.

Now you can reboot and enjoy your VGA and HDMI (the latter sadly without sound at the moment).

Side effects

You will lose you virtual consoles. Well, actually they are still there, but when you switch to one of them your screen will shut down. You could try, CTRL+ALT+F1 (CTRL+ALT+F7 brings your desktop back). This is really annoying, but my eyes tell me it’s better than a wrong resolution.

This is energy saving on Linux 😀

Nothing I’m aware of at the moment. This guide continues here.

Sources: obviously vaio-f11-linux, can’t remember the others.

VMware + Kernel 2.6.35

Se per caso state usando il Kernel 2.6.35, potreste non essere in grado di compilare correttamente VMware. Ecco qui due semplici istruzioni per compilare correttamente i moduli vmmon e vsock (Ubuntu 10.04, ma facilmente adattabili ad altre distro).

vmmon

Aprite un terminale a digitate quanto segue:

cd /tmp
tar xvf /usr/lib/vmware/modules/source/vmmon.tar -C /tmp
perl -pi -e 's,_range,,' vmmon-only/linux/iommu.c
sudo tar cvf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only

vsock

wget http://www.debuntu.org/sites/www.debuntu.org/files/vmware-7.1-ubuntu10.10-patch.tar__0.gz
tar -xzvf vmware-7.1-ubuntu10.10-patch.tar__0.gz
cd vmware-7.1-ubuntu10.10-patch
sudo ./apply_patch.sh

Ora avviate VMware (anche il Player va bene) e lasciategli compilare i moduli.

Fonte vmmon: http://www.rrfx.net/2010/06/vmware-vmmon-module-compilation-issues.html

Fonte vsock: http://www.debuntu.org/how-wmware-workstation-7.1-ubuntu-maverick-meerkat-10.10

Stupid designer

Boh, saranno i miei disturbi mentali, tuttavia mi capita spesso di soffermarmi su cose che solitamente sfuggono all’utente “medio”, che dal mio punto di vista va dal niubbo che bestemmia in terronesco perché non riesce a far vedere l’uccello alla morosa con la webcam, fino all’hacker che si scrive i driver della webcam per NetBSD(M, perché far funzionare una webcam lì sopra è doloroso ed appagante come il bondage) per far vedere l’uccello alla morosa del niubbo.

Date ora un occhio a queste 5 schermate e ditemi cosa notate:

Notato niente di particolare? Se mi rispondete «Il furgoncino FIAT da barbone» siete dei bugiardi, perché l’immagine è troppo piccola per leggere distintamente FIAT. Vi do un indizio.

Continua la lettura di Stupid designer

Il PC dei neri

Finalmente la sezione log vede un nuovo protagonista: Ruspa, nome in codice: Ruspa (si, proprio Ruspa).

Introduzione

Tutto questo nasce dal mio nick su messenger:

Shiba-shaped [-40€ torna la speranza… *_*]

*** Fine dell’introduzione ***

E ora vi lascio al log (breve ma intenso), buono sbellicamento!

Ruspa: cos’è questo countdown di soldi?
Shiba: quanto mi manca per andare a puttane
Ruspa: davvero?
Shiba: no 😛
Ruspa: e per cosa?
Shiba: presente l’eeepc?
Ruspa: no
Ruspa: cos’è il pc dei neri che va a manovella??¹
Shiba: ma LOL

  1. Immagino si riferisse all’OLPC