Page 4 of 13 FirstFirst 12345678910111213 LastLast
Results 31 to 40 of 125
Discuss [Remote] Apple IR Emulator at the AppleTV - Hackint0sh.org; i must be the only one with the keyboard workin nicely Apple Pro Keyboard - ...
  1. #31
    Rookie Array

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

    Default

    i must be the only one with the keyboard workin nicely

    Apple Pro Keyboard - Griffin Airclick USB as USB device for irkeboardemu.kext

    up and down work as up and down (volume stays same)
    Volume controlled by acutal sound buttons (on the keyboard)
    keystrokes fire once not twice. (as the should)


  2. #32
    Newbie Array

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

    Default

    Well...I got it work and it storke once not twice
    but it's also volume up and down...

  3. #33
    Advanced Array munky's Avatar

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

    Default

    @dcpark: thats what i was suggesting - a kext to allow third party IR dongles to behave as apple's one.

    i was considering trying a Natit-style injection approach to inject the values the apple IR module installs... but maybe a kext is the way to go, im not sure.
    Intel D945GTP / Pentium D920 / X1800XL / 191 Geekbench
    MacBook Pro / Core Duo 1.83Ghz / X1600 128Mb / 160 Geekbench

  4. #34
    Rookie Array

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

    Default

    Quote Originally Posted by dcpark View Post
    cooool!! works on my hackint0sh, except the KeyboardReader is too sensitive to control.. (one key stroke makes 2 or 4 kern.sendIR at a same time.)

    %p.s) my hackint0sh has a built-in remote control receiver, so i made my mind to use it instead of using keyboard(KeyboardReader) to control Front Row 2.0 (from AppleTV):

    my remote control sends IR code => a dedicate ir receiver driver gets it and foward it to iRed => iRed translate it into 'sysctl -w kern.sendIR=x' => finally bholland's IRKeyboardEmu emulates the code as if it's from an Apple Remote.

    basically, it takes two usb devices, one for 3rd party ir receiver and another for IRKeyboardEmu. Futhermore, the usb device for IRKeyboardEmu is no longer function(current limitation). i think it will be better to use a 3rd party ir receiver directly to control FR(aTV) by faking it as an apple's built-in ir receiver somehow(redesigning IRKeyboardEmu extension or so).. any ideas?
    the above key stroke problem is caused by my old usb keyboard, not by keyboardreader... just for clarification.:p thanks again to bike and brandon!

    @munky: i hope you make it, cheers!

  5. #35
    Newbie Array

    Join Date
    Apr 2007
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    working just fine for me on a CD macbook (isight as USB device). Only real complaint for me right now is having to have Keyboardreader open in a terminal window the whole time... has anyone figured out a better way of running it? is a keep-open applescript feasible?


  6. #36
    Rookie Array

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

    Default

    Quote Originally Posted by munky View Post
    @dcpark: thats what i was suggesting - a kext to allow third party IR dongles to behave as apple's one.

    i was considering trying a Natit-style injection approach to inject the values the apple IR module installs... but maybe a kext is the way to go, im not sure.
    after a little investigation, i've found the KeyboardReader can be extented to handle any HID devices, such as a remote control, joystick, and so on..

    * the current KeyboardReader just focus on the usage:Keyboard(id=0x06) of usagepage:Generic Desktop Page(id=0x01), and handle button ids for the six keys on the keyboard. so, the productID and vendorID in the InitHIDNotification are not good namings for those variables, actually it should be usagePage and usage. i modified ids for usagePage(was productID) and usage(was vendorID) to be match with consumer electronics page, and also a few lines in FindHIDElements and InterruptReportCallbackFunction... now my remote control can trasmit 'sysctrl -w kern.sendIR=x' to IRKeyboardEmu.kext to emulate Apple Remote.

    * imho, the routines for getting HID values & sending commands (currently the role of KeyboardReader) from 'any hid devices'(let Info.plist be editted later or so) can be merged into the same single kext, so that it can also receive HID values and transform into apples' code & report to the system (currently the role of IRKeyboardEmu.kext). then we could do away with terminal thing no more. any sugesstions?

  7. #37
    Newbie Array

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

    Default

    Keep it running is a great idea if the key isn't Space, Enter, and Up Down Left Right....
    I change it to Home(as Up), End(as down), Delete(as right), Page Down(as left), Page Up(as Enter), Insert(as Space), and trying to let it run as a kext

  8. #38
    Advanced Array munky's Avatar

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

    Default

    dcpark: sounds like some interesting progress... keep us posted

    i will let you know if i find the time to try the injection route, but time is very precious for me at the moment...
    Intel D945GTP / Pentium D920 / X1800XL / 191 Geekbench
    MacBook Pro / Core Duo 1.83Ghz / X1600 128Mb / 160 Geekbench

  9. #39
    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

    Hey all,

    Sorry I havn't been around lately. Took a small break after the last week of coding. I'm going to start working on making the kext load and work without taking over the device. I have a few ideas and I'm going to start working on it. To those having problems with volume increasing instead of aTV control, I will look into it.

    Cheers,

    -bholland

  10. #40
    Newbie Array

    Join Date
    May 2006
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    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.
    Attached Files


 

 

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 08:42 PM.
twitter, follow us!