Hi list, When I enabled ACPI on my laptop, my mouse doesn't work anymore. I've enabled PSM_DEBUG and it seems the drivers fails here in psmprobe(): % if (sc->config & PSM_CONFIG_NORESET) { % /* % * Don't try to reset the pointing device. It may possibly be % * left in the unknown state, though... % */ % } else { % /* % * NOTE: some controllers appears to hang the `keyboard' when the aux % * port doesn't exist and `PSMC_RESET_DEV' is issued. % * % * Attempt to reset the controller twice -- this helps % * pierce through some KVM switches. The second reset % * is non-fatal. % */ % if (!reset_aux_dev(sc->kbdc)) { % recover_from_error(sc->kbdc); % restore_controller(sc->kbdc, command_byte); % if (verbose) % ==> printf("psm%d: failed to reset the aux device.\n", unit); % endprobe(ENXIO); % } else if (!reset_aux_dev(sc->kbdc)) { % recover_from_error(sc->kbdc); % if (verbose >= 2) % printf("psm%d: failed to reset the aux device (2).\n", % unit); % } % } If anyone understands what's the problem, please let me know. If I fiddle the source code to do as if PSM_CONFIG_NORESET was set, my mouse works. ``sc->config'' is set with device_get_flags(): % sc->config = device_get_flags(dev) & PSM_CONFIG_FLAGS; device_get_flags() returns ``dev->devflags'', but I don't know how to set this. I would say I should do this from /boot/device.hints or something like this, but I couldn't find any documentation about it. Any pointer please? Thanks. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >Received on Sun Feb 17 2008 - 16:55:30 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC