View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Sep 12, 2007 12:06 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
under R5C7, I had my irblaster working great. Getting it to work post-upgrade is proving to be a real challenge.

I've gone over everything that I can squeek out of Greg Frost's tread..
http://mysettopbox.tv/phpBB2/viewtopic.php?t=9352

when I execute
Code:
/etc/init.d/irblaster start

I get the message
Quote:
FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-chw-13/misc/lirc_serial.ko): Input/output error
##################################################
## UNABLE TO DETERMINE WHICH DEVICE lirc_serial ##
## is using. ##
##################################################


I'm guessing that my symbolic links are screwed up.. but I've run out of ideas on how to fix it.

Thanks!

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 11:03 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
Here's my /etc/irblaster/hardware.conf

Code:
# /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: Wed Sep 12, 2007 11:29 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Why didn't you go to R5F27 which has been out since Sunday?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 8:08 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
tjc wrote:
Why didn't you go to R5F27 which has been out since Sunday?
What can I say, my psychic interface isn't working. .. I started the upgrade to R5F1 on 09/04. I'm tempted to charge-along with the R5F27 upgrade, although, I would like to understand why the irblaster isn't working first... and get it working.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 3:13 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
If you read the hints and tips you would have seen something about the possibility of xorg grabbing the serial port for a serial mouse. dont know if this is your problem, but I didn't see you see that you had checked it.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 8:55 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
Greg Frost wrote:
If you read the hints and tips you would have seen something about the possibility of xorg grabbing the serial port for a serial mouse. dont know if this is your problem, but I didn't see you see that you had checked it.

Right! I didn't make the connection. Now done.. X restarted. restarting irblaster comes up with the same error. I'll have to admit, when it comes to the /dev directory, I'm in the fog. Here's what it looks like:
Code:
ls -l /dev/ttyS*
crw-rw---- 1 root dialout 4, 64 Sep 13 19:21 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Sep 13 19:21 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Sep 13 19:21 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Sep 13 19:21 /dev/ttyS3
and
Code:
ls -l /dev/lirc*
crw-rw---- 1 root video 61, 0 Sep 13 19:21 /dev/lirc0
srw-rw-rw- 1 root root      0 Sep 13 19:21 /dev/lircd

I re-ran the irblaster.sh config script and it gives me
Code:
Selected Motorola_DCT2244.
cp: cannot stat `/usr/local/share/knoppmyth/irblaster/Motorola_DCT2244/irblasterd.conf': No such file or directory
 System startup links for /etc/init.d/irblaster already exist.
Stopping irblaster daemon: irblasterdNo process in pidfile `/var/run/irblasterd.pid' found running; none killed.
.
FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-chw-13/misc/lirc_serial.ko): Input/output error
##################################################
## UNABLE TO DETERMINE WHICH DEVICE lirc_serial ##
## is using.                                    ##
##################################################

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 9:18 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
BluesBrian wrote:
I re-ran the irblaster.sh config script and it gives me[code]Selected Motorola_DCT2244.
cp: cannot stat `/usr/local/share/knoppmyth/irblaster/Motorola_DCT2244/irblasterd.conf': No such file or directory
I can't speak for R5F1 but this file is called /usr/local/share/knoppmyth/irblaster/Motorola_DCT2244/irblaster.conf (no d) in R5F27. I suspect this error is the crux of your problem.

You could A) try copying /usr/local/share/knoppmyth/irblaster/Motorola_DCT2244/irblasterd.conf to /usr/local/share/knoppmyth/irblaster/Motorola_DCT2244/irblaster.conf or B) edit the irblaster.sh script to point to the correct file.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 10:38 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
slowtolearn wrote:
You could A) try copying /usr/local/share/knoppmyth/irblaster/Motorola_DCT2244/irblasterd.conf to /usr/local/share/knoppmyth/irblaster/Motorola_DCT2244/irblaster.conf or B) edit the irblaster.sh script to point to the correct file.

I did Plan A .. and got:
Code:
Selected Motorola_DCT2244.
 System startup links for /etc/init.d/irblaster already exist.
Stopping irblaster daemon: irblasterdNo process in pidfile `/var/run/irblasterd.pid' found running; none killed.
.
FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-chw-13/misc/lirc_serial.ko): Input/output error
##################################################
## UNABLE TO DETERMINE WHICH DEVICE lirc_serial ##
## is using.                                    ##
##################################################
Shorter error message! :D
Then I deleted the files in /etc/irblaster, re-ran the irblaster.sh script and got
Code:
Selected Motorola_DCT2244.
 System startup links for /etc/init.d/irblaster already exist.
Stopping irblaster daemon: irblasterdNo process in pidfile `/var/run/irblasterd.pid' found running; none killed.
.
FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-chw-13/misc/lirc_serial.ko): Input/output error
##################################################
## UNABLE TO DETERMINE WHICH DEVICE lirc_serial ##
## is using.                                    ##
##################################################
.. so I'm thinking that "System startup links" is the key??? Is that what the "update-rc.d" is about??? .. so I ran
Code:
update-rc.d -f irblaster remove
then re-ran the irblaster.sh script again.. and got:
Code:
Selected Motorola_DCT2244.
 Adding system startup for /etc/init.d/irblaster ...
   /etc/rc0.d/K21irblaster -> ../init.d/irblaster
   /etc/rc1.d/K21irblaster -> ../init.d/irblaster
   /etc/rc6.d/K21irblaster -> ../init.d/irblaster
   /etc/rc2.d/S21irblaster -> ../init.d/irblaster
   /etc/rc3.d/S21irblaster -> ../init.d/irblaster
   /etc/rc4.d/S21irblaster -> ../init.d/irblaster
   /etc/rc5.d/S21irblaster -> ../init.d/irblaster
Stopping irblaster daemon: irblasterdNo process in pidfile `/var/run/irblasterd.pid' found running; none killed.
.
FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-chw-13/misc/lirc_serial.ko): Input/output error
##################################################
## UNABLE TO DETERMINE WHICH DEVICE lirc_serial ##
## is using.                                    ##
##################################################
Looks like were getting.... I'm still leaning toward something that's dorked in the device setup (fogged).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 11:11 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
BluesBrian wrote:
Code:
FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-chw-13/misc/lirc_serial.ko): Input/output error
This is the killer.
Why can't it insert the lirc_serial module?
Are your serial ports enabled in the bios?
Something else using the serial port?
lirc_serial already loaded?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 8:23 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
Greg Frost wrote:
BluesBrian wrote:
Code:
FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-chw-13/misc/lirc_serial.ko): Input/output error
This is the killer.
(1) Why can't it insert the lirc_serial module?
(2) Are your serial ports enabled in the bios?
(3) Something else using the serial port?
(4) lirc_serial already loaded?

(1) I dunno how that works
(2) sure
(3) There shouldn't be! how can I tell?
(4) if so, can I unload it, then run irblaster.sh again? (how would I unload it?)

I have an hd with R5C7 .. a backup of my primary system (the primary having been upgraded to R5F1) .. if I shutdoen/swap drives/restart.. the irblaster works. I'll concluded that there is no bios setting wrong or hardware issue.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 4:45 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I'm not sure what would cause that Input/Output error.
To see if the module is loaded, run the command (as root)
Code:
lsmod | grep lirc

If it is not, try running:
modprobe lirc_serial
what happens? are there any suspicious error messages in /var/log/messages?
What is in the file /etc/mythtv/modules/lirc_serial?
What type of remote does your system use?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 8:24 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
Greg Frost wrote:
I'm not sure what would cause that Input/Output error.
To see if the module is loaded, run the command (as root)
Code:
lsmod | grep lirc

If it is not, try running:
modprobe lirc_serial
what happens? are there any suspicious error messages in /var/log/messages?
What is in the file /etc/mythtv/modules/lirc_serial?
What type of remote does your system use?

lsmod | grep lirc
Code:
lirc_i2c               12420  2
lirc_dev               16772  1 lirc_i2c
i2c_core               20864  18 i2c_ec,cx88_vp3054_i2c,saa7134_dvb,dvb_pll,saa7134,ir_kbd_i2c,tda1004x,dvb_bt8xx,cx88xx,bttv,lirc_i2c,
saa7127,ivtv,saa7115,msp3400,tuner,i2c_algo_bit,tveeprom
modprobe lirc_serial
Code:
FATAL: Error inserting lirc_serial (/lib/modules/2.6.18-chw-13/misc/lirc_serial.ko): Input/output error

cat messages |grep lirc
Code:
Sep 14 18:59:27 MythBox kernel: lirc_dev: IR Remote Control driver registered, at major 61
Sep 14 18:59:27 MythBox kernel: lirc_i2c: chip found @ 0x18 (Hauppauge IR)
Sep 14 18:59:27 MythBox kernel: lirc_dev: lirc_register_plugin: sample_rate: 10
Sep 14 18:59:32 MythBox kernel: lirc_serial: auto-detected active high receiver
Sep 14 18:59:32 MythBox kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Sep 14 18:59:32 MythBox kernel: lirc_dev: lirc_register_plugin: no module owner registered
Sep 14 19:03:48 MythBox kernel: lirc_serial: auto-detected active high receiver
Sep 14 19:03:48 MythBox kernel: lirc_dev: lirc_register_plugin: sample_rate: 0
Sep 14 19:03:48 MythBox kernel: lirc_dev: lirc_register_plugin: no module owner registered

cat messages |grep ttyS
Code:
Sep 14 18:59:27 MythBox kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Sep 14 18:59:27 MythBox kernel: 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
cat /etc/mythtv/modules/lirc_serial
Code:
alias char-major-61 lirc_serial
options lirc_serial irq=4 io=0x3f8

PVR-350 - "silver" remote (A415-HPG)

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 14, 2007 11:21 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Is it possible for me to ssh in to your box and poke around to see if I can see whats wrong?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 08, 2007 8:31 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
I did solve this issue by running "Auto Upgrade" to R5F27.
Keep in mind the important locations for configuration bits:
/etc/irblaster/hardware.conf
/etc/irblaster/irblasterd.conf
/etc/irblaster/channel_change.sh
/etc/init.d/irblaster
/dev/irblasterd

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 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