Dimensione: 12847
Commento:
|
Dimensione: 13937
Commento:
|
Le cancellazioni sono segnalate in questo modo. | Le aggiunte sono segnalate in questo modo. |
Linea 306: | Linea 306: |
sudo apt-get install xserver-xorg-input-wacom wacom-tools xinput xornal | sudo apt-get install xserver-xorg-input-wacom wacom-tools xinput xournal |
Linea 373: | Linea 373: |
xornal | xournal |
Linea 399: | Linea 399: |
== Permettere allo schermo di ruotare == creiamo un file {{{ sudo gedit /usr/bin/rotate }}} e al suo interno inserite: {{{ #!/bin/bash function ROTATE() { curr=`xrandr | awk '/Current rotation/ { print $4 }'` case $curr in normal) CW ;; *) NORMAL ;; esac } function PORTRAIT() { echo portrait } function LANDSCAPE() { echo landscape } function NORMAL() { xrandr -o normal xsetwacom set "stylus" Rotate NONE PORTRAIT } function CCW() { xrandr -o right xsetwacom set "stylus" Rotate CCW LANDSCAPE } function CW() { xrandr -o right xsetwacom set "stylus" Rotate CW LANDSCAPE } function INVERT() { xrandr -o inverted xsetwacom set "stylus" Rotate UD LANDSCAPE } case $1 in -l) CCW ;; -r) CW ;; -n) NORMAL ;; -i) INVERT ;; *) ROTATE ;; esac }}} Per girare lo schermo da shell, digitate: {{{ rotate }}} == Abilitare Aixgl e installare Beryl == Poiché l'accelerazione 3D è già attiva basta poi seguire questa semplice guida: http://wiki.beryl-project.org/index.php?title=Install/Ubuntu/Edgy/AiGLX |
Questa guida si propone di esporre in modo chiaro e sintetico gli eventuali problemi che un utente Ubuntu-linux potrebbe incontrare nell'installazione della distribuzione su portatili Acer Travelmate C310. La guida è testata su Kbuntu 6.10.
Verifichiamo l'hadware
Per verificare l'hardware del portatile, è sufficiente aprire un'istanza di terminale e digitare lspci:
lspci
il comando restituirà qualcosa del tipo:
00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) 00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) 00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) 00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83) 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03) 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03) 00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03) 00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03) 02:01.0 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20) 02:01.1 CardBus bridge: O2 Micro, Inc. OZ711EC1 SmartCardBus Controller (rev 20) 02:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) 02:05.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M Gigabit Ethernet (rev 03) 02:06.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
CPUINFO
rocessor : 0 vendor_id : GenuineIntel cpu family : 6 model : 13 model name : Intel(R) Pentium(R) M processor 1.50GHz stepping : 8 cpu MHz : 600.000 cache size : 2048 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe up est tm2 bogomips : 1201.08
LISTA FUNZIONAMENTO COMPONENTI
Tutto perfettamente riconosciuto. Il computer funziona perfettamente già alla fine della sua prima installazione. C'è da lavorare di più se vogliamo far funzionare tutte le sue funzioni nei minimi dettagli.
Scheda video Intel
Di suo perfettamente riconosciuta, e con accelerazione 3D già attiva.
~$ glxinfo name of display: :0.0 libGL warning: 3D driver claims to not support visual 0x4b display: :0 screen: 0 direct rendering: Yes
Scheda wireless
Riconosciuta perfettamente. Non c'è bisogno di nessuna altra configurazione, se non quella per le varie reti.
Scheda audio
Riconosciuta perfettamente. Non c'è bisogno di nessuna altra configurazione.
Modem 56k
Non testato.
Card Reader
Non testato completamente, ma funzionante con la maggior parte delle schede
Harddisk
Riconosciuto, anche con tutte le sue partizioni. Abilitata la scrittura su NTFS con [:DriverNtfs:NTFS-3G].
Masterizzatore
Tutto ok. Masterizza perfettamente CD e DVD
Display 14" TFT
Perfettamente riconosciuto, e con risoluzione massima attiva.
Porte USB 2
Veloci, e tutte perfettamente funzionanti
Mouse Integrato
Riconosciuto, ma con scrolling non funzionante. Per attivarlo digitate in un terminale sudo kate /etc/X11/xorg.conf
Dopo le linee:
Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection
aggiungiamo:
Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "on" EndSection
Nella sezione Configured Mouse, aggiungiamo:
InputDevice "Synaptics Touchpad"
Tasti rapidi
Non riconosciuti automaticamente. Procedere con lo scaricare e con il convertire i pacchetti necessari:
wget http://olea.org/paquetes-rpm/acerhk/acerhk-0.5.16-olea1_2.6.7_1.desktop.2custom.i386.rpm sudo apt-get install alien sudo alien acerhk-0.5.16-olea1_2.6.7_1.desktop.2custom.i386.rpm sudo dpkg -i acerhk_0.5.16-1_i386.deb
Dopodichè attiviamo il nuovo modulo:
sudo modprobe
Poi facciamo in modo che parta ad ogni avvio
sudo gedit /etc/modules
e aggiungiamo acerhk in fondo alla lista. Chiudiamo e salviamo. Possiamo poi configurare i tasti direttamente da Kubuntu (o Ubuntu).
Configurazione Xorg
copio il mio file /etc/X11/xorg.conf nel caso ci dovessero essere problemi di configurazione:
Section "Files" # path to defoma fonts FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/100dpi:unscaled" FontPath "/usr/share/X11/fonts/75dpi:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "/usr/local/share/fonts" EndSection Section "Module" Load "i2c" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "it" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "on" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "stylus" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "eraser" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/wacom" # Change to # /dev/input/event # for USB Option "Type" "cursor" Option "ForceDevice" "ISDV4" # Tablet PC ONLY EndSection Section "Device" Identifier "Intel Corporation 82852/855GM Integrated Graphics Device" Driver "i810" BusID "PCI:0:2:0" Option "XAANoOffscreenPixmaps" EndSection Section "Monitor" Identifier "Generic Monitor" Option "DPMS" HorizSync 28-51 VertRefresh 43-60 EndSection Section "Screen" Identifier "Default Screen" Device "Intel Corporation 82852/855GM Integrated Graphics Device" Monitor "Generic Monitor" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" InputDevice "stylus" "SendCoreEvents" InputDevice "cursor" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents" Option "AIGLX" "true" EndSection Section "DRI" Mode 0666 EndSection Section "Extensions" Option "Composite" "Enable" EndSection
Tablet
Per fare funzionare la funzione tablet del nostro acer dobbiamo prima installare alcuni pacchetti da shell:
sudo apt-get install xserver-xorg-input-wacom wacom-tools xinput xournal
se durante l'installazione dovesse chiederci qualcosa, scegliamo autosave once. Dopodichè abilitiamo i nuovi elementi:
sudo ln -s /dev/input/wacom /dev/wacom
Adesso avremo bisogno di riavviare. Questo potrebbe non essere bastato per far funzionare il nostro tablet. Nel caso digitiamo sudo gedit /etc/X11/xorg.conf e modifichiamolo come segue (l'ordine è importante!):
Section "InputDevice" Driver "wacom" Identifier "cursor" Option "Device" "/dev/ttyS0" Option "Type" "cursor" Option "ForceDevice" "ISDV4" Option "BottomX" "28800" Option "BottomY" "21760" Option "Mode" "absolute" Option "TPCButton" "on" EndSection Section "InputDevice" Driver "wacom" Identifier "stylus" Option "Device" "/dev/ttyS0" Option "Type" "stylus" Option "ForceDevice" "ISDV4" Option "BottomX" "28800" Option "BottomY" "21760" Option "Mode" "absolute" Option "TPCButton" "on" EndSection Section "InputDevice" Driver "wacom" Identifier "eraser" Option "Device" "/dev/ttyS0" Option "Type" "eraser" Option "ForceDevice" "ISDV4" Option "BottomX" "28800" Option "BottomY" "21760" Option "Mode" "absolute" Option "TPCButton" "on" EndSection
e aggiungete o cambiate questa parte (l'ordine è sempre importante!):
InputDevice "cursor" "SendCoreEvents" InputDevice "stylus" "SendCoreEvents" InputDevice "eraser" "SendCoreEvents"
Poi editiamo/creiamo sudo gedit /etc/serial.conf, e aggiungiamo:
#Stylus pen /dev/ttyS0 port 0x06f8 irq 6 uart 16550A
Per avviare il programma di scrittura:
xournal
Comandi di avvio wireless e bluetooth
I seguenti comandi devono tutti essere inseriti in una shell.
Avviare il bluetooth
echo on > /proc/driver/acerhk/blueled
Disattivare il bluetooth
echo off > /proc/driver/acerhk/blueled
Avviare la wireless
echo on > /proc/driver/acerhk/wirelessled
Disattivare il bluetooth
echo off > /proc/driver/acerhk/wirelessled
Permettere allo schermo di ruotare
creiamo un file
sudo gedit /usr/bin/rotate
e al suo interno inserite:
function ROTATE() { curr=`xrandr | awk '/Current rotation/ { print $4 }'` case $curr in normal) CW ;; *) NORMAL ;; esac } function PORTRAIT() { echo portrait } function LANDSCAPE() { echo landscape } function NORMAL() { xrandr -o normal xsetwacom set "stylus" Rotate NONE PORTRAIT } function CCW() { xrandr -o right xsetwacom set "stylus" Rotate CCW LANDSCAPE } function CW() { xrandr -o right xsetwacom set "stylus" Rotate CW LANDSCAPE } function INVERT() { xrandr -o inverted xsetwacom set "stylus" Rotate UD LANDSCAPE } case $1 in -l) CCW ;; -r) CW ;; -n) NORMAL ;; -i) INVERT ;; *) ROTATE ;; esac
Per girare lo schermo da shell, digitate:
rotate
Abilitare Aixgl e installare Beryl
Poiché l'accelerazione 3D è già attiva basta poi seguire questa semplice guida: http://wiki.beryl-project.org/index.php?title=Install/Ubuntu/Edgy/AiGLX
Link
Discussione Forum internazionale su Acer Travelmate C310: http://www.ubuntuforums.org/showthread.php?t=232250
Post su Acer Travelmate C110: http://forum.ubuntu-it.org/index.php/topic,30549.0.html
Creata da: EmanueleCisotti