Hi hackers@ Am I missing something obvious, or is a bit more needed in man kbdcontrol ? /etc/rc.conf keymap="uk.iso.kbd" sets laptop internal keycaps to English OK, But What kbdcontrol[s] set an external USB keyboard (only) to eg American (or German etc), while leaving internal in English ? (American or German will here later depend on devd.conf vendor id, or ~/.login . (de.iso.kbd useful for test as it toggles Y/Z )).
( I don't have a problem with devd.conf, I've got that working fine for X with xmodmap (as long as X session has already started) using /etc/rc.conf & devd.conf . devd_flags="-f /site/etc/devd/jhs.conf" http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/devd/jhs.conf ) kbdmap # Works OK but sets both internal & external keyboard maps. uname -r # 8.0-RELEASE su kbdcontrol -k /dev/ukbd0 -l de.iso cannot open /dev/ukbd0: Device busy setting keymap: Inappropriate ioctl for device kbdcontrol -k /dev/ukbd0 -l de.iso < /dev/console cannot open /dev/ukbd0: Device busy kbdcontrol -A /dev/ukbd0 -k /dev/kbdmux0 unable to obtain keyboard information: Inappropriate ioctl for device cannot open /dev/kbdmux0: Device busy kbdcontrol -A /dev/kbdmux0 -k /dev/ukbd0 unable to obtain keyboard information: Inappropriate ioctl for device cannot open /dev/ukbd0: Device busy kbdcontrol -K < /dev/console kbd1 kbdmux0, type:AT 101/102 (2) kbdcontrol -a ukbd1 -l uk.iso < /dev/console kbd1 kbdmux0, type:AT 101/102 (2) kbdcontrol: unable to (un)mux the keyboard: Invalid argument sysctl -a | grep kbd | sort dev.atkbd.0.%desc: AT Keyboard dev.atkbd.0.%driver: atkbd dev.atkbd.0.%parent: atkbdc0 dev.atkbdc.0.%desc: Keyboard controller (i8042) dev.atkbdc.0.%driver: atkbdc dev.atkbdc.0.%location: handle=\_SB_.PCI0.FNC0.KBC_ dev.atkbdc.0.%parent: acpi0 dev.atkbdc.0.%pnpinfo: _HID=PNP0303 _UID=0 dev.ukbd.0.%desc: vendor 0x1241 product 0x1203, class 0/0, rev 2.00/2.30, addr 2 dev.ukbd.0.%driver: ukbd dev.ukbd.0.%location: port=1 interface=0 dev.ukbd.0.%parent: uhub1 dev.ukbd.0.%pnpinfo: vendor=0x1241 product=0x1203 devclass=0x00 devsubclass=0x00 sernum="" release=0x0230 intclass=0x03 intsubclass=0x01 hw.kbd.keymap_restrict_change: 0 hw.syscons.kbd_debug: 1 hw.syscons.kbd_reboot: 1 hw.usb.ukbd.debug: 0 hw.usb.ukbd.no_leds: 0 Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text not quoted-printable, HTML or Base64 http://www.asciiribbon.org _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"