Skip to contentSkip to conversation

Problems with building Paul's Stable Release

DISCUSSION Chris Gehlker 2 participants 2 messages Apr 20, 2000 – Apr 21, 2000

lore
Share & tools
lore
#0 lore raw

This is a tiny bug report and a plea for help. I grabbed the latest stable release, 2.2.15pre19, from Paul's tree to build for a Sawtooth. Reading the archives of this list I see I'm supposed to disable PowerMac Keyboard and I'm enabling usb hubs, keyboards and mice but no joy. My usb devices are DOA.

The tiny bug is that the little pearl file mkmap in /drivers/usb has the wrong permissions. Please excuse me if I'm violating etiquette by reporting such a nit.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines · Chris Gehlker

This is a tiny bug report and a plea for help. I grabbed the latest stable release, 2.2.15pre19, from Paul's tree to build for a Sawtooth. Reading the archives of this list I see I'm supposed to disable PowerMac Keyboard and I'm enabling usb hubs, keyboards and mice but no joy. My usb devices are DOA.

Where did you read that you have to disable PowerMac Keyboard? This doesn't seem right to me. Or do you have a PC keyboard?

Quoted 3 lines

The tiny bug is that the little pearl file mkmap in /drivers/usb has the wrong permissions. Please excuse me if I'm violating etiquette by reporting such a nit.

This is a longstanding bug in a particular version of the usb drivers. Both scripts mkmap and mkmap.adb should be executable, but aren't. In Paul's tree it is half fixed, i.e. mkmap.adb is executable, but mkmap isn't.

Now for the Macs this should be sufficient, because they need the keymap made by mkmap.adb (even if you don't have an ADB keyboard!). But for this you have to have CONFIG_MAC_KEYBOARD=y. If you do this, then mkmap should never be used.

If you really have to chmod mkmap, then you also need to rm keymap.c (same goes for mkmap.adb and keymap-mac.c), because in the first attempt, it probably got created with length zero, and afterwards make thinks it doesn't have to redo it.

All these are very ugly hacks, and they have rightly disappeared from more recent usb drivers.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/