Bug#239035: mac/ADB keymaps inappropriate for powerpc

2004-03-23 Thread Colin Watson
On Tue, Mar 23, 2004 at 10:07:17AM +, Alastair McKinstry wrote: > Looking at your patch, you removed mac_kbd.c from powerpc. > I'd prefer to do the following: check in mac-kbd.c: > > fd = open("/proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes", O_RDONLY); > > if ((fd < 0) || (

Bug#239035: mac/ADB keymaps inappropriate for powerpc

2004-03-23 Thread Sven Luther
On Tue, Mar 23, 2004 at 10:07:17AM +, Alastair McKinstry wrote: > Hi Colin, > > Thanks for your report. > > Looking at your patch, you removed mac_kbd.c from powerpc. > I'd prefer to do the following: check in mac-kbd.c: > > fd = open("/proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes

Bug#239035: mac/ADB keymaps inappropriate for powerpc

2004-03-23 Thread Alastair McKinstry
Hi Colin, Thanks for your report. Looking at your patch, you removed mac_kbd.c from powerpc. I'd prefer to do the following: check in mac-kbd.c: fd = open("/proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes", O_RDONLY); if ((fd < 0) || (read(fd,&c, 1) != 1)) { di_i