linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* no name mouse?
@ 2022-01-11  2:48 James
  2022-01-11  6:58 ` Randy Dunlap
  2022-01-11 15:02 ` Alan Stern
  0 siblings, 2 replies; 5+ messages in thread
From: James @ 2022-01-11  2:48 UTC (permalink / raw)
  To: linux-usb

$ lsusb -tv
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
     ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
     ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
     ID 1d6b:0003 Linux Foundation 3.0 root hub
     |__ Port 3: Dev 4, If 0, Class=Mass Storage, Driver=uas, 5000M
         ID 0bc2:ab5a Seagate RSS LLC
     |__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M
         ID 0bc2:2321 Seagate RSS LLC Expansion Portable
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
     ID 1d6b:0002 Linux Foundation 2.0 root hub
     |__ Port 5: Dev 4, If 0, Class=Human Interface Device, 
Driver=usbhid, 1.5M
         ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
     |__ Port 5: Dev 4, If 1, Class=Human Interface Device, 
Driver=usbhid, 1.5M
         ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
     |__ Port 6: Dev 3, If 0, Class=Human Interface Device, 
Driver=usbhid, 1.5M
         ID 30fa:0400

Port 6 Dev 3 is the mouse I bought from Amazon.
Why doesn't have a name beside it?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no name mouse?
  2022-01-11  2:48 no name mouse? James
@ 2022-01-11  6:58 ` Randy Dunlap
  2022-01-12  0:56   ` James
  2022-01-11 15:02 ` Alan Stern
  1 sibling, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2022-01-11  6:58 UTC (permalink / raw)
  To: James, linux-usb



On 1/10/22 18:48, James wrote:
> $ lsusb -tv
> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
>     ID 1d6b:0003 Linux Foundation 3.0 root hub
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
>     ID 1d6b:0002 Linux Foundation 2.0 root hub
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
>     ID 1d6b:0003 Linux Foundation 3.0 root hub
>     |__ Port 3: Dev 4, If 0, Class=Mass Storage, Driver=uas, 5000M
>         ID 0bc2:ab5a Seagate RSS LLC
>     |__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M
>         ID 0bc2:2321 Seagate RSS LLC Expansion Portable
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
>     ID 1d6b:0002 Linux Foundation 2.0 root hub
>     |__ Port 5: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
>         ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
>     |__ Port 5: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
>         ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
>     |__ Port 6: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
>         ID 30fa:0400
> 
> Port 6 Dev 3 is the mouse I bought from Amazon.
> Why doesn't have a name beside it?

USB 2.0 spec, section 9.6.7 String (descriptors):

"""
String descriptors are optional. As noted previously, if a device does not support string descriptors, all
references to string descriptors within device, configuration, and interface descriptors must be reset to zero.
"""

so whoever manufactured this device chose to leave it with no Mfr/Product name strings,
i.e., it's a generic device.

You could look at 'lsusb -v' for that device and then look at these fields:
(e.g., from a "transceiver" device for a wireless kbd/mouse)

  iManufacturer           1 Dell Computer Corp
  iProduct                2 Dell Universal Receiver
  iSerial                 0 

You should see iManufacturer and iProduct set to 0.

-- 
~Randy

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no name mouse?
  2022-01-11  2:48 no name mouse? James
  2022-01-11  6:58 ` Randy Dunlap
@ 2022-01-11 15:02 ` Alan Stern
  1 sibling, 0 replies; 5+ messages in thread
From: Alan Stern @ 2022-01-11 15:02 UTC (permalink / raw)
  To: James; +Cc: linux-usb

On Mon, Jan 10, 2022 at 09:48:56PM -0500, James wrote:
> $ lsusb -tv
> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
>     ID 1d6b:0003 Linux Foundation 3.0 root hub
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
>     ID 1d6b:0002 Linux Foundation 2.0 root hub
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
>     ID 1d6b:0003 Linux Foundation 3.0 root hub
>     |__ Port 3: Dev 4, If 0, Class=Mass Storage, Driver=uas, 5000M
>         ID 0bc2:ab5a Seagate RSS LLC
>     |__ Port 4: Dev 3, If 0, Class=Mass Storage, Driver=uas, 5000M
>         ID 0bc2:2321 Seagate RSS LLC Expansion Portable
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
>     ID 1d6b:0002 Linux Foundation 2.0 root hub
>     |__ Port 5: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid,
> 1.5M
>         ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
>     |__ Port 5: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid,
> 1.5M
>         ID 04d9:1503 Holtek Semiconductor, Inc. Keyboard
>     |__ Port 6: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid,
> 1.5M
>         ID 30fa:0400
> 
> Port 6 Dev 3 is the mouse I bought from Amazon.
> Why doesn't have a name beside it?

Because there is no entry for that vendor/product ID in the udev/systemd 
hardware database.  See "man hwdb" and "man systemd-hwdb", and also the 
files in /usb/lib/udev/hwdb.d.  Near the top of the 70-mouse.hwdb file 
in that directory are instructions on how to submit a new ID for 
inclusion in the database.

Alan Stern

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no name mouse?
  2022-01-11  6:58 ` Randy Dunlap
@ 2022-01-12  0:56   ` James
  2022-01-12  6:59     ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: James @ 2022-01-12  0:56 UTC (permalink / raw)
  To: linux-usb


> You could look at 'lsusb -v' for that device and then look at these fields:
> (e.g., from a "transceiver" device for a wireless kbd/mouse)
>
>    iManufacturer           1 Dell Computer Corp
>    iProduct                2 Dell Universal Receiver
>    iSerial                 0
>
> You should see iManufacturer and iProduct set to 0.
>
iManufacturer           0
iProduct                1 USB OPTICAL MOUSE

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: no name mouse?
  2022-01-12  0:56   ` James
@ 2022-01-12  6:59     ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2022-01-12  6:59 UTC (permalink / raw)
  To: James; +Cc: linux-usb

On Tue, Jan 11, 2022 at 07:56:00PM -0500, James wrote:
> 
> > You could look at 'lsusb -v' for that device and then look at these fields:
> > (e.g., from a "transceiver" device for a wireless kbd/mouse)
> > 
> >    iManufacturer           1 Dell Computer Corp
> >    iProduct                2 Dell Universal Receiver
> >    iSerial                 0
> > 
> > You should see iManufacturer and iProduct set to 0.
> > 
> iManufacturer           0
> iProduct                1 USB OPTICAL MOUSE

That's a fine string for the device, there's no requirement for any
string at all, but at least it has one.

So all is good.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-12  6:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-11  2:48 no name mouse? James
2022-01-11  6:58 ` Randy Dunlap
2022-01-12  0:56   ` James
2022-01-12  6:59     ` Greg KH
2022-01-11 15:02 ` Alan Stern

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