* ADB-Mouse
@ 2000-10-19 10:05 Henning Loeser
2000-10-19 10:18 ` ADB-Mouse Andreas Tobler
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Henning Loeser @ 2000-10-19 10:05 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I just digged through the maillinglist but didn't come up with a solution,
so what did I miss ?
I compiled a linuxppc_2_3.snap from fmlabs from October 17th and it
compiled ok, booted, recognized my Acard AEC 6260M ide card, accepted my
l2cr setting and the voodoo3 card, booted from the ide-partition to
console login. The keyboard works ok (apple extended kb II) but the mouse
doesn't (ADB-mouse) /dev/adbmouse doesn't exist (claims gpm and X11).
dmesg reads the following:
Kernel command line: root=/dev/hda7 adb_buttons=111,55
video=tdfx:1024x768-8@60 l2cr=0xb9010000 video=ofonly
l2cr set to b9010000
[snip]
Macintosh CUDA driver v0.5 for Unified ADB.
[snip]
input0: Macintosh mouse button emulation
[snip]
adb devices: [2]: 2 5 [3]: 3 1
ADB keyboard at 2, handler set to 3
Detected ADB keyboard, type ISO, swapping keys.
input1: ADB HID on ID 2:2.05
ADB mouse at 3, handler set to 2
input2: ADB HID on ID 3:3.01
Macintosh non-volatile memory driver v1.0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver hid
event0: Event device for input2
event1: Event device for input1
event2: Event device for input0
keybdev.c: Adding keyboard: input1
mouse0: PS/2 mouse device for input2
mouse1: PS/2 mouse device for input0
mice: PS/2 mouse device common for all mice
I do have /proc/device-tree/bandit/gc/via-cuda/adb/mouse/device_type
.../name and .../reg so I would think the mouse should be there, ...
shouldn't it?
Do I have to create a new /dev/adbmouse entry ? It works with 2.4.0-t2 ...
Henning
--------------------------------------------------------------------------
Henning Loeser Fachbereich Physik
email: henning.loeser@physik.uni-marburg.de AG Oberflaechen
Philipps-Uni Marburg
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: ADB-Mouse
2000-10-19 10:05 ADB-Mouse Henning Loeser
@ 2000-10-19 10:18 ` Andreas Tobler
2000-10-19 15:30 ` ADB-Mouse William Blew
2000-10-20 8:18 ` ADB-Mouse Topi Kanerva
2 siblings, 0 replies; 6+ messages in thread
From: Andreas Tobler @ 2000-10-19 10:18 UTC (permalink / raw)
To: Henning Loeser; +Cc: linuxppc-dev
Henning Loeser wrote:
> I do have /proc/device-tree/bandit/gc/via-cuda/adb/mouse/device_type
> .../name and .../reg so I would think the mouse should be there, ...
> shouldn't it?
> Do I have to create a new /dev/adbmouse entry ? It works with 2.4.0-t2 ...
No, see Ben's site for more info, the new layer is also integrated in
2.4 now.
http://ppclinux.apple.com/~benh/
/dev/adbmouse "changed" to /dev/input/mice
Andreas
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ADB-Mouse
2000-10-19 10:05 ADB-Mouse Henning Loeser
2000-10-19 10:18 ` ADB-Mouse Andreas Tobler
@ 2000-10-19 15:30 ` William Blew
2000-10-20 8:18 ` ADB-Mouse Topi Kanerva
2 siblings, 0 replies; 6+ messages in thread
From: William Blew @ 2000-10-19 15:30 UTC (permalink / raw)
To: Henning Loeser; +Cc: linuxppc-dev
On Thu, 19 Oct 2000, Henning Loeser wrote:
> console login. The keyboard works ok (apple extended kb II) but the mouse
> doesn't (ADB-mouse) /dev/adbmouse doesn't exist (claims gpm and X11).
[snip]
May I suggest a look at the 'new input layer' changes that have been
discussed on the list. Sounds like one of those issues...
--
William Blew, wblew@home.com
Gamer by Choice, Geek by Birth
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ADB-Mouse
2000-10-19 10:05 ADB-Mouse Henning Loeser
2000-10-19 10:18 ` ADB-Mouse Andreas Tobler
2000-10-19 15:30 ` ADB-Mouse William Blew
@ 2000-10-20 8:18 ` Topi Kanerva
2000-10-20 8:53 ` ADB-Mouse Michael Schmitz
2000-10-20 10:18 ` ADB-Mouse Olaf Hering
2 siblings, 2 replies; 6+ messages in thread
From: Topi Kanerva @ 2000-10-20 8:18 UTC (permalink / raw)
Cc: linuxppc-dev
On Thu, 19 Oct 2000, Henning Loeser wrote:
>[snip]
>input0: Macintosh mouse button emulation
>[snip]
as a side note, I suppose you people know how the mouse button emulation
works. I couldn't make it work at any rate on my Pismo PowerBook...
I'm using benh's 2.2.17pre20 kernel, and the new input layer is configured
in the .config so according to my studies (in the mackeyb.c) the emulation
should work as it is, when you just put a '1' in the
/proc/sys/dev/mac_hid/mouse_button_emulation file... I experimented with
different keycodes but found out that none of them would make any
difference to the gpm.
guys, how exactly do you make it to work?
-topi
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ADB-Mouse
2000-10-20 8:18 ` ADB-Mouse Topi Kanerva
@ 2000-10-20 8:53 ` Michael Schmitz
2000-10-20 10:18 ` ADB-Mouse Olaf Hering
1 sibling, 0 replies; 6+ messages in thread
From: Michael Schmitz @ 2000-10-20 8:53 UTC (permalink / raw)
To: Topi Kanerva; +Cc: linuxppc-dev
> >[snip]
> >input0: Macintosh mouse button emulation
> >[snip]
>
> as a side note, I suppose you people know how the mouse button emulation
> works. I couldn't make it work at any rate on my Pismo PowerBook...
The trick is to use the keycodes a PC keyboard would emit for the keys you
intend to use for emulation. The default is set to have fn-cntrl and
fn-option as emulation keys (which magically fails to interfere with other
functions of these keys, quite unlike the old emulation).
Michael
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ADB-Mouse
2000-10-20 8:18 ` ADB-Mouse Topi Kanerva
2000-10-20 8:53 ` ADB-Mouse Michael Schmitz
@ 2000-10-20 10:18 ` Olaf Hering
1 sibling, 0 replies; 6+ messages in thread
From: Olaf Hering @ 2000-10-20 10:18 UTC (permalink / raw)
To: Topi Kanerva; +Cc: linuxppc-dev
On Fri, Oct 20, Topi Kanerva wrote:
> guys, how exactly do you make it to work?
Put that in boot.local:
echo "1" > /proc/sys/dev/mac_hid/mouse_button_emulation
echo "87" > /proc/sys/dev/mac_hid/mouse_button3_keycode # F11
echo "88" > /proc/sys/dev/mac_hid/mouse_button2_keycode # F12
Gruss Olaf
--
$ man clone
BUGS
Main feature not yet implemented...
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-10-20 10:18 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-19 10:05 ADB-Mouse Henning Loeser
2000-10-19 10:18 ` ADB-Mouse Andreas Tobler
2000-10-19 15:30 ` ADB-Mouse William Blew
2000-10-20 8:18 ` ADB-Mouse Topi Kanerva
2000-10-20 8:53 ` ADB-Mouse Michael Schmitz
2000-10-20 10:18 ` ADB-Mouse Olaf Hering
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).