From: Martin Costabel <costabel@wanadoo.fr>
To: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
Cc: linuxppc-dev <linuxppc-dev@lists.linuxppc.org>
Subject: New input layer and ADB (Was Re: CONFIG_PPC != Mac)
Date: Mon, 31 Jul 2000 17:23:52 +0200 [thread overview]
Message-ID: <39859A08.9D224B@wanadoo.fr> (raw)
In-Reply-To: 4.3.2.7.2.20000731152113.03e44d60@mail.lauterbach.com
Franz,
Franz Sirl wrote:
>
> At 15:11 31.07.00, Martin Costabel wrote:
[]
> >After booting, some keys don't work: The "a" key that was mentioned
> >before (it is the "q" here on my French keyboard), but also all the
> >function keys and most keypad keys. Some of them don't produce keycodes,
> >some of them weird ones.
>
> I fixed that in my tree too, just got the condition in pmac_setup.c wrong,
> it should be if (!keyboard_sends_linux_keycodes) ..., just a typo, will be
> fixed later today.
Yes, this works, the keys are now working correctly from the beginning.
Thanks!
Sometimes after a console switch, I end up in capslock mode. Switching
capslock on then gives lowercase letters (except the letter "L"). After
a further console switch, things return to normal.
> >The main problem so far is that I cannot get mouse button emulation to
> >work. Has anyone tested this on an ADB keyboard/mouse? Or does it only
> >work if one goes over completely to the "linux" keycodes? I don't want
> >to do this yet, because it will make my system unusable with any other
> >kernel (or maybe unusable at all). Last time I tried, it took me several
> >hours to get a usable system back.
>
> Mouse button emulation works for me and it works in both keycode modes, in
> 2.4 the adb_buttons kernel arg is gone though.
After another hour of trying, I still have no mouse button emulation.
Neither in the console with gpm nor in X (Free86-4.0.1 from your
devel.linuxppc.org RPMs, with OPTION "XkbModel" "macintosh_old"). What's
the trick?
Here are my relevant kernel config options. Is there something missing?
CONFIG_INPUT_ADBHID=y
CONFIG_MAC_ADBKEYCODES=y
CONFIG_INPUT=y
# CONFIG_INPUT_IFORCE_USB is not set
CONFIG_INPUT_ADBHID=y
CONFIG_INPUT_KEYBDEV=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
Remark: Since I am using devfs, I had to put a line
LOOKUP mouse CFUNCTION GLOBAL symlink input/mice mouse
into /etc/devfsd. Otherwise no /dev/mouse got created.
Final question: What is /proc/sys/dev/mac_hid/keyboard_lock_keycodes
for?
--
Martin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-07-31 15:23 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-28 23:57 CONFIG_PPC != Mac Dan Malek
2000-07-29 16:38 ` Tom Rini
2000-07-29 17:26 ` Tony Mantler
2000-07-29 17:40 ` Dan Malek
2000-07-29 17:56 ` Tony Mantler
2000-07-30 2:24 ` Martin Costabel
2000-07-30 2:40 ` Tony Mantler
2000-07-30 2:59 ` Dan Malek
2000-07-31 12:12 ` Franz Sirl
2000-07-31 13:11 ` Martin Costabel
2000-07-31 13:37 ` Franz Sirl
2000-07-31 14:17 ` Andreas Tobler
2000-07-31 15:23 ` Martin Costabel [this message]
2000-08-02 12:47 ` New input layer and ADB (Was Re: CONFIG_PPC != Mac) Geert Uytterhoeven
2000-08-02 22:16 ` Michael Schmitz
2000-08-02 22:35 ` Martin Costabel
2000-08-03 11:52 ` Geert Uytterhoeven
[not found] ` <4.3.2.7.2.20000731170153.03508c50@mail.lauterbach.com>
2000-07-31 15:27 ` CONFIG_PPC != Mac Andreas Tobler
2000-07-31 16:40 ` Michael Schmitz
2000-07-31 16:29 ` Geert Uytterhoeven
2000-08-02 15:17 ` Dan Malek
2000-07-29 18:12 ` Geert Uytterhoeven
2000-07-30 13:03 ` Michel Dänzer
2000-07-30 14:56 ` Geert Uytterhoeven
2000-08-30 12:29 ` Platform configuration (was: Re: CONFIG_PPC != Mac) Geert Uytterhoeven
2000-08-31 10:54 ` Gabriel Paubert
2000-08-31 11:39 ` Benjamin Herrenschmidt
2000-08-31 11:53 ` Gabriel Paubert
2000-08-31 15:17 ` Geert Uytterhoeven
2000-08-31 15:58 ` Dan Malek
2000-08-31 16:10 ` Gabriel Paubert
2000-08-31 16:20 ` Michel Dänzer
2000-08-31 19:03 ` Joseph Garcia
2000-08-31 19:18 ` 2.4 problems Michel Dänzer
2000-08-31 19:25 ` Dan Malek
2000-08-31 20:36 ` Martin Costabel
2000-08-31 21:47 ` Benjamin Herrenschmidt
2000-08-31 22:12 ` which kernel...? johnathan spectre
2000-08-31 22:35 ` Matt Brubeck
2000-09-01 1:12 ` 2.4 problems Martin Costabel
2000-09-01 10:57 ` Benjamin Herrenschmidt
2000-09-10 17:59 ` Discrepancy in BAT mapping? Takashi Oe
2000-09-11 20:00 ` Michel Lanners
2000-09-12 9:01 ` Benjamin Herrenschmidt
2000-08-31 21:30 ` 2.4 problems Michel Lanners
2000-09-05 13:48 ` Platform configuration (was: Re: CONFIG_PPC != Mac) Takashi Oe
2000-09-01 1:44 ` Tom Rini
2000-09-01 2:12 ` Dan Malek
2000-09-01 8:42 ` Timothy A. Seufert
2000-09-01 11:02 ` Benjamin Herrenschmidt
2000-09-01 11:12 ` Andreas Tobler
2000-09-02 10:09 ` Timothy A. Seufert
2000-09-05 9:32 ` Timothy A. Seufert
2000-09-05 9:50 ` Timothy A. Seufert
2000-09-01 15:03 ` Tom Rini
2000-08-31 16:19 ` Benjamin Herrenschmidt
2000-08-31 16:04 ` Gabriel Paubert
2000-08-31 16:22 ` Benjamin Herrenschmidt
2000-09-01 14:40 ` Geert Uytterhoeven
2000-09-01 14:40 ` Geert Uytterhoeven
2000-09-01 16:31 ` Dan Malek
2000-07-31 23:22 ` CONFIG_PPC != Mac Dan Malek
2000-08-02 12:05 ` Geert Uytterhoeven
2000-08-02 19:56 ` Dan Malek
2000-08-02 20:04 ` Ani Joshi
2000-08-02 21:15 ` Benjamin Herrenschmidt
2000-08-02 21:42 ` future of drivers/macintosh (was Re: CONFIG_PPC != Mac) Joseph Garcia
2000-08-02 22:02 ` Benjamin Herrenschmidt
2000-08-02 22:02 ` CONFIG_PPC != Mac Michael Schmitz
2000-08-03 1:22 ` Tom Gall
2000-08-03 9:33 ` Michael Schmitz
2000-08-03 11:30 ` Geert Uytterhoeven
2000-07-29 17:36 ` Dan Malek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39859A08.9D224B@wanadoo.fr \
--to=costabel@wanadoo.fr \
--cc=Franz.Sirl-kernel@lauterbach.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).