Messages in this thread | | | Date | Sun, 18 May 2008 12:39:29 +0300 | From | "Pekka Enberg" <> | Subject | Re: [PATCH] Add support for HTC Shift Touchscreen |
| |
On Sat, May 17, 2008 at 7:38 PM, Pau Oliva Fora <pau@eslack.org> wrote: >>> +struct input_dev *htcpen_dev; >> >> Why are you not using isa_register_driver() instead? > > I have no specifications from the manufacturer, so don't know how to > properly prove the device, etc.
You can still use isa_register_driver() which is nicer IMHO.
On Sat, May 17, 2008 at 7:38 PM, Pau Oliva Fora <pau@eslack.org> wrote: >>> + printk(KERN_INFO "htcpen: module inserted\n"); >>> + >>> + inb_p(HTCPEN_PORT0); >> >> So there's no way to probe the existence of this device? > > I can add a minimal sanity check if that is a must, but I don't have > a datasheet and contacting HTC did not help.
Well, you probably want distributions to be able to enable this by default so any kind probing is helpful, yes.
| |