Автор Тема: Audigy 2 ZS Platinum Remote Control  (Прочетена 3691 пъти)

JollyRoger

  • Напреднали
  • *****
  • Публикации: 42
    • Профил
Audigy 2 ZS Platinum Remote Control
« -: Oct 03, 2005, 19:11 »
опитвам се да подкарам дистанционното.
Моделът е RM-1500.
изтеглих lirc-0.7.2.tar.bz2, пиша ./configure
pic
Но не знам какво да избера, например при тунерите е очевидно. Конфигурирането се прави преди компилацията.
Идеята е след това да пусна irrecord и да запиша сигналите от дистанционното в conf файла.

Питах Google, излезе един по-интерсен резултат, обаче е на французки
тук
там има линк, който води до
тук1,
където е обяснено по-подробно. Разбирам някои от нещата, но не достатъчно.

има ли някой на ти с френския да преведе кво пише?
всякаква помощ относно избора при ./configure също е добре дошла

Ползвам Slackware 10.2, Linux 2.6.13.2

Благодаря!
Активен

neonic

  • Напреднали
  • *****
  • Публикации: 104
    • Профил
Audigy 2 ZS Platinum Remote Control
« Отговор #1 -: Oct 04, 2005, 01:12 »
Цитат
Creative RM-1500

Last update: 09/08/2005

    This article will show you how to parameterize a remote control Creative RM-1500 under Linux thanks to a whole of pilots and software free. I used Gentoo as Linux distribution but the orders and files of configuration should not be too difficult to use on another distribution. The kit operates by remote control Creative came with my chart its Audigy 2 ZS and a bay 5"1/4 containing all the connector industry necessary and the infra-red receiver.

    For the sound part, I used last pilots ALSA (1.0.9b at the time of the article). The pilot to be selected is emu10k1. Indeed, under ALSA, emu10k1 supports also the chipset emu10k2 which is in the heart of the audigy 2 ZS. Under Gentoo, it is enough for you to compile your core with only one module its, that basic:

Device Drivers ---> Sound --->
<*> Sound card support  


    You can then compile alsa-driver by using the following parameters in /etc/make.conf : ALSA_CARDS="emu10k1". Also install: alsa-utils alsa-oss. You can then launch alsaconf to configure your chart automatically. Here my parameters of core in /etc/modules.d/alsa : options snd_emu10k1 enable_ir=1. You can then start alsamixer and should have much mixers to you, a little as below (start service ALSA well before).




Цитат
You must now install LIRC (Linux Infrared Remote Control). You can thus download it on the official site. In Gentoo (but not only), it will be necessary for you to specify this in /etc/make.conf : LIRC_OPTS= "-- with-driver=livedrive_midi". Once the compiled package, record what follows in the file /etc/lircd.conf:


begin remote name rm1500 flags SPACE_ENC|CONST_LENGTH bits 32 eps 30 aeps 100 header 9000 4500
one 563 1687 zero 563 562 gap 108000 toggle_bit 0 repeat 9000 2250
frequency 38000 duty_cycle 33 begin codes 1 0x83228B74 2 0x83228F70 3
0x8322906F 4 0x83228A75 5 0x8322847B 6 0x83227887 7 0x83228976 8
0x8322837C 9 0x83227788 0 0x8322807F stop 0x8322857A play 0x83227986
pause 0x83227986 slow fox trot 0x83227D82 step 0x83227E81 prev
0x83227F80 next 0x83227A85 transfers 0x83226E91 flight 0x8322639C vol+
0x8322629D eax 0x83228C73 options 0x8322827D display 0x83227689 return
0x83228E71 start 0x83228877 closed 0x83227C83 up 0x83227B84 down
0x83228D72 left 0x83228778 right 0x8322758A ok 0x8322817E power
0x8322619e cmss 0x8322718e record 0x8322738c end codes end remote
begin remote name audigy_io_hub flags SPACE_ENC|CONST_LENGTH bits 32 eps 30 aeps 100 header 9000 4500
one 563 1687 zero 563 562 gap 108000 toggle_bit 0 repeat 9000 2250
frequency 38000 duty_cycle 33 begin codes transfers 0x80000040 vol+
0x80008080 flight 0x80008082 cmss 0x80000080 end codes end remote


    To test if the remote control goes correctly, it is necessary to state this in the file of configuration of lircd. Thus for Gentoo, publish /etc/conf.d/lircd and add this: LIRCD_OPTS="-d /dev/snd/midiC0D1 - H livedrive_midi". It does not remain you whereas to start the demon lircd. Your system should then give a message of the kind:

      ALSA alsa-kernel/pci/emu10k1/emufx.c:1385: Installing spdif_bug patch: Audigy 2 ZS [ SB0350 ]


    You should thus be able at this time to check that the remote control goes, launch irw and press on the buttons of the remote control. If all is well, it should turn over signals equivalent so that you can see in the file of configuration lircd.conf

    It is necessary for you now to bind the file of lircrc configuration (in your #) to your remote control. I use for my part the package xmms-lirc and to use the file of configuration according to:

## General Begin Config ## begin remote =
CREATIVE_INFRA_DVD prog = irexec short prop = next config =
xscreensaver - No-splash & end begin remote = CREATIVE_INFRA_DVD prog
= irexec short prop = last config = killall -9 xscreensaver end begin
remote = CREATIVE_INFRA_DVD prog = irexec short prop = eject config =
xmmsctrl launch & end begin remote = CREATIVE_INFRA_DVD prog = irexec
short prop = 0 config = xmmsctrl quit end begin remote =
CREATIVE_INFRA_DVD prog = irexec short prop = play config = xmmsctrl
play end begin remote = CREATIVE_INFRA_DVD prog = irexec short prop =
stop config = xmmsctrl stop end begin remote = CREATIVE_INFRA_DVD prog
= irexec short prop = pause config = xmmsctrl pause end begin remote =
CREATIVE_INFRA_DVD prog = irexec short prop = next config =
xmmsctrl next repeat = 1 end begin remote = CREATIVE_INFRA_DVD prog =
irexec short prop = last config = xmmsctrl prev repeat = 1 end begin
remote = CREATIVE_INFRA_DVD prog = irexec short prop = rrev config =
xmmsctrl time -10 repeat = 1 end begin remote = CREATIVE_INFRA_DVD
prog = irexec short prop = ffwd config = xmmsctrl time +10 repeat = 1
end begin remote = CREATIVE_INFRA_DVD prog = irexec short prop =
flight config = xmmsctrl flight -5 repeat = 1 end begin remote =
CREATIVE_INFRA_DVD prog = irexec short prop = vol+ config = xmmsctrl
flight +5 repeat = 1 end


Това трябва да ти свърши работа. '<img'>
Активен

JollyRoger

  • Напреднали
  • *****
  • Публикации: 42
    • Профил
Audigy 2 ZS Platinum Remote Control
« Отговор #2 -: Oct 04, 2005, 08:13 »
Много ти благодаря!
Това вече е друга работа '<img'>. Довечера ще пробвам написаното.
Активен

JollyRoger

  • Напреднали
  • *****
  • Публикации: 42
    • Профил
Audigy 2 ZS Platinum Remote Control
« Отговор #3 -: Oct 09, 2005, 00:12 »
Компилирах и исталирах lirc както е описано. В слака няма
Примерен код
/etc/modules.d/alsa
Цитат
Here my parameters of core in /etc/modules.d/alsa : options snd_emu10k1 enable_ir=1
Къде трябва да добавя въпросния ред, в modprobe.conf или в друг файл?
Активен

JollyRoger

  • Напреднали
  • *****
  • Публикации: 42
    • Профил
Audigy 2 ZS Platinum Remote Control
« Отговор #4 -: Oct 09, 2005, 13:18 »
Дистанционното работи. Искам да управлявам XMMS.
Инсталирах xmms-lirc.
Създадх /etc/lircrc, където се описва коя команда съответства на определен бутон на RC.
Но не знам какви са командите за XMMS, които трябва да напиша във въпросния файл.
Някой знае ли ги?
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
problem s LIRC(linux infrared remote control)
Настройка на програми
PAIN1 1 2717 Последна публикация Sep 11, 2003, 23:18
от PAIN1
Chronos Video Shuttle II, FM, Remote Control
Настройка на хардуер
kris_p 5 4177 Последна публикация Jun 24, 2004, 01:03
от
remote control
Настройка на програми
svilkata 10 3858 Последна публикация Feb 04, 2005, 11:06
от spider
Remote control
Настройка на програми
MegatroniC 3 2435 Последна публикация Mar 20, 2006, 17:51
от GoodT
Remote control ubuntu
Настройка на програми
shadow_m 6 4009 Последна публикация Apr 14, 2008, 10:29
от to6eto