Home
Blogs
Forums
Files


Welcome to The Green Button          Sign in | Join | Help

Making MCE IR blaster universal

Last post 11-02-2008, 2:35 PM by rsbrux. 437 replies.
Page 2 of 30 (438 items)   < Previous 1 2 3 4 5 Next > ... Last »
Sort Posts: Previous Next
  •  02-22-2005, 5:51 PM 34069 in reply to 33616

    RE: Making MCE IR blaster universal

    I wish I could program that quickly...

    I will get stuck into the DLL and should have some results for you in the next few days (BTW the link should be http://burningzeroad.free.fr/MceIrApi.rar)

    Looks simple enough but we will see!!



    Peter (BTMI)

    Click here for HIP, the free alternative to control your PC via remote control

  •  02-22-2005, 7:34 PM 34085 in reply to 33616

    RE: Making MCE IR blaster universal

    For the most part the DLL works really well (Bravo!!)

    There were a couple of issues which I think is more the Microsoft implementation than the code itself.

    1) Learning

    Once learning begins, the routine does not return until you stop pressing the button (and can create quite large files), and so ALL commands should be taught with a short sharp tap on the remote you are learning.

    2) Sending

    Using an IRMan as the receiver, the output of the device is tempermental with about 6 out of 10 tranmissions being correctly interpreted by IRMan.  Placement of the IR Blaster is also critical as I found that for best results it had to be right next to the device you are controlling and sending the IR more than once increased reliability.

    In any case, I have enough to create a plugin for HIP which will allow you assign any key to the MCE remote for any application, and save and send IR commands to external devices.  That will take a couple of days...

    I will post a message here when the build is ready for testing...



    Peter (BTMI)

    Click here for HIP, the free alternative to control your PC via remote control

  •  02-23-2005, 11:48 AM 34201 in reply to 33616

    RE: Making MCE IR blaster universal

    BTMI and BurningZeRoad:

    You guys ROCK! Look forward to testing out the new functionality.

    slang

  •  02-23-2005, 2:31 PM 34223 in reply to 33616

    RE: Making MCE IR blaster universal

    Hi Peter !

    I'm very happy you got no problem with my dll and you can perform some tests so quickly !

    1) Learning
    You are right ! I'm stopping to record once a huge space is detected...
    There are two options to solve that issue : I can add a parameter to limit the record file size or you can simply cut the file when you think it's too long. The file only contains raw data without any structure and the sample size is one byte.

    2) Sending
    I read many times that the IR blasters must be placed very close to the receiver so I think we have no choice... Anyway I'm going to check if I can improve sending quality. I don't know yet how... but I will first compare original recording with the one generated by a blaster and maybe I can find a way...

    I hope I can try your beta before Saturday because I will be on skiing holiday next week... But take your time I won't miss my remote next week !

    BZR
  •  02-23-2005, 3:30 PM 34229 in reply to 33616

    RE: Making MCE IR blaster universal

    I am also going on holiday (to the beach) next week and so this may have to wait until we return...

    I have uploaded a little test program at http://www.zinfonia.com/hip/mceremotetest.zip

    which uses all of the commands in the dll which we can use for testing.

    The command MceIrSetRepeatTimes always returns false at the moment.

    It would be great if the timeout value could be used for both the beginning and learning stages, but I agree that it is simple enough to cleanup the result.

    I still think the sending problems are hardware related, and so I am not sure if you can do anything....



    Peter (BTMI)

    Click here for HIP, the free alternative to control your PC via remote control

  •  02-23-2005, 4:50 PM 34234 in reply to 33616

    RE: Making MCE IR blaster universal

    An update is waiting for you at the same location : http://burningzeroad.free.fr/MceIrApi.rar
    - MceIrSetRepeatTimes now returns TRUE !
    - Timeout is now used for both the beginning and learning stages

    Your test program will be very usefull.
    Thx
  •  02-23-2005, 6:57 PM 34250 in reply to 33616

    RE: Making MCE IR blaster universal

    I have also updated my Test program http://www.zinfonia.com/hip/mceremotetest.zip with that dll along with an option to set the get ir timeout.

    I do get the occasional AV when reading, but I cannot work out the pattern. 

    Rather than return an error when the second timeout expires, it would be better to simply return control back to the program (True) with the data collected up until then.

    I will continue on the new build of Hip using this DLL, but that will take a little longer to sort out.



    Peter (BTMI)

    Click here for HIP, the free alternative to control your PC via remote control

  •  02-24-2005, 8:10 AM 34339 in reply to 33616

    RE: Making MCE IR blaster universal

    OK, this looks very interesting.  Could either of you two help us non-coding users to invision how this might be integrated into our MCE machines?

    I would hope that all the original hands-free, non-tweaking functionality of the MCE receiver would remain with just the simple addition of 3rd party send/receive added on top.   Will this be how it works?  Will we need to use your HIP software?  Please tell me that i won't have to buy a USBUIRT to get receive/send functionality.  Great work guys.  Thanks for your contributions.

     

    Samsonite

  •  02-24-2005, 11:55 AM 34377 in reply to 33616

    RE: Making MCE IR blaster universal

    Hi Samsonite !

    Don't worry, you won't have to buy a USBUIRT : this is the goal of this thread.

    Since Microsoft didn't provide any tools for enabling the MCE remote to communicatate with non-MCE certified appliances... with my solution you will use the MCE remote as if it was a non-MCE certified receiver/blaster !

    You will also be able to run non-MCE softwares using your remote thanks to HIP...
  •  02-24-2005, 12:28 PM 34383 in reply to 33616

    RE: Making MCE IR blaster universal

    Goody. Goody.   To clarify, the receiver will still be able to be used for MCE2005 concurrently with your new added functions...yes?  Thanks again.

     

    Samsonite

  •  02-24-2005, 1:51 PM 34400 in reply to 33616

    RE: Making MCE IR blaster universal

    Excuse me for being dumb - but how exactly do I install the driver ? I'm not running MCE on my development machine (all I've done is plugin in the MCE2005 IR box to the machine).

    I've tried 'right-click-install' on the inf file, but nothing comes up - and running the test-harness just gives me an error (error reading IR). It doesn't appear to have placed anything in the registry either.

    Any ideas ? I'd love to use the DLL to create a plugin for talking to ZoomPlayer (well, using the DVD Menu and other buttons for functionality).

    Thanks

    Chris

     

  •  02-24-2005, 2:16 PM 34408 in reply to 33616

    RE: Making MCE IR blaster universal

    @Samsonite: Yes Yes Yes !

    @btmi: I think I've found a way to improve IR learning quality ! You can get an update at the usual place and try it...

    I do get the occasional AV when reading, but I cannot work out the pattern.Sorry, I don't understand this one... Remember I'm a french guy so you have to write slowly !
    What does "the occasional AV" means ?

    Rather than return an error when the second timeout expires, it would be better to simply return control back to the program (True) with the data collected up until then.
    This is the way it is coded... the only time the recording function should return FALSE is when I'm receiving an unknown packet header from the receiver... I will try to reproduce it...
  •  02-24-2005, 2:19 PM 34410 in reply to 33616

    RE: Making MCE IR blaster universal

    Make sure the MCE remote is installed.

    In the Control Panel/System, select the Device Manager button on the Hardware Tab.

    In the Universal Serial Bus Controllers section, locate the entry for the remote, right click and select "Update Driver"

    Select "No, not at the time" for the Window Update prompt.

    Select "Install from a list or specific location"

    Select "Don't search. I will choose the driver to install"

    Select the "Have Disk" button and enter the location of the supplied drivers.

    Select the MCE Infrared Remote Reciever option and the rest should be self explanatory.



    Peter (BTMI)

    Click here for HIP, the free alternative to control your PC via remote control

  •  02-24-2005, 2:24 PM 34416 in reply to 33616

    RE: Making MCE IR blaster universal

    Sorry...your english is so good I forget to type slowly

    The "AV" is an unhandled exception - usually a reference to an invalid pointer.  If you run the "Learn" option enough times you will probably see it.

    I will continue checking with the new version today....



    Peter (BTMI)

    Click here for HIP, the free alternative to control your PC via remote control

  •  02-24-2005, 2:33 PM 34419 in reply to 33616

    RE: Making MCE IR blaster universal

    Thanks for the reply, but it doesn't really help :-(

    Like I said, I'm not running MCE, and the only way I've 'installed' the remote is to plug in the receiver - it simply works, I didn't have to install any drivers / software (of course, not all the buttons work which is why I wanted to try out the DLL).

    My 'Universal Serial Bus Controllers' section in the device manager lists :

    eHome Infrared Receiver
    Standard Enhanced PCI to USB Host Controller
    Standard OpenHCD USB Host Controller
    USB Composite Device
    USB Root Hub
    USB Root Hub

    - and that's it. I do have a RF keyboard and mouse installed, but the list above isn't very helpful.

    I tried the 'eHome Infrared Receiver' device to update the driver, but it wouldn't take it.

    Any ideas ?

    Thanks

    Chris

Page 2 of 30 (438 items)   < Previous 1 2 3 4 5 Next > ... Last »
View as RSS news feed in XML
About TGB | Advertise | Link To Us | Donate | Terms Of Use | Privacy Policy
© 2003-2007 The Green Button, Inc. - All Rights Reserved