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


Groups > linux.kernel > #1239143

Re: Problems with printk logs and my driver

From Alan Stern <stern@rowland.harvard.edu>
Newsgroups linux.kernel
Subject Re: Problems with printk logs and my driver
Date 2015-10-04 17:30 +0200
Message-ID <qfToB-4fU-11@gated-at.bofh.it> (permalink)
References <qfQK6-pU-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, 4 Oct 2015, Eric Curtin wrote:

> Ok so for the fun of it, I changed the VENDOR_ID and DEVICE_ID of my
> keyboard to use the driver for this samsung Wireless keyboard and
> mouse, crazy I know since I have a different piece of hardware, but I
> wanted to see what happens or at least does it change driver. When I
> reboot to this kernel, my keyboard still uses the usbhid driver. Why
> does this happen?

Because the Samsung wireless keyboard and mouse also use the usbhid 
driver.  Besides, the choice of driver depends just as much on the 
bInterfaceClass, -Subclass, and -Protocol as on the vendor and product 
IDs.

Basically, nothing needs to use usbkbd.  Anything that driver can
handle will also work with usbhid.  The only reason for keeping usbkbd 
as a separate driver is because it is smaller than usbhid, so it's 
better suited to some embedded applications with limited memory.

Alan Stern

--
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

Problems with printk logs and my driver Eric Curtin <ericcurtin17@gmail.com> - 2015-09-24 01:50 +0200
  Re: Problems with printk logs and my driver Alan Stern <stern@rowland.harvard.edu> - 2015-09-24 02:40 +0200
    Re: Problems with printk logs and my driver Jiri Kosina <jikos@kernel.org> - 2015-09-24 07:50 +0200
      Re: Problems with printk logs and my driver Alan Stern <stern@rowland.harvard.edu> - 2015-09-24 23:00 +0200
        Re: Problems with printk logs and my driver Felipe Tonello <eu@felipetonello.com> - 2015-09-25 12:10 +0200
          Re: Problems with printk logs and my driver Jiri Kosina <jikos@kernel.org> - 2015-09-25 14:10 +0200
            Re: Problems with printk logs and my driver Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-09-25 17:50 +0200
              Re: Problems with printk logs and my driver Eric Curtin <ericcurtin17@gmail.com> - 2015-09-30 00:20 +0200
                Re: Problems with printk logs and my driver Austin S Hemmelgarn <ahferroin7@gmail.com> - 2015-09-30 14:10 +0200
                Re: Problems with printk logs and my driver Eric Curtin <ericcurtin17@gmail.com> - 2015-10-04 14:40 +0200
                Re: Problems with printk logs and my driver Alan Stern <stern@rowland.harvard.edu> - 2015-10-04 17:30 +0200

csiph-web