LinuxMCE Forums
May 19, 2013, 11:25:08 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 [2]
  Print  
Author Topic: New IR Transceiver - mce_usb2.c (Solved - Receiver Unsolved - Transmitter)  (Read 2168 times)
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #15 on: January 12, 2012, 06:04:51 pm »

 /usr/src ?? it shouldn't...be.... huh...

what version of lirc is installed?

-Thom
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #16 on: January 12, 2012, 09:18:41 pm »

I have no idea how it got there, I am assuming it is part of the install. Any way there is a lirc 0.8.6 directory that had a drivers/lirc_mceusb/mce_usb.c file.

I edited that file did a dpkg-reconfigure lirc-modules-source and wala the receive part was working.

Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #17 on: January 12, 2012, 09:20:48 pm »

the lirc that should be used is the 0.8.6 or 0.8.7 that is in our source tree under src/ubuntu.

-Thom
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #18 on: January 12, 2012, 10:00:01 pm »

0.8.6 I believe is for 10.04, if I pull that do I build it with dpkg ? I tried make but got all kinds of errors
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #19 on: January 12, 2012, 10:03:12 pm »

Yes, there should be a debian folder in there.
-Thom
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #20 on: January 13, 2012, 04:45:58 am »

Ok, i'll pull that and rebuild. If everything works i'll check my changes into svn
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #21 on: January 13, 2012, 11:44:04 pm »

ok, forgive my ignorance, but I have checked out both  /external/lirc and /external/pluto-lirc-0.1 from 1004 branch and made my edits in mce_usb.c then tried to do dpkg -b lirc and dpkg -b lirc-pluto and get the error

dpkg-deb: failed to open package info file `lirc-pluto/DEBIAN/control' for reading: No such file or directory

please help a blind man see the light

Thx

kevin
Logged
tschak909
LinuxMCE God
****
Posts: 5101

DOES work for LinuxMCE.


View Profile
« Reply #22 on: January 13, 2012, 11:50:51 pm »

ignore the /external/ directory, and use ubuntu/lirc-0.8.6+lmce1

-Thom
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #23 on: January 14, 2012, 12:50:00 am »

thx
Logged
DragonK
Guru
****
Posts: 427



View Profile
« Reply #24 on: January 17, 2012, 07:32:38 am »

Hi Kyfalcon.

I noticed the thread is marked as "SOLVED"... meaning you got the tranceiver part working to?

Karel
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #25 on: January 17, 2012, 03:38:47 pm »

No I marked it solved when i was able to patch the code to recognize the Fintek HP transceiver. I am still trying to test the transmitter part. I have been following the wiki on setting up a template for a new amp to no avail. I am trying to create a new amp/receiver device ONKYO TX-SR703 with a remote control of RC-620M I have the RC620M.conf for the remote that I created from irrecord. But I have been unsuccessful in creating a template that adds that to the lircd in the /etc/lirc directory, hence no transmitter at the moment. I also need to know what the hardware.conf should look like in the transmitter section.
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #26 on: January 17, 2012, 07:54:57 pm »

Ok after reading over the wiki on how to add a remote, I believe I have seen the light and discovered the errors in my ways, philosophically of course. Any way I have messed with things in the admin and believe i have set up everything correctly now. Have to wait till I get home from work to truly test things. Will update my progress at that time.
Logged
kyfalcon
Guru
****
Posts: 390



View Profile
« Reply #27 on: January 19, 2012, 08:10:14 pm »

Does LIRC_DCE create a device for the transmitter? My understanding and it is limited, is that normally  lirc is started by ubuntu by a call to init.d/lircd start etc. This will create /dev/lirc0 for mceusb receiver and /dev/lirc1 for mceusb transmitter. It does not look like LIRC_DCE is doing this. Can someone else confirm this? Should LIRC_DCE be creating /dev/lirc1 ?

Thanks
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!