Author Topic: New IR Transceiver - mce_usb2.c (Solved - Receiver Unsolved - Transmitter)  (Read 16534 times)

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« Reply #15 on: January 12, 2012, 06:04:51 pm »
 /usr/src ?? it shouldn't...be.... huh...

what version of lirc is installed?

-Thom

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« 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.


tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« 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

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« 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

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« Reply #19 on: January 12, 2012, 10:03:12 pm »
Yes, there should be a debian folder in there.
-Thom

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« 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

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« 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

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« Reply #22 on: January 13, 2012, 11:50:51 pm »
ignore the /external/ directory, and use ubuntu/lirc-0.8.6+lmce1

-Thom

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« Reply #23 on: January 14, 2012, 12:50:00 am »
thx

DragonK

  • Guru
  • ****
  • Posts: 446
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« 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

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved)
« 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.

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved - Receiver Unsolved - Transmitter)
« 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.

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: New IR Transceiver - mce_usb2.c (Solved - Receiver Unsolved - Transmitter)
« 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