[Bug 213294] New: Detect Intel Macs with Mac Keyboard
https://bugzilla.novell.com/show_bug.cgi?id=213294 Summary: Detect Intel Macs with Mac Keyboard Product: openSUSE 10.2 Version: Alpha 5 plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: yast2-maintainers@suse.de ReportedBy: agruen@novell.com QAContact: jsrain@novell.com CC: olh@novell.com Alpha 5 doesn't detect when a Macintosh keyboard is used on an Intel Mac, and it doesn't seem to offer the user to manually select a Macintosh keyboard layout, either. Olaf is telling me that this works on PowerPC Macs. Can the heuristics in Yast please be updated so that this setup will also work? Which machine information do you need for that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com Status|NEW |NEEDINFO Info Provider| |agruen@novell.com ------- Comment #1 from locilka@novell.com 2006-10-18 08:36 MST ------- Andreas, I guess, YaST logs and hwinfo output would be nice :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #2 from agruen@novell.com 2006-10-18 09:03 MST ------- Created an attachment (id=101911) --> (https://bugzilla.novell.com/attachment.cgi?id=101911&action=view) Intel MacMini -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #3 from agruen@novell.com 2006-10-18 09:03 MST ------- Created an attachment (id=101912) --> (https://bugzilla.novell.com/attachment.cgi?id=101912&action=view) Intel MacBook -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 agruen@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|agruen@novell.com | ------- Comment #4 from agruen@novell.com 2006-10-18 09:04 MST ------- As per request... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |jsuchome@novell.com Status|ASSIGNED |NEW ------- Comment #5 from locilka@novell.com 2006-10-18 09:16 MST ------- Thanks. YaST Keyborad -> jsuchome to evaluate -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |snwint@novell.com ------- Comment #6 from jsuchome@novell.com 2006-10-19 02:59 MST ------- YaST doesn't do harware detection itself. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC|jsuchome@novell.com |snwint@novell.com AssignedTo|snwint@novell.com |jsuchome@novell.com ------- Comment #7 from snwint@novell.com 2006-10-19 03:23 MST ------- Both comment 2 and comment 3 have identical keyboard entries. And AFAIK keyboards don't tell their layout to anyone. IIRC the magic is in the yast keyboard code. Like if (mac) { use_tinky_winky_keyboard_layout() } or so. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #8 from snwint@novell.com 2006-10-19 03:26 MST ------- That said, the keyboard identifies itself of course as Apple keyboard. So maybe it is an option to base the layout decision on that. (Assuming that Apple doesn't sell any normal keyboards.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |ms@novell.com ------- Comment #9 from jsuchome@novell.com 2006-10-19 03:33 MST ------- Hm, Marcus, do you know what needs to be adapted? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|ms@novell.com | ------- Comment #10 from ms@novell.com 2006-10-19 03:55 MST ------- I don't know how yast handles that I can only speak for the X11 part. Within this part I'm able to setup profiles for vendor/device ID's In this case the keyboard detection from hwinfo provides: Keyboard0 => Name : Apple Keyboard Keyboard0 => VendorID : 0x05ac Keyboard0 => DeviceID : 0x1000 so I can base a profile on this values, don't know how yast is handling this -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |agruen@novell.com ------- Comment #11 from jsuchome@novell.com 2006-10-25 06:19 MST ------- Hmm, actually it looks like there should be some handling for mac keyboards... Andreas, please attach y2logs so I can see what was happening. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|agruen@novell.com | ------- Comment #12 from jsuchome@novell.com 2006-10-25 06:38 MST ------- Oh, sorry, I forgot that initial attachements include the logfiles. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |snwint@novell.com ------- Comment #13 from jsuchome@novell.com 2006-10-25 06:52 MST ------- The probe information incudes $[ .. "device_id":200704, "keyboard":[$["xkbmodel":"pc104", "xkbrules":"xfree86"]], "model":"Apple Keyboard", "vendor":"Apple Computer", "vendor_id":198060] ] I don't know if I should base the action on these data as Marcus proposes and and how. For PPC Macs, it is expected that "xkbmodel" is "macintosh" and so mac layout (usually mac-us.map.gz) is used. But here? Steffen, shoudn't the "xkbmodel" be different (when it apparently can be different on PPC)? Anyway, which keyboard layout should be used then? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|snwint@novell.com | ------- Comment #14 from snwint@novell.com 2006-10-25 08:30 MST ------- I can make it report xkbmodel as 'macintosh', no problem. I was just under the impression that yast is not using those values. I was mislead assuming that one of comment 2 or 3 was from a ppc machine, which I just noticed is not the case. :-/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |snwint@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #15 from snwint@novell.com 2006-10-25 08:36 MST ------- giving all apple usb keyboards a mac layout -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #16 from jsuchome@novell.com 2006-10-25 08:40 MST ------- Not yet... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|snwint@novell.com |jsuchome@novell.com Status|REOPENED |ASSIGNED ------- Comment #17 from jsuchome@novell.com 2006-10-25 08:41 MST ------- . yast database must be adapted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #18 from jsuchome@novell.com 2006-10-25 09:15 MST ------- Created an attachment (id=102599) --> (https://bugzilla.novell.com/attachment.cgi?id=102599&action=view) patch for /usr/share/YaST2/data/keyboard_raw.ycp Patch for yast2-country keyboard layout database. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |agruen@novell.com ------- Comment #19 from jsuchome@novell.com 2006-10-25 09:17 MST ------- Andreas, could you install new hwinfo from Steffen, patch /usr/share/YaST2/data/keyboard_raw.ycp and test if YaST sets correct keyboard layot? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #20 from jsuchome@novell.com 2006-10-27 01:38 MST ------- Looking to /work/SRC/all/hwinfo, it already contains new version. Andreas, could you please test YaST? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #21 from agruen@novell.com 2006-10-30 07:55 MST ------- The latest hwinfo gives the current info for the macbook intel's internal keyboard now: 19: USB 00.0: 10800 Keyboard [Created at usb.122] UDI: /org/freedesktop/Hal/devices/usb_device_5ac_218_noserial_if0_logicaldev_input Unique ID: cLrx.QFViGz_5NA8 Parent ID: k4bc.q336hQyNk53 SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb1/1-2/1-2:1.0 SysFS BusID: 1-2:1.0 Hardware Class: keyboard Model: "Apple Internal Keyboard / Trackpad" Hotplug: USB Vendor: usb 0x05ac "Apple Computer" Device: usb 0x0218 "Apple Internal Keyboard / Trackpad" Revision: "0.64" Driver: "usbhid" Driver Modules: "usbhid" Device File: /dev/input/event1 Device Files: /dev/input/event1, /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-kbd, /dev/input/by-path/pci-0000:00:1d.0-usb-0:2:1.0-event-kbd Device Number: char 13:65 Speed: 12 Mbps Module Alias: "usb:v05ACp0218d0064dc00dsc00dp00ic03isc01ip01" Driver Info #0: XkbRules: xfree86 XkbModel: macintosh Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #13 (Hub) This seems wrong: the correct XkbModel in xorg.conf is "macbook79" for this machine, so this still needs to be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #22 from jsuchome@novell.com 2006-10-30 08:03 MST ------- Oops. yast2-country currently knows only "macintosh" XkbModel and sets the layout according to this value. Which are other possible values? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #23 from jsuchome@novell.com 2006-10-30 08:12 MST ------- I've submited yast2-country-2.14.1, which should set correct labout (expecting "macintosh" XkbModel). Andreas, please test it in beta1plus. Additionally, we'll probably need to update XkbModel issues. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #24 from olh@novell.com 2006-10-30 08:27 MST ------- why does it need to be macbook79? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #25 from agruen@novell.com 2006-10-30 08:32 MST ------- Because this is the type of keyboard that Apple has built into Intel MacBooks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #26 from olh@novell.com 2006-10-30 08:38 MST ------- whats the difference to macintosh? I fixed the <> swapping in the kernel if you mean that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #27 from agruen@novell.com 2006-10-30 09:06 MST ------- I actually can't tell -- the swapped "<>" and "^°" keys were the most obvious problems -- but I'll try with the latest kernel. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #28 from agruen@novell.com 2006-10-30 10:03 MST ------- So it seems that the fix in the kernel broke the macbook79 keyboard layout, and the macintosh keyboard layout seems to work now. Do you think this is a good idea, and does this change have a chance of being accepted upstream? On the command line, the Alt-5, Alt-6, Alt-8, Alt-8 keys ([] and {}) still result in the wrong characters. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #29 from olh@novell.com 2006-10-30 11:58 MST ------- you need to upgrade kernel and xkeyboard-config there was this somewhere in /usr/share/../rules/xfree86: $macbooks = macintosh+macintosh(badmap) that badmap flips <> ^°, but they should have fixed it in the kernel in the first place. no idea why this wasnt fixed for powerbooks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #30 from jsuchome@novell.com 2006-11-06 04:10 MST ------- Andreas, did you try to boot into new beta? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 agruen@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |olh@novell.com Status|NEEDINFO |NEW Info Provider|agruen@novell.com | ------- Comment #31 from agruen@novell.com 2006-11-06 04:48 MST ------- Beta1plus works okay under X11 (in YaST). On the console, I found the following problems on the built-in keyboard on the MacBook Intel: * Shift-^ maps to 0xC2B0 in UTF-8 instead of °. * Shift-3 maps to 0xC2A7 instead of §. * Shift-ö maps to 0xC396 instead of Ö. * Shift-ä maps to 0xC384 instead of Ä. CONFIG_USB_HIDINPUT_POWERBOOK isn't set, yet. This is already fixed in the kernel cvs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 ------- Comment #32 from olh@novell.com 2006-11-06 06:14 MST ------- the console kbd mapping works ok for me on a mac at least. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=213294 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #34 from olh@novell.com 2006-11-06 07:20 MST ------- the wrong keys were caused by the lack of proper font on !tty1. Everything appears to be fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com