qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Lenovo S660 is not usb passrtu to qemu guest


From: Алексей Болдырев
Subject: Re: [Qemu-discuss] Lenovo S660 is not usb passrtu to qemu guest
Date: Thu, 11 May 2017 17:44:29 +0300

Did not help

11.05.2017, 08:05, "Manfred Haertel, DB3HM" <address@hidden>:
> Алексей Болдырев schrieb:
>>  So, in order: Do a scan through monitor:
>>
>>  device_add usb-host, vendorid = 0x18d1, productid = 0x4ee2, id = lenovo
>>
>>  The most interesting thing is that other devices are thrown successfully. 
>> On this phone the kernel: 3.10.49. On the phone is LeanageOS.
>>  What could be the problem?
>
> There is a chance that it's the same problem as I described on May 6th
> as it happened on my phone.
>
> As a test, try the following on the host:
>
> Compile the following small program as a library ("gcc -shared -fPIC -o
> usbnosetconf.so usbnosetconf.c"):
>
> #include <stdio.h>
> #include <libusb-1.0/libusb.h>
>
> int libusb_set_configuration ( libusb_device_handle *dev , int
> configuration )
> {
>    printf ( "faking libusb_set_configuration\n" ) ;
>
>    return 0 ;
> }
>
> Then do "export LD_PRELOAD=/path/to/lib/usbnotsetconf.so" and start qemu.
>
> If USB passthrough works then, it's the same problem.
>
> --
> Manfred Härtel, DB3HM mailto:address@hidden
>                           http://rz-home.de/mhaertel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]