[mythtv-users] Help Setting up serial IR blaster for Comcast/Pace DC50X

Nick Morrott knowledgejunkie at gmail.com
Thu May 14 07:33:35 UTC 2009


On 14/05/2009, Brad Fuller <bradallenfuller at gmail.com> wrote:
> On Wed, May 13, 2009 at 10:15 PM, John H <arizonamythtv at gmail.com> wrote:
>  > I suspect your problem is how you're starting lirc since you need to
>  > make sure you're using a socket to connect otherwise you'll get the
>  > errors you've mentioned.
>  >
>  > You should start lirc with something like
>  >
>  > #lircd --device=/lirc0 --output=/dev/lircd1
>  >
>  > #irsend --device=/dev/lircd1 SEND_ONCE Remote_Name power
>
>
> I've actually tried defining the device node creation. I saw it in a
>  Ubuntu forum. I'll try it again, though.
>
>  btw, lircd1 is not created by default. The following are default
>  device nodes that are created when lircd starts.
>  /dev/lirc0
>  /dev/lircd
>
>  So, I think I'm fine here, since the only difference is the name. But,
>  tell me if I"m wrong.

Those are the default devices created for a single instance of LIRC.

>  > What command do you give to start lirc and do you have a remote as well?
>
>
> I've done it different ways. Normally it's a daemon (the devices are
>  as I defined above by default), but, I've also started it at the
>  command line (with the -n parm) to watch output when sending the
>  irsend command.
>
>  No, I have no other remote. The only modules loaded are lirc_serial and lirc_dev

Those are the correct modules, as I mentioned in my initial reply.

Try the following in your /etc/modules.d/lirc file (remove any other
LIRC content):

====
alias char-major-61 lirc_serial
options lirc_serial irq=4 io=0x3f8 type=0 softcarrier=1 txsense=0 debug=1
install lirc_serial setserial /dev/ttyS0 uart none; /sbin/modprobe
--ignore-install lirc_serial
====


Please ensure that your LIRC devices have sufficient permissions (+rw
should be good) to be usable by any required non-root users. What's
the output of:

# ls -la /dev/lirc*


Finally, try starting lircd using an explicit device (as /dev/lirc
used to be the default for lircd per the documentation):

lircd -n -d /dev/lirc0

On my system, I also have udev creating a symlink called /dev/lirc to
/dev/lirc0 for any clients expecting a /dev/lirc device.

Nick

-- 
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list