From: Zannyuk <zan...@nt...> - 2011-03-08 19:03:54
|
Jarod Wilson wrote: > > On Mar 8, 2011, at 5:40 AM, Zannyuk wrote: > >> Nick Morrott wrote: >>> >>> >>> Check /etc/lirc/hardware.conf and determine whether LIRC is configured >>> to >>> use: >>> >>> i) the dev/input driver; and >>> ii) the correct IR device in /dev/input/by-id >>> >>> Remotes that use the dev/input driver should "just work" with the >>> standard LIRC dev/input config file. >>> >>> You can check the list of available input devices using: >>> >>> $ ls -l /dev/input/by-id/ >>> >>> Your remote will be listed with reference to your satellite card or IR >>> remote - enter this path as your LIRC device. >>> >>> Cheers, >>> Nick >>> >> >> Thankyou for reply i tried "ls -l /dev/input/by-id/" but all I get is my >> mouse and keyboard listed :( >> >> The grep section here seems to imply the IR is active " >>> [ 13.160088] input: cx88 IR (TBS 8920 DVB-S/S2) as >>> /devices/pci0000:00/0000:00:08.0/0000:01:09.0/rc/rc0/input5 >>> [ 13.160141] rc0: cx88 IR (TBS 8920 DVB-S/S2) as >>> /devices/pci0000:00/0000:00:08.0/0000:01:09.0/rc/rc0 " >> >> Is there an alternative to /dev/input/ ? Could it just be a driver issue >> and I should give up :( > > One of /dev/input/eventX should be the cx88 IR, it just doesn't > have a by-id symlink. Might be a by-path symlink you could use > too. Worst-case, you can use eventX directly. lircd can also > attach to event devices by other descriptive means though, the > syntax for which escapes me at the moment. You can cat > /proc/bus/input/devices to see where everything is. For example: > > I: Bus=0001 Vendor=7063 Product=3000 Version=0001 > N: Name="cx88 IR (pcHDTV HD3000 HDTV)" > P: Phys=pci-0000:08:02.0/ir0 > S: Sysfs=/devices/pci0000:00/0000:00:1e.0/0000:08:02.0/rc/rc0/input6 > U: Uniq= > H: Handlers=kbd event6 > B: EV=100013 > B: KEY=100fc312 214a80200000000 0 18000 41a800004801 9e168000000000 > 10000ffc > B: MSC=10 > > The above is also cx88 IR, and its at /dev/input/event6. Don't seem > to have a by-path or by-id symlink here either though. > > Okay, looked it up... This should work in lieu of those symlinks: > > lircd -H devinput --device=name="cx88 IR *" > > -- > Jarod Wilson > ja...@wi... > > > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > > I feel we are getting close, that seems to work plus I now know its event5. But if i type "irw" and press buttons on remote nothing shows. If I attempt a irrecord myremote.conf I get this error irrecord - application for recording IR-codes for usage with lirc Copyright (C) 1998,1999 Christoph Bartelmus(li...@ba...) irrecord: could not get file information for /dev/lirc irrecord: default_init(): No such file or directory irrecord: could not init hardware (lircd running ? --> close it, check permissions) So im at a loss, is it still a setup problem or should irw now be showing something even though irrecord errors???? Thanks for all your help, I fell the solution is near :-)) -- View this message in context: http://old.nabble.com/Cant-configure-lirc-for-my-tbs-8920-tv-card-tp31093036p31100070.html Sent from the LIRC mailing list archive at Nabble.com. |