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

Re: ADB mouse not wroking on 9600/200



On Mon, Apr 16, 2001 at 03:49:09PM -0700, Mark Simos wrote:
> 
> got debian 2.2 on a powermac 9600/200 with standard ADB mouse and keyboard. 
> 
> keyboard works great, mouse does not. can fool x into loading by pointing the mouse at /dev/adb, but of course the mouse doesn't work. I don't have a /dev/adbmouse
> 
> do i need to recreate that? how?

if using 2.2.18pre21 or later:

change the mouse device to /dev/input/mice.  

if that does not exist run this script as root:

===cut===
#! /bin/sh -e

if [ `id -u` != 0 ] ; then
        echo 1>&2 "You are not root, go away"
        exit 1
fi

cd /dev
mkdir -m 755 input
cd input
mknod -m 640 mice c 13 63
mknod -m 640 event0 c 13 64
mknod -m 640 event1 c 13 65
mknod -m 640 event2 c 13 66
mknod -m 640 event3 c 13 67
mknod -m 644 js0 c 13 0
mknod -m 644 js1 c 13 1
mknod -m 644 js2 c 13 2
mknod -m 644 js3 c 13 3
mknod -m 640 mouse0 c 13 32
mknod -m 640 mouse1 c 13 33
mknod -m 640 mouse2 c 13 34
mknod -m 640 mouse3 c 13 35
cd /dev
rm -f mouse
ln -s input/mice mouse
rm -f adbmouse usbmouse

echo "input devices created successfully"
exit 0
===cut===

if you are using less then 2.2.19 run:

apt-get update && apt-get install kernel-image-2.2.19-pmac.

make sure security.debian.org is in /etc/apt/sources.list.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpJA6MXgGetr.pgp
Description: PGP signature


Reply to: