Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: (Opgelost) Creative SoundBlaster Live! 5.1 24-Bit External (usb) + alsa + lirc  (gelezen 2803 keer)

Hallo mensen,

Sinds kort heb ik een SB USB geluidskaart. Deze kaart heeft 3 knoppen erop.
Daarnaast heeft deze kaart een ingebouwde infrarood ontvanger, en hoort er een afstandsbediening bij.

De kaart werkt prima om muziek af te spelen m.b.v. alsa, met mpd/xbmc/vlc etc.
(Om precies te zijn werkt de kaart op 16-bit@44100/48000Hz. Maar voor muziek is dit prima)

Om de knoppen en de afstandsbediening aan de praat te krijgen heb ik uiteraard lirc nodig.
Via google heb ik enkele configuraties/voorbeelden gevonden voor deze kaart, maar de meeste
voorbeelden zijn voor andere distro's dan ubuntu, of voor oudere versies van ubuntu.
Ik heb vanalles geprobeerd, zonder enig succes.


Iemand ervaring met deze USB geluidskaart, en dan met name de afstandsbediening?




details:
Ubuntu 10.04 lucid
Linux TATUNG 2.6.32-33-generic

Creative SoundBlaster Live! 5.1 24-Bit External (USB Geluidskaart)
SB0490
http://support.creative.com/Products/ProductDetails.aspx?catID=1&subCatID=206&prodID=10702&prodName=Live!%2024-bit%20External&subCatName=Live!&CatName=Sound+Blaster
RM-1500 (afstandsbediening)

(Alle software zoals alsa, lirc, mpd, vlc etc. zijn ubutu-software-center versies. Ubuntu is volledig ge-update.)


lsusb
:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 046d:c048 Logitech, Inc.
Bus 002 Device 002: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


aplay -a
:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 4: Intel ICH - IEC958 [Intel ICH5 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: External [SB Live! 24-bit External], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0


cat /proc/asound/hwdep (met dit commando kan ik checken of alsa de infrarood ontvanger herkent en ondersteund)
:~$ cat /proc/asound/hwdep
01-00: SB Live! 24-bit External remote control


/etc/lirc/hardware.conf
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Creative_SBL"
REMOTE_MODULES=""
REMOTE_DRIVER="alsa_usb"
REMOTE_DEVICE="Creative_SBL"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS="-d hw:External"

#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""

#Enable lircd
START_LIRCD="true"

#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"

#Try to load appropriate kernel modules
LOAD_MODULES="true"

# Default configuration files for your hardware if any
LIRCMD_CONF=""

#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""


/etc/lirc/lircd.conf
# brand:                       Creative
# model no. of remote control: RM-1500
# devices being controlled by this remote: Sound Blaster Live! External USB
#

begin remote

  name  Creative_SBL
  bits            8
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          315937
  toggle_bit      0


      begin codes
          touche1                  0x74
          touche2                  0x70
          touche3                  0x6F
          touche4                  0x75
          touche5                  0x7B
          touche6                  0x87
          touche7                  0x76
          touche8                  0x7C
          touche9                  0x88
          touche0                  0x7F
          CMSS                     0x8E
          EAX                      0x73
          vol-                     0x9C
          vol+                     0x9D
          up                       0x84
          down                     0x72
          left                     0x78
          right                    0x8A
          ok                       0x7E
          return                   0x71
          start                    0x77
          cancel                   0x83
          record                   0x8C
          options                  0x7D
          display                  0x89
          previous                 0x80
          playpause                0x86
          next                     0x85
          slow                     0x82
          stop                    0x7A
          step                     0x81
      end codes

end remote


/etc/lirc/lircmd.conf
begin
 button = next
 prog   = irexec
 repeat = 0
 config = mpc next && echo "next"
 end

 begin
 button = previous
 prog   = irexec
 repeat = 0
 config = mpc prev &&  echo "previous"
 end

 begin
 button = vol+
 prog   = irexec
 repeat = 0
 config = mpc volume +10  &&  echo "vol+"
 end

 begin
 button = vol-
 prog   = irexec
 repeat = 0
 config = mpc volume -10 &&  echo "vol-"
 end

 begin
 button = playpause
 prog   = irexec
 repeat = 0
 config = mpc toggle &&  echo "play-pause"
 end

 begin
 button = stop
 prog   = irexec
 repeat = 0
 config = mpc stop &&  echo "stop"
 end

 begin
 button = start
 prog   = irexec
 repeat = 0
 config = mpc play &&  echo "play"
 end


Ondanks het feit dat alsa de infrarood ontvanger lijkt te herkennen, is het me niet gelukt om met lirc een commando van de afstandsbediening te ontvangen. Wanneer ik met irw test of er commando's binnen komen, heb ik niet een keer iets gezien.
Ik heb de batterij van de afstandsbediening nagemeten, deze lijkt voldoende spaning te leveren, en is dus niet leeg.
Verder heb ik de geluidskaart aan een windows xp machine gehangen, alle creative drivers geinstalleerd, maar ook in windows xp krijg ik de afstandsbediening niet aan de praat. In windows xp werken de knoppen op de geluidskaart overigens wel. In Ubuntu zijn er allerlei problemen met de knoppen, waar ik nu niet verder op in ga.

Wanneer iemand me verder kan helpen, heel graag!!


http://forums.gentoo.org/viewtopic-t-501356-start-0.html
https://forum.openwrt.org/viewtopic.php?id=12650
http://www.linuxquestions.org/questions/linux-hardware-18/sound-blaster-live-24-bit-external-volume-control-not-working-270999/
http://webcache.googleusercontent.com/search?q=cache:ya6UYJLuO0IJ:ubuntuforums.org/archive/index.php/t-346374.html+ubuntu+%2B+alsa+%2B+soundblaster+live+24+bit+external+%2B+lirc&cd=3&hl=en&ct=clnk&client=ubuntu&source=www.google.com
http://forum.xbmc.org/showthread.php?t=44815

« Laatst bewerkt op: 2011/08/08, 22:23:19 door Kevin Smeets »