qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* usb-host device not working
@ 2021-07-13 14:49 Programmingkid
  2021-07-13 14:51 ` Programmingkid
  2021-07-13 14:54 ` Daniel P. Berrangé
  0 siblings, 2 replies; 4+ messages in thread
From: Programmingkid @ 2021-07-13 14:49 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Paolo Bonzini, QEMU devel list, Howard Spoelstra

I have been having problems with using host USB devices lately. I use to be able to use host USB devices but can't currently. After doing some git bisecting I found it was this patch that causes this issue:

commit 627302afb2f85cdd4b59595361876487aef19b7a (refs/bisect/bad)
Author: Gerd Hoffmann <kraxel@redhat.com>
Date:   Thu Jun 24 12:38:35 2021 +0200

    usb: build usb-host as module
    
    Drop one more shared library dependency (libusb) from core qemu.
    
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
    Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
    Message-Id: <20210624103836.2382472-34-kraxel@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

I build QEMU like this:

./configure --target-list=i386-softmmu --enable-libusb && make -j 9

This command use to work but fails now with the above commit:

qemu-system-i386 -usb -device usb-host,vendorid=0x093a,productid=0x2510

I think this is a bug with the commit. Any suggestions?

Thank you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: usb-host device not working
  2021-07-13 14:49 usb-host device not working Programmingkid
@ 2021-07-13 14:51 ` Programmingkid
  2021-07-13 14:54 ` Daniel P. Berrangé
  1 sibling, 0 replies; 4+ messages in thread
From: Programmingkid @ 2021-07-13 14:51 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Paolo Bonzini, QEMU devel list, Howard Spoelstra



> On Jul 13, 2021, at 10:49 AM, Programmingkid <programmingkidx@gmail.com> wrote:
> 
> I have been having problems with using host USB devices lately. I use to be able to use host USB devices but can't currently. After doing some git bisecting I found it was this patch that causes this issue:
> 
> commit 627302afb2f85cdd4b59595361876487aef19b7a (refs/bisect/bad)
> Author: Gerd Hoffmann <kraxel@redhat.com>
> Date:   Thu Jun 24 12:38:35 2021 +0200
> 
>    usb: build usb-host as module
> 
>    Drop one more shared library dependency (libusb) from core qemu.
> 
>    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
>    Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
>    Message-Id: <20210624103836.2382472-34-kraxel@redhat.com>
>    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> 
> I build QEMU like this:
> 
> ./configure --target-list=i386-softmmu --enable-libusb && make -j 9
> 
> This command use to work but fails now with the above commit:
> 
> qemu-system-i386 -usb -device usb-host,vendorid=0x093a,productid=0x2510
> 
> I think this is a bug with the commit. Any suggestions?
> 
> Thank you.

Forgot to mention this issue is observed on Mac OS 11.1.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: usb-host device not working
  2021-07-13 14:49 usb-host device not working Programmingkid
  2021-07-13 14:51 ` Programmingkid
@ 2021-07-13 14:54 ` Daniel P. Berrangé
  2021-07-13 14:59   ` Programmingkid
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel P. Berrangé @ 2021-07-13 14:54 UTC (permalink / raw)
  To: Programmingkid
  Cc: Paolo Bonzini, Howard Spoelstra, Gerd Hoffmann, QEMU devel list

On Tue, Jul 13, 2021 at 10:49:12AM -0400, Programmingkid wrote:
> I have been having problems with using host USB devices lately. I use to be able to use host USB devices but can't currently. After doing some git bisecting I found it was this patch that causes this issue:
> 
> commit 627302afb2f85cdd4b59595361876487aef19b7a (refs/bisect/bad)
> Author: Gerd Hoffmann <kraxel@redhat.com>
> Date:   Thu Jun 24 12:38:35 2021 +0200
> 
>     usb: build usb-host as module
>     
>     Drop one more shared library dependency (libusb) from core qemu.
>     
>     Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
>     Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
>     Message-Id: <20210624103836.2382472-34-kraxel@redhat.com>
>     Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> 
> I build QEMU like this:
> 
> ./configure --target-list=i386-softmmu --enable-libusb && make -j 9
> 
> This command use to work but fails now with the above commit:
> 
> qemu-system-i386 -usb -device usb-host,vendorid=0x093a,productid=0x2510
> 
> I think this is a bug with the commit. Any suggestions?

It'll be helpful to explain what kind of failure you observe, including
any exact error messages seen ? 


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: usb-host device not working
  2021-07-13 14:54 ` Daniel P. Berrangé
@ 2021-07-13 14:59   ` Programmingkid
  0 siblings, 0 replies; 4+ messages in thread
From: Programmingkid @ 2021-07-13 14:59 UTC (permalink / raw)
  To: "Daniel P. Berrangé"
  Cc: Paolo Bonzini, Howard Spoelstra, Gerd Hoffmann, QEMU devel list



> On Jul 13, 2021, at 10:54 AM, Daniel P. Berrangé <berrange@redhat.com> wrote:
> 
> On Tue, Jul 13, 2021 at 10:49:12AM -0400, Programmingkid wrote:
>> I have been having problems with using host USB devices lately. I use to be able to use host USB devices but can't currently. After doing some git bisecting I found it was this patch that causes this issue:
>> 
>> commit 627302afb2f85cdd4b59595361876487aef19b7a (refs/bisect/bad)
>> Author: Gerd Hoffmann <kraxel@redhat.com>
>> Date:   Thu Jun 24 12:38:35 2021 +0200
>> 
>>    usb: build usb-host as module
>> 
>>    Drop one more shared library dependency (libusb) from core qemu.
>> 
>>    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
>>    Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
>>    Message-Id: <20210624103836.2382472-34-kraxel@redhat.com>
>>    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> 
>> I build QEMU like this:
>> 
>> ./configure --target-list=i386-softmmu --enable-libusb && make -j 9
>> 
>> This command use to work but fails now with the above commit:
>> 
>> qemu-system-i386 -usb -device usb-host,vendorid=0x093a,productid=0x2510
>> 
>> I think this is a bug with the commit. Any suggestions?
> 
> It'll be helpful to explain what kind of failure you observe, including
> any exact error messages seen ? 
> 
> 
> Regards,
> Daniel
> -- 
> |: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org         -o-            https://fstop138.berrange.com :|
> |: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
> 

Sure, here is what I see:

qemu-system-i386: -device usb-host,vendorid=0x093a,productid=0x2510: 'usb-host' is not a valid device model name




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-13 15:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-13 14:49 usb-host device not working Programmingkid
2021-07-13 14:51 ` Programmingkid
2021-07-13 14:54 ` Daniel P. Berrangé
2021-07-13 14:59   ` Programmingkid

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).