qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] usb: assign unique serial numbers to hid dev


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH v2] usb: assign unique serial numbers to hid devices
Date: Mon, 17 Sep 2018 06:48:29 +0200
User-agent: NeoMutt/20180716

> > And even if it turns out autosuspend is still an issue:  I think
> > meanwhile we can really stop worrying about guests running in old qemu
> > versions with broken usb suspend (fixed in 0.13 !).  If needed we can
> > enable autosuspend unconditionally in guests.
> 
> OK, so what about the other question - which serial number do we end up
> with after this patch; do we get the 89126/28754/68284 or do we get the
> path based one from your change that calls usb_desc_create_serial?

The path based one. and the numbers are the first part, i.e. this:

address@hidden ~# lsusb -vs1:2
[ ... ]
  iManufacturer           1 QEMU
  iProduct                3 QEMU USB Tablet
  iSerial                 6 28754-0000:00:02.1:00.0-1
  bNumConfigurations      1
[ ... ]

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]