Mac OS X Internals: The Book Forum Index Mac OS X Internals: The Book
Forums
 
SearchSearch   MemberlistMemberlist  RegisterRegister 
 ProfileProfile   Log inLog in 
Mission Statement | Rules | Terms of Forum Use       osxbook.com | Blog


Trivially Running Front Row on a Non-supported Macintosh
Goto page 1, 2  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Mac OS X Internals: The Book Forum Index -> Mac OS X
View previous topic :: View next topic  
Author Message
amit
Amit Singh
Amit Singh


Joined: 06 Feb 2006
Posts: 76

PostPosted: Sun Feb 19, 2006 11:23 am    Post subject: Trivially Running Front Row on a Non-supported Macintosh Reply with quote

Trivially Running Front Row on a Macintosh without an Infrared Controller describes how you can trivially -- without any programming -- cause a mouse (or another HID device) to pretend to be a remote control, and consequently, support Front Row.
Back to top
View user's profile Send private message
andyinindy



Joined: 24 Feb 2006
Posts: 3

PostPosted: Fri Feb 24, 2006 6:29 am    Post subject: No go... Reply with quote

This hack doesn't work for me on my MDD G4 tower. When attempted to unload/reload the "AppleHIDMouse.kext", I got an error message:

Code:
kextunload: unload kext AppleHIDMouse.kext failed


Apparently the kext was not loaded for some reason (perhaps because I am using a KVM?)...

I loaded/unloaded/reloaded the kext, and command+ escape does nothing. No changes in the Sound/Keyboard/Security pref panes either.

What am I doing wrong?

thx,

--andyinindy
Back to top
View user's profile Send private message
eric



Joined: 24 Feb 2006
Posts: 3

PostPosted: Fri Feb 24, 2006 5:50 pm    Post subject: Reply with quote

Doesn't work for me either on my G5 iMac. Same behavior.
Back to top
View user's profile Send private message
amit
Amit Singh
Amit Singh


Joined: 06 Feb 2006
Posts: 76

PostPosted: Fri Feb 24, 2006 6:04 pm    Post subject: Reply with quote

Well, let us see what's specific HIDs (and therefore, which kexts) are being used on your systems. An output of the following command in the Terminal will be helpful:

Code:

ioreg -l -w 0


Amit
Back to top
View user's profile Send private message
amit
Amit Singh
Amit Singh


Joined: 06 Feb 2006
Posts: 76

PostPosted: Fri Feb 24, 2006 6:06 pm    Post subject: Re: No go... Reply with quote

andyinindy wrote:
This hack doesn't work for me on my MDD G4 tower. When attempted to unload/reload the "AppleHIDMouse.kext", I got an error message:

Code:
kextunload: unload kext AppleHIDMouse.kext failed


Apparently the kext was not loaded for some reason (perhaps because I am using a KVM?)...

I loaded/unloaded/reloaded the kext, and command+ escape does nothing. No changes in the Sound/Keyboard/Security pref panes either.

What am I doing wrong?

thx,

--andyinindy

If the extension is not loaded, then it is not being used -- there must be some other extension used for your HIDs. Modifying this one will not do anything. You will have to find an appropriate extension for your machine in that case.

Amit
Back to top
View user's profile Send private message
andyinindy



Joined: 24 Feb 2006
Posts: 3

PostPosted: Mon Feb 27, 2006 8:39 am    Post subject: Reply with quote

Amit:

That makes perfect sense; editing an unused kext would be completely ineffective Rolling Eyes

I did an "iogreg -l -w 0" and got... a LOT of output! Do you want me to paste it here? Or, how should I locate the loaded/active/appropriate mouse kext?

Thanks!

-andyinindy
Back to top
View user's profile Send private message
freels



Joined: 28 Feb 2006
Posts: 1

PostPosted: Tue Feb 28, 2006 8:24 am    Post subject: Installing the Front Row Package Reply with quote

This may be slightly off topic but... installing the front row update package on an unsupported mac isn't straightforward. is there a way to bypass the system checks in installer? or do i need to resort to extracting the package and manually shuffling the files where they need to go?
Back to top
View user's profile Send private message
eric



Joined: 24 Feb 2006
Posts: 3

PostPosted: Fri Mar 03, 2006 12:25 pm    Post subject: NEED HELP: BEZEL SERVICES SCREWED! Reply with quote

Amit,

during the install something got really wrong! The SystemUIServer was constantly crashing and all system menus (spotlight, time, airport, etc) disappeared. After a reinstall of the 10.4.5 combo update, the menus appeared again, but are all in English while my main installation language is French. I've tried to switch languages to Englsih and then back to French but didn't succeeded. Any help on restoring this would be highly appreciated.
Back to top
View user's profile Send private message
amit
Amit Singh
Amit Singh


Joined: 06 Feb 2006
Posts: 76

PostPosted: Sat Mar 04, 2006 1:03 am    Post subject: Re: NEED HELP: BEZEL SERVICES SCREWED! Reply with quote

eric wrote:

during the install something got really wrong!

Install? What are we installing?
Back to top
View user's profile Send private message
andyinindy



Joined: 24 Feb 2006
Posts: 3

PostPosted: Sun Mar 05, 2006 6:10 pm    Post subject: Another option Reply with quote

Here's another (trivial) option for getting front row running on any Mac:

http://www.andrewescobar.com/frontrow/

Laughing
Back to top
View user's profile Send private message
amit
Amit Singh
Amit Singh


Joined: 06 Feb 2006
Posts: 76

PostPosted: Sun Mar 05, 2006 6:26 pm    Post subject: Re: Another option Reply with quote

andyinindy wrote:
Here's another (trivial) option for getting front row running on any Mac:

http://www.andrewescobar.com/frontrow/

Laughing


If I read it correctly, you're patching one or more executables/libraries (even if it is by a few bytes). If you can get both options (setting the "HIDRemoteControl" key vs patching binaries) to work, setting the key is far more preferred. Of course, if only one of them works for you, then "trivial" or "clean" is irrelevant Smile

Amit
Back to top
View user's profile Send private message
fmen



Joined: 08 Mar 2006
Posts: 2

PostPosted: Wed Mar 08, 2006 10:22 am    Post subject: Reply with quote

It doesn't work for me either...

I've added the HIDRemoteControl lines to the Info.plist of PowerMate.kext, as I have a Griffin PowerMate connected to my Mac, I'm pretty sure that kernel extension is loaded! I have regenerated the kernel extension cache, rebooted, but nothing happens... And no signs of Front Row in the system preferences.

I'm runnig Mac OS X 10.4.5, and have a valid copy of Front Row (version 1.2.1) in /System/Library/CoreServices/ (copied over from a MacBook Pro, but it's a universal application)

From the modified Info.plist of PowerMate.kext:
Code:

...
   <key>IOKitPersonalities</key>
   <dict>
      <key>PowerMate</key>
      <dict>
         <key>CFBundleIdentifier</key>
         <string>com.griffintechnology.iokit.PowerMate</string>
         <key>HIDRemoteControl</key>
         <true/>
         <key>IOClass</key>
         <string>griffin_PowerMateUSB</string>
         <key>IOProviderClass</key>
         <string>IOUSBInterface</string>
         <key>IOUserClientClass</key>
         <string>griffin_PowerMateUserClient</string>
         <key>bConfigurationValue</key>
         <integer>1</integer>
         <key>bInterfaceNumber</key>
         <integer>0</integer>
         <key>idProduct</key>
         <integer>1040</integer>
         <key>idVendor</key>
         <integer>1917</integer>
      </dict>
   </dict>
...
Back to top
View user's profile Send private message
amit
Amit Singh
Amit Singh


Joined: 06 Feb 2006
Posts: 76

PostPosted: Wed Mar 08, 2006 1:19 pm    Post subject: Reply with quote

Well, it really depends on whether there's an IOHIDDevice user client for something that has "HIDRemoteControl" set to true.

I have only verified this with three devices so far (because those are the three I have):

  • The Apple optical USB mouse
  • The Apple Mighty mouse
  • The Apple Bluetooth mouse

For any of these to "work", it is necessary that you set HIDRemoteControl to be true in the appropriate property list file, which are as follows for the three devices listed above:

  • /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBOpticalMouse.kext/Contents/Info.plist
  • /System/Library/Extensions/AppleHIDMouse.kext/Contents/Info.plist
  • /System/Library/Extensions/IOBluetoothHIDDriver.kext/Contents/Info.plist

Note that each Info.plist file mentioned above has more than one personality. Either you must add it to the specific personality your device is matched against, or simply add it to all personalities. The key called "IOKitPersonalities" contains a dictionary of personalities in each plist.

Amit
Back to top
View user's profile Send private message
fmen



Joined: 08 Mar 2006
Posts: 2

PostPosted: Thu Mar 09, 2006 3:09 am    Post subject: Reply with quote

I have an Apple Optical USB Mouse. According to ioreg, its product ID is 770
Code:
"idProduct" = 770


The 2 IOKitPersonalities in IOUSBFamily.kext/Contents/PlugIns/AppleUSBOpticalMouse.kext/Contents/Info.plist are for products with an ID of 774 or 775:
Code:

         <key>idProduct</key>
         <integer>775</integer>


Is it because of this idProduct mismatch that this hack doesn't work on my system?

I have searched in /System/Library/Extensions/ for an Info.plist that have an idProduct with the value 770, and have found none!
Back to top
View user's profile Send private message
T3hUb3r1337



Joined: 13 Mar 2006
Posts: 1

PostPosted: Mon Mar 13, 2006 8:11 pm    Post subject: Reply with quote

I've successfully patched the iScroll2.kext. It unloads and reloads flawlessly. Link to iScroll 2

Slight hitch though; Front Row doesn't come up when I press Command+Esc. I was forced to resort to using the Front Row Enabler to make it work.

Good news that this already-hacked .kext is able to be hacked yet again, but the bad news is that it doesn't work. If anyone has suggestions, I'll uninstall the changes that the Extender performs on my system to try to get it working without.[/url]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Mac OS X Internals: The Book Forum Index -> Mac OS X All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB (FAQ)
All contents of this site, unless otherwise noted, are ©1994-2008 Amit Singh. All Rights Reserved. Terms of Use