[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1608251601090.1395-100000@iolanthe.rowland.org>
Date: Thu, 25 Aug 2016 16:08:14 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Jacek Anaszewski <jacek.anaszewski@...il.com>
cc: Jacek Anaszewski <j.anaszewski@...sung.com>,
Rafał Miłecki <zajec5@...il.com>,
Richard Purdie <rpurdie@...ys.net>,
Felipe Balbi <balbi@...nel.org>,
Greg KH <gregkh@...uxfoundation.org>,
Peter Chen <hzpeterchen@...il.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
Rafał Miłecki <rafal@...ecki.pl>,
Jonathan Corbet <corbet@....net>,
Ezequiel Garcia <ezequiel@...guardiasur.com.ar>,
Stephan Linz <linz@...pro.net>,
Matthias Brugger <mbrugger@...e.com>,
Boris Brezillon <boris.brezillon@...e-electrons.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
"open list:LED SUBSYSTEM" <linux-leds@...r.kernel.org>,
Pavel Machek <pavel@....cz>
Subject: Re: [PATCH RFC V3.5] leds: trigger: Introduce an USB port trigger
On Thu, 25 Aug 2016, Alan Stern wrote:
> > Does the lsusb command do the mapping in the user space or maybe
> > it takes the names from kernel?
>
> lsusb does the mapping in userspace, based on an ID database. On my
> system (Fedora), the database is /etc/udev/hwdb.bin.
There's also /usr/share/hwdata/usb.ids -- I don't know if or how the
two databases are related. And there's /usr/lib/udev/hwdb.d/20-usb*.
Alan Stern
Powered by blists - more mailing lists