Forum

Full Version: remote not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I'm trying to get my remote working after upgrading Xbian, it worked fine before but since the upgrade not so much. I have this remote: http://www.amazon.co.uk/New-IT-Remote-Media-Centres/dp/B00CZB46OI

mode2 gives me the following output:

mode2: could not get file information for /dev/lirc0
mode2: default_init(): No such file or directory

Any ideas what could be wrong? My TV doesn't have CEC and it did work on an older version of Xbian?

Thanks for any help in advance!
anyone?
Start by posting all information as stated in the forum rules.
Hi there, sorry about that, here we go:

Software
XBian version: xbian 1.0 (knockout) (kernal: linux 3.18.8+)
XBMC/Kodi version: 14.2
Overclock settings: none

Hardware
Device type and model: Raspberry Pi 2
Power supply rating: 1000
SD card size and make/type: SanDisk Ultra microSDHC 8GB class 10 SDSDQUAN-008G-G4A
Network (Ethernet or wireless): wireless
Connected devices: TV & USB 3.0 drive

Log files
Link to logfile(s):
http://xbmclogs.com/pj99kp7dw

Problem description:
remote not working, when I run mode2 I get the following error:

mode2: could not get file information for /dev/lirc0
mode2: default_init(): No such file or directory

How to reproduce:
Plug and play remote not working with Raspberry Pi 2, it is this remote:

http://www.amazon.co.uk/New-IT-Remote-Media-Centres/dp/B00CZB46OI
Post:
Code:
ls -Al /dev/lirc*
Hi, that command gave me the following:

lrwxrwxrwx 1 root root 21 Jun 18 21:39 /dev/lircd -> ../var/run/lirc/
lircd
And
Code:
cat /sys/kernel/debug/gpio
And
Code:
lsmod

And also try:
Code:
modprobe ir_lirc_codec
And see if mode2 runs now?
Thanks for the help, but I don't have a /debug/ directory within /kernel/ so the first cat command you posted doesn't work?

Also, I re-ran "ls -Al /dev/lirc*" as su and it gave me: /dev/lircd
Don't just post the output of one of my suggestions, but try all of them and then repost.
Hi, yes I tried all 3, the first one doesn't work due to the debug folder not existing, lsmod worked, modprobe didnt return anything (presume it worked) but trying mode2 gave me the same output my original post
@griv,
I believe Curly is asking you to post output on the forum for all 3 ?
Plus try and format your forum posts a bit as mixed text and code is difficult reading (forum has got "term" + "code" tags).
Hi, I'm sorry about that, hope this is a bit clearer:

Code:
cat /sys/kernel/debug/gpio
Code:
cat: /sys/kernel/debug/gpio: No such file or directory

Code:
lsmod
Code:
Module                  Size  Used by
ir_lirc_codec           3864  0
lirc_dev                7162  1 ir_lirc_codec
rc_core                13880  2 lirc_dev,ir_lirc_codec
fuse                   67025  3
snd_soc_wm8804          6272  0
snd_soc_pcm512x_i2c     1453  0
snd_soc_tas5713         4445  0
snd_soc_pcm512x         5941  1 snd_soc_pcm512x_i2c
regmap_i2c              1813  3 snd_soc_wm8804,snd_soc_pcm512x_i2c,snd_soc_tas5713
joydev                  7857  0
leds_gpio               2821  0
led_class               2473  1 leds_gpio
8192cu                479524  0
i2c_bcm2708             4425  0
spi_bcm2708             4535  0
i2c_core               17851  5 i2c_bcm2708,snd_soc_wm8804,snd_soc_pcm512x_i2c,regmap_i2c,snd_soc_tas5713
snd_soc_bcm2708_i2s     5237  0
regmap_mmio             1933  1 snd_soc_bcm2708_i2s
snd_soc_core           94348  4 snd_soc_pcm512x,snd_soc_wm8804,snd_soc_tas5713,snd_soc_bcm2708_i2s
snd_compress            6492  1 snd_soc_core
snd_pcm_dmaengine       2798  1 snd_soc_core
snd_pcm                60460  3 snd_soc_wm8804,snd_soc_core,snd_pcm_dmaengine
snd_timer              15062  1 snd_pcm
snd                    37300  4 snd_soc_core,snd_timer,snd_pcm,snd_compress
soundcore                602  1 snd
frandom                 3579  2
vchiq                 210052  2

Code:
modprobe ir_lirc_codec
Code:
nothing is returned

Code:
ls -Al /dev/lirc*
Code:
lrwxrwxrwx 1 root root 21 Jun 19 22:20 /dev/lircd -> ../var/run/lirc/lircd


Code:
mode2
Code:
mode2: could not get file information for /dev/lirc0
mode2: default_init(): No such file or directory
Can you use codes properly across your post. What does this say after the modprobe:
Code:
ls -Al /dev/lirc*
Hmm, it's wierd. You should be able to see more in /dev/ as soon as you load that module.
Is there anything I can manually install? Like some drivers for the remote?
Pages: 1 2
Reference URL's