From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Markus Armbruster <armbru@redhat.com>,
Michael Nazzareno Trimarchi <michael@amarulasolutions.com>
Cc: qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: usb-wacom-tablet failing to register
Date: Wed, 3 Feb 2021 17:51:34 +0100 [thread overview]
Message-ID: <d3ad4c7e-fd3d-b891-4275-effb86ef7961@redhat.com> (raw)
In-Reply-To: <87h7sgjtys.fsf@dusky.pond.sub.org>
Hi Michael,
On 9/2/20 1:31 PM, Markus Armbruster wrote:
> Michael Nazzareno Trimarchi <michael@amarulasolutions.com> writes:
>
>> Hi Markus
>>
>> I have seen that you are a committer there so what I have seen that
>
> I know precious little about USB, and nothing about this particular
> device. I'm cc'ing our USB maintainer Gerd.
>
>> This request is not implement
>> switch (request) {
>> case InterfaceRequest | USB_REQ_GET_DESCRIPTOR:
>>
>> When linux probe it fail here
>>
>> ret = hid_get_class_descriptor(dev, interface->desc.bInterfaceNumber,
>>> HID_DT_REPORT, rdesc, rsize);
>>
>> I think that I miss something in documentation
>>
>> Running 5.8.0-rc3 and qemu 4.2.0
>>
>> Michael
>>
>> On Sat, Aug 8, 2020 at 4:59 PM Michael Nazzareno Trimarchi
>> <michael@amarulasolutions.com> wrote:
>>>
>>> Hi
>>>
>>> What I have seen is that the parse fail to execute
>>> hid ll_driver parse fai for
>>>
>>> ret = hid_get_class_descriptor(dev, interface->desc.bInterfaceNumber,
>>> HID_DT_REPORT, rdesc, rsize);
>>>
>>> Now this is not implemented in hw/dev-wacom.c . What am I missing?
>>>
>>> #!/bin/sh
>>> IMAGE_DIR="${0%/*}/"
>>>
>>> if [ "${1}" = "serial-only" ]; then
>>> EXTRA_ARGS='-nographic'
>>> else
>>> EXTRA_ARGS='-serial stdio'
>>> fi
>>>
>>> export PATH="/home/michael/work/amarula/buildroot/output/host/bin:${PATH}"
>>> exec qemu-system-i386 -M pc -kernel ${IMAGE_DIR}/bzImage -usb
>>> -device usb-wacom-tablet -drive
>>> file=${IMAGE_DIR}/rootfs.ext2,if=virtio,format=raw -append "rootwait
>>> root=/dev/vda console=tty1 console=ttyS0" -net nic,model=virtio -net
>>> use
>>> r ${EXTRA_ARGS}
>>>
>>> This is how I run it
>>>
>>> Michael
>>>
>>> On Sat, Jul 11, 2020 at 4:38 PM Michael Nazzareno Trimarchi
>>> <michael@amarulasolutions.com> wrote:
>>>>
>>>> Hi all
>>>>
>>>> On my 4.17.0-rc1 linux kernel i386 running on qemu, I can't register
>>>> the wacom driver emulation
>>>> QEMU emulator version 4.2.0 (Debian 1:4.2-3ubuntu6.3)
>>>> Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
>>>>
>>>> [ 0.395368] ata2.00: configured for MWDMA2
>>>> [ 0.397049] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM
>>>> 2.5+ PQ: 0 ANSI: 5
>>>> [ 0.584135] usb 2-1: new full-speed USB device number 2 using xhci_hcd
>>>> [ 0.734449] usb 2-1: New USB device found, idVendor=056a,
>>>> idProduct=0000, bcdDevice=42.10
>>>> [ 0.734461] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>>> [ 0.734466] usb 2-1: Product: Wacom PenPartner
>>>> [ 0.734470] usb 2-1: Manufacturer: QEMU
>>>> [ 0.734474] usb 2-1: SerialNumber: 1-0000:00:04.0-1
>>>> [ 0.737347] usbhid 2-1:1.0: can't add hid device: -32
>>>> [ 0.737366] usbhid: probe of 2-1:1.0 failed with error -32
>>>>
>>>> I get back an error. Any suggestions?
Do you still have that issue?
next prev parent reply other threads:[~2021-02-03 16:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-11 14:38 usb-wacom-tablet failing to register Michael Nazzareno Trimarchi
2020-08-08 14:59 ` Michael Nazzareno Trimarchi
2020-08-08 16:06 ` Michael Nazzareno Trimarchi
2020-08-08 16:40 ` Michael Nazzareno Trimarchi
2020-09-02 11:31 ` Markus Armbruster
2021-02-03 16:51 ` Philippe Mathieu-Daudé [this message]
2021-02-03 16:53 ` Michael Nazzareno Trimarchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3ad4c7e-fd3d-b891-4275-effb86ef7961@redhat.com \
--to=philmd@redhat.com \
--cc=armbru@redhat.com \
--cc=kraxel@redhat.com \
--cc=michael@amarulasolutions.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).