Ian FREISLICH wrote: > Hans Petter Selasky wrote: > >> Yes, that is correct. >> >> If you are building with the latest FreeBSD-7 current, then be aware that it >> might break. You need to zero at least "/usr/src/sys/dev/usb/umass.c" after >> installation. >> > > Your USB stack fixes the external mouse which is nice. > > It's a pity that it breaks the trackpad and umass. > > Ian > > -- > Ian Freislich > > I believe umass.c needs very little change to make it work in 7-Current, atleast it worked for me after simply adding one zero as the missing argument for the function that had changed from 6-stable to 7-current. I haven't tested how reliably it will work after this though, but my umass devices seem to be recognized. This is what i changed : --- umass-hps-orig 2007-06-27 14:25:32.000000000 +0000 +++ umass-hps-fixed 2007-06-27 14:27:17.000000000 +0000 _at__at_ -2305,7 +2305,7 _at__at_ mtx_lock(&(sc->sc_mtx)); #endif - if(xpt_bus_register(sc->sc_sim, sc->sc_unit) != CAM_SUCCESS) { + if(xpt_bus_register(sc->sc_sim, NULL, sc->sc_unit) != CAM_SUCCESS) { #if (__FreeBSD_version >= 700037) mtx_unlock(&(sc->sc_mtx)); #endifReceived on Wed Jun 27 2007 - 09:30:28 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC