LinHES Forums
http://forums.linhes.org/

Out Of Box IRBlaster Support: Contribute now!
http://forums.linhes.org/viewtopic.php?f=6&t=9352
Page 2 of 5

Author:  iscraigh [ Tue Apr 04, 2006 12:11 am ]
Post subject: 

Mac first one looked the same as yours

Second one

root@mythtv:/usr/local/bin# grep -A1 lirc_serial: /var/log/messages
Apr 3 22:28:31 mythtv kernel: lirc_serial: auto-detected active high receiver
Apr 3 22:28:31 mythtv kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
root@mythtv:/usr/local/bin# grep ttyS[0-1] /var/log/messages
Apr 4 04:29:01 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
Apr 4 04:29:01 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
Apr 4 04:29:05 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Apr 4 04:29:05 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Apr 3 21:46:48 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
Apr 3 21:46:48 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
Apr 3 21:46:58 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Apr 3 21:46:58 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Apr 3 21:52:54 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
Apr 3 21:52:54 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
Apr 3 21:53:04 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Apr 3 21:53:04 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Apr 3 22:13:36 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
Apr 3 22:13:36 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
Apr 3 22:13:46 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Apr 3 22:13:46 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Apr 3 22:28:22 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
Apr 3 22:28:22 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
Apr 3 22:28:32 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
root@mythtv:/usr/local/bin# root@mythtv:/usr/local/bin# grep -A1 lirc_serial: /var/log/messages
-bash: root@mythtv:/usr/local/bin#: No such file or directory
root@mythtv:/usr/local/bin# Apr 3 22:28:31 mythtv kernel: lirc_serial: auto-detected active high receiver
Apr 3 21:52:54 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
Apr 3 21:53:04 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
-bash: Apr: command not found
Apr 3 21:53:04 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Apr 3 22:13:36 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
root@mythtv:/usr/local/bin# Apr 3 22:28:31 mythtv kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
-bash: Apr: command not found
root@mythtv:/usr/local/bin# root@mythtv:/usr/local/bin# grep ttyS[0-1] /var/log/messages
-bash: root@mythtv:/usr/local/bin#: No such file or directory
root@mythtv:/usr/local/bin# Apr 4 04:29:01 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 4 04:29:01 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 4 04:29:05 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 4 04:29:05 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 21:46:48 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 21:46:48 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 21:46:58 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 21:46:58 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 21:52:54 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 21:52:54 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 21:53:04 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 21:53:04 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 22:13:36 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 22:13:36 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 22:13:46 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 22:13:46 mythtv kernel: 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 22:28:22 mythtv kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 22:28:22 mythtv kernel: serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 165 50A
-bash: syntax error near unexpected token `('
root@mythtv:/usr/local/bin# Apr 3 22:28:32 mythtv kernel: 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
-bash: syntax error near unexpected token `('


It is greek to me but anytime I see error it can't be good :)

root@mythtv:/usr/local/bin# ps -ae | grep irblaster
4957 ? 00:00:00 irblasterd


Any ideas?

Craig

Author:  mac [ Tue Apr 04, 2006 12:36 am ]
Post subject: 

If there is nothing pluged into you second comm port try switching the blaster to it.

You don't need to restart anything.. just plug it in and try it.

what is the output from:
Code:
ps x|grep blaster


what are things set at in:
/etc/irblaster/hardware.conf

Author:  iscraigh [ Tue Apr 04, 2006 1:02 am ]
Post subject: 

mythtv@mythtv:~$ ps x | grep blaster
5087 ttyp1 S+ 0:00 grep blaster


Hardware.conf is com2

I have had the blaster working through many versions always on com 2. I don't have an external com 1 to even try.

Lirc is not working on the recieve end either.


Craig

Author:  mac [ Tue Apr 04, 2006 1:19 am ]
Post subject: 

sorry should have do a "ps uaxw|grep blaster"

the x alone would have worked if you were root..

Author:  Greg Frost [ Tue Apr 04, 2006 1:22 am ]
Post subject: 

Try "ps ax | grep blaster" . It should show you a running instance of irblasterd. If it doesn't, then for some reason, the it did not start, or it died. You need to find out why. Try running (as root) /etc/init.d/irblaster start and see if you get any error messages.

Author:  iscraigh [ Tue Apr 04, 2006 1:33 am ]
Post subject: 

root@mythtv:/home/mythtv# ps uaxw | grep blaster
root 4957 0.0 0.1 2700 520 ? Ss Apr03 0:00 irblasterd rest art
root 5146 0.0 0.1 1640 500 ttyp1 R+ 00:32 0:00 grep blaster

Author:  iscraigh [ Tue Apr 04, 2006 1:34 am ]
Post subject: 

root@mythtv:/home/mythtv# ps ax | grep blaster
4957 ? Ss 0:00 irblasterd restart

Author:  mac [ Tue Apr 04, 2006 1:36 am ]
Post subject: 

not what I looking for..
ps auxwww|grep blaster

should kick up something like this

root 5264 0.0 0.1 2700 616 ? Ss Apr03 0:00 /usr/sbin/irblasterd --driver=default --device=/dev/lirc1 --pidfile=/var/run/irblasterd.pid --output=/dev/irblaster /etc/irblaster/irblasterd.conf

Author:  iscraigh [ Tue Apr 04, 2006 1:37 am ]
Post subject: 

/etc/init.d/irblaster start


#################################################
## UNABLE TO DETERMINE WHICH DEVICE lirc_serial ##
## is using. ##
##################################################


Ok how do we help it determine the serial port?


Craig

Author:  mac [ Tue Apr 04, 2006 1:47 am ]
Post subject: 

do a :

/etc/iniit.d/lircd stop
/etc/iniit.d/irblaster stop

rmmod -r lirc_serial

/etc/init.d/lircd start
/etc/init.d/irblaster start

Author:  iscraigh [ Tue Apr 04, 2006 1:50 am ]
Post subject: 

not having much luck with those commands

Author:  iscraigh [ Tue Apr 04, 2006 1:54 am ]
Post subject: 

ok

tried your commands again slightly modified and blaster works

Now the real question is why? I will reboot now and see where we sit


Craig

Author:  mac [ Tue Apr 04, 2006 1:54 am ]
Post subject: 

add the serial port to your hardware.conf by hand.

==============
# /etc/irblaster/hardware.conf
#
# Author: Greg Frost

# The COM Port used by the IRBlaster. Set it to "COM1" "COM2" or "".

IRBLASTER_SERIAL_PORT="COM1"

# Set this to the lirc device that will be used by lirc_serial. In my case
# it is /dev/lirc. I have a USB remote, so my remote does not use the
# /dev/lirc device, so it is used by lirc_serial for my ir blaster. If you
# have a remote that uses /dev/lirc, the blaster may user /dev/lirc1. Not
# sure.

IRBLASTER_DEVICE="/dev/lirc1"

Author:  iscraigh [ Tue Apr 04, 2006 2:00 am ]
Post subject: 

it is in their. Before I rebooted I tested the receiver; no joy.

After reboot...........

receiver no

blaster no

root@mythtv:~# irsend --device=/dev/irblasterd SEND_ONCE DCT2000 3
root@mythtv:~# irsend --device=/dev/irblasterd SEND_ONCE DCT2000 3
irsend: could not connect to socket
irsend: Connection refused
root@mythtv:~#

A big circle.

Author:  mac [ Tue Apr 04, 2006 2:00 am ]
Post subject: 

Try running this from the command line (yours may be /dev/irblasterd instead of /dev/irblaster)

Code:
 /usr/sbin/irblasterd --driver=default --device=/dev/lirc1 --pidfile=/var/run/irblasterd.pid --output=/dev/irblaster /etc/irblaster/irblasterd.conf


killall off the running irblasterd first though..

Page 2 of 5 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/