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

Main Menu

New IR Transceiver - mce_usb2.c (Solved - Receiver Unsolved - Transmitter)

Started by kyfalcon, December 30, 2011, 05:32:13 PM

Previous topic - Next topic

tschak909

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

what version of lirc is installed?

-Thom

kyfalcon

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.


tschak909

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

kyfalcon

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

tschak909

Yes, there should be a debian folder in there.
-Thom

kyfalcon

Ok, i'll pull that and rebuild. If everything works i'll check my changes into svn

kyfalcon

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

tschak909

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

-Thom

kyfalcon


DragonK

Hi Kyfalcon.

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

Karel

kyfalcon

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.

kyfalcon

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.

kyfalcon

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