[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020805180239t4c4952e6i7dcaa224a53bebb7@mail.gmail.com>
Date: Sun, 18 May 2008 12:39:29 +0300
From: "Pekka Enberg" <penberg@...helsinki.fi>
To: "Pau Oliva Fora" <pau@...ack.org>
Cc: dmitry.torokhov@...il.com, sam@...nborg.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Add support for HTC Shift Touchscreen
On Sat, May 17, 2008 at 7:38 PM, Pau Oliva Fora <pau@...ack.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@...ack.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists