View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 75 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Tue Apr 04, 2006 12:11 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 12:36 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:02 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:19 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
sorry should have do a "ps uaxw|grep blaster"

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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:22 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:33 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:34 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
root@mythtv:/home/mythtv# ps ax | grep blaster
4957 ? Ss 0:00 irblasterd restart


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:36 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
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


Last edited by mac on Tue Apr 04, 2006 1:37 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:37 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
/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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:47 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:50 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
not having much luck with those commands


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:54 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:54 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
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"


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 2:00 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 2:00 am 
Offline
Joined: Tue Feb 21, 2006 7:24 am
Posts: 396
Location: Dushanbe, Tajikistan
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..


Last edited by mac on Tue Apr 04, 2006 2:03 am, edited 1 time in total.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 75 posts ] 
Go to page Previous  1, 2, 3, 4, 5  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu