====== Sony VAIO ====== ===== serie Y ===== C'est de la marque, mais avec beaucoup de plastique qui fait toc-toc :-( ==== matériel ==== System Information Manufacturer: Sony Corporation Product Name: VPCYB2M1E Version: C900DNWY Serial Number: xxxxxxx UUID: xxxxxx Wake-up Type: Power Switch SKU Number: N/A Family: VAIO Sous le Windows qu'on m'a forcé d'acheter, ça dit: Video: AMD Radeon HD 6310 Graphics Reseau Wire: Atheros AR8131 PCI-E Gigabit Ethernet Controller Wifi : Atheros AR9285 Wireless Network Adapter ==== partition ==== Sous Windows 7, faire une place pour une partition Linux... 1 seul partition !? La conf: *Partition Logique "/boot" de 500MB (activer le flag "bootable") *Partition Logique "Crypted" de tout le reste *Sur la partition "Crypted": LVM avec swap et system ("/") ==== 2.6.35 ==== Ca demarre mais rien de lisible a l'ecran et pas de tty. D'aprés ce que j'ai lu [[http://www.technoaddict.fr/index.php/tag/vaio-y/|là]] , il faut mieux utiliser un autre noyau. ==== 2.6.39 bpo ==== Donc, on installe le noyau "backports" de Debian... Mais toujours rien a l'écran ==== ATI ==== # lspci -v | grep VGA 00:01.0 VGA compatible controller: ATI Technologies Inc Device 9802 (prog-if 00 [VGA controller]) Et alors ? Sous Windows : Video: AMD Radeon HD 6310 Graphics ==== recompilation noyau ==== La seule solution pour l'instant: recompiler un noyau !!!!!!! Liens: *http://www.technoaddict.fr/index.php/tag/vaio-y/ *http://www.technoaddict.fr/index.php/2010/02/installer-debian-squeeze-sur-vaio-w/ Il a fallu que je trouve une machine AMD64 pour compiler le noyau pour le netbook (en 64bit) Sinon, pas de problème: tout fonctionne ! Affichage, Wifi, Son, etc... **SAUF** *l'affichage est en 1024x768 et non pas 1366x768. *le scrolling du paddle ne fonctionne pas! grrrrrrrr === Affichage 1 === Lien: http://www.sensicomm.com/main/linux/acer_5253/index.shtml Allez sur http://support.amd.com et trouver le pilote qui va bien. Par exemple: Pilote d’affichage exclusif d'ATI Catalyst™ pour Linux x86 et Linux x86_64 C'est a dire: http://www2.ati.com/drivers/linux/ati-driver-installer-11-8-x86.x86_64.run Donc: # aptitude install make gcc # mkdir atilab # cd atilab # wget <......le pilote......run> # sh ati-driver....run ... AMD Catalyst(TM) Proprietary Driver 8.881 1) Install Driver 8.881 on X.Org 6.9 or later 64-bit 2) Generate Distribution Specific Driver Package Please choose the product to install, or Q to quit. [1] 1 ... Do you agree with the license? [Y/n] Y ... Do you want to proceed with Recommended installation? [Y/n] Y ... Installation complete. ... Dans les logs on lit: You must change your working directory to /lib/modules/fglrx and then call ./make_install.sh in order to install the built module. - recreating module dependency list - trying a sample load of the kernel modules done. [Reboot] Kernel Module : update-initramfs Il serait temps: # /etc/init.d/kdm stop Donc: # cd /lib/modules/fglrx # ./make_install.sh - recreating module dependency list - trying a sample load of the kernel modules done. # update-initramfs -u -k `uname -r` update-initramfs: Generating /boot/initrd.img-2.6.39.4-64bit-vaio-01 # /etc/init.d/kdm start Et ca marche :) === Affichage 2 === Euh non! Les pilotes pour la HD 63xx sont dans le package **''firmware-linux-nonfree''** du dépot **''squeeze-backports''** ! ==== ALSA ==== Liens: *https://bbs.archlinux.org/viewtopic.php?id=125092 *http://alsa.opensrc.org/.asoundrc Problème de son... # speaker-test speaker-test 1.0.23 Playback device is default Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Playback open error: -2,Aucun fichier ou dossier de ce type ... Par défaut, "alsa" utilise la "mauvaise" carte... $ cat /proc/asound/cards 0 [Generic ]: HDA-Intel - HD-Audio Generic HD-Audio Generic at 0xf0244000 irq 42 1 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0240000 irq 16 # aplay -L null Discard all samples (playback) or generate zero samples (capture) hdmi:CARD=Generic HD-Audio Generic, HDMI 0 HDMI Audio Output default:CARD=SB HDA ATI SB, ALC269VB Analog Default Audio Device front:CARD=SB,DEV=0 HDA ATI SB, ALC269VB Analog Front speakers surround40:CARD=SB,DEV=0 HDA ATI SB, ALC269VB Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=SB,DEV=0 HDA ATI SB, ALC269VB Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=SB,DEV=0 HDA ATI SB, ALC269VB Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=SB,DEV=0 HDA ATI SB, ALC269VB Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=SB,DEV=0 HDA ATI SB, ALC269VB Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers $ ls /dev/snd/by-path/ -lart lrwxrwxrwx 1 root root 12 29 août 23:21 pci-0000:00:14.2 -> ../controlC1 lrwxrwxrwx 1 root root 12 29 août 23:21 pci-0000:00:01.1 -> ../controlC0 $ lspci | grep -i audio 00:01.1 Audio device: ATI Technologies Inc Device 1314 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40) Voici pourquoi: # speaker-test -c 2 -D plughw:0 speaker-test 1.0.23 Playback device is plughw:0 Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Playback open error: -2,Aucun fichier ou dossier de ce type ... ... alors que ca fonctionne sur la 2ieme carte: # speaker-test -c 2 -D plughw:1 speaker-test 1.0.23 Playback device is plughw:1 Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 64 to 16384 Period size range from 32 to 8192 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left 1 - Front Right ... (j'entend le son!) DONC: il faut changer la carte par défaut ! Solution: soit un fichier **''/etc/asound.conf''** pour tout le monde, soit ".asoundrc" au niveau des "home", contenant: pcm.!default { type hw card 1 } ctl.!default { type hw card 1 } Voila ! ==== Paddle ==== Une solution pour le "scroll" via le paddle: # aptitude install kde-config-touchpad ==== powernow ==== Liens: *http://technowizah.com/2007/01/debian-how-to-cpu-frequency-management.html *http://doc.ubuntu-fr.org/cpu-frequtils On peut raisonner les ardeurs des processeurs en faisant: # modprobe powernow-k8 # dmesg [ 730.550948] powernow-k8: Found 1 AMD E-350 Processor (2 cpu cores) (version 2.20.00) [ 730.551087] powernow-k8: 0 : pstate 0 (1600 MHz) [ 730.551096] powernow-k8: 1 : pstate 1 (1280 MHz) [ 730.551103] powernow-k8: 2 : pstate 2 (800 MHz) Ainsi, on peut constater: # cat /sys/devices/system/cpu/cpu?/cpufreq/scaling_cur_freq 800000 800000 ... et lorsque nécessaire, la fréquence CPU augmente... Et **''cpufreq''** est content: # cpufreq-info ... analyse du CPU 0 : pilote : powernow-k8 CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 1000 ns. limitation matérielle : 800 MHz - 1.60 GHz plage de fréquence : 1.60 GHz, 1.28 GHz, 800 MHz régulateurs disponibles : powersave, conservative, userspace, ondemand, performance tactique actuelle : la fréquence doit être comprise entre 800 MHz et 1.60 GHz. Le régulateur "ondemand" est libre de choisir la vitesse dans cette plage de fréquences. la fréquence actuelle de ce CPU est 800 MHz (vérifié par un appel direct du matériel). ...