Logitech Keyboard seen as Apple Keyboard -> wrong layout & weirdness

I've been using a wireless Logitech Cordless Desktop Pro keyboard (ergonomic split) for several years now. I never used Logitech Control Center for all its awfulness, opting instead for SteerMouse for mouse configuration and extracting LCCKCHR.rsrc from the LCC .zip file into ~/Library/Keyboard Layouts for the correct keyboard layout to show up in International preferences. All good so far. (I'm using the Logitech Finnish layout).

In the past two weeks I've played around with other keyboards, namely a Das Keyboard III (US layout) and a new wired Apple Keyboard (Finnish layout). Today I noticed that for some reason, the Logitech Finnish layout was printing the wrong keys for a lot of Option-(somekey) combinations. I thought that something had gone awry due to keyboard experimentation, so I deleted the .rsrc file from my Library folder, chose the standard Finnish layout and finally ran Cocktail, clearing the default set of user and system caches, followed by a restart.

After booting, I re-copied the .rsrc file into Keyboard Layouts and chose Logitech Finnish from International preferences. This is where the true weirdness begins.

Using Logitech Finnish, no keyboard input apart from the modifier keys is received. Using Finnish (Roman) I can write normally, but the layout is obviously wrong. When I go to Preferences -> Keyboard and Mouse, the "Change Keyboard Type" button has vanished. It used to be there. For some reason, my Logitech keyboard is seen as an Apple Keyboard (the one I previously used isn't connected).

It gets even stranger. When I open Keyboard Viewer for either Finnish or Logitech Finnish, it is initially displayed as a large keyboard, numpad and all, but the keys are wrong: the key for < and > should be between left shift and z, but it's left of the 1 key instead. When I press any key, the Keyboard Viewer view suddenly changes into a numpadless laptop keyboard with the small reverse T arrow keys and an Fn key in the bottom left.

If I connect either Das Keyboard III and choose the US layout, or the Apple Keyboard and the Finnish (Roman) layout, everything still works fine. The Logitech configuration is simply broken.

What should I do? Is there maybe a way of forcing the system to re-detect my Logitech keyboard and forget thinking that it's an Apple keyboard, so that the "Change Keyboard Type" button would reappear? It's still seen as "USB Receiver" in System Profiler, the output is:

USB Receiver:

Version: 17.21
Bus Power (mA): 500
Speed: Up to 1.5 Mb/sec
Manufacturer: Logitech
Product ID: 0xc505
Vendor ID: 0x046d

When I connect Das Keyboard, the Change Keyboard Type button does reappear, but there's no way to trick the wizard into accepting Logitech button presses instead; when I tried, it complained about me having pressed keys from an Apple keyboard.

Are there some preference files, caches etc. I should delete? I have a SuperDuper! backup of the entire system on a separate drive. It's a few months old (I know, I know...), but I could maybe copy any relevant configuration files over from there.

Any ideas?

Mac Mini C2D, Mac OS X (10.5.4)

Posted on Aug 2, 2008 1:27 AM

Reply
2 replies

Aug 2, 2008 2:20 AM in response to lifeless

OK, to answer my own question...

After posting the message, I found and erased /Library/Preferences/com.apple.keyboardtype.plist and ~/Library/Preferences/com.apple.KeyboardViewerServer.plist as well as the HIToolbox plists from the ByHost subdirectory. Might have been overkill, but you never know...

After that a safe boot, during which the keyboard detection wizard reappeared. All is well now, the Logitech Finnish layout works just fine and Keyboard Viewer no longer craps out.

Whatever caused this, I don't know, but if someone runs into this problem later on, I hope they'll find this message.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Logitech Keyboard seen as Apple Keyboard -> wrong layout & weirdness

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.