Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch



In article <20151113235600.68160682715d32da26bd83c3%phoenix.owl.de@localhost>,
Frank Wille  <frank%phoenix.owl.de@localhost> wrote:
>On Fri, 13 Nov 2015 08:45:29 +1100
>matthew green <mrg%eterna.com.au@localhost> wrote:
>
>> > I didn't manage to make the "wskbd" protocol the default in the X
>> > server, so you have to provide a small xorg.conf with Option "Protocol"
>> > "wskbd". The standard protocol will not work as the Amiga wskbd cannot
>> > be switched into raw mode and has no AT-scancode translation in the
>> > kernel.
>> 
>> try having a look at xorg-server/dist/hw/xfree86/common/xf86AutoConfig.c
>> listPossibleVideoDrivers().
>
>As far as I understand this function tries possible video drivers and
>finally selects a default one, which is "vesa" for x86 and "wsfb" for the
>rest. I'm fine with that.
>
>What I need is -DDEFAULT_TO_WSKBD for the keyboard protocol, which happens
>in xf86-input-keyboard/dist/configure. But adding "m68k" and "amiga" there
>and in configure.ac didn't help:
>
>case $host_os in
>  netbsd*)
>    case $host in
>      *powerpc-*|*sparc-*|*sparc64-*|*vax-*)
>        OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
>        ;;
>    esac
>    case "$(uname -m 2>&1)" in
>      evbarm|sgimips|shark)   
>        OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
>        ;;
>    esac
>    ;;
>esac

vi /src/external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile

christos



Home | Main Index | Thread Index | Old Index