LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Getting IR-receiver in USB-soundcard to work? (https://www.linuxquestions.org/questions/linux-hardware-18/getting-ir-receiver-in-usb-soundcard-to-work-721982/)

ktf 04-27-2009 07:55 AM

Getting IR-receiver in USB-soundcard to work?
 
Hello,

I've recently bought a Creative X-Fi 5.1 Surround USB soundcard. It has a infrared remote control which works fine (of course) on Windows, but I haven't found a way to get it working on Linux. As far as I know there is no special driver for this soundcard.

The relevant dmesg output:
usb 3-3: new full speed USB device using ohci_hcd and address 2
usb 3-3: configuration #1 chosen from 1 choice
usb 3-3: New USB device found, idVendor=041e, idProduct=3042
usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-3: Product: SB X-Fi Surround 5.1
usb 3-3: Manufacturer: Creative Technology

There is no mention of the remote control anywhere. If possible, I would write my own script reading raw data, but I don't know how to access this device.

Thanks in advance!

farslayer 04-27-2009 08:11 AM

Maybe LIRC will work for you.

http://www.lirc.org/

marcello100 06-14-2009 06:08 AM

Hi

I have the same card, the audio works with latest ALSA(1.0.20).

I tried lirc and gnome-lirc-properties to set up the ir receiver, but it doesn't get recognised. What else could I do to use that remote control?

After I plug in the soundcard, these files appears in /dev:

crw-rw----+ 1 root audio 14, 28 2009-06-14 10:48 /dev/adsp1
crw-rw----+ 1 root audio 14, 20 2009-06-14 10:48 /dev/audio1
crw-rw----+ 1 root audio 14, 19 2009-06-14 10:48 /dev/dsp1
crw-rw----+ 1 root audio 14, 16 2009-06-14 10:48 /dev/mixer1
crw-rw----+ 1 root audio 116, 32 2009-06-14 10:48 /dev/snd/controlC1
crw-rw----+ 1 root audio 116, 56 2009-06-14 11:49 /dev/snd/pcmC1D0c
crw-rw----+ 1 root audio 116, 48 2009-06-14 12:36 /dev/snd/pcmC1D0p
crw-rw----+ 1 root audio 116, 49 2009-06-14 10:48 /dev/snd/pcmC1D1p

Only audio1, dsp1 and pcmC1D0p can be read by sudo cat, but pcmC1D0p writes nothing to console.

Is it possible, that those commands are mixed with audio and the are transmitted in audio1? There's no special HID recognised, like /dev/usb/rm1500 in another Creative soundcard(ecto.teftin.net/rm1500.html). Does it need special driver? I'd like to read some raw commands from file, then dispatch it like on the link above.

Thank you to everyone.


All times are GMT -5. The time now is 10:05 AM.