* To add a device support it should be BlackListed ?
@ 2009-05-13 17:04 Mohamed Ikbel Boulabiar
[not found] ` <45cc95260905131004x186e4ff3ga79cc943f63680d0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Mohamed Ikbel Boulabiar @ 2009-05-13 17:04 UTC (permalink / raw)
To: Andrew Morton; +Cc: Rafi Rubin, Greg KH, USB list, USB list
Hi,
I am trying with my professor Stéphane Chatty to add support to a
Stantum multitouch tablet that is a HID device.
We tried copying hid-ntrig.c and applying modification to get
supported but we haven't reached something functional.
Should we add more information to some place to reach our goals ?
I have read this and we maybe need to blacklist the stantum somewhere
(hid-quirks.c ?)
"This patch is required for N-trig support for the Linux Environment.
It requests the USBHID driver to ignore an N-trig device, when
connected to the USB bus."
http://kerneltrap.org/index.php?q=mailarchive/linux-usb/2009/1/20/4772014/thread
Is this true ? How should we do it ? And why (because we have at least
3 to 4 other devices from other constructors and we want to add
support) ?
Thanks
______________________________
Mohamed-Ikbel BOULABIAR
Élève Ingénieur ENSI - Tunisie
Stagiaire au LII - ENAC, Toulouse
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: To add a device support it should be BlackListed ?
[not found] ` <45cc95260905131004x186e4ff3ga79cc943f63680d0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2009-05-13 23:01 ` Rafi Rubin
0 siblings, 0 replies; 2+ messages in thread
From: Rafi Rubin @ 2009-05-13 23:01 UTC (permalink / raw)
To: Mohamed Ikbel Boulabiar; +Cc: Andrew Morton, Greg KH, USB list, USB list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The blacklist just tell the hid system a device needs some special handling. The patch you link to
was actually an ntrig employee trying to nix the existing functionality by telling the hid system to
ignore the device. It is not a good positive example as to how to get hid to support your device.
The first thing you should check is if IS_INPUT_APPLICATION supports the "usage" your device
reports. I'm sure there's an easy way to see what usage a device reports, but I don't know about
it. It's pretty easy to add a printk just before (or an else after)
if (IS_INPUT_APPLICATION(col->usage))
in hid-input.c
Anyway, that will tell you if the hid system is ignoring your device, and what to add to
IS_INPUT_APPLICATION in include/linux/hid.h, if necessary.
Rafi
Mohamed Ikbel Boulabiar wrote:
> Hi,
>
> I am trying with my professor Stéphane Chatty to add support to a
> Stantum multitouch tablet that is a HID device.
>
> We tried copying hid-ntrig.c and applying modification to get
> supported but we haven't reached something functional.
>
> Should we add more information to some place to reach our goals ?
> I have read this and we maybe need to blacklist the stantum somewhere
> (hid-quirks.c ?)
>
> "This patch is required for N-trig support for the Linux Environment.
> It requests the USBHID driver to ignore an N-trig device, when
> connected to the USB bus."
> http://kerneltrap.org/index.php?q=mailarchive/linux-usb/2009/1/20/4772014/thread
>
>
> Is this true ? How should we do it ? And why (because we have at least
> 3 to 4 other devices from other constructors and we want to add
> support) ?
>
>
> Thanks
> ______________________________
> Mohamed-Ikbel BOULABIAR
> Élève Ingénieur ENSI - Tunisie
> Stagiaire au LII - ENAC, Toulouse
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkoLUWQACgkQwuRiAT9o608k5gCfUt0Z7eyUD90pacILQaVzu3pW
2x4AniKheYq6fC0FFAMaQ2Z//RfGl61c
=zGPE
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-13 23:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 17:04 To add a device support it should be BlackListed ? Mohamed Ikbel Boulabiar
[not found] ` <45cc95260905131004x186e4ff3ga79cc943f63680d0-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-05-13 23:01 ` Rafi Rubin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).