Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1199047

Re: [PATCH] HID: use generic driver for ThingM blink(1) if !CONFIG_HID_THINGM

From Reilly Grant <reillyg@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH] HID: use generic driver for ThingM blink(1) if !CONFIG_HID_THINGM
Date 2015-08-03 19:00 +0200
Message-ID <pTrfJ-uN-27@gated-at.bofh.it> (permalink)
References <pQW6m-2D0-5@gated-at.bofh.it> <pSVIR-5g5-3@gated-at.bofh.it> <pTkef-7lf-37@gated-at.bofh.it> <pTkee-7lf-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


If the software is using usbdevice_fs, no, it can simply detach the
kernel driver. If the software is using hidraw then this blacklist
becomes the issue because even if you unload the special driver the
generic HID driver won't load. Is there a mechanism in the HID
subsystem for drivers to build on top of the generic one instead of
replacing it?


On Mon, Aug 3, 2015, 2:25 AM Jiri Kosina <jkosina@suse.com> wrote:
>
> On Sun, 2 Aug 2015, Reilly Grant wrote:
>
> > There is existing user space software (not just mine, also from the
> > manufacturer) that does not use the special driver and instead uses hidraw
> > or usbdevice_fs to control the device. LED class driver support for this
> > device is useful but should be optional.
>
> Is there any problem for the userspace software to unbind the kernel
> driver first?
>
> --
> Jiri Kosina
> SUSE Labs
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH] HID: use generic driver for ThingM blink(1) if  !CONFIG_HID_THINGM Pavel Machek <pavel@ucw.cz> - 2015-08-02 09:20 +0200
  Re: [PATCH] HID: use generic driver for ThingM blink(1) if  !CONFIG_HID_THINGM Jiri Kosina <jkosina@suse.com> - 2015-08-03 11:30 +0200
    Re: [PATCH] HID: use generic driver for ThingM blink(1) if !CONFIG_HID_THINGM Reilly Grant <reillyg@chromium.org> - 2015-08-03 19:00 +0200

csiph-web