Apportez votre aide…
Creative Sound Blaster Audigy Platinum eX
Ce produit contient une Carte Sound Blaster Audigy, une carte d'extension Audigy, un Lecteur Audigy externe et de nombreux cables.
Configuration audio
Télécommande (rm900)
Cette télécommande possède une trentaine de boutons, multipliés par deux grâce à un bouton style "MAJ".
Afin que celle-ci fonctionne, il faut modifier le fichier alsa-base.conf
sudo vi /etc/modprobe.d/alsa-base.conf
Ajouter en fin de fichier :
options snd-emu10k1 index=0 enable_ir=1
lirc
Dans le doute, reconfigurer lirc :
sudo dpkg-reconfigure lirc
Choisir "Creative LiveDrive midi" ("Creative LiveDrive sequencer" ne fonctionne plus) et laisser le reste par défaut (il n'y a pas de transmetteur).
Modifier le fichier hardware.conf
sudo vi /etc/lirc/hardware.conf # /etc/lirc/hardware.conf # #Chosen Remote Control REMOTE="Creative LiveDrive midi" REMOTE_MODULES="" REMOTE_DRIVER="livedrive_midi" REMOTE_DEVICE="/dev/snd/midiC0D1" <--modifier cette ligne REMOTE_SOCKET="" REMOTE_LIRCD_CONF="creative/lircd.conf.livedrive" REMOTE_LIRCD_ARGS="" ..
Relancer lirc :
sudo /etc/init.d/lirc restart
Et contrôler le processus:
ps -ef|grep lirc
Doit retourner
/usr/sbin/lircd --output=/var/run/lirc/lircd --driver=livedrive_midi --device=/dev/snd/midiC0D1
Pour vérifier que la communication s'effectue bien, utiliser :
irw
Puis, appuyer sur des touches…
Le fichier lircd.conf.livedrive est prévu pour une rm1000w, remplacer ce fichier par les bonnes fréquences :
sudo vi /usr/share/lirc/remotes/creative/lircd.conf.livedrive
# /usr/share/lirc/remotes/creative/lircd.conf.livedrive # # brand: Creative # model no. of remote control: rm900 # devices being controlled by this remote: # # Note: if you are using this config file with lirc version < 0.8.1 # remove the min_code_repeat entry because it is not supported in former # versions # begin remote name rm1000w flags SPACE_ENC|CONST_LENGTH bits 16 eps 30 aeps 100 header 9000 4500 one 563 1687 zero 563 562 ptrail 563 pre_data_bits 16 pre_data 0x8322 gap 108000 toggle_bit 0 min_code_repeat 1 min_repeat 2 repeat 9000 2250 frequency 38000 duty_cycle 33 begin codes 1 0x0000000000008B74 s1 0x0000000000000BF4 2 0x0000000000008F70 s2 0x0000000000000FF0 3 0x000000000000906F s3 0x00000000000010EF 4 0x0000000000008A75 s4 0x0000000000000AF5 5 0x000000000000847B s5 0x00000000000004FB 6 0x0000000000007887 s6 0x000000000000F807 7 0x0000000000008976 s7 0x00000000000009F6 8 0x000000000000837C s8 0x00000000000003FC 9 0x0000000000007788 s9 0x000000000000F708 s0 0x00000000000000FF 0 0x000000000000807F stop 0x000000000000857A #eject = stop while holding speaker button eject 0x00000000000005FA play 0x0000000000007986 #pause = play while holding speaker button pause 0x000000000000F906 slow 0x0000000000007D82 sSlow 0x000000000000FD02 step 0x0000000000007E81 sStep 0x000000000000FE01 prev 0x0000000000007F80 sPrev 0x000000000000FF00 next 0x0000000000007A85 sNext 0x000000000000FA05 mute 0x0000000000006E91 sMute 0x000000000000EE11 vol- 0x000000000000639C sVol- 0x000000000000E31C vol+ 0x000000000000629D sVol+ 0x000000000000E21D eax 0x0000000000008C73 sEax 0x0000000000000CF3 options 0x000000000000827D sOptions 0x00000000000002FD display 0x0000000000007689 sDisplay 0x000000000000F609 return 0x0000000000008E71 sReturn 0x0000000000000EF1 start 0x0000000000008877 sMenu 0x00000000000008F7 close 0x0000000000007C83 sClose 0x000000000000FC03 up 0x0000000000007B84 sUp 0x000000000000FB04 down 0x0000000000008D72 sDown 0x0000000000000DF2 left 0x0000000000008778 sLeft 0x00000000000007F8 right 0x000000000000758A sRight 0x000000000000F50A ok 0x000000000000817E sOk 0x00000000000001FE end codes end remote
Configuration des boutons
Comme cela dépend du logiciel utilisé, voici juste un exemple utilisé pour mythtv:
# LIRCRC # Created for use with Mythbuntu begin remote = rm1000w prog = mythtv button = 1 config = 1 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 2 config = 2 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 3 config = 3 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 4 config = 4 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 5 config = 5 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 6 config = 6 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 7 config = 7 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 8 config = 8 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 9 config = 9 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = 0 config = 0 repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = stop config = Escape repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = play config = P repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = pause config = P repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = mute config = | repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = vol- config = [ repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = vol+ config = ] repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = display config = i repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = return config = Escape repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = close config = Escape repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = up config = Up repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = down config = Down repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = left config = Left repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = right config = Right repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = ok config = Return repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = record config = w repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = mute config = | repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = vol+ config = ] repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = vol- config = [ repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = prev config = Home repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = next config = end repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = slow config = j repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = sSlow config = w repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = sPrev config = , repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = sNext config = u repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = start config = m repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = sMenu config = e repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = options config = f repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = sOptions config = t repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = sDisplay config = w repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = s1 config = Ctrl+M repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = s2 config = Ctrl+F repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = s3 config = y repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = s4 config = Ctrl+P repeat = 0 delay = 0 end begin remote = rm1000w prog = irexec button = step config = /home/mythtv/scripts/remythtv.sh repeat = 0 delay = 0 end begin remote = rm1000w prog = irexec button = sStep config = /home/mythtv/scripts/mythtvprojo.sh repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = s6 config = d repeat = 0 delay = 0 end begin remote = rm1000w prog = mythtv button = s5 config = s repeat = 0 delay = 0 end ## vlc begin remote = rm1000w prog = vlc button = stop config = key-quit repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = play config = key-play repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = pause config = key-pause repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = return config = key-quit repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = up config = key-nav-up repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = down config = key-nav-down repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = left config = key-nav-left repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = right config = key-nav-right repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = ok config = key-nav-activate repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = next config = key-title-next repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = prev config = key-title-prev repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = sNext config = key-jump+short repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = sPrev config = key-jump-short repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = s3 config = key-slower repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = slow config = key-faster repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = display config = key-position repeat = 0 delay = 0 end begin remote = rm1000w prog = vlc button = start config = key-disc-menu repeat = 0 delay = 0 end ## mplayer begin remote = rm1000w prog = mplayer button = stop config = quit repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = play config = pause repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = pause config = pause repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = return config = quit repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = start config = pause repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = up config = seek +60 0 repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = down config = seek -60 0 repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = left config = seek -6 0 repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = right config = seek +6 0 repeat = 0 delay = 0 end begin remote = rm1000w prog = mplayer button = ok config = pause repeat = 0 delay = 0 end