Qemu/kvm: multiple USB devices from the same vendor

Hi fellow gurus,
Trying to pass-through two USB devices. One works just fine, but two produces an error.
They are the same type from the same vendor and libvirt seems to have no way to differentiate between the two, as it only uses the <vendor id='0xnnnn'/> & <product id='0xnnn'/> strings and not serial number of the device.
There is a reference -unanswered- here: https://bugs.launchpad.net/qemu/+bug/1090602
The error message from virt-manager:
Error starting domain: operation failed: Multiple USB devices for 10c4:ea60, use <address> to specify one
Detailed output
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1063, in startup
self._backend.create()
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 678, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: operation failed: Multiple USB devices for 10c4:ea60, use <address> to specify one
The devices themselves:
Bus 001 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 008: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Is there any workaround or fix for this?
Cheers,
Mike.
Last edited by DrMikeDuke (2013-07-22 14:01:18)

As I understand it, host:bus.addr is an alternative to host:vendor_id:product_id. So if I wanted to pass both of these thumb drives:
$ lsusb
Bus 001 Device 002: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd CBM209x Flash Drive (OEM)
Bus 001 Device 003: ID 1e3d:2093 Chipsbank Microelectronics Co., Ltd CBM209x Flash Drive (OEM)
I would use host:001.002 and host:001.003 . Note I said would use, because I've never tried it.
And usb_add is a qemu monitor command. See sections 3.4 and 3.5 of the doc you linked for info on the monitor.
All this being said, I don't use libvirt stuff so I don't know if it has the capability to specify USB devices by bus.addr or whether or not it enables the monitor.

Similar Messages

  • Can't create multiple dependent LOVs from the same bind variable

    Hi all,
    I'm having difficulty creating multiple dependent LOVs from queries based on the same bind variable in my JSF application (JDev 10.1.3.1). Basically I have a static LOV in a af:selectOneChoice component from which users select a value which then becomes the bind variable value for two separate queries that generate two different dependent LOV. Having developed the code along the lines of Steve Muench 's blog (http://radio.weblogs.com/0118231/2006/04/03.html#a685), the first dependent LOV works really well. The first dynamic LOV gets refreshed whenever the list from the static LOV changes, and I can execute other queries based on the values selected.
    The problem arises when I want to create the second dynamic/dependent LOV that has the same bind variable based on the same selected value from the static LOV. Here I would also like the functionality whereby the second dynamic LOV is also refreshed after the selected value in the static LOV changes. Thinking that all I had to do was replicate the methodology used in creating the first dependent LOV, I created the second iterator, invokeAction and other binding components in the PageDef. The executable section now looks like the following:
    <iterator id="SelectStaticQueryViewObjIterator"
                  Binds="SelectStaticQueryViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>
    <invokeAction id="refreshDynamicQuery1BindParameter"
                  Binds="ExecuteWithParams1" Refresh="prepareModel"
                  RefreshCondition="#{empty requestScope.VariableChanged}"/>
    <iterator id="SelectDynamicQuery1ViewObjIterator"
                  Binds="SelectDynamicQuery1ViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>
    <invokeAction id="refreshDynamicQuery2BindParameter"
                  Binds="ExecuteWithParams2" Refresh="prepareModel"
                  RefreshCondition="#{empty requestScope.VariableChanged}"/>
    <iterator id="SelectDynamicQuery2ViewObjIterator"
                  Binds="SelectDynamicQuery2ViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>I now have a problem whereby everytime I change the value of the static LOV, multiple HTML components for the same ADF component are being generated (the LOVs are refreshed via PPR). The surprising thing is that this duplicating behaviour applies to all ADF components listed after the first dynamic LOV in the *.jspx source. For example, I have a <af:outputText="Test Text"/> component created after the first dynamic LOV. Each time the value in the static LOV changes, a duplicate HTML component is created. This also applies to the 'related' second dynamic LOV which is bound to a af:selectOneChoice component - multiple dropdown lists are created. I've checked with the browser's Page Source and there are actually multiple html components being generated with their own unique ADF-generated IDs. I've tried all different options for the Referesh and RefreshCondition attibutes in the second invokeAction element but nothing seems to eliminate this issue.
    Any suggestions about how I might create multiple dependent LOVs from the same bind variable that get refreshed when the selected value changes would be greatly appreciated.
    Thanks
    George

    Hi all,
    Just updating the thread on how I've overcome this issue. As it stood the manner in which I was trying to solve my use case, as described above, was creating an absolute mess. Then with a blank sheet of paper I quickly realised that a much simpler solution would be to create a whole series of master-detail VOs and build my components around them. Thankfully I haven't had any issues going down this path as yet.
    Cheers
    George

  • Unable to download e-books after PC upgrade.  I recently upgraded my laptop to one from the same vendor so all I had to do was to upgrade a few drivers on the hard drive.  Unfortunately my copy of ADE is not so cooperative.  Every time I try to download a

    I recently upgraded my laptop to one from the same vendor so all I had to do was to upgrade a few drivers on the hard drive.  Unfortunately my copy of ADE is not so cooperative.  Every time I try to download an e-book I get the message "E_AUTH_BAD_DEVICE_KEY_OR_PKCS12".  Uninstalling ADE (all three versions) along with cleaning the registry does not clear the error.  And I cannot de-authorize and reauthorize my new laptop as the de-authorize option is greyed out.  Anyone else encounter this issue?

    Problem solved finally.  Used regedit.
    https://helpx.adobe.com/digital-editions/kb/error-e_act_not_ready.html

  • How can i create multiple apple ids from the same mac

    There seems to be a limit on how many apple ids can be created from the same cpu. Trying to create 100 apple ids for a client to use on ipads distributed to employees i found i could only create three or four before i got the message account cannot be created, contact itunes support. Had the same problem creating multiple itunes accounts through the App Store.

    I found this discussion because I need to create dozens of Apple IDs for the faculty and staff of the school for which I'm the IT Director.
    This is weak.
    Apple, PLEASE upgrade the Apple ID system so it represents the current needs and paradigm.
    What am I thinking, Apple (like Google) don't follow user discussion forums, except by accident when an employee sees something and is motivated enough to carry the water for users in need.

  • Running SCOM ACS in multiple customer environments from the same SCOM management group ?

    We are currently monitoring multiple customer environments from the one SCOM management group and are looking at possibilities of using ACS for auditing. 
    Is this technically possible ?  Does the ACS collector service need to sit on the customer side ?  could it be installed on the same server acting as the SCOM gateway server ?

    Hi,
    The number of ACS forwarders that can be supported by a single ACS collector and ACS database can vary, depending on many factors, such as the number of events that your audit policy generates, the role of the computers that the ACS forwarders monitor.
    If your environment contains too many ACS forwarders for a single ACS collector, you can install more than one ACS collector. Each ACS collector must have its own ACS database.
    An ACS Collector must be installed on computers running Operations Manager management server and for security reasons, it must also be a member of an Active Directory domain.
    More details please refer to the article below:
    http://technet.microsoft.com/en-us/library/hh212908.aspx
    Regards,
    Yan Li
    Regards, Yan Li

  • Record with two usb devices at the same time on LOGIC PRO X

    I would like to record both with my Samson USB mic and my guitar wich has also a USB input in the same time. How do i make that happen? Logic Pro X only sees one device whilst recording.

    You need to create an aggregate device in OSX, and then select that as your audio device in Logic's options.
    Then whatever you've set up as the inputs will be selectable within the logic audio buses.
    Here's an official Apple article to get you on your way:-
    http://support.apple.com/kb/HT3956
    Any more questions please post back.

  • How do i manage multiple ios devices using the same apple id

    how do i keep my iphone and ipad private while using other devices with the same apple id?

    if you want to share app don't use the same appleID use family sharing
    if you do use the same appleID turn off imessage and be prepared that you will never be able
    to message between the devices or use facetime between them in the world of apple the appleID is 1! indentity

  • HT5538 How do you separate multiple iOS devices using the same apple id account for Face Time calls and iMessaging?

    How do you separate multiiple ios devices using the same apple id account for Face Time calls and iMessaging?

    The only way I have seen is to have each device use a if fervent email account, if they all are on the same email the FaceTime connection is either to a phone number or to an email address.  If they ar all on the same email, it is up to the user to decide which to use.

  • Can multiple Virtual Devices use the same IVI Driver Sessions?

    I am using Switch Executive 2.0 and I'm having problems creating multiple Virtual Devices.
    I have created a virtual device on a development computer that has no hardware connected to it.  This virtual device uses specific drivers to simulate the devices.  The problem I'm having is that when I create a second virtual device and try to add the same IVI Switches as the first Virtual device, I'm getting the following error:
    An error has occurred while attempting to access the device deviceA_ivi.
    Error -223116 occurred:
    Internal Software error occurred in Switches software.  Please contact National Instruments Support.
    File name: .\source\mxsWrappers\tMXSObject.cpp
    Line Number 192:
    Status Code: -223116
    Can someone please explain why?

    Can you please elaborate on how did you create those simulated devices? Namely, what does your IVI configuration look like? What does the driver session for the logical name look like? What's the software module? What's the hardware module? What is the driver setup string, and what is the simulation mode for the device in question?
    -Serge
    Srdan Zirojevic

  • Can Multiple AppleTVs Stream from the Same iTunes?

    I'm about to receive two AppleTV units for my home. One for each of the main TVs. Can I stream content from one computer to both units at the same time? (I'm not looking to have different content played at the same time, just the same thing going to both units) If anyone has some insight on this, I'd appreciate it!

    Chris is correct, if you stream the same content to two tv's it will be via two streams. You will need to initiate each stream from each tv so synchronisation will be difficult for you.
    I often have 2 or 3 streams from my library at the same time, I don't have any issues with it. (My mac is on a Gb network with my tv's on either the same Gb network or their own wifi networks)

  • HT1386 Syncing to multiple iTunes libraries from the same computer

    Can me and my girlfriend use the same computer to sync our devices but only sync them to our own individual iTunes library's?

    See http://support.apple.com/kb/HT1495.

  • Can I control iTunes via the the remote on multiple iOS devices at the same time?

    Hi, I know this is probably a no brainer but I have an iPad and an iPhone on one apple id both with the remote app on them. Problem is the app only seems to run on my iPad at the moment! Ideally it would run on both and on a third iPhone (my wifes and different apple id) at the same time so that we could all control the music... Is it possible?

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"? Ones with a green checkmark are solved.

  • How to install multiple AirPort devices in the same network?

    Can Someone tell me how to install more than One AirPort in the same network?
    Does the AirPort Controls rádio channels?
    Does they Support Rogue AP?

    Hi,
    Did you see these how to guides ?
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/287bab90-0201-0010-f48e-cc55b0cd13d0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e473ab90-0201-0010-22ac-fdd925cac167
    Regards.

  • TS4020 So, Apple devices are personal and not really meant to be used by multiple persons (even from the same family)?

    Does each person in a family necessarily need to own a personal device? Shareable devices like television or radio have been useful and have helped family or friendly bonding. Of course, it may be difficult to make a device such as a mobile phone a shareable device, but wouldn't it be helpful for all device owners to have the freedom to share their devices (with their family members or partners, for example)?

    Welcome to the Apple Community Ravi.
    This is a user to user community, Apple are unlikely to read your comments, if you have any suggestions that you think might enhance iCloud you can send Apple your feedback here.

  • Extracting innertext from multiple span tag from the same li tag

    Hello, i want to extract after navigation the innertext of the <span> tag  but it is very difficult because it comes a a full list but i want to extract it one by one and then put it in a listview...
    THE DOCUMENT:
    </li><li class="video-list-item related-list-item "> <div class="content-wrapper">
    <a href="https://www.youtube.com/watch?v=94Rq2TX0wj4" class="content-link spf-link yt-uix-sessionlink" rel="spf-prefetch" title="Martin Solveig &amp; GTA - Intoxicated (Official Music Video)" data-sessionlink="ei=VDvNVJ-XI6a3-APo7YDYBw&amp;feature=relmfu&amp;ved=CAYQzRooAw"> <span dir="ltr" class="title" aria-describedby="description-id-785839">
    Martin Solveig &amp; GTA - Intoxicated (Official Music Video)
    </span>
    <span class="accessible-description" id="description-id-785839">
    - Duration: 3:15.
    </span>
    <span class="stat attribution">
    <span class="g-hovercard" data-ytid="UCpDJl2EmP7Oh90Vylx0dZtA" data-name="relmfu">
    by <span class=" g-hovercard" data-ytid="UCpDJl2EmP7Oh90Vylx0dZtA" data-name="">Spinnin' Records</span>
    </span>
    </span>
    <span class="stat view-count">1,097,934 views</span>
    </a>
    </div>MY CODE: Dim dc As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("li")
            For Each jg As HtmlElement In dc
                Dim kl As String = jg.OuterHtml
                If kl.Contains("yt-uix-scroller-scroll-unit") Then
                    Dim kd As HtmlElementCollection = jg.GetElementsByTagName("a")
                    For Each kw As HtmlElement In kd
                        Dim kkCOLLECTION As HtmlElementCollection = kw.GetElementsByTagName("span")
                            Dim dd As String = jg.GetAttribute("data-video-title")
                            Dim LinKi As String = kw.GetAttribute("href")
                            Dim kbv As String = LinKi.Remove(43)
                        Dim View_upld As String = kkCOLLECTION(1).InnerText
                            pl.Add(dd)
                            pll.Add(LinKi)
                            plll.Add(View_upld)
                            For Each nn As String In pl
                                For Each nnn As String In pll
                                    For Each nnnn As String In plll
                                        Dim lvi As New ListViewItem
                                        lvi.Text = (dd & vbCrLf)
                                        lvi.SubItems.Add(View_upld & vbCrLf)
                                        lvi.SubItems.Add(kbv & vbCrLf)
                                        ListView1.Items.Add(lvi)
                                    Next
                                Next
                            Nextit seems i am doing it wrong. i want it to extract the innertext of each span so i can put it in the listview cells.Please, this is very important as its a project i am working on.

    I would take a look at http://htmlagilitypack.codeplex.com/
    http://pauliom.wordpress.com

Maybe you are looking for

  • Error in ABAP Docs 2.0 tool

    Hello Experts, Have anyone tried ABAP Docs 2.0 tool in SAP version 4.7? This is a good tool. Actually we have a plan to include this tool and customize it for our purpose. But while installing the tool, i found some issues. So, i seek some clarificat

  • Updating Peroblem - CS6

    UPDATING PROBLEM CS 6 Hi I've been running cs6 for over twelve months with all updates going ahead notifying me of when available and me selecting an updating. I re-installed in February the whole CS6 suite no problems. Updates continued okay. Re-ins

  • Session Problems in Servlets

    Hi i had one doubt in session (servlet) I had deploy two application in tomcat with two different war files e.g., A.war and B.war., At one situation i am forward my application from A to B at the time i had store some values in session in A and Pass

  • Strange behavior of breakpoints

    Hello fellow scripters, I have a problem with the behavior of breakpoints in the ESTK. If I set breakpoints inside an if / else construct and start the script, the ESTK automatically changes those breakpoints to an inactive state. If this is a featur

  • Fail in connecting school WIFI

    When I use ios 3.2.2 I can conect WIFI without difficult. But after upgrade into ios 4.2.1 I can't log in School Wifi again. Our school use WPA 802.1x wifi. What can i do? Thx for help