LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-28-2012, 07:02 PM   #1
integrale16
Member
 
Registered: Sep 2009
Posts: 56

Rep: Reputation: 15
lirc problem with ATI Remote Wonder


Hi,

I have bought a ATI Remote Wonder remote and try to get it running on my 13.37 box.
First I recognized that the device works out of the box with the ati_remote kernel module, which is not a lirc module, and unfortunately not all buttons have a function.

Then I tried to run it with lirc (0.9.0 from SBo).
So I blacklisted the ati_remote module to prevent it from loading and created the device /var/run/lirc because the slackbuild doesn't.
I started lircd with one of the sample lircd.confs for the ati remote. But I don't get anything with irw.
After that I tried the other possibility, with loading a driver from the command line. So I first unloaded the kernel modules lirc_atiusb and lirc_dev. Then I startet lircd with option -H atilibusb and a sample lircd.conf for atilibusb.
Now I got something with irw.

Can anyone tell me what's the problem with using the lirc kernel modules? Why I don't get any output with irw?

Any links to GOOD and EASY tutorials, how to set up lirc are welcome.

-
integrale


PS: So far, I don't really look through the documentation of lirc. Is it really this complicated and complex, or is it me?
 
Old 01-29-2012, 01:21 PM   #2
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Ubuntu 11, Arch, / Gnome 3.X, OSX,Windows
Posts: 178

Rep: Reputation: 37
"unfortunately not all buttons have a function"

it is you that assigns functions to buttons, in a config file.

A file named “.lircrc” needs to be created and dropped into your home folder.

I did a mickey mouse tutorial here : tech.quagmire.ca

As for the complexity of it, it isn't really. I found the documentation to be scattered and disorganized, though.
 
Old 01-29-2012, 05:25 PM   #3
integrale16
Member
 
Registered: Sep 2009
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks, for your reply, ceyx.

With the statement "unfortunately not all buttons have a function" I meant, that some buttons are not detected (or assigned) when using the ati_remote kernel module, which is not a lirc module, but a usb input device module, that detects the remote as a kind of keyboard, or so. I'm not sure, but I read something about the ability to assign keys in a Xmodmap file and I don't know if this is the better way to configure my remote than with lirc.

I'm aware that I have to assign functions to buttons in a config file. But I still don't really know how the config files work together (if they do at all). Like in other tutorials which are based on a ununtu system, your lirc config files are in an "lirc"-directory in etc and there is a file called hardware.conf. In the slackware lirc(0.9.0) package from slackbuils.org, the config files are directly in etc and there is no hardware.conf.
Nevertheless, as I wrote, I get output with irw, when using the driver atilibusb. I just didn't get it managed to control a application because I don't know exactly how to edit all the config files to get it working at the moment. But hopefully I will find out :-)

One of my questions is, why doesn't it work with the lirc modules lirc_dev and lirc_atiusb but with the driver atilibusb, because it should as far as I read.

My actual understanding of the config files is:
- lircd.conf -> there I just assign a name to the remote itself and to each button with the according code
- lircrc -> there I have to assign the functions to the buttons with the button names from lircd.conf

Please tell me if I'm wrong.

The next is, when I want to control xbmc with it, I read that I have to configure a file called Lircmap.xml. Do I still need to put the functions in lircrc then or is everything done in Lircmap.xml then?

So, as you can see, for me it's not exatly clear where I have to edit what.
And the fact, that it doesn't work with the lirc modules also bothers me.

For documentation, you are absolutely right. For me it could also be more detailed, i.e. the description of some options.

Lirc may be a powerful tool and for sure it's good that it is there, but for me it's a mess to configure it, even to figure out how to configure it the right way.
I googled a lot, but didn't find an easy to use tutorial or documentation for me.
But maybe I looked at the wrong places.

-
integrale
 
Old 01-30-2012, 12:40 AM   #4
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Ubuntu 11, Arch, / Gnome 3.X, OSX,Windows
Posts: 178

Rep: Reputation: 37
if you use the ati_remote kernel module along with irw, do you get a response for all of the keys on the remote ?
They might not be mapped, but can you see anything ? If so, just remap your own config file, or as you say, use Xmodmap.

Also, try modinfo ati_remote : it may have tips for you.

Last edited by ceyx; 01-30-2012 at 12:43 AM.
 
Old 01-30-2012, 08:12 PM   #5
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
Yes you need a good conf file for the lirc for this remote. I had a working one, but at the end of it all, I decided to use the kernel built in module. I found it better to have the mouse/keyboard emulation combo then app specific bindings. It had to meet spouse approval, and she really did not like have to toggle for music, then toggle for a video player then toggle for ...

It got annoying really fast. Using the kernel module I do not have a working OK button. But the checkmark key on this remote emulates the enter key.

As another person stated, betweek xbindkeys and xmodmap I have a nice set up that I'm quite happy with.
 
Old 02-01-2012, 06:07 PM   #6
integrale16
Member
 
Registered: Sep 2009
Posts: 56

Original Poster
Rep: Reputation: 15
@ Old_Fogie
Would be great if you would provide me your config files, so that I at least can get an idea how to configure it with xbindkeys and xmodmap.

I also already thought if lirc is really, what I want. The fact that it behaves the same in all applications, when it works as an generic USB input device is a plus and the configuration is less comlicated then with lirc. Most buttons work out of the box. Just plug in and it's directly usable.

But I'm not sure at the moment, if I shouldn't give lirc a try anyhow, and if it's just to have a comparison, which fits better the needs.

At the moment, I think I will stick with the USB input device mode, because of a lack of time, that I would need to get it running with lirc.

-
integrale
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IR mce remote with LIRC j0eh4x Linux - Hardware 3 11-28-2011 11:47 PM
[SOLVED] Installed LIRC-0.9.0 on Fedora 14, /dev/lirc was not created, lirc programs won't run FalkiD Linux - Software 4 06-06-2011 09:33 AM
IR remote Control / LIRC gazz777 Linux - Newbie 2 05-02-2009 11:43 AM
LIRC (linux remote control) isn't setting up /dev properly, udev problem? rhauff Slackware 1 11-19-2007 09:48 PM
LIRC ATI USB Remote Fedora 3 bladah29 Linux - Newbie 0 11-27-2005 04:13 PM


All times are GMT -5. The time now is 01:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration