[Libosinfo] [PATCH 1/2] devices: Add virtual USB keyboard & mouse

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Wed Apr 1 17:36:59 UTC 2015


On Wed, Apr 1, 2015 at 6:35 PM, Zeeshan Ali (Khattak)
<zeeshanak at gnome.org> wrote:
> On Wed, Apr 1, 2015 at 5:24 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
>> On Tue, Mar 31, 2015 at 08:34:42PM +0100, Zeeshan Ali (Khattak) wrote:
>>> Add virtual USB keyboard and mouse from VMWare to our database.
>>> ---
>>>  data/devices/qemu-usb.xml.in | 20 ++++++++++++++++++++
>>>  1 file changed, 20 insertions(+)
>>>
>>> diff --git a/data/devices/qemu-usb.xml.in b/data/devices/qemu-usb.xml.in
>>> index 213187f..90083fb 100644
>>> --- a/data/devices/qemu-usb.xml.in
>>> +++ b/data/devices/qemu-usb.xml.in
>>> @@ -11,4 +11,24 @@
>>>      <product-id>0021</product-id>
>>>    </device>
>>>
>>> +  <device id="http://www.linux-usb.org/usb.ids/0e0f/0003">
>>> +    <name>mouse</name>
>>> +    <bus-type>usb</bus-type>
>>> +    <class>input</class>
>>> +    <_vendor>VMware, Inc.</_vendor>
>>> +    <vendor-id>0e0f</vendor-id>
>>> +    <product>Mouse</product>
>>> +    <product-id>0003</product-id>
>>> +  </device>
>>> +
>>> +  <device id="http://www.linux-usb.org/usb.ids/0e0f/0006">
>>> +    <name>keyboard</name>
>>> +    <bus-type>usb</bus-type>
>>> +    <class>input</class>
>>> +    <_vendor>VMware, Inc.</_vendor>
>>> +    <vendor-id>0e0f</vendor-id>
>>> +    <product>Keyboard</product>
>>> +    <product-id>0006</product-id>
>>> +  </device>
>>> +
>>
>> When you start a VM with QEMU with USB keyboard/mouse it seems to be
>> using
>> 0627:0001 Adomax Technology Co., Ltd for mouse and keyboard (?)
>
> Interesting. Shall I add Adomax devices instead then? FWIW, the ones I
> added are the only virtual ones that I found.

Hm.. I don't see any devices under "0627  Adomax Technology Co., Ltd"
in usb.ids though. I'm not sure we are supposed to add devices that
don't exist on .ids files.

-- 
Regards,

Zeeshan Ali (Khattak)
________________________________________
Befriend GNOME: http://www.gnome.org/friends/




More information about the Libosinfo mailing list