IR Remote with Discrete ON/OFF

Last post 04-07-2010 7:32 AM by arandazz. 38 replies.
Page 3 of 3 (39 items) < Previous 1 2 3
Sort Posts: Previous Next
  • 03-12-2010 1:14 PM In reply to

    • bytor
    • Top 500 Contributor
    • Joined on 08-13-2008
    • Member

    Re: IR Remote with Discrete ON/OFF

     

    mikinho:

    Here it is: http://www.mediacenterguides.com/advancedremotes#Input.inf. Looks like a guide Ryan put together from various posts here at tgb and other sites. Note: I haven't verified any of the data, I go off the inf files directly but seems to be accurate so should help.

     

    Mike,

    Question:

    In my hidir.inf file there are three sections with different remote commands:

       HKR,"Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57db","ReportMappingTable",0x00000001,

    The "b" changes from section to section with da,db, and dbb listed.  I believe my remote is the "db" section.

    I notice in Ryan's guide he uses the da when writing the .inf file.  Does it matter which one I use or must it be "da"?

    Also, I'll create a restore point prior to installing this, but I don't know if the restore will catch this (seems insignificant).  If this doesn't work then I'm assuming I just need to reinstall the hidir.inf file - would that be correct?

    bytor

    HTPC: ANTEC NSK2400 Case | GA-MA69GM-S2H Motherboard | AMD Athlon X2 4400+ | A-Data 4GB DDR2 800 | WD3200KS 320GB Hard drive (OS) | WD10EADS 1TB (Media) | EVGA 8600GT 256MB GC | Trendnet TEG-S80G Switch | HDHomerun Tuner | Windows 7 Home Premium | NEC 16x DVD | Lite-On 20X DVD | Encore ENHWI-N Router | Linksys DMA2200 | Xbox 360 Elite | Blood | Sweat | Tears | More Tears
  • 03-15-2010 11:39 AM In reply to

    • bytor
    • Top 500 Contributor
    • Joined on 08-13-2008
    • Member

    Re: IR Remote with Discrete ON/OFF

    Okay,

    Here is my .INF file for review. 

    As a note it appears that "suspend" and "discrete power off" are calling for the same command to be run which means "discrete power off" most likely will not shut the computer down.

    I have set up the various color buttons and the teletext button to perform the following functions:  suspend, discrete power on, ctrl+alt+M, ctrl+alt+W, ctrl+alt+T (these will be assigned to shortcuts (one of which will run MediaBrowser)).

    Please review and let me know if I'm on the right track:

    [Version]

    Signature="$WINDOWS NT$"

    [DefaultInstall]

    DelReg=Del.Settings

    AddReg=Add.Settings

    [Del.Settings]

    HKLM,"SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57db","ReportMappingTable"

     

    [Add.Settings]

    HKLM,"SYSTEM\CurrentControlSet\Services\HidIr\Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57db","ReportMappingTable",0x00000001,\

     


    HKR,"Remotes\745a17a0-74d3-11d0-b6fe-00a0c90f57db","ReportMappingTable",0x00000001,\
         0x51,0x00,0x00,0x00, 0x04,0x00,0x1e,  \ ; 1
         0x52,0x00,0x00,0x00, 0x04,0x00,0x1f,  \ ; 2
         0x53,0x00,0x00,0x00, 0x04,0x00,0x20,  \ ; 3
         0x54,0x00,0x00,0x00, 0x04,0x00,0x21,  \ ; 4
         0x55,0x00,0x00,0x00, 0x04,0x00,0x22,  \ ; 5
         0x56,0x00,0x00,0x00, 0x04,0x00,0x23,  \ ; 6
         0x57,0x00,0x00,0x00, 0x04,0x00,0x24,  \ ; 7
         0x58,0x00,0x00,0x00, 0x04,0x00,0x25,  \ ; 8
         0x59,0x00,0x00,0x00, 0x04,0x00,0x26,  \ ; 9
         0x50,0x00,0x00,0x00, 0x04,0x00,0x27,  \ ; 0
         0x61,0x00,0x00,0x00, 0x04,0x00,0x28,  \ ; return
         0x60,0x00,0x00,0x00, 0x04,0x00,0x29,  \ ; escape
         0x62,0x00,0x00,0x00, 0x04,0x02,0x25,  \ ; *
         0x63,0x00,0x00,0x00, 0x04,0x02,0x20,  \ ; #
        \
         0x42,0x00,0x00,0x00, 0x04,0x00,0x51,  \ ; down arrow
         0x41,0x00,0x00,0x00, 0x04,0x00,0x52,  \ ; up arrow
         0x44,0x00,0x00,0x00, 0x04,0x00,0x4f,  \ ; right arrow
         0x43,0x00,0x00,0x00, 0x04,0x00,0x50,  \ ; left arrow
         0x40,0x00,0x00,0x00, 0x04,0x00,0x28,  \ ; return
        \
         0x00,0x00,0x00,0x00, 0x03,0x82,0x00,  \ ; Suspend
         0x37,0x00,0x00,0x00, 0x01,0x09,0x02,  \ ; AC Properties (Details)
         0x45,0x00,0x00,0x00, 0x01,0x24,0x02,  \ ; AC Back
        \
         0x13,0x00,0x00,0x00, 0x01,0xb0,0x00,  \ ; AC Media play
         0x16,0x00,0x00,0x00, 0x01,0xb1,0x00,  \ ; AC Media pause
         0x10,0x00,0x00,0x00, 0x01,0xb2,0x00,  \ ; AC Media record
         0x14,0x00,0x00,0x00, 0x01,0xb3,0x00,  \ ; AC FF
         0x12,0x00,0x00,0x00, 0x01,0xb4,0x00,  \ ; AC RW
         0x17,0x00,0x00,0x00, 0x01,0xb5,0x00,  \ ; AC Media next track
         0x15,0x00,0x00,0x00, 0x01,0xb6,0x00,  \ ; AC Media previous track
         0x11,0x00,0x00,0x00, 0x01,0xb7,0x00,  \ ; AC Media Stop
        \
         0x21,0x00,0x00,0x00, 0x01,0xe9,0x00,  \ ; AC volume up
         0x22,0x00,0x00,0x00, 0x01,0xea,0x00,  \ ; AC volume down
         0x23,0x00,0x00,0x00, 0x01,0xe2,0x00,  \ ; AC volume mute
        \
         0x35,0x00,0x00,0x00, 0x01,0x8d,0x00,  \ ; AC select program guide
         0x24,0x00,0x00,0x00, 0x01,0x9c,0x00,  \ ; AC channel up
         0x25,0x00,0x00,0x00, 0x01,0x9d,0x00,  \ ; AC channel down
        \
         0x30,0x00,0x00,0x00, 0x02,0x0D,0x00,  \ ; eHome launch
         0x31,0x00,0x00,0x00, 0x02,0x4A,0x00,  \ ; My videos
         0x34,0x00,0x00,0x00, 0x02,0x49,0x00,  \ ; My pictures
         0x36,0x00,0x00,0x00, 0x02,0x25,0x00,  \ ; eHome jump/Live TV
         0x33,0x00,0x00,0x00, 0x02,0x46,0x00,  \ ; My TV
         0x32,0x00,0x00,0x00, 0x02,0x47,0x00,  \ ; My Music
         0x38,0x00,0x00,0x00, 0x02,0x24,0x00,  \ ; DVD Menu
         0x39,0x00,0x00,0x00, 0x02,0x48,0x00,  \ ; Recorded TV
         0x81,0x00,0x00,0x00, 0x02,0x80,0x00,  \ ; OEM 1
         0x82,0x00,0x00,0x00, 0x02,0x81,0x00,  \ ; OEM 2
         0x83,0x00,0x00,0x00, 0x02,0x82,0x00,  \ ; OEM 3
         0x84,0x00,0x00,0x00, 0x02,0x80,0x00,  \ ; OEM 1 (new)
         0x86,0x00,0x00,0x00, 0x02,0x81,0x00,  \ ; OEM 2 (new)
        \
         0x5E,0x00,0x00,0x00, 0x03,0x82,0x00,  \ ; Blue (0x5E) - Blue Button = Suspend
         0x5D,0x00,0x00,0x00, 0x03,0x83,0x00,  \ ; Yellow (0x5D) - Yellow Button = Discrete Power On
         0x5C,0x00,0x00,0x00, 0x04,0x05,0x10,  \ ; Green (0x5C), Keyboard (0x04), Cntl+Alt+M (0x05,0x10)
         0x5B,0x00,0x00,0x00, 0x04,0x05,0x1A,  \ ; Red (0x5B), Keyboard (0x04), Cntl+Alt+W (0x05,0x1A)
         0x5A,0x00,0x00,0x00, 0x04,0x05,0x17,  \ ; Teletxt (0x5a), Keyborad (0x04), Cntl+Alt+ (0x05,0x17)
        \
         0x29,0x00,0x00,0x00, 0x03,0x83,0x00,  \ ; Discrete Power On
         0x2A,0x00,0x00,0x00, 0x03,0x82,0x00,  \ ; Discrete Power Off
        \
         0xFF,0x00,0x00,0x00, 0x00,0x00,0x00   \ ; End of pattern.  No report generated.

    HTPC: ANTEC NSK2400 Case | GA-MA69GM-S2H Motherboard | AMD Athlon X2 4400+ | A-Data 4GB DDR2 800 | WD3200KS 320GB Hard drive (OS) | WD10EADS 1TB (Media) | EVGA 8600GT 256MB GC | Trendnet TEG-S80G Switch | HDHomerun Tuner | Windows 7 Home Premium | NEC 16x DVD | Lite-On 20X DVD | Encore ENHWI-N Router | Linksys DMA2200 | Xbox 360 Elite | Blood | Sweat | Tears | More Tears
  • 03-15-2010 11:45 AM In reply to

    • mikinho
    • Top 10 Contributor
    • Joined on 12-26-2006
    • Houston, TX
    • Elite Member
    • Media Center MVP

    Re: IR Remote with Discrete ON/OFF

    Just at a quick glance (I can look at more carefully later if you'd like) you'll need to remove the last \ as the \ is an explicit line continuator.

    bytor:
    0xFF,0x00,0x00,0x00, 0x00,0x00,0x00   \ ; End of pattern.  No report generated.
    Mikinho | Missing Remote | Microsoft MVP
  • 03-15-2010 12:21 PM In reply to

    • bytor
    • Top 500 Contributor
    • Joined on 08-13-2008
    • Member

    Re: IR Remote with Discrete ON/OFF

    mikinho:
    I can look at more carefully later if you'd like

     

    Yes,  please. 

    I will make that modification. 

    Also, I still have a couple concerns that I questioned in the first post on page three.  It was difficult to locate the proper keyboard strings.  I had to cross reference the arrow pad hex codes to find the right one which ended up being the USB keyboard layout.

    Your help is always appreciated,

    bytor

     

     

    HTPC: ANTEC NSK2400 Case | GA-MA69GM-S2H Motherboard | AMD Athlon X2 4400+ | A-Data 4GB DDR2 800 | WD3200KS 320GB Hard drive (OS) | WD10EADS 1TB (Media) | EVGA 8600GT 256MB GC | Trendnet TEG-S80G Switch | HDHomerun Tuner | Windows 7 Home Premium | NEC 16x DVD | Lite-On 20X DVD | Encore ENHWI-N Router | Linksys DMA2200 | Xbox 360 Elite | Blood | Sweat | Tears | More Tears
  • 04-05-2010 3:33 PM In reply to

    Re: IR Remote with Discrete ON/OFF

     Have you got this working?

     

    I am using a MX-880 and I was able to create some Hex codes for the Discrete On/Off; however I could only get discrete Off to work properly. 

    BTW discrete off causes the computer to suspend (at least on my windows 7 computer) and not turn off

    I went into the registry and debounce was enabled and I set the remote control ID to 0. Then I tried using Xbox 360 discrete codes, and the discrete On worked; but then the discrete off no longer worked!!

    Here are the hex codes, maybe someone else can figure out why I am getting such weird results.

     MCE Remote Codes:

    Device Code: 128.3972 Function: 41
    0000 0073 0000 0020 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0010 0010 0020 09E0
    Device Code: 128.3972 Function: 42
    0000 0073 0000 0020 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0020 0020 0010 09D0
     


    XBOX 360

    POWER OFF (T=0)
    Device Code: 116.15 Function: 41 (T=0)
    0000 0073 0000 001F 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0020 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0010 0010 0020 09BC

    POWER ON (T=0)
    Device Code: 116.15 Function: 42 (T=0)
    0000 0073 0000 001F 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0020 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0020 0020 0010 09AC

     

    Meanwhile, the power toggle command continues to work flawlessly.

     

     

    UPDATE: I got it working using the first set of codes; the discrete power off is a little finicky though.

  • 04-06-2010 12:46 PM In reply to

    • bytor
    • Top 500 Contributor
    • Joined on 08-13-2008
    • Member

    Re: IR Remote with Discrete ON/OFF

    I had everything set to go, but then I made a switch in MCEStandby by checking "assume unattended resume is recording or guide update" and my issue disappeared.  Everything works like I expect without doing any programming.  However, I still plan on getting around to setting up a Harmony button for MediaBrowser, but it isn't a priority for the moment.  If I am always working on the system it annoys my wife so I am taking a break.  Except she tells me "music" is acting up...always something...

    bytor

    HTPC: ANTEC NSK2400 Case | GA-MA69GM-S2H Motherboard | AMD Athlon X2 4400+ | A-Data 4GB DDR2 800 | WD3200KS 320GB Hard drive (OS) | WD10EADS 1TB (Media) | EVGA 8600GT 256MB GC | Trendnet TEG-S80G Switch | HDHomerun Tuner | Windows 7 Home Premium | NEC 16x DVD | Lite-On 20X DVD | Encore ENHWI-N Router | Linksys DMA2200 | Xbox 360 Elite | Blood | Sweat | Tears | More Tears
  • 04-06-2010 4:51 PM In reply to

    Re: IR Remote with Discrete ON/OFF

     

    Hmm, I never used that tool; looks complicated?

     Anyways, i figured out what the problem with my setup was.  Those codes listed above work perfectly

     

    turns out the EnableDebounce code is supposed to be DISABLED for universal remote controls (it disables the MCE toggle bit)

     

    After that everything works great!

  • 04-06-2010 7:20 PM In reply to

    Re: IR Remote with Discrete ON/OFF

    ng12345:

    Device Code: 128.3972 Function: 41
    0000 0073 0000 0020 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0010 0010 0020 09E0
    Device Code: 128.3972 Function: 42
    0000 0073 0000 0020 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0020 0020 0010 09D0
     

    I have tested these on a MX980 and a MX850 and they work for wake (power on) and sleep (power off). May I ask how you translated them into this format from the ones given earlier? Assuming that is what you did.

    Nevermind, I remembered how to use makehex.

  • 04-07-2010 7:32 AM In reply to

    • arandazz
    • Top 500 Contributor
    • Joined on 08-27-2007
    • Lansdale, PA, USA
    • Member

    Re: IR Remote with Discrete ON/OFF

    The primary hex codes are as follows (41 & 42 are the same as ng12345 posted):

    primary hex:

    Device Code: 128.3972 Function: 12 (0x0C,0x00,0x00,0x00, 0x03,0x82,0x00, \ ; Suspend)
    0000 0073 0000 0022 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0020 0010 0010 0010 09D0
    Device Code: 128.3972 Function: 41 (0x29,0x00,0x00,0x00, 0x03,0x83,0x00, \ ; Discrete Power On)
    0000 0073 0000 0020 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0010 0010 0020 09E0
    Device Code: 128.3972 Function: 42 (0x2A,0x00,0x00,0x00, 0x03,0x82,0x00, \ ; Discrete Power Off)
    0000 0073 0000 0020 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0020 0020 0010 09D0

    The secondary hex codes are as follows (toggle bit that switches subdevice 3972 to 3844):

    secondary hex:

    Device Code: 128.3844 Function: 12 (0x0C,0x00,0x00,0x00, 0x03,0x82,0x00, \ ; Suspend)
    0000 0073 0000 0022 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0020 0010 0010 0010 09D0
    Device Code: 128.3844 Function: 41 (0x29,0x00,0x00,0x00, 0x03,0x83,0x00, \ ; Discrete Power On)
    0000 0073 0000 0020 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0010 0010 0020 09E0
    Device Code: 128.3844 Function: 42 (0x2A,0x00,0x00,0x00, 0x03,0x82,0x00, \ ; Discrete Power Off)
    0000 0073 0000 0020 0060 0020 0010 0010 0010 0010 0010 0020 0010 0020 0030 0020 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0020 0010 0010 0010 0010 0010 0010 0010 0010 0020 0020 0010 0010 0010 0010 0010 0010 0020 0020 0020 0020 0020 0020 0010 09D0

    To generate the full primary and secondary list of hex codes using "makehex" the .irp files you need are:

    primary makehex .irp:

    Device=128.3972
    Function=0..255
    Define M=6
    Define L=32
    Define T=0

    Protocol=RC6
    Frequency=36000
    Time Base=444
    Message Time=107m
    Zero=-1,1
    One=1,-1
    Prefix=6,-2,1,-1
    First Bit=MSB
    Default S=0
    Form=;*,M:3,(4*T-2),(2-4*T),D:8,S:(L-16),F:8

    secondary makehex .irp:

    Device=128.3844
    Function=0..255
    Define M=6
    Define L=32
    Define T=0

    Protocol=RC6
    Frequency=36000
    Time Base=444
    Message Time=107m
    Zero=-1,1
    One=1,-1
    Prefix=6,-2,1,-1
    First Bit=MSB
    Default S=0
    Form=;*,M:3,(4*T-2),(2-4*T),D:8,S:(L-16),F:8

Page 3 of 3 (39 items) < Previous 1 2 3


Terms of Service | Privacy Statement | Code of Conduct | About