MacBook (v3.1 SantaRosa)

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

MacBook (v3.1 SantaRosa)

Messaggio da bozzochet »

Salve,

Ho comprato da un mesetto un MacBook 2,2Ghz Core2Duo con 4GB di Ram...
Penso di aver acceso MacOSX tipo 10 volte, non di più dato che ho subito installato Kubuntu che è sempre andato alla grande sul mio vecchio portatile!

Ora mi piacerebbe, ovviamente anche per tornaconto personale dato che ho quache problemino con alcune cosette (ogni tanto si blocca improvvisamente, l'Apple Remote non riesco a farlo funzionare, ecc...), aprire un topic di discussione su tutte le cose che riguardano l'installazione di Ubuntu/Kubuntu su questo Hardware un pò particolare...

Ovviamente non sono disposto solo a "chiedere" ma anche a rispondere dato che molte cosette sono riuscito a farle funzioanare egregiamente...

Ciao
Ultima modifica di bozzochet il sabato 1 marzo 2008, 15:25, modificato 1 volta in totale.
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
bunnyzone
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1383
Iscrizione: lunedì 30 luglio 2007, 16:22
Località: in birreria

Re: MacBook

Messaggio da bunnyzone »

--- omnia sunt communia ---
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook

Messaggio da bozzochet »

Scusa ma non ne sono sicuro. Credo (e l'ho letto anche su qualche topic) che lì si discuta solo di linux su altra architettura, mentre ora i MacBook sono Intel a tutti gli effetti e cambia solo che non hanno il Bios...

Comunque grazie della segnalazione!  (b2b)
Ultima modifica di bozzochet il giovedì 31 gennaio 2008, 12:36, modificato 1 volta in totale.
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook

Messaggio da bozzochet »

Comunque per specificare meglio le mie "competenze" (chiedete pure senza problemi!) ed invece le mie incompetenze:

Ok (molte delle quali grazie ai Wiki):
- installazione
- wireless
- audio (apparte il microfono esterno ma è un problema del tipo di porta probabilmente)
- tasti funzione (tutti!)
- rimappatura della tastiera per avere Canc, Ins, PagSu, PagGiù, Inizio e Fine ed il tasto destro da tastiera
- Trackpad con colpetto a due dita per il destro
- Compiz e visualizzazione video
- Lettura dati dalla partizione Mac
- Windows condiviso tra Ubuntu e MacOSX tramite VMWare
- iSight (tramite isight-firmware-tools [ift-extract]), anche con Skype
- Apple Remote (volume, play, pause, forward, backward)

Ko:
- Blocchi inspiegabili del pc (a causa di un intenso utilizzo della Wireless) -> Apparentemente risolto
- "Visualizzazione" di tutta la RAM (io ho 4GB) senza dover compilare il kernel o usare quello "server"
- Scrittura dati sulla partizione Mac
- masterizzatore lento (non riesco ad attivare il DMA)
Ultima modifica di bozzochet il domenica 16 marzo 2008, 18:57, modificato 1 volta in totale.
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
PalliFS
Prode Principiante
Messaggi: 1
Iscrizione: venerdì 1 febbraio 2008, 21:43
Località: Reggio Emilia
Contatti:

Re: MacBook

Messaggio da PalliFS »

bozzochet ha scritto: Comunque per specificare meglio le mie "competenze" (chiedete pure senza problemi!) ed invece le mie incompetenze:

Ok (molte delle quali grazie ai Wiki):
- installazione
- wireless
- audio (apparte il microfono esterno ma è un problema del tipo di porta probabilmente)
- tasti funzione (tutti!)
- rimappatura della tastiera per avere Canc, Ins, PagSu, PagGiù, Inizio e Fine ed il tasto destro da tastiera
- Trackpad con colpetto a due dita per il destro
- Compiz e visualizzazione video
- Lettura dati dalla partizione Mac
- Windows condiviso tra Ubuntu e MacOSX tramite VMWare

Ko:
- iSight
- Blocchi inspiegabili del pc (penso a causa dei parametri del kernel)
- "Visualizzazione" di tutta la RAM (io ho 4GB) senza dover compilare il kernel o usare quello "server"
- Apple Remote
- Scrittura dati sulla partizione Mac
- masterizzatore lento (non riesco ad attivare il DMA)
Io lo ho appena installato sul macbook ma non riesco ad installare il wireless perchè è l'unica connessione che ho qua e non posso accedere su internet, ho scaricato il pacchetto madwifi, ma non riesco ad installarlo, non riesco neanche a fare andare il tasto destro, se mi dai info mi fai un grosso piacere.  ;)
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook

Messaggio da bozzochet »

Certo!
La mia idea era proprio questa! Poi magari tu riesci a far funzionare qualcosa che a me non và e ci si aiuta a vicenda!
Allora:

- Wireless:

anche a me non funziona con madwifi ma funziona benissimo con ndiswrapper

Codice: Seleziona tutto

sudo ndiswrapper -i bcmwl5.inf
sudo ndiswrapper -l
sudo ndiswrapper -m
sudo modprobe ndiswrapper
Poi per farlo partire allo start apri:

/etc/modules

e aggiungi (questo è un esempio ma dovrebbe essere molto simile):

Codice: Seleziona tutto

# /etc/modules: kernel modules to load at boot time. 
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
mousedev
psmouse
ndiswrapper
Ora il problema è di dove trovi il file... Siccome io ce l'ho ma non ricordo dove l'ho preso faccio un account sul mio server e lo metto lì (nella home):
server: bozzoserver.no-ip.org (porta 22, quella di SSH)
utente: forumubuntu
password: forumubuntu

il server è di tipo SSH quindi lo puoi copiare con scp o con qualche tool grafico (ad esempio Konqueror consente di connettersi alle cartelle di rete facendo fish://utente@server)

- Tasto Destro:

1) Xorg (per avere il tasto destro facendo doppio clic con due dita) va modificato, al solito, /etc/X11/xorg.conf e la parte Section "InputDevice" la puoi sostituire con questa:

Codice: Seleziona tutto

Section "InputDevice"
	# updated 2007-12-07
	# use command "synclient -m 1" to see raw output
	# common stuff
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"	"/dev/psaux"
	Option		"Protocol"	"auto-dev"
	Option		"HorizEdgeScroll"	"0"
	Option		"VertEdgeScroll"	"0"
	Option		"VertTwoFingerScroll"	"1"
	Option		"HorizTwoFingerScroll"	"1"# set to 0 if you don't want horizontal scrolling
	Option		"HorizScrollDelta"	"10"
	Option		"VertScrollDelta"	"10"
	Option		"PressureMotionMinZ"	"10"
	Option		"FingerLow"	"10"
	Option		"FingerHigh"	"20"# change to 30 or 40 if you like
	Option		"LeftEdge"	"20"
	Option		"RightEdge"	"1200"
	Option		"TopEdge"	"20"
	Option		"BottomEdge"	"370"
	Option		"MinSpeed"	"0.8"# 0.5 is very slow, 1.5 is very fast
	Option		"MaxSpeed"	"1.2"# up to 1.5 works ok
	Option		"AccelFactor"	"0.10"
	Option		"MaxTapMove"	"100"
	Option		"MaxTapTime"	"100"
	Option		"MaxDoubleTapTime"	"200"
	Option		"TapButton2"	"3"
	Option		"TapButton3"	"2"
	Option		"SHMConfig"	"on"
	
	# not using edge scrolling
	
	# use two finger scrolling
	
	# scroll speed, lower is faster
	
	# minimum pressure motion factor
	
	# touch and untouch thresholds, higher numbers if you like to push hard
	
	# borders based on output from synclient
	
	# speeds, smaller number for a slower mouse
	
	# tap times, change to suit your tapping habits
	
	# don't change these or two finger tap stops working
	
	# must be commented out or normal tapping wont work
	#Option         "TapButton1"            "0"
	
	# needed for disabled while typing fix
EndSection
2) Destro con un tasto (la mia configurazione prevede di usare il tasto mela-destro):

Codice: Seleziona tutto

xmodmap -e "keycode 116 = Pointer_Button3"
xkbset m
devi installare xmodmap (ma penso sia installato di default) che consente di gestire cosa fà ogni tasto. Keycode 116 è appunto la mela di destra per la tastiera del MacBook v3.1, per sicurezza se fai xev puoi controllare il keycode del tasto che interessa (anche se per caso volessi usare un altro tasto rispetto a quello che ho usato io) dato che questo tool ti consente di controllare cosa fà xorg quando tu clicchi (nella casellina bianca che ti si apre) o premi un tasto.
xkbset invece dovrebbe attivare la "navigazione da tastiera" cioè quella che principalmente servirebbe a comandare il puntatore con il tastierino numerico ma che a noi serve solo per avere la possibilità di avere i tasti del mouse da testiera.
Il codice che ti ho riportato basta semplicemente farlo e il destro funziona, però lo dovresti fare ogni volta che ti logghi, quindi lo devi automatizzare. Il modo più semplice secondo me (ma è solo "gusto") è quello di inserirlo in uno stupido script bash (basta aggiungerci a monte #bin/bash) ed inserirlo nella cartella degli script lanciati all'avvio (in Kubuntu, ad esempio, è ~/.kde/Autostart).

Spero di aver spiegato bene, se così non fosse ditemelo che cerco di correggere dove non sono stato chiaro.
Ciao
Ultima modifica di bozzochet il martedì 5 febbraio 2008, 18:58, modificato 1 volta in totale.
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook

Messaggio da bozzochet »

aggiorno (ho anche modificato la scheda riassuntiva sopra):

- funziona anche la iSight
- i blocchi improvvisi sono causati (quasi) sicuramente dalla wireless con ndiswrapper, ma altro modo per farla funzionare per ora non c'è...

P.S. Mi dispiace che questo topic non trovi "adepti", eppure mi sembrava una buona idea... Sul forum internazionale c'è una board apposta per gli utenti di Ubuntu su Apple Intel...
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
Stealth
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 17364
Iscrizione: martedì 31 gennaio 2006, 22:55
Desktop: Gnome
Distribuzione: Ubuntu 22.04 LTS

Re: MacBook (v3.1 SantaRosa)

Messaggio da Stealth »

Avete già visto questa guida, credo sia recentissima
ciao
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook (v3.1 SantaRosa)

Messaggio da bozzochet »

Sì ma alcune cose non sono spiegate e ovviamente non si parla dei problemi...
Grazie comunque!
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook (v3.1 SantaRosa)

Messaggio da bozzochet »

Aggiorno (anche se sembra che non sia molto utile questo post...):

-I blocchi insipagabili del pc sembrano risolti dal kernel fornito dal team "mactel".

-L'AppleIR funziona ricompilando i "linux-ubuntu-modules" (per cambiare l'ID della periferica) con una semplice procedura che prende al massimo 5 minuti e non richiede nemmeno il reboot.
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
lukino1
Prode Principiante
Messaggi: 139
Iscrizione: lunedì 11 dicembre 2006, 16:50

Re: MacBook (v3.1 SantaRosa)

Messaggio da lukino1 »

salve,
premesso che possiedo un macbook core 2 duo combo,
ho installato kubuntu gutsy,attualmente possiedo il kernel 2.6.22-14-generic.
Ho configurato un po tutto seguendo topic qua' e la',due cose non mi riescono proprio.

1)l'audio risulta un po' rumoroso,e dal forellino laterale dove si inseriscono le cuffie resta accesa una luce rossa.
consigli?

2)la webcam isight non vuol saperne.
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook (v3.1 SantaRosa)

Messaggio da bozzochet »

Cosa intendi per combo?! Macbook SantaRosa v3.1?!

Allora:

- il rumore dall'uscita audio l'ho letto in qualche post ma io non l'ho mai sperimentato, e quindi purtroppo non sò come aiutarti. Per la luce rossa (che è quella dell'uscita digitale ottica) ho notato che kmixer, che dovrebbe accenderla/spegnerla tramite il controllo IEC958 non lo fà, quindi io ho risolto con l'analogo controllo però direttamente da alsamixer (da shell digiti "alsamixer").

- la isight non subito, dato che la Apple aveva cambiato il firmware rispetto alle precedenti versioni di MacBook, ma solo verso fine gennaio ha iniziato a funzionarmi. Ovviamente devi mettere il pacchetto "isight-firmware-tools" sui repo mactel ("deb http://ppa.launchpad.net/mactel-support/ubuntu hardy main" nel sources.list) e se lui non ti chiedesse niente al momento dell'istallazione gli dai un bel

Codice: Seleziona tutto

dpkg-reconfigure isight-firmware-tools
e nel percorso inserisci il percorso del firmware dell'Isight (normalmente si monta la partizione su cui c'è MacOsX e si punta al percorso già puntato di default, correggendo se servisse la parte iniziale: io monto la partizione in /media/MacHD/ e quindi il percorso è "/media/MacHD/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBVideoSupport.kext/Contents/MacOS/AppleUSBVideoSupport"). A quel punto dopo aver risposto alle domande di configurazione ti dovrebbe rimanere un output così:

Codice: Seleziona tutto

bozzo@MacBookBozzo:~$ sudo dpkg-reconfigure isight-firmware-tools
** Message: Found Mac OS X.5.1 late 2007 driver
** Message: Firmware extracted successfully in /lib/firmware/isight.fw
** Message: Apply patch 0 : Fix video control interface descriptor
** Message: Apply patch 1 : Fix video streaming interface descriptor
** Message: Apply patch 2 : Fix video streaming device qualifier
** Message: Firmware patched successfully
bozzo@MacBookBozzo:~$ 
Al prossimo riavvio ti dovrebbe caricare correttamente il driver e dovresti avere la periferica sotto /dev/video0: Skype ad esempio la vede come "Built-In Isight /dev/video0"

Spero di averti dato una mano, se hai altri problemi non esitare a chiedere.
Ciao!
Ultima modifica di bozzochet il sabato 26 aprile 2008, 3:21, modificato 1 volta in totale.
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
lukino1
Prode Principiante
Messaggi: 139
Iscrizione: lunedì 11 dicembre 2006, 16:50

Re: MacBook (v3.1 SantaRosa)

Messaggio da lukino1 »

grazie mille,
;D
il mio macbook e' un calistoga,dovrebbe essere l'ultima versione uscita.
l'audio era quello il problema ed e' stato risolto come dicevi te'.

Ora per quanto riguarda l'isight ,facendo come dici te non mi fa installare il pacchetto perche' esiste solo per hardy,quindi non soddisfa le dipendenze di gutsy,che e' la mia versione...

Poi volevo chiederti se gentilmente puoi postare il tuo xorg,per confrontarlo con il mio,ho dovuto modificare diversi parametri sia per il touchpad che per la scheda video e schermo,affinche' potessi avere il touch ok e la scheda video col 3d funzionante.
Il mio e' cosi' adesso,forse si puo' migliorare ancora levando qualcosa,non so'. lo posto qui

Codice: Seleziona tutto

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
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"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection
#MODIFIED TOUCHPAD
Section "InputDevice"
       Identifier      "Synaptics Touchpad"
       Driver          "synaptics"
       Option          "SendCoreEvents"        "true"
       Option          "Device"                "/dev/psaux"
       Option          "Protocol"              "auto-dev"
       Option "CorePointer"
       Option "SendCoreEvents" "true"
       Option "LeftEdge" "100"
       Option "RightEdge" "1120"
       Option "TopEdge" "50"
       Option "BottomEdge" "310"
       Option "FingerLow" "5"
       Option "FingerHigh" "20"
       Option "MaxTapTime" "100"
       Option "MaxTapMove" "150"
       Option "MaxDoubleTapTime" "180"
       Option "VertScrollDelta" "20"
       Option "HorizScrollDelta" "50"
       Option "MinSpeed" "0.49"
       Option "MaxSpeed" "0.78"
       Option "AccelFactor" "0.0010"
       Option "LockedDrags" "false"
       Option "TapButton1" "1"
       Option "TapButton2" "3"
       Option "TapButton3" "2"
       Option "VertTwoFingerScroll" "true"
       Option "HorizTwoFingerScroll" "false"
       Option "FastTaps" "true"
       Option "VertEdgeScroll" "false"
       Option "HorizEdgeScroll" "false"
       Option "SHMConfig" "true"
EndSection 

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection
#START MODIFY VIDEO
Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "Device"
	Identifier	"Intel GMA950"
	Driver		"intel"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"MacBook LCD"
	Option		"DPMS"
	HorizSync	28-60
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"MacBook Screen"
	Device		"Intel GMA950"
	Monitor		"MacBook LCD"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1200x800"
	EndSubSection
EndSection

Section "DRI"
	Mode	0666
EndSection
#END MODIFY VIDEO
Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"MacBook Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"

# Uncomment if you have a wacom tablet
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection
Ultima modifica di lukino1 il sabato 26 aprile 2008, 12:32, modificato 1 volta in totale.
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook (v3.1 SantaRosa)

Messaggio da bozzochet »

L'isight a me funzionava anche prima dell'aggiornamente ad hardy (lunedì scorso) e mi si installava il auddetto pacchetto... Il problema è che come un tonto ti ho scritto il repo per hardy... Sostituisci "hardy" in "gutsy" nel repo che ti ho indicato e vedrai che funzionerà...

Ti posto lo xorg.conf:

Codice: Seleziona tutto

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
    FontPath 	"/usr/local/share/fonts"
EndSection

Section "Module"
  Load "dri"
  Load "synaptics"
  Load "freetype"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "it"
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        # updated 2007-12-07
        # use command "synclient -m 1" to see raw output
        # common stuff
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"

        # not using edge scrolling
        Option          "HorizEdgeScroll"       "0"
        Option          "VertEdgeScroll"        "0"

        # use two finger scrolling
        Option          "VertTwoFingerScroll"   "1"
        Option          "HorizTwoFingerScroll"  "1" # set to 0 if you don't want horizontal scrolling

        # scroll speed, lower is faster
        Option          "HorizScrollDelta"      "10"
        Option          "VertScrollDelta"       "10"

        # minimum pressure motion factor
        Option          "PressureMotionMinZ"    "10"

        # touch and untouch thresholds, higher numbers if you like to push hard
        Option          "FingerLow"             "10"
        Option          "FingerHigh"            "20" # change to 30 or 40 if you like

        # borders based on output from synclient
        Option          "LeftEdge"              "20"
        Option          "RightEdge"             "1200"
        Option          "TopEdge"               "20"
        Option          "BottomEdge"            "370"

        # speeds, smaller number for a slower mouse
        Option          "MinSpeed"              "0.8" # 0.5 is very slow, 1.5 is very fast
        Option          "MaxSpeed"              "1.2" # up to 1.5 works ok
        Option          "AccelFactor"           "0.10"

        # tap times, change to suit your tapping habits
        Option          "MaxTapMove"            "100"
        Option          "MaxTapTime"            "100"
        Option          "MaxDoubleTapTime"      "200"

        # don't change these or two finger tap stops working
        Option          "TapButton2"            "3"
        Option          "TapButton3"            "2"
	Option		      "TwoFingerButton1"	    "2" #(due dita + click = bottone1, ma non và, mesà...)

        # must be commented out or normal tapping wont work
        #Option         "TapButton1"            "0"

        # needed for disabled while typing fix  
        Option          "SHMConfig"             "on"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
	Driver		"intel"
	BusID		"PCI:0:2:0"
#	VideoRam	147456
	Option		"UseFBDev"		"true"
EndSection

Section "Monitor"
	Identifier	"Color LCD"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
	Monitor		"Color LCD"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x800"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard" "CoreKeyboard"
	InputDevice	"Synaptics Touchpad" "AlwaysCore"
	InputDevice	"Configured Mouse" "CorePointer"
EndSection

Section "DRI"
  Mode 0666
EndSection
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
lukino1
Prode Principiante
Messaggi: 139
Iscrizione: lunedì 11 dicembre 2006, 16:50

Re: MacBook (v3.1 SantaRosa)

Messaggio da lukino1 »

purtroppo facendo come dici te ,mi dice che il pacchetto non esiste....
mentre con hardy me lo trova,ma mancano le dipendenze,boh.
comunque grazie per il tuo xorg.
provo a togliere dal mio le parti "wacom" che non dovrebbero servire a nulla.
Avatar utente
bozzochet
Prode Principiante
Messaggi: 117
Iscrizione: venerdì 24 febbraio 2006, 10:55

Re: MacBook (v3.1 SantaRosa)

Messaggio da bozzochet »

hai ragione, ho controllato i pacchetti per gutsy non ci sono più, evidentemente oramai lo sviluppo è solo su hardy...
A questo punto ti consiglio di passare ad hardy. A me funziona tutto come prima apparte la perdita delle funzionalità "particolari" del Touchpad (fornite da synaptics).

Oppure prova a vedere quali sono e dipendenze che servono per installare il pacchetto isight per hardy e cerca di soddisfarle...
Kubuntu 7.10 Gutsy
MacBook Core2Duo 2,2Ghz (v3.1)
Ram: 4GB
Avatar utente
lukino1
Prode Principiante
Messaggi: 139
Iscrizione: lunedì 11 dicembre 2006, 16:50

Re: MacBook (v3.1 SantaRosa)

Messaggio da lukino1 »

ti ringrazio, comunque mi hai aiutato abbastanza... ;D
Ora sto facendo delle prove in base al tuo xorg.
Ad esempio togliendo la parte inerente il "wacom" per tablet pc mi sembra che kubuntu si avvia piu' velocemente.
Ora provo la tua configurazione del touchpad per vedere se e' meglio della mia ;)
giulian
Prode Principiante
Messaggi: 41
Iscrizione: domenica 7 maggio 2006, 9:35

Re: MacBook (v3.1 SantaRosa)

Messaggio da giulian »

Salve ragazzi,
siete riusciti a far andare anche il mic interno del macbook? Io non ho avuto nessun problema con l'isight (ho utilizzato il pacchetto di mactel), ma non riesco ancora a registrare la voce, c'è qualcos'altro da impostare?
Avatar utente
lukino1
Prode Principiante
Messaggi: 139
Iscrizione: lunedì 11 dicembre 2006, 16:50

Re: MacBook (v3.1 SantaRosa)

Messaggio da lukino1 »

Ma l'isight da gutsy o da hardy?
Per il mic non ti posso aiutare visto che con la webcam sono in altomare....
Alla fine ho configurato cosi' l'xorg scopiazzando molte cose dal tuo bozzochet,e mi sembra la soluzione migliore! ;D
E' venuto cosi':

Codice: Seleziona tutto

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
 FontPath 	"/usr/local/share/fonts"
EndSection

Section "Module"
  Load "dri"
  Load "synaptics"
  Load "freetype"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
	Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

Section "InputDevice"
        # updated 2007-12-07
        # use command "synclient -m 1" to see raw output
        # common stuff
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"

        # not using edge scrolling
        Option          "HorizEdgeScroll"       "0"
        Option          "VertEdgeScroll"        "0"

        # use two finger scrolling
        Option          "VertTwoFingerScroll"   "1"
        Option          "HorizTwoFingerScroll"  "1" # set to 0 if you don't want horizontal scrolling

        # scroll speed, lower is faster
        Option          "HorizScrollDelta"      "10"
        Option          "VertScrollDelta"       "10"

        # minimum pressure motion factor
        Option          "PressureMotionMinZ"    "10"

        # touch and untouch thresholds, higher numbers if you like to push hard
        Option          "FingerLow"             "10"
        Option          "FingerHigh"            "20" # change to 30 or 40 if you like

        # borders based on output from synclient
        Option          "LeftEdge"              "20"
        Option          "RightEdge"             "1200"
        Option          "TopEdge"               "20"
        Option          "BottomEdge"            "370"

        # speeds, smaller number for a slower mouse
        Option          "MinSpeed"              "0.8" # 0.5 is very slow, 1.5 is very fast
        Option          "MaxSpeed"              "1.2" # up to 1.5 works ok
        Option          "AccelFactor"           "0.10"

        # tap times, change to suit your tapping habits
        Option          "MaxTapMove"            "100"
        Option          "MaxTapTime"            "100"
        Option          "MaxDoubleTapTime"      "200"

        # don't change these or two finger tap stops working
        Option          "TapButton2"            "3"
        Option          "TapButton3"            "2"
	Option		"TwoFingerButton1"	"2" #(due dita + click = bottone1, ma non và, mesà...)

        # must be commented out or normal tapping wont work
        #Option         "TapButton1"            "0"

        # needed for disabled while typing fix  
        Option          "SHMConfig"             "on"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "Device"
	Identifier	"Intel GMA950"
	Driver		"intel"
	BusID		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"MacBook LCD"
	Option		"DPMS"
	HorizSync	28-60
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"MacBook Screen"
	Device		"Intel GMA950"
	Monitor		"MacBook LCD"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1200x800"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1200x800"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"MacBook Screen"
	InputDevice	"Generic Keyboard" "CoreKeyboard"
	InputDevice	"Synaptics Touchpad" "AlwaysCore"
	InputDevice	"Configured Mouse" "CorePointer"
EndSection

Section "DRI"
	Mode	 0666
EndSection
Ultima modifica di lukino1 il domenica 27 aprile 2008, 12:51, modificato 1 volta in totale.
giulian
Prode Principiante
Messaggi: 41
Iscrizione: domenica 7 maggio 2006, 9:35

Re: MacBook (v3.1 SantaRosa)

Messaggio da giulian »

lukino1 ha scritto: Ma l'isight da gutsy o da hardy?
Per il mic non ti posso aiutare visto che con la webcam sono in altomare....
Ho installato stamattina la hardy,
stavo mettendo a posto il mio ubuntu, mi manca solo il mic, per il resto ha preso tutto  :). Per la wireless, io ho risolto installando i madwifi, ma non so se per i santarosa vanno bene, comunque il link del relativo how-to è il seguente:

http://wiki.ubuntu-it.org/Hardware/Note ... =(macbook)
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti