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


Groups > linux.kernel > #1232430

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-09-24 23:00 +0200
Message-ID <qclMu-5Lb-3@gated-at.bofh.it> (permalink)
References <qc7zP-2kK-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 24 Sep 2015, Jiri Kosina wrote:

> On Wed, 23 Sep 2015, Alan Stern wrote:
> 
> > Your mistake was thinking that the driver for your keyboard is usbkbd.  
> > It isn't.  It's usbhid, as you can see in the "lsusb -t" output above.
> 
> As Eric is absolutely not the first person ever who got confused by this 
> (and I can certainly understand the reasons for this confusion), I've been 
> thinking for quite some time already about renaming this driver (and 
> usbmouse as well). We'd probably want to make obvious from the name that 
> this isn't regular usb keyboard driver.
> 
> Any opinions on usbkbd-simple or usbkbd-dummy? The most accurate would of 
> course be usbkbd-boot, but that might be equally confusing.

I prefer -simple over -dummy.  Even better would be usbkbd-alt.

> The drawback I can see in renaming the driver is various embedded folks 
> having he name hardcoded in their scripts.

Yes, that's a real problem.  Similar considerations apply to .config 
files, if you also change the Kconfig symbol name.

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