[solved] lirc missing drivers?

Problems with packages? Post here, using [tags] of the package name.

[solved] lirc missing drivers?

Postby bt101 » Sun Aug 14, 2011 5:53 pm

I installed the lirc package on a dockstar.

I get this:

$this->bbcode_second_pass_code('', '
[root@alarm /]# lircd --driver=?
Driver `?' not supported.
Supported drivers:
null
')

Normally, you see a big list of drivers (instead of null).
Is there something missing from this package or is there some other package I need tom install?
Last edited by bt101 on Thu Aug 18, 2011 12:23 am, edited 1 time in total.
bt101
 
Posts: 10
Joined: Thu Aug 11, 2011 2:52 am

Re: lirc missing drivers?

Postby kmihelich » Mon Aug 15, 2011 1:48 am

In order to facilitate building across all architectures we're now supporting, I dropped the kernel requirement in the lirc package and am now relying on just drivers that are in the kernel. This was also an experiment in a way to see what drivers people needed from lirc, and if retaining the kernel dependency was required. These drivers are currently enabled in the kernel, and I'll enable more in the next release:

CONFIG_IR_NEC_DECODER=m
CONFIG_IR_RC5_DECODER=m
CONFIG_IR_RC6_DECODER=m
CONFIG_IR_JVC_DECODER=m
CONFIG_IR_SONY_DECODER=m
CONFIG_IR_RC5_SZ_DECODER=m
CONFIG_IR_LIRC_CODEC=m
CONFIG_IR_IMON=m

You'll need to modprobe the correct one for your situation, if it is not done for you already.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: lirc missing drivers?

Postby bt101 » Mon Aug 15, 2011 4:32 am

Ah,I see.

I'm trying to make a generic MCE remote work. In other distros, it uses the lirc_mceusb module.
I assume none of those kernel modules apply?

If not, are there any tips on the simplest way to make it work? I'm in the dark when it comes to downloading and compiling things and am afraid of running into dead ends. Would i need to:
    compile a new kernel
    download and compile lirc only (BTW - it looks like latest version 0.9.0 doesn't have mce drivers either - so would 0.8.7 work)
bt101
 
Posts: 10
Joined: Thu Aug 11, 2011 2:52 am

Re: lirc missing drivers?

Postby kmihelich » Mon Aug 15, 2011 4:40 am

There is a kernel option that isn't enabled: CONFIG_IR_MCEUSB

If your remote falls into this category, I can get it enabled in the next release. I also plan on including the lirc staging drivers. The drivers not included from the package are those that just aren't included in the kernel. So if it's a kernel driver you're after, the lirc package wouldn't have had it anyway.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: lirc missing drivers?

Postby bt101 » Mon Aug 15, 2011 5:09 am

Thanks, that'll be great.
bt101
 
Posts: 10
Joined: Thu Aug 11, 2011 2:52 am

Re: [solved] lirc missing drivers?

Postby kmihelich » Sat Aug 20, 2011 5:01 am

Just uploaded linux 3.0.3 to the repo, which has every lirc driver modularized. Enjoy.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: [solved] lirc missing drivers?

Postby bt101 » Tue Aug 30, 2011 12:17 am

$this->bbcode_second_pass_quote('kmihelich', 'J')ust uploaded linux 3.0.3 to the repo, which has every lirc driver modularized. Enjoy.


Wow that was fast. Thank you very much!
bt101
 
Posts: 10
Joined: Thu Aug 11, 2011 2:52 am

Re: [solved] lirc missing drivers?

Postby gorby » Sat Oct 01, 2011 5:32 pm

Hello!
Did you get this to work? I have the exact same problem with my mce receiver and my pink PogoPlug.
I have upgraded my system with
pacman -Syu

And then install lirc with
pacman -S lirc

I do a
modprobe mceusb

And then try to start the daemon but it says
'lircd: there's no hardware I can use and no peers are specified'

I also get the same output from
lircd --driver=?

Driver `?' not supported.
Supported drivers:
null

Do I have to compile lirc myself or should the package in pacman work? Any help is highly appreciated!
gorby
 
Posts: 5
Joined: Sat Oct 01, 2011 5:04 pm

Re: [solved] lirc missing drivers?

Postby kmihelich » Sat Oct 01, 2011 5:46 pm

The lirc package doesn't contain drivers anymore. Make sure you have actually upgraded your kernel package from kernel26 to linux and have rebooted into it. The modules are there, as I said two posts above.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: [solved] lirc missing drivers?

Postby gorby » Sat Oct 01, 2011 7:47 pm

I have rebooted several times since upgrading and uname -a gives me
$this->bbcode_second_pass_code('', 'Linux alarm 3.0-ARCH #1 PREEMPT Sat Aug 20 04:27:21 UTC 2011 armv5tel Feroceon 88FR131 rev 1 (v5l) Marvell SheevaPlug Reference Board GNU/Linux')

I just tried doing a fresh install and upgrading everything and rebooting. Upon reboot i plugged in the mce transceiver and checked lsmod which gave me this.

$this->bbcode_second_pass_code('', 'Module Size Used by
ir_lirc_codec 3553 0
lirc_dev 7725 1 ir_lirc_codec
ir_sony_decoder 1809 0
ir_jvc_decoder 1927 0
ir_rc6_decoder 2399 0
rc_rc6_mce 1090 0
ir_rc5_decoder 1799 0
ir_nec_decoder 2359 0
mceusb 10497 0
rc_core 14061 9 ir_lirc_codec,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,rc_rc6_mce,ir_rc5_decoder,ir_nec_decoder,mceusb
ipv6 258286 10
mv_cesa 9005 0 ')

So the module seems to load automatically? Not sure why it loads all those sony and jvc modules. Even tried blacklisting them if there was some kind of conflict but that didn't make any difference. This is the output of dmesg if it will help.

$this->bbcode_second_pass_code('', '[ 19.005578] IR NEC protocol handler initialized
[ 19.042530] Registered IR keymap rc-rc6-mce
[ 19.074244] input: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/rc/rc0/input0
[ 19.098868] rc0: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/platform/orion-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/rc/rc0
[ 19.113848] mceusb 1-1.4:1.0: Registered Philips eHome Infrared Transceiver on usb1:4
[ 19.116074] IR RC5(x) protocol handler initialized
[ 19.126416] usbcore: registered new interface driver mceusb
[ 19.218889] IR RC6 protocol handler initialized
[ 19.330869] IR JVC protocol handler initialized
[ 19.362159] IR Sony protocol handler initialized
[ 19.406079] lirc_dev: IR Remote Control driver registered, major 251
[ 19.424345] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[ 19.424361] IR LIRC bridge handler initialized')

Do you have any other idea as to why this is not working? Thanks!
gorby
 
Posts: 5
Joined: Sat Oct 01, 2011 5:04 pm

Next

Return to Packages

Who is online

Users browsing this forum: No registered users and 13 guests