NetBSD-Bugs archive

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

Re: port-mac68k/58883: Internal Trackpad wrongly configured on a PowerBook 500 [patch]



The following reply was made to PR port-mac68k/58883; it has been noted by GNATS.

From: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-mac68k/58883: Internal Trackpad wrongly configured on a PowerBook 500 [patch]
Date: Mon, 9 Dec 2024 15:58:10 +1100

 --Boundary-00=_jjnVnKLyjZ7w4xw
 Content-Type: Text/Plain;
   charset="iso-8859-15"
 Content-Transfer-Encoding: 7bit
 
 See attached:
 
 Best regards,
 
 Nat
 
 --Boundary-00=_jjnVnKLyjZ7w4xw
 Content-Type: text/x-patch;
   charset="ISO-8859-1";
   name="pb500-trackpad.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="pb500-trackpad.diff"
 
 diff -r c6804942bc0c sys/arch/mac68k/dev/ams.c
 --- a/sys/arch/mac68k/dev/ams.c	Sat Dec 07 23:25:19 2024 +0000
 +++ b/sys/arch/mac68k/dev/ams.c	Mon Dec 09 15:55:55 2024 +1100
 @@ -126,6 +126,10 @@ amsattach(device_t parent, device_t self
  
  	ems_init(sc);
  
 +	if (mac68k_machine.machineid == MACH_MACPB500 &&
 +	    sc->sc_class == MSCLASS_MOUSE && sc->sc_devid[0] == '\0')
 +		sc->handler_id = ADBMS_200DPI;
 +
  	/* print out the type of mouse we have */
  	switch (sc->handler_id) {
  	case ADBMS_100DPI:
 
 --Boundary-00=_jjnVnKLyjZ7w4xw--
 


Home | Main Index | Thread Index | Old Index