[mythtv-users] LIRC help needed with IguanaIR and PACE DC50X

Brad Fuller bradallenfuller at gmail.com
Wed Jun 30 23:54:27 UTC 2010


On Wed, Jun 30, 2010 at 08:05, Croxen, Kevin <klcroxen at fas.harvard.edu> wrote:
>
>
> -----Original Message-----
> From: Brad Fuller [mailto:bradallenfuller at gmail.com]
> Sent: Wednesday, June 30, 2010 10:12 AM
> To: Croxen, Kevin; mythtv at futures.com
> Subject: Re: LIRC help needed with IguanaIR and PACE DC50X
>
>>On Wed, Jun 30, 2010 at 05:06, Kevin Croxen <klcroxen at fas.harvard.edu> wrote:
>>> Read your post on Gossamer Threads.
>>>
>>> First: iguanaIR doesn't use any /dev/lircX  You will need to set up lirc to
>>> use /dev/iguanaIR/0
>
>>Ok. But, I am doing that in the hardware.conf. Do I need to designate
>>it someplace else?
>
> You made a /dev/lirc0 by hand. Lirc may mistakenly be trying to use this erroneous socket instead of /dev/iguanaIR/0 You can compel lirc to use the correct socket by starting lircd with "sudo lircd -d /dev/iguanaIR/0"

OK, I deleted /dev/lirc[x]

IF I

sudo lircd -d /dev/iguanaIR/0

I receive:

$ sudo lircd -d /dev/iguanaIR/0
lircd: can't open or create /var/run/lirc/lircd.pid
lircd: No such file or directory

lircd is pointing to the one that I created:


$ which lircd
/usr/local/sbin/lircd


>
> Also, if lirc is correctly installed, irsend will be done as your user, without sudo, e.g. "irsend SEND_ONCE dc50x 5 (or whatever)" If the lirc compile added your second copy of lircd under /usr/local, then using irsend with sudo is likely invoking the wrong one, the old Ubuntu one without the driver.

I removed (using synaptics) lirc before I compiled my own version.


>>>
>>> Third: the iguanaIR  daemon  (igdaemon) will be very unstable on Ubuntu
>>> until you install usb-lib 1.0.0 or above. This is provided through Synaptic
>>> but is not a "standard" Ubuntu package and probably was not included in the
>>> default installation.

am I not beyond that? I can run igclient with no problem and the IR
transmitter will flash consistently.


>>I don't know, it seems to continually and consistently run and flash
>>when I use their tools
>
> Check their docs, and check your libusb version. I'm running Ubuntu 9.04 (with an upgraded lirc). Canonical may finally have gotten with the program and used the updated libs by default in 10.04. What I do know is that the source code for the iguanaIR 1.0-pre- toolset won't even compile without the updated libusb 1.0.0 (I use iguanaIR to blast to dc50x boxes on both Ubuntu and on Slackware machines, for the latter of which I have to do all Mythtv and related installations from source.)


Yeah, from what you say, this could be a problem

 /usr/lib/libusb.so -> /lib/libusb-0.1.so.4.4.4

I do have 1.0, though:

ls /usr/lib/libusb*
2010-04-04 20:33 /usr/lib/libusb-0.1.so.4 -> /lib/libusb-0.1.so.4
2010-05-23 15:11 /usr/lib/libusb-1.0.so.0 -> /lib/libusb-1.0.so.0
2008-11-04 22:42 /usr/lib/libusb.a
2008-11-04 22:42 /usr/lib/libusb.la
2010-04-26 21:03 /usr/lib/libusb.so -> /lib/libusb-0.1.so.4.4.4

ls -/lib/libusb*
2010-04-04 20:32 /lib/libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
2008-11-04 22:42 /lib/libusb-0.1.so.4.4.4
2010-05-23 15:11 /lib/libusb-1.0.so.0 -> libusb-1.0.so.0.0.0
2009-05-15 04:57 /lib/libusb-1.0.so.0.0.0


> The author of the iguanaIR tools writes that he neglected to make
>  the updated libs an official dependency for the .deb package
>  (so that the deb install doesn't actually blow up without them),
> but because of stability issues strongly advises the libs be upgraded.
>  I found that without them the Ubuntu installation would get through
>  about 5 successful channel changes before the USB port locks
> up, necessitating the dongle be pulled, reinserted, and then igdaemon
>  and lircd restarted.

yuck, no fun. Thanks for the warning.

What should be my next step. Can I just repoint libusb?


More information about the mythtv-users mailing list