[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: usb-wacom-tablet failing to register
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: usb-wacom-tablet failing to register |
Date: |
Wed, 3 Feb 2021 17:51:34 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
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?
- Re: usb-wacom-tablet failing to register,
Philippe Mathieu-Daudé <=