USB device you are trying to connect to the virtual machine is being used by ...

Discussion in 'Parallels Desktop for Mac' started by intimus, May 20, 2006.

  1. intimus

    intimus Bit poster

    Messages:
    5
    Hi,

    I'm running a home control software only available for Windows (ETS3) and would like to use a USB interface - and get the following message:

    "USB device you are trying to connect to the virtual machine is being used by another process. Wait 5-10 seconds, then try to connect the device again. If this does not help, find the application that blocked up the device and disconnect it manually."


    Running USB Prober on my system (MacBook Pro 2GHz/10.4.6, Parallels Release Candidate) finds the device as follows. Has anyone got an idea of how to force MacOS X to ignore this device?

    Thanks,
    Ralf aka Intimus

    USB Prober Output:

    Code:
    Full Speed device @ 3 (0x1D100000): .............................................   Composite device: "KNX-USB Data Interface"
        Device Descriptor   
            Descriptor Version Number:   0x0101
            Device Class:   0   (Composite)
            Device Subclass:   0
            Device Protocol:   0
            Device MaxPacketSize:   8
            Device VendorID/ProductID:   0x135E/0x0022   (unknown vendor)
            Device Version Number:   0x0101
            Number of Configurations:   1
            Manufacturer String:   1 "Gira Giersiepen GmbH & Co. KG"
            Product String:   2 "KNX-USB Data Interface"
            Serial Number String:   0 (none)
        Configuration Descriptor   
            Length (and contents):   41
                Raw Descriptor (hex)    0000: 09 02 29 00 01 01 00 80  19 09 04 00 00 02 03 00  
                Raw Descriptor (hex)    0010: 00 00 09 21 01 01 00 01  22 38 00 07 05 81 03 40  
                Raw Descriptor (hex)    0020: 00 02 07 05 02 03 40 00  02 
            Number of Interfaces:   1
            Configuration Value:   1
            Attributes:   0x80 (bus-powered)
            MaxPower:   50 ma
            Interface #0 - HID   
                Alternate Setting   0
                Number of Endpoints   2
                Interface Class:   3   (HID)
                Interface Subclass;   0
                Interface Protocol:   0
                HID Descriptor   
                    Descriptor Version Number:   0x0101
                    Country Code:   0
                    Descriptor Count:   1
                    Descriptor 1   
                        Type:   0x22  (Report Descriptor)
                        Length (and contents):   56
                            Raw Descriptor (hex)    0000: 06 A0 FF 09 01 A1 01 09  01 A1 00 06 A1 FF 09 03  
                            Raw Descriptor (hex)    0010: 09 04 15 80 25 7F 35 00  45 FF 75 08 85 01 95 3F  
                            Raw Descriptor (hex)    0020: 81 02 09 05 09 06 15 80  25 7F 35 00 45 FF 75 08  
                            Raw Descriptor (hex)    0030: 85 01 95 3F 91 02 C0 C0  
                        Parsed Report Descriptor:   
                              Usage Page    (65440) 
                              Usage 1 (0x1)    
                                  Collection (Application)    
                                    Usage 1 (0x1)    
                                        Collection (Physical)    
                                          Usage Page    (65441) 
                                          Usage 3 (0x3)    
                                          Usage 4 (0x4)    
                                          Logical Minimum.........    (-128)  
                                          Logical Maximum.........    (127)  
                                          Physical Minimum........    (0)  
                                          Physical Maximum........    (-1)  
                                          Report Size.............    (8)  
                                          ReportID................    (1)  
                                          Report Count............    (63)  
                                          Input...................   (Data, Variable, Absolute, No Wrap, Linear, Preferred State, No Null Position, Bitfield) 
                                          Usage 5 (0x5)    
                                          Usage 6 (0x6)    
                                          Logical Minimum.........    (128)  
                                          Logical Maximum.........    (127)  
                                          Physical Minimum........    (0)  
                                          Physical Maximum........    (255)  
                                          Report Size.............    (8)  
                                          ReportID................    (1)  
                                          Report Count............    (63)  
                                          Output..................   (Data, Variable, Absolute, No Wrap, Linear, Preferred State, No Null Position, Nonvolatile, Bitfield) 
                                        End Collection     
                                  End Collection     
                Endpoint 0x81 - Interrupt Input   
                    Address:   0x81  (IN)
                    Attributes:   0x03  (Interrupt no synchronization data endpoint)
                    Max Packet Size:   64
                    Polling Interval:   2 ms
                Endpoint 0x02 - Interrupt Output   
                    Address:   0x02  (OUT)
                    Attributes:   0x03  (Interrupt no synchronization data endpoint)
                    Max Packet Size:   64
                    Polling Interval:   2 ms
     
  2. scott.junk@paksense.com

    scott.junk@paksense.com Junior Member

    Messages:
    14
    I think the problem is that the device is an "HID" device (Human Interface Device). Typically HID devices are mice and keyboards though they can be anything. Parallels does not support access to HID devices in the VM. In the Windows version of Parallels if you plug in an HID device you get a specific message that Parallels does not support HID devices. The Mac message is a bit misleading...

    If you have access to a Windows machine (which I am guessing you do) it might be interesting to try downloading the trial of Parallels and setting it up to see if you get the same issue, though with a different message.

    Back before USB was introduced in the Mac Beta I actually downloaded and setup a trial on Windows to see what to expect. At that time, I started a thread asking for HID support and someone from Parallels said they would consider it. I have not heard anything else.

    I would LOVE to see HID device support personally. I am a software/hardware developer and the device I am responsible for is HID. If Parallels supported HID then I could do all of my work in Parallels on my Mac and I would be Very Very happy. This is so important to me in fact that I am seriously considering redesigining my device to use another USB protocol (i.e. not HID) in the next release to get around this issue...

    Incidentally, Virtual PC on Windows does NOT support HID devices. VMWare Workstation does...
     
  3. joem

    joem Forum Maven

    Messages:
    1,247
    Scott, maybe you can explain (if you have a minute) why this is so difficult. Why can't Parallels just capture all the bits from a specific device and pass them to the VM guest, and capture all the bits from the guest and pass them to the device? The underlying OS can tell which device is which, so why is this so difficult to pass through. I've done a fair amount of hardware and driver development, although not USB, and that this problem can exist makes no sense to me.

    TIA for any response you have time for, including a link to someone else's explanation if you have one.
     
    Last edited: May 20, 2006
  4. dlynn439

    dlynn439 Bit poster

    Messages:
    4
    I'm in the same boat, I need the VM to recognize a few HID devices. They are actually remote controls that have a usb connection to download programming, but OSX won't release them

    HELP!
     

Share This Page