View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jan 16, 2007 1:10 pm 
Offline
Joined: Sun Feb 26, 2006 11:34 pm
Posts: 83
Location: Toronto, ON, Canada
Hi,

I am trying to get my IRBlaster working again using the myth-ledxmit script at http://losdos.dyndns.org:8080/public/my ... _LIRC.html with R5E50, but when I run the myth-ledxmit.sh script it protests that it requires the Kernel Source files.

SO, following the instructions at http://mysettopbox.tv/phpBB2/viewtopic.php?t=13281 I downloaded the source, created a symbolic link from linux to the source directory, and still the same message.

I then edited the myth-ledxmit.sh script, so the the ./configure line now has the --with-kerneldir=/usr/src/linux and also directly to the source directory.

It has stopped asking for the kernel source, but still fails to compile with the error:
Code:
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:99: warning: ISO C90 forbids mixed declarations and code
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:109: error: invalid storage class for function 'init_irctl'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c: In function 'init_irctl':
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:110: error: too many arguments to function 'memset'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:111: warning: implicit declaration of function 'sema_init'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c: In function 'try_to_freeze':
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:125: error: invalid storage class for function 'cleanup'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:151: error: invalid storage class for function 'add_to_buf'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c: In function 'add_to_buf':
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:155: error: 'EOVERFLOW' undeclared (first use in this function)
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:159: error: 'ENODATA' undeclared (first use in this function)
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:174: error: 'ENODEV' undeclared (first use in this function)
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c: In function 'try_to_freeze':
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:187: error: invalid storage class for function 'ledxmit_thread'

--<snip>---

include/linux/quota.h:204: warning: unused variable 'dqstats'
include/linux/quota.h:47: warning: unused variable 'dq_data_lock'
include/linux/dcache.h:355: warning: unused variable 'sysctl_vfs_cache_pressure'
include/linux/dcache.h:46: warning: unused variable 'dentry_stat'
include/linux/fs.h:50: warning: unused variable 'lease_break_time'
include/linux/fs.h:50: warning: unused variable 'leases_enable'
include/linux/fs.h:48: warning: unused variable 'inodes_stat'
include/linux/fs.h:40: warning: unused variable 'files_stat'
include/linux/module.h:79: warning: unused variable 'module_subsys'
include/linux/elf.h:364: warning: unused variable '_DYNAMIC'
include/linux/sched.h:1550: warning: unused variable 'attr_sched_smt_power_savings'
include/linux/sched.h:1550: warning: unused variable 'attr_sched_mc_power_savings'
include/linux/sched.h:1549: warning: unused variable 'sched_smt_power_savings'
include/linux/sched.h:1549: warning: unused variable 'sched_mc_power_savings'
include/linux/pm.h:130: warning: unused variable 'pm_ops'
include/linux/pm.h:103: warning: unused variable 'pm_power_off'
include/linux/pm.h:102: warning: unused variable 'pm_idle'
include/linux/kobject.h:194: warning: unused variable 'hypervisor_subsys'
include/linux/kobject.h:192: warning: unused variable 'kernel_subsys'
include/linux/kobject.h:34: warning: unused variable 'uevent_helper'
/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.c:913: warning: no return statement in function returning non-void
make[5]: *** [/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev/ledxmit_dev.o] Error 1
make[4]: *** [_module_/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev] Error 2
make[4]: Leaving directory `/usr/src/linux-source-2.6.18-chw-13'
make[3]: *** [ledxmit_dev.o] Error 2
make[3]: Leaving directory `/root/myth-ledxmit/myth-ledxmit.WIP/drivers/ledxmit_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/myth-ledxmit/myth-ledxmit.WIP/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/myth-ledxmit/myth-ledxmit.WIP'
make: *** [all] Error 2
 


Does anyone have any suggestions on what could be wrong?

Thanks
Victor


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 5:06 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Why on earth are you trying to get myth-ledxmit to work when you could have just answered yes during the install to setup the preinstalled lirc to operate your irblaster for you?

Run irblaster.sh as root and it will ask you again.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 6:35 pm 
Offline
Joined: Sun Feb 26, 2006 11:34 pm
Posts: 83
Location: Toronto, ON, Canada
Greg,

The reason is that I have two satellite receivers that I need to send IR to. I have been unable to find info on how to get the installed LIRC instance for irblaster to do this.

If you feel that this can be done then please share. :D

In the mean time, I have been working with what has worked for the past few versions. I was thinking "Why screw with something that works?".

Victor


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 16, 2007 11:36 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Do the two receivers use the exact same remote codes? That would be a problem if trying to use the one port because changing channels on one would change channels on the other. I though I saw mention somewhere that some sat/cable boxes had a selection of remote codes they could use. If one box can be made to ignore the codes for the other box and vice versa, then it should be possible to control them both from the same irblaster.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 17, 2007 8:29 pm 
Offline
Joined: Sun Feb 26, 2006 11:34 pm
Posts: 83
Location: Toronto, ON, Canada
Greg,

Last night I experimented a bit with the irblasterd setup that you describe on http://mysettopbox.tv/phpBB2/viewtopic.php?t=9352

I already had the two receivers working fine on the myth-ledxmit script with two different IDs, so it became about getting your script to work the same way.

It turned out to be easier than I thought:

-Use the myth-ledxmit .conf file with the two sets of remote comands for the irblasterd.conf
- modify my chanel_change1.sh and chanel_change2.sh script so that it pointed to /usr/local/bin/irsend -d /dev/irblasterd instead of the ledxmit script.
-reboot
-all is well.

Just that simple. It always seems to be when you don't expect it.

The clarity of your post on Out of box support made it a snap.

Thanks!
Victor


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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