Re: mouse for x
On Wed, 22 Sep 2004, Branden Robinson wrote:
> On Sun, Aug 22, 2004 at 02:46:31PM +0200, Christian T. Steigies wrote:
> > On Sun, Aug 22, 2004 at 02:26:46PM +0200, Wouter Verhelst wrote:
> > > Better use /proc/hardware
> > >
> > > wouter@ska:~$ cat /proc/hardware
> > > Model: Motorola MVME167
> > > [...]
> > >
> > > wouter@kiivi:~$ cat /proc/hardware
> > > Model: Macintosh Quadra 840AV
> > > [...]
> >
> > cat /proc/hardware
> > Model: Amiga A2000
> [...]
> > > > We have Q40 kernels since 2.4.26 IIRC,
> > >
> > > Oh, we do?
> > >
> > > > they should run on Q40 and Q60. Roman Zippel should be able to say how
> > > > /proc/hardware looks like for those machines.
> > >
> > > Reading the kernel source, I think that'll always be "Q40", even on Q60.
> >
> > That's what I'm using for debian-installer archdetect.
>
> Okay. Please comment on the following.
>
> m68k)
> # A good default for m68k depends on which sub-architecure this is.
> if [ -r /proc/hardware ]; then
> subarch=$(grep -w Model: | sed 's/Model:[[:space:]]+//')
> case "$subarch" in
> Amiga*)
> mouse_port_choices="/dev/amigamouse, /dev/gpmdata"
> default_port="/dev/amigamouse"
> ;;
> Atari*)
> mouse_port_choices="/dev/atarimouse, /dev/gpmdata"
> default_port="/dev/atarimouse"
> ;;
> Macintosh*)
> mouse_port_choices="/dev/adbmouse, /dev/gpmdata"
> default_port="/dev/adbmouse"
> ;;
> Motorola*) # BVME/MVME
> trace "$func(): no good defaults known for VME mouse"
> "configuration"
> ;;
> Q40*) # Q40/Q60
> trace "$func(): no good defaults known for Q40/Q60 mouse"
> "configuration"
> ;;
> esac
>
> I'd appreciate knowing:
>
> 1) If the available and default choices for Amiga, Atari, and Mac are sane;
I think they are.
Except that Mac uses the new input layer in 2.4 and later.
This is also valid for other subarchs in 2.6.
> 2) If anyone has anything to regarding VME or Q40/Q60 machines.
Q40/Q60 has PS/2 keyboard, so I guess it has a PS/2 mouse as well. Richard?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: