Messages in this thread | | | Subject | Re: request for opinion on synaptics, adb and powerpc | From | Benjamin Herrenschmidt <> | Date | Sat, 07 Jan 2006 16:49:03 +1100 |
| |
> > Ok, so what method should we use to "switch" ? sysfs isn't quite an > > option yet as the ADB bus isn't yet represented there (unless we add > > attributes to the input object, but that's a bit awkward as it would be > > destroyed and re-created if I follow you). A module option would work > > but adbhid isn't a module, thus that would basically end up as a static > > kernel argument, unless the driver "polls" the module param regulary to > > trigger the change.. I don't think there is a way for a driver to get a > > callback when /sys/module/<driver>/parameters/* changes is there ? > > > > Yes, there is, but I'd imagine static option would be just fine. After > all you either use legacy applications or you don't. And if mousedev > does not provide adequate emulation you switch to relative mothod.
I still don't like static options... it's always wrong to require rebooting for whatever reason ...
Ben.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |