Fixed version of Logitech Control Center 2.12
I have just installed LCC 2.12 and it doesn't work. Version 2.11 worked fairly well but was a bit buggy when switching scroll wheel settings when focus moved between apps.
I have tracked down the problem to the fact that some files are missing in the install, read on for more info and a fix.
Updated 2007-01-07: 'a' pointed out that you need to make sure the ownership of the kext is correct, so I've added another step.
Updated 2007-01-11: I've just noticed that Logitech have pulled version 2.12 from their site. You can only download version 2.11 at the moment.
Updated 2007-01-12: Version 2.12 is back on Logitech's site. Unfortunately, it is still broken.
Updated 2007-01-23: Logitech have fixed the bug. I've removed the download as it's not needed any more.
The problem is that the Info.plist and PkgInfo files are missing from the Logitech kernel extension LogitechUSBHIDevices.kext. Without those files, Mac OS X doesn't recognise it as a kernel extension and refuses to load it.
I've reinstalled LCC 2.11, extracted the files from that kext, and edited Info.plist so it refers to version 2.12 instead of 2.11. The fixed version works.
To fix your version, do the following:
- Understand that you do this at entirely your own risk! It seems to be working fine for me, but I cannot take responsibility for anything which might happen if you follow these instructions. I'm only supplying these details as a public service.
- Install LCC 2.12 if you haven't already done so
- Navigate to /System/Library/Extensions in Finder and delete LogitechUSBHIDevices.kext
- Download and extract my
fixed version of the kext (151kb) - Copy the extracted LogitechUSBHIDevices.kext to /System/Library/Extensions
- added 2007-01-07 (thanks to 'a', see comments): make sure that the ownership of the files in the kext is correct. Open a
Terminal prompt and execute
sudo chown -R root:wheel /System/Library/Extensions/LogitechUSBHIDevices.kext - Restart
The only difference between the original Logitech 2.12 version of the kext and my version is that my version includes the PkgInfo and Info.plist files.
Technically, you could probably avoid the need to restart by doing this:
- Start Terminal
sudo kextunload /System/Library/Extensions/LogitechUSBHIDevices.kext- remove that old version and replace it with the one you downloaded as above
sudo kextload /System/Library/Extensions/LogitechUSBHIDevices.kext
I'll leave the file available until Logitech release a fixed version.
If you'd rather just revert to version 2.11 until they fix it, you can download that version from Logitech here.
Posted in Apple | 12 comments |
Fix Ruby on Mac OS X 10.4
Mac OS X 10.4 comes with ruby 1.8.2, it seems to have a problem with OpenSSL which causes switchtower to hang when trying to connect to your server.
You can download the source code to Ruby 1.8.3, compile it and install it, but you’ll start getting weird errors in gem when you try to install some libraries.
The solution turned out to be to compile Ruby slightly differently. You need to pass some flags to configure:
./configure --enable-shared --enable-pthread
After configuring it, makeing it, and running sudo make install, I had what seemed to be a working Ruby installation. It installs to /usr/local/bin which is already in my path. Executing hash -r causes bash to re-scan the path, after which executing ruby -v correctly reports
ruby 1.8.3 (2005-09-21) [powerpc-darwin8.3.0]
After that I installed RubyGems-0.8.11 and the rails and switchtower gems, including all dependencies. The installation worked fine, and so did switchtower when I tested it.
I didn’t even need to remove Apple’s Ruby install.
If you do want to remove Apple’s installation of Ruby, you’ll want to back up and delete the following files and directories:
/usr/bin/erb
/usr/bin/irb
/usr/bin/rdoc
/usr/bin/ri
/usr/bin/ruby
/usr/bin/testrb
/usr/bin/gem
/usr/bin/gem_server
/usr/bin/gemwhich
/usr/bin/rake
/usr/lib/ruby/
/usr/lib/libruby.1.dylib
/usr/lib/libruby.dylib
/usr/share/ri/
Posted in Ruby, Rails | no comments |

