Fedora Linux Support Community & Resources Center
  #1  
Old 17th June 2012, 04:12 AM
tholliday Offline
Registered User
 
Join Date: Jun 2012
Location: Earth
Posts: 1
linuxfirefox
Noob using LIRC on Fedora 17

I've spent the last three hours trying to comprehend all of the info at lirc.org. I've recently bought a used dv6000, which came with a remote. After getting used to Yum and getting everything working, I went after the remote. I installed lirc-* via yum (as well as the Rythmbox plugin) and tried to follow the documentation, but there just seems to be a lot going on.

So far, I know that the remote is working because Rhythmbox responds to practically everything. If Rhythmbox is closed, the volume buttons and the power (sleep) button work fine, but nothing else does anything.

Yet if I follow the lirc.org documentation and try to run mode2, I get an error:
mode2: could not get file information for /dev/lirc0
mode2: default_init(): No such file or directory

It also talks about at least three different configuration files while not telling me which configuration file my remote configuration is supposed to go into or how to set up buttons to launch specific programs (e.g. press "DVD" to start VLC).

Please help
Reply With Quote
  #2  
Old 17th June 2012, 04:55 AM
David Batson Offline
Registered User
 
Join Date: Jul 2009
Posts: 1,234
linuxopera
Re: Noob using LIRC on Fedora 17

Haven't used LIRC in awhile, but maybe you can glean some information from this thread I made awhile back. You should probably read from the end of the thread (latest information) back towards the beginning.

http://mandrivausers.org/index.php?/...ndriva-fedora/
__________________
Fedora 19 Gnome on a ThinkPad X220, i5-2540M CPU, Intel HD Graphics 3000, Intel N 6205 wireless, and Sierra Wireless 754S Mobile Hotspot (AT&T)
Reply With Quote
  #3  
Old 1st January 2013, 06:25 PM
Cosmin3
Guest
 
Posts: n/a
linuxopera
Re: Noob using LIRC on Fedora 17

Hi.
I'm also a "noob using lirc on Fedora 17".
I have a KWorld BT878 TVTuner. With tvtime I can see most of the tv channels.
In Windows I configured its remote to work with many other programs.
In Fedora I installed lirc. First problem is that "Infrared Remote Control" doesn't start and sometimes is crashing.
I thought of reporting the bug but it was already reported (and it's not fixed yet).
Anyway I followed the steps from that link: http://mandrivausers.org/index.php?/...ndriva-fedora/
The problem is that the remote is part of the tvtuner, not a separate device. So that guide won't work 100%.
For example when I type "cat /proc/bus/input/devices" in a terminal, I can't see the remote listed.
What can I do to make it work...?
Thank you in advance.
Reply With Quote
  #4  
Old 2nd January 2013, 11:47 AM
TheNom Online
Registered User
 
Join Date: Jun 2011
Location: UK
Posts: 57
linuxchrome
Re: Noob using LIRC on Fedora 17

Hi Cosmin3,

From what i remember, it doesn't show as a proper device in /proc/bus/input/devices. But any entries that you are not sure of in that list, you can cat the Sysfs device and watch for any input (i.e. when you press any remote buttons)

example:

Code:
 cat  /proc/bus/input/devices

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Front Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input7
U: Uniq=
H: Handlers=event7 
B: PROP=0
B: EV=21
B: SW=4


cat /devices/pci0000:00/0000:00:1b.0/sound/card0/input7

<load of random output on input>
Just ctrl+c to stop the output. This will confirm which input device is the infrared device.

Then you can configure your lirc to use:
-d <Sysfs device> -H dev/input

Hope this helps
Reply With Quote
  #5  
Old 2nd January 2013, 03:14 PM
Cosmin3
Guest
 
Posts: n/a
linuxopera
Re: Noob using LIRC on Fedora 17

Thank you.

This is the output of "cat /proc/bus/input/devices":

Code:
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=3
B: KEY=100000 0 0 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: PROP=0
B: EV=120013
B: KEY=4 2000000 3803078 f800d001 feffffdf ffefffff ffffffff fffffffe
B: MSC=10
B: LED=7

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input3
U: Uniq=
H: Handlers=mouse0 event3 
B: PROP=0
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=103

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Line"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:05.0/sound/card0/input4
U: Uniq=
H: Handlers=event4 
B: PROP=0
B: EV=21
B: SW=2000

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Front Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:05.0/sound/card0/input5
U: Uniq=
H: Handlers=event5 
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Rear Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:05.0/sound/card0/input6
U: Uniq=
H: Handlers=event6 
B: PROP=0
B: EV=21
B: SW=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Front Headphone"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:05.0/sound/card0/input7
U: Uniq=
H: Handlers=event7 
B: PROP=0
B: EV=21
B: SW=4

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Line Out Side"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:05.0/sound/card0/input8
U: Uniq=
H: Handlers=event8 
B: PROP=0
B: EV=21
B: SW=40

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Line Out CLFE"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:05.0/sound/card0/input9
U: Uniq=
H: Handlers=event9 
B: PROP=0
B: EV=21
B: SW=40

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Line Out Surround"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:05.0/sound/card0/input10
U: Uniq=
H: Handlers=event10 
B: PROP=0
B: EV=21
B: SW=40

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia Line Out Front"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:05.0/sound/card0/input11
U: Uniq=
H: Handlers=event11 
B: PROP=0
B: EV=21
B: SW=40
But I don't see any "strange" devices...

Anyway, when I try "cat /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0" it says: "No such file or directory".

Last edited by Cosmin3; 2nd January 2013 at 03:20 PM.
Reply With Quote
  #6  
Old 3rd August 2014, 07:36 PM
jcastro00 Offline
Registered User
 
Join Date: Jul 2014
Location: santo domingo
Posts: 4
linuxchrome
Re: Noob using LIRC on Fedora 17

hola, tengo problemas con mi control remoto, tengo una tarjeta de sonido sb 1095 sond blaster surround 5.1 pro con un control remoto RM-820. Como puedo configurar el control en fedora 20
Reply With Quote
Reply

Tags
fedora, lirc, noob

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
noob at fedora... noob at security... mrHappyPants Security and Privacy 12 10th April 2009 02:42 AM
LIRC + Fedora 7 __Adam__ Using Fedora 26 24th April 2008 11:55 PM
Fedora 7 and Lirc alex_65bg Using Fedora 1 21st December 2007 10:52 PM
I can't use LIRC on fedora? MasterC Using Fedora 1 26th June 2006 01:15 PM
How to config Lirc in fedora 4 jaga Using Fedora 1 2nd December 2005 06:41 AM


Current GMT-time: 11:14 (Saturday, 01-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Chrudim Photos - Maisi Photos on Instagram - Oltenita