qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Nazzareno Trimarchi <michael@amarulasolutions.com>
To: qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>
Subject: Re: usb-wacom-tablet failing to register
Date: Sat, 8 Aug 2020 18:06:16 +0200	[thread overview]
Message-ID: <CAOf5uw=uiL2vVJQYaGcKU_SvVFDd-_h6QuaSZ9abZZQuZKEaUw@mail.gmail.com> (raw)
In-Reply-To: <CAOf5uw=_tT1h612vnsHjCSRWhQg3_rFWeh9cic86sgKX8ZGubg@mail.gmail.com>

Hi Markus

I have seen that you are a committer there so what I have seen that

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?
> >
> > Michael
>
>
>
> --
> Michael Nazzareno Trimarchi
> Amarula Solutions BV
> COO Co-Founder
> Cruquiuskade 47 Amsterdam 1018 AM NL
> T. +31(0)851119172
> M. +39(0)3479132170
> [`as] https://www.amarulasolutions.com



-- 
Michael Nazzareno Trimarchi
Amarula Solutions BV
COO Co-Founder
Cruquiuskade 47 Amsterdam 1018 AM NL
T. +31(0)851119172
M. +39(0)3479132170
[`as] https://www.amarulasolutions.com


  reply	other threads:[~2020-08-08 16:07 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 [this message]
2020-08-08 16:40     ` Michael Nazzareno Trimarchi
2020-09-02 11:31     ` Markus Armbruster
2021-02-03 16:51       ` Philippe Mathieu-Daudé
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='CAOf5uw=uiL2vVJQYaGcKU_SvVFDd-_h6QuaSZ9abZZQuZKEaUw@mail.gmail.com' \
    --to=michael@amarulasolutions.com \
    --cc=armbru@redhat.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).