You are not logged in.

#1 2014-02-15 16:59:46

Heikete
Member
Registered: 2007-04-28
Posts: 40

[Solved] No /dev/lirc0 device - Sound Blaster X-Fi

How to launch the remote receiver in external Sound Blaster X-Fi.
I've installed lirc and lirc-utils but I can't make device \dev\lirc0 appear.
The card plays sound flawlessly except that I don't have \dev\lirc0 to catch remote signals.
This is my lsmod:

Module                  Size  Used by
snd_usb_audio         117811  0 
snd_usbmidi_lib        19755  1 snd_usb_audio
snd_rawmidi            18710  1 snd_usbmidi_lib
snd_seq_device          5180  1 snd_rawmidi
dell_wmi                1485  0 
sparse_keymap           3146  1 dell_wmi
joydev                  9631  0 
mousedev               10247  0 
intel_rapl             11776  0 
x86_pkg_temp_thermal     6991  0 
intel_powerclamp        8802  0 
coretemp                6326  0 
kvm_intel             131596  0 
kvm                   396317  1 kvm_intel
crct10dif_pclmul        4682  0 
crct10dif_common        1372  1 crct10dif_pclmul
crc32_pclmul            2955  0 
crc32c_intel           14185  0 
ghash_clmulni_intel     4405  0 
aesni_intel            45580  0 
aes_x86_64              7399  1 aesni_intel
lrw                     3565  1 aesni_intel
gf128mul                5858  1 lrw
arc4                    2000  2 
glue_helper             4417  1 aesni_intel
ablk_helper             2004  1 aesni_intel
cryptd                  8409  3 ghash_clmulni_intel,aesni_intel,ablk_helper
brcmsmac              512878  0 
cordic                  1112  1 brcmsmac
brcmutil                4573  1 brcmsmac
b43                   364901  0 
mac80211              475321  2 b43,brcmsmac
snd_hda_codec_hdmi     36219  1 
cfg80211              408071  3 b43,brcmsmac,mac80211
ssb                    55563  1 b43
pcmcia                 45492  2 b43,ssb
pcmcia_core            14232  1 pcmcia
psmouse                88171  0 
serio_raw               5009  0 
ppdev                   7118  0 
atkbd                  16806  0 
libps2                  4187  2 atkbd,psmouse
iTCO_wdt                5407  0 
evdev                  11045  27 
iTCO_vendor_support     1929  1 iTCO_wdt
snd_hda_codec_idt      43508  1 
dell_laptop            12389  0 
rfkill                 15651  3 cfg80211,dell_laptop
dcdbas                  6463  1 dell_laptop
nvidia              10621191  32 
microcode              15216  0 
pcspkr                  2027  0 
i2c_i801               11269  0 
wmi                     8251  1 dell_wmi
thermal                 8556  0 
battery                 7565  0 
parport_pc             19671  0 
parport                30517  2 ppdev,parport_pc
drm                   239262  2 nvidia
snd_hda_intel          37352  0 
snd_hda_codec         150145  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
i8042                  13366  2 libps2,dell_laptop
serio                  10721  6 serio_raw,atkbd,i8042,psmouse
snd_hwdep               6332  2 snd_usb_audio,snd_hda_codec
i2c_core               24792  3 drm,i2c_i801,nvidia
bcma                   36288  3 b43,brcmsmac
snd_pcm                77822  4 snd_usb_audio,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
e1000e                222996  0 
snd_page_alloc          7298  2 snd_pcm,snd_hda_intel
button                  4605  0 
video                  11425  0 
ac                      3334  0 
snd_timer              18718  1 snd_pcm
lpc_ich                13368  0 
ptp                     8244  1 e1000e
snd                    59093  11 snd_usb_audio,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_rawmidi,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
pps_core                8833  1 ptp
mei_me                  9552  0 
mei                    62638  1 mei_me
soundcore               5418  1 snd
shpchp                 25425  0 
processor              24620  0 
vboxdrv               264122  0 
nfs                   191632  0 
lockd                  76910  1 nfs
sunrpc                233914  2 nfs,lockd
fscache                47765  1 nfs
ext4                  473451  3 
crc16                   1359  1 ext4
mbcache                 6074  1 ext4
jbd2                   81040  1 ext4
sd_mod                 31361  4 
ahci                   23048  3 
libahci                21666  1 ahci
firewire_ohci          31709  0 
libata                171688  2 ahci,libahci
sdhci_pci              12540  0 
ehci_pci                3928  0 
sdhci                  28884  1 sdhci_pci
mmc_core               95401  4 b43,ssb,sdhci,sdhci_pci
ehci_hcd               62955  1 ehci_pci
firewire_core          52163  1 firewire_ohci
scsi_mod              132250  2 libata,sd_mod
crc_itu_t               1363  1 firewire_core
usbcore               180845  4 snd_usb_audio,snd_usbmidi_lib,ehci_hcd,ehci_pci
usb_common              1648  1 usbcore

Is the lirc wiki up to date? I checked all /dev/input/ devices without success.
How can I get the remote receiver device present?

Last edited by Heikete (2014-02-22 21:18:43)

Offline

#2 2014-02-15 19:56:39

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [Solved] No /dev/lirc0 device - Sound Blaster X-Fi

Check dmesg maybe?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-02-15 21:53:06

Heikete
Member
Registered: 2007-04-28
Posts: 40

Re: [Solved] No /dev/lirc0 device - Sound Blaster X-Fi

No errors here:

[18468.779463] usb 2-1.3: USB disconnect, device number 5
[18470.755506] usb 2-1.3: new full-speed USB device number 6 using ehci-pci

Offline

#4 2014-02-16 08:06:41

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [Solved] No /dev/lirc0 device - Sound Blaster X-Fi

Perhaps you could post your full dmesg?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-02-22 21:17:57

Heikete
Member
Registered: 2007-04-28
Posts: 40

Re: [Solved] No /dev/lirc0 device - Sound Blaster X-Fi

It turned out that lircd demands special parameters when using SB1090.
Namely:

ExecStart=/usr/sbin/lircd --driver=alsa_usb --device=hw:S51

So problem solved.

Last question: Where is the best place to start irexec? In .bashrc?

Offline

#6 2014-02-23 08:01:24

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: [Solved] No /dev/lirc0 device - Sound Blaster X-Fi

I don't think that it really matters. You could also make it start with your graphical session. I found this:

manpage wrote:

OPTIONS

If you add the --daemon option irexec will fork to background. That way you can easily start irexec from an init script. In this case you should specify a config file on the command line as irexec won't be able to find your home directory. Potential uses are shutting down the computer, starting a dial-up connection etc.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB