Page 5 of 13 FirstFirst 12345678910111213 LastLast
Results 41 to 50 of 125
Discuss [Remote] Apple IR Emulator at the AppleTV - Hackint0sh.org; Originally Posted by dcpark now my remote control can trasmit 'sysctrl -w kern.sendIR=x' to IRKeyboardEmu.kext ...
  1. #41
    Advanced Array munky's Avatar

    Join Date
    Apr 2006
    Posts
    44
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by dcpark View Post
    now my remote control can trasmit 'sysctrl -w kern.sendIR=x' to IRKeyboardEmu.kext to emulate Apple Remote.
    can you post some detail about how to do this? i'd love to be able to have my third-party IR receiver + apple remote 'just work' like the real thing.

    cheers
    Intel D945GTP / Pentium D920 / X1800XL / 191 Geekbench
    MacBook Pro / Core Duo 1.83Ghz / X1600 128Mb / 160 Geekbench


  2. #42
    Rookie Array

    Join Date
    Mar 2007
    Posts
    10
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Lightbulb

    Quote Originally Posted by munky View Post
    can you post some detail about how to do this? i'd love to be able to have my third-party IR receiver + apple remote 'just work' like the real thing.

    cheers
    munky: please refer to the attached source file, it is a slight modification of bholland's KeyboardReader(originally by bikedude808). it can get the event from a remote control as well as an usb keyboard. in order to make your remote to work, you should know the button id's(in hex value) for any six buttons of your choice in your remote control, and add those value to the InterruptReportCallbackFunction at the bottom of main.c... and that's all.

    but usaully, the button id's of arrow keys on a keyboard and arrow buttons on a remote control are same, so you shoud map the other remote control buttons for navigation except arrow buttons(since they are already in use by the keyboard). in my sample codes, i mapped my remote control buttons like this:
    - [Stop] button of my remote => [Menu] button of Apple Remote.
    - [Play] button of my remote => [Play] button of Apple Remote.
    - [Skip Fwd(Next)] button of my remote => [Right] button of Apple Remote.
    - [F.Rewind] button of my remote => [Left] button of Apple Remote.
    - [F.Foward] button of my remote => [Minus/Down] button of Apple Remote.
    - [Pause] button of my remote => [Plus/Up] button of Apple Remote.

    i know it is somewhat weird mappings, but this layout is fit for my own remote control. and any kind of remote control has those buttons in common values, first of all, you can test your remote control's stop, pause, play, etc.. and see what happens. or you can use your own button id's for that.

    fyi: comments 'Jungfrau' in the source code refers my own remote control(built-in on my system). actually 'Jungfrau' is the code-name of our project TVPC (you can see the review for it at http://www.notegear.com/Content/Cont...Num=533&kind=2 , if you can read korean. )

    tip: you can use hclient(in WinDDK) to get your remote control buttons' id on windows. in fact, i'm a newcomer on the mac os.. don't know which tools are good for investigate hid devices.. maybe 'hid explorer' at ADC is good enough on mac os.. when i'm accustomed to develop on mac os environment, will go further.. :p

    best regards,
    david
    Attached Files

  3. #43
    Rookie Array

    Join Date
    Mar 2007
    Posts
    10
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Thumbs up

    Quote Originally Posted by loc[a]lhost View Post
    I've attached a command line tool that will let you do the "sysctl -w ..." thing without using sudo.
    Here is how to use it:
    1. Extract the zip file using the built-in tool in OS X.
    2. If you extracted the zip file with any other tool, go to Terminal and type:
    chmod 4711 /path/to/RemoteControl
    3. In Finder, right click the extracted RemoteControl file and select Get Info.
    Under Ownership & Permissions, set the owner to "system".
    4. The tool is ready to use.

    Usage:
    RemoteControl x
    where x is the number you would pass to sysctl.

    If you copy/move the tool, you have to do step 2 again.
    loc[a]lhost: great! how can you get the system call (sysctl -w..) to work as a standard user auth. (not using sudo)? thanks!

  4. #44
    Super Moderator Array

    Join Date
    Nov 2006
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I am trying to get it to work with Sailing Clicker !

  5. #45
    Advanced Array munky's Avatar

    Join Date
    Apr 2006
    Posts
    44
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    DCPark: You, sir, are a gentleman and a scholar. Thank you very much!!

    I will try this out if I can find a little time to spare

    Thx again
    Intel D945GTP / Pentium D920 / X1800XL / 191 Geekbench
    MacBook Pro / Core Duo 1.83Ghz / X1600 128Mb / 160 Geekbench


  6. #46
    Rookie Array

    Join Date
    Aug 2006
    Posts
    28
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    alright! i got aTV control with a Griffin AirclickUSB remote:

    bholland's irkeyboardemu.kext + loc[a]lhost's RemoteControl.app + custom applescripts for Griffin's airclick.app

    all together = remote for hackint0shTV for about $25

  7. #47
    Please confirm your eMail or contact staff! Array

    Join Date
    Oct 2006
    Posts
    23
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Yo,

    Congrats diabolik! Glad to hear its working well for you!

    For those still having problems with the kext adjusting the volume while controlling, or adjusting the volume but not controlling, try removing rcd.app from /System/Library/CoreServices/rcd.app. This will stop osx from accepting any remote commands. This might give the ability to control aTV to those who can't and it most definitely will stop the annoying volume up and down every time you press up or down in aTV. Let me know if this works for you.

    Peace,

    -bholland

  8. #48
    Engineer Array netkas's Avatar

    Join Date
    Oct 2006
    Posts
    235
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    ia there any kext, which doesn't block usb device ?

  9. #49
    Newbie Array

    Join Date
    Mar 2007
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Do you think guy is there a way for your scripts to work with remote buddy ?

    This is the last step i need to get back row working on my mac mini ... because then i will be able to switch btw eyetv also !

    Thanks for your help,

    archaos

  10. #50
    Rookie Array

    Join Date
    Sep 2006
    Posts
    27
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    netkas- bholland mentions in the readme and somewhere in this thread that he is working on making the kext not steal all control of the usb device it is ascociated with....so im sure its just a matter of time.


 

 

Similar Threads

  1. Slashdot: Apple Pulls C64 Emulator From the App Store
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 09-08-2009, 07:40 PM
  2. Slashdot: Apple IIe Emulator Released For the Wii
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 01-22-2009, 08:00 AM
  3. Slashdot: Apple IIe Emulator Released For the Wii
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 01-16-2009, 09:30 AM
  4. Slashdot: Apple IIe Emulator Released For the Wii
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 01-03-2009, 05:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:16 AM.
twitter, follow us!