Author Topic: Challenge to get mce_usb2 to work on a diskless md  (Read 4217 times)

amirul

  • Regular Poster
  • **
  • Posts: 27
    • View Profile
Challenge to get mce_usb2 to work on a diskless md
« on: July 28, 2008, 04:06:57 pm »
I have managed to get a pinnacle mce remote to work on my core/hybrid using a recompiled mce_usb2 driver. Now attempting to get it to work on a diskless md. The driver loads, as shown by lsmod, but /dev/lirc0 is not created. Anyone with any pointers on how to troubleshoot this will be appreciated.

noneyayaya

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Challenge to get mce_usb2 to work on a diskless md
« Reply #1 on: October 07, 2008, 10:17:24 am »
http://www.mythtv.org/wiki/index.php/MCE_Remote

Scroll down till you get to Debian GNU/Linux 4.0

Im still working on this issue but I believe this site has the answer. You need to patch the 0.8.0 version which can be found here

http://sourceforge.net/project/showfiles.php?group_id=5444&package_id=5487

You have to make a file called lirc-patch then vi into it and paste eric coopers patch

Untar the package then paste your new lirc-patch file into the lirc-0.8.0 directory

patch -p2 < lirc-patch        <----using terminal in the 0.8.0 directory

I have the phillips mce_usb2 ir sensor but it looks like it will fix all of them from what I can tell.  Hope this helps! I just hope I can find a way to get rid of the 0.8.3 package due to it not allowing me to compile otherwise im going to have to reinstall my Linuxmce Gutsy 7.10 which I REALLY don't want to do.

Also I have a Nvidia card and ran the depmod -a command STAY AWAY FROM THIS IT JACKED MY VIDEO EVERY TIME I RAN IT. Ill keep you updated on my progress.
-----------------------edit
Okay now I made a new module lirc-modules-2.6.22.9_0.8.2-0ubuntu8+2.6.22.9-10.00.Custom_i386.deb

I did this by going into /usr/src/linux-headers-2.6.22-14-generic
Then running                         make-kpkg modules-image  <---------------using terminal once again

Then I ran

dpkg -i lirc-modules-2.6.22.9_0.8.2-0ubuntu8+2.6.22.9-10.00.Custom_i386.deb

Selecting previously deselected package lirc-modules-2.6.22.9.
(Reading database ... 120525 files and directories currently installed.)
Unpacking lirc-modules-2.6.22.9 (from lirc-modules-2.6.22.9_0.8.2-0ubuntu8+2.6.22.9-10.00.Custom_i386.deb) ...
Setting up lirc-modules-2.6.22.9 (0.8.2-0ubuntu8+2.6.22.9-10.00.Custom) ...

SUCCESS!

Hopefully I can still boot into this OS wish me luck!

Okay I booted back into linuxmce whew........... I just need to figure out how to get this into pluto so it will update and finally fix the issue were all having.  I have used kpackage and ive seen the deb that has been installed weirdly enough there is a deb that is very similar to the one I put in.

lirc-modules-2.6.22-14-generic <-------already there
lirc-modules-2.6.22.9<---------------my custom build
lirc-pluto points to lirc-modules-2.6.22-14-generic is this the bug????????? I think so im going to try to find a way to edit this deb to point correctly or do I just need to delete the lirc-modules-2.6.22-14-generic? Wish I knew hopefully someone else will jump in on this.

SOLVED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ;D

So I finally figured it out I went here...looks lke it was jus a broken package.......You might not even have to do all the above steps.

https://launchpad.net/ubuntu/gutsy/i386/liblircclient-dev/0.8.2-0ubuntu8 installed this package with kpackage

Then installed these starting with:
liblircclient-dev <-----couldnt install without the above package
liblircclient0
lirc-modules-2.6.22-14-generic
lirc-pluto
pluto-lirc-wrapper
lirc-x

I prolly dont need all of them but I used all and it is WORKING!!!! FINALLY IN LNUXMCE AND I NOTICED IT WORKS IN TERMINAL SO I IMAGINE IT WORKS EVERYWHERE!!!!

I also copied my lircd.conf from /etc/lirc to /etc

Here is my lircd.conf file:

#
# RC-6 config file
#
# source: http://home.hccnet.nl/m.majoor/projects__remote_control.htm
#         http://home.hccnet.nl/m.majoor/pronto.pdf
#
# used by: Philips
#
#########
#
# Philips Media Center Edition remote control
# For use with the USB MCE ir receiver
#
# Dan Conti  dconti|acm.wwu.edu
#
# Radio, Print, RecTV are only available on the HP Media Center remote control
#

begin remote

  name mceusb
  bits           16
  flags RC6|CONST_LENGTH
  eps            30
  aeps          100

  header       2667   889
  one           444   444
  zero          444   444
  pre_data_bits 21
  pre_data      0x37FF0
  gap          105000
  toggle_bit     22
  rc6_mask     0x100000000


      begin codes

   Blue   0x00007ba1
   Yellow   0x00007ba2
   Green   0x00007ba3
   Red   0x00007ba4
   Teletext   0x00007ba5

# starts at af
        Radio    0x00007baf
        Print    0x00007bb1
        Videos   0x00007bb5
        Pictures 0x00007bb6
        RecTV    0x00007bb7
        Music    0x00007bb8
        TV       0x00007bb9
# no ba - d8

        Guide    0x00007bd9
        LiveTV   0x00007bda
        DVD      0x00007bdb
        Back     0x00007bdc
        OK       0x00007bdd
        Right    0x00007bde
        Left     0x00007bdf
        Down     0x00007be0
        Up       0x00007be1

        Star       0x00007be2
        Hash       0x00007be3

        Replay   0x00007be4
        Skip     0x00007be5
        Stop     0x00007be6
        Pause    0x00007be7
        Record   0x00007be8
        Play     0x00007be9
        Rewind   0x00007bea
        Forward  0x00007beb
        ChanDown 0x00007bec
        ChanUp   0x00007bed
        VolDown  0x00007bee
        VolUp    0x00007bef
        More     0x00007bf0
        Mute     0x00007bf1
        Home     0x00007bf2
        Power    0x00007bf3
        Enter    0x00007bf4
        Clear    0x00007bf5
        Nine     0x00007bf6
        Eight    0x00007bf7
        Seven    0x00007bf8
        Six      0x00007bf9
        Five     0x00007bfa
        Four     0x00007bfb
        Three    0x00007bfc
        Two      0x00007bfd
        One      0x00007bfe
        Zero     0x00007bff
      end codes

end remote

ENJOY ;D
« Last Edit: October 07, 2008, 01:09:38 pm by noneyayaya »