Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| utilisateurs:brunix [Le 03/05/2008, 13:26] 81.53.193.195 | utilisateurs:brunix [Le 06/08/2010, 08:51] (Version actuelle) lmrv Maj Lien | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | [[materiel:liste_portables:packard_bell:EASYNOTE SJ81-B-018W]] | + | ===== Rapports d'installations des matériels suivants ( PC Portables ) ===== | 
| - | + | <note warning>Merci de respecter le [[utilisateurs/modele|modèle]]</note> | |
| - | + | [[http://doc.ubuntu-fr.org/easynote_sj81-b-018w|Packard Bell EASYNOTE SJ81-B-018W ]] ( Correctif pour la carte RTL8187B ) | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | [[ http://doc.ubuntu-fr.org/easynote_sj81-b-018w|Packard Bell EASYNOTE SJ81-B-018W ]] | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== La procédure décrite est destiné au détenteurs de carte SAA7134 ne fonctionnant pas avec kdetv ===== | + | |
| - | Type de la carte -> Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d1) | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==== Pérequis ( Faire fonctionner la vidéo et le recherche des chaînes avec kdetv ) ==== | + | |
| - | 1 - Créer le fichier suivant | + | |
| - | sudo gedit /etc/modprobe.d/saa7134 | + | |
| - | + | ||
| - | 2 - Ajouter les lignes | + | |
| - | options saa7134 audio_ddep=10 | + | |
| - | options tuner secam=l | + | |
| - | + | ||
| - | 3 - Redémarrer votre pc | + | |
| - | + | ||
| - | 4 - Après le redémarrage vous devriez obtenir les informations suivantes en passant les commandes ci-dessous | + | |
| - | + | ||
| - | lspci | grep -i saa | + | |
| - | 03:00.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev d1) | + | |
| - | + | ||
| - | lsmod | grep saa | + | |
| - | + | ||
| - | saa7134_dvb  19596 0 | + | |
| - | videobuf_dvb  8708 1 saa7134_dvb | + | |
| - | tda1004x  18820  2 saa7134_dvb | + | |
| - | saa7134_alsa  17248  0 | + | |
| - | saa7134  152408  2 saa7134_dvb,saa7134_alsa | + | |
| - | compat_ioctl32  11136  1 saa7134 | + | |
| - | videobuf_dma_sg  17028 4 saa7134_dvb,videobuf_dvb,saa7134_alsa,saa7134 | + | |
| - | videobuf_core  22020 3 videobuf_dvb,saa7134,videobuf_dma_sg | + | |
| - | ir_kbd_i2c  12560  1 saa7134 | + | |
| - | ir_common  39812 2 saa7134,ir_kbd_i2c | + | |
| - | videodev  30720  1 saa7134 | + | |
| - | v4l2_common  21888 4 tuner,saa7134,compat_ioctl32,videodev | + | |
| - | v4l1_compat  15492 2 saa7134,videodev | + | |
| - | snd_pcm  92168 3 saa7134_alsa,snd_hda_intel,snd_pcm_oss | + | |
| - | i2c_core  28544  13 tda827x,saa7134_dvb,tda1004x,tuner,tea5767,tda8290,tuner_simple,mt20xx,tea5761,saa7134,ir_kbd_i2c,i2c_ali1535,i2c_ali15x3 | + | |
| - | snd  70856 18 saa7134_alsa,snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device | + | |
| - | + | ||
| - | 5 - Tester kdetv ( Recherche des chaînes et contrôle du son ) | + | |
| - | + | ||
| - | Rappel sous kdetv vous devez sélectionner la recherche des chaînes par le menu 'Assistant canaux' | + | |
| - | Source  : télévision | + | |
| - | Encodage  : Secam | + | |
| - | Source des fréquence : France | + | |
| - | + | ||
| - | Si aucun son n'est émis avec kdetv ( et que le son pour les autres applications Ubuntu fonctionne ). | + | |
| - | Commencer par contrôler les paramètre de configuration du son dans kdetv | + | |
| - | + | ||
| - | + | ||
| - | ==== Si vous ne parvenez pas à régler le problème lié a la sortie du son , je vous propose d'utiliser la procédure suivante ==== | + | |
| - | + | ||
| - | 1 - Installer sox | + | |
| - | + | ||
| - | sudo apt-get install sox | + | |
| - | + | ||
| - | 2 - Vérifier l'installation ( il me maquait des librairies sur Hardy ) | + | |
| - | + | ||
| - | sudo -apt-get install libsox-fmt-all | + | |
| - | sudo -apt-get install libsox-fmt-alsa | + | |
| - | sudo -apt-get install libsox-fmt-oss | + | |
| - | + | ||
| - | Vous devriez obtenir la liste des paquets suivants ( sous Hardy ) en passant la commande | + | |
| - | commande dpkg -l | grep sox | + | |
| - | + | ||
| - | ii  libsox-fmt-all  14.0.0-5  All SoX format libraries | + | |
| - | ii  libsox-fmt-alsa  14.0.0-5  SoX alsa format I/O library | + | |
| - | ii  libsox-fmt-ao  14.0.0-5  SoX Libao format I/O library | + | |
| - | ii  libsox-fmt-base  14.0.0-5  Minimal set of SoX format libraries | + | |
| - | ii  libsox-fmt-ffmpeg  14.0.0-5  SoX ffmpeg format library | + | |
| - | ii  libsox-fmt-flac  14.0.0-5  SoX FLAC format library | + | |
| - | ii  libsox-fmt-gsm  14.0.0-5  SoX GSM format library | + | |
| - | ii  libsox-fmt-mp3  14.0.0-5  SoX MP3 format library | + | |
| - | ii  libsox-fmt-ogg  14.0.0-5  SoX OGG Vorbis format library | + | |
| - | ii  libsox-fmt-oss  14.0.0-5  SoX OSS format I/O library | + | |
| - | ii  libsox-fmt-sndfile  14.0.0-5  SoX libsndfile format library | + | |
| - | ii  libsox0  14.0.0-5  SoX library | + | |
| - | ii  sox 14.0.0-5  Swiss army knife of sound processing | + | |
| - | + | ||
| - | + | ||
| - | 3 - Tester le son | + | |
| - | Lancer l'une des commande suivante  | + | |
| - | sox -t ossdsp -r 32000 -b -c 2 /dev/dsp1 -t ossdsp /dev/dsp | + | |
| - | ou | + | |
| - | sox -r 32000 -w -t alsa hw:1,0 -t alsa hw:0,0 | + | |
| - | + | ||
| - | Note : Pour stopper sox utiliser Ctrl+c | + | |
| - | + | ||
| - | 4 - Lancer kdetv | + | |
| - | + | ||
| - | + | ||
| - | ==== En cas de succès , simplifier le démarrage de sox et de kdetv ==== | + | |
| - | + | ||
| - | + | ||
| - | 1 - Créer le fichier de commandes | + | |
| - | + | ||
| - | sudo gedit /usr/local/bin/run_sox-kdetv.sh | + | |
| - | + | ||
| - | 2 - Ajouter les lignes suivantes dans ce fichier ( Copier/Coller ) | + | |
| - | + | ||
| - | # =============================================================================== | + | |
| - | # Used for resolv sound problem with saa7134 with kdetv | + | |
| - | # ------------------------------------------------------------------------------- | + | |
| - | # Run background process sox for kdetv | + | |
| - | # Run kdetv | + | |
| - | # Run stop sox process stop at end of process kdetv | + | |
| - | # ------------------------------------------------------------------------------- | + | |
| - | # By default used Alsa sound ( whitout parameter ) | + | |
| - | # | + | |
| - | # For used oss call with parameter oss | + | |
| - | # | + | |
| - | # Exemple : run_sox-kdetv.sh oss | + | |
| - | # ------------------------------------------------------------------------------- | + | |
| - | # Reports files : ~/kdetv.log | + | |
| - | # ~/sox_report.log | + | |
| - | # =============================================================================== | + | |
| - | ferror(){ m="( $0 )-Failed : $@"; echo $m; exit 1; } # -- Failed function | + | |
| - | + | ||
| - | rm -f ~/sox_report.log || ferror "remove file ~/sox_report.log ( control privileges , please ... )" # -- Remove uncontionnal report file sox | + | |
| - | + | ||
| - | sox_value="sox -r 32000 -w -t alsa hw:1,0 -t alsa hw:0,0" # -- Default value sound Alsa | + | |
| - | [ -z $1 ] || sox_value="sox -t ossdsp -r 32000 -b -c 2 /dev/dsp1 -t ossdsp /dev/dsp" # -- Used sound oss | + | |
| - | + | ||
| - | echo "Request run ${sox_value}" > ~/kdetv.log|| ferror "Erase file ~/kdetv.log ( control privileges , please ... )" # -- Remove uncontionnal report file sox | + | |
| - | + | ||
| - | # ---- | + | |
| - | # Assume remove process sox and kdetv ( previously run ) | + | |
| - | # ---- | + | |
| - | p=$( ps -ef | grep "[s]ox.*3200" | awk '{ print $2 }' ) # -- Search sox process | + | |
| - | [ -z ${p} ] || { kill -9 ${p} || ferror "Command kill -9 ${p}"; } # -- Found process , do kill | + | |
| - | + | ||
| - | p=$( ps -ef | grep "[k]detv$" | awk '{ print $2 }' ) # -- Search kdetv process | + | |
| - | [ -z ${p} ] || { kill -9 ${p} || ferror "Command kill -9 ${p}"; } # -- Found process , do kill | + | |
| - | + | ||
| - | + | ||
| - | # ---- | + | |
| - | # Run process sox and kdetv | + | |
| - | # ---- | + | |
| - | nohup ${sox_value} 1>/dev/null 2>~/sox_report.log & # -- Run sox background mode | + | |
| - | p=$( ps -ef | grep "[s]ox.*3200" | awk '{ print $2 }' ) # -- Search sox process | + | |
| - | [ -z ${p} ] && ferror "Run ${sox_value}"; # -- Control process | + | |
| - | echo "Success run sox for kdetv" >> ~/kdetv.log | + | |
| - | echo "Request run kdetv ...." >> ~/kdetv.log # -- Display action kdetv | + | |
| - | kdetv 1>/dev/null 2>/dev/null # -- Run kdetv | + | |
| - | [ ${?} -eq 0 ] || ferror "Error run kdetv" # -- On error , display error exit | + | |
| - | + | ||
| - | # ---- | + | |
| - | # On stop kdetv then stop sox process | + | |
| - | # ---- | + | |
| - | echo "End kdetv , then stop sox ..." >> ~/kdetv.log # -- Display end kdetv | + | |
| - | p=$( ps -ef | grep "[s]ox.*3200" | awk '{ print $2 }' ) # -- Search sox process | + | |
| - | kill -9 ${p} || ferror "Command kill -9 ${p}"; # -- Kill sox process | + | |
| - | [ ${?} -eq 0 ] || ferror "echo Error COMMAND : stop sox" # -- Exit display on error | + | |
| - | + | ||
| - | echo "Success stop sox for kdetv" >> ~/kdetv.log | + | |
| - | + | ||
| - | rm -f ~/sox_report.log || ferror "remove file ~/sox_report.log ( control privileges , please ... )" # -- Remove uncontionnal report file sox | + | |
| - | exit 0 | + | |
| - | + | ||
| - | + | ||
| - | 3 - Controler les privièges du fichier | + | |
| - | + | ||
| - | sudo chmod 755 /usr/local/bin/run_sox-kdetv.sh | + | |
| - | + | ||
| - | 4 - Executer ce fichier en mode commande | + | |
| - | + | ||
| - | cd ~ | + | |
| - | run_sox-kdetv.sh | + | |
| - | ou | + | |
| - | run_sox-kdetv.sh oss | + | |
| - | + | ||
| - | Note : Lorsque vous fermer kdetv , le processus sox est arrèté. | + | |
| - | Si vous lancer une nouvelle fois run_sox-kdetv.sh les processus existants actifs sont arrètés puis redémarrés. | + | |
| - | + | ||
| - | ==== Créé une îcone avec le 'Lanceur personnalisé' ==== | + | |
| - | + | ||
| - | Renseigner les champs : | + | |
| - | Type  : applications | + | |
| - | Nom  : sox-kdetv | + | |
| - | Commande  : run_sox-kdetv.sh | + | |
| - | Commentaire : kdetv with sound control by sox | + | |
| + | [[http://doc.ubuntu-fr.org/easynote_w35_amd64|Parckard Bell EASYNOTE W35 ( AMD 64 ) ]] ( Correctif kdetv et carte Pcmcia SAA7134/7133/7135 Philips  ) | ||