Passthrough USB Blu Ray Burner in Windows 10 VM


MrWuf

Recommended Posts

I am still new to Unraid.  I have a USB ASUS BW-12D1S-U Blu-Ray burner I would like to passthrough to Windows 10 VMs. 

It does not show up among USB Devices in the VM "Form View" (which isn't surprising after having read a couple forums based on similar questions).   

When checking "System Devices", it shows up in "SCSI Devices".  I confirmed its name, bus, target, & unit via the lsscsi command in terminal. 

Based on the same forums, I edited the XML by adding a new entry within the <devices> </devices> block.

The VM boots fine and a new SCSI Controller was detected within Windows.  Attempting to update its drivers via the virtio ISO added a "Red Hat VirtIO SCSI pass-through controller" but that was it. 

Currently I have 3 SCSI Controllers listed in "Other devices" but have not been able to find any drivers.

 

I'm running Unraid v6.9.2.   Any guidance would be greatly appreciated! 

Link to comment

lsscsi: 

[11:0:0:0]     cd/dvd     ASUS     BW-12D1S-U     E402     /dev/sr0

 

Re: xml, I tried each of the following:  

<devices> 
  ...
  
  <controller type='scsi' index='4' model='virtio-scsi'/>
  <hostdev mode='subsystem' type='scsi'>
    <source>
      <adapter name='scsi_host11'/>
      <address type='scsi' bus='0' target='0' unit='0'/>
    </source>
    <readonly/>
    <address type='drive' controller='0' bus='0' target='0' unit='0'/>
  </hostdev>
  
</devices>

and 

<devices> 
  
  ...
  
      <controller type='scsi' index='4' model='virtio-scsi'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/>
    </controller>

    <hostdev mode='subsystem' type='scsi' managed='no'>
      <source>
        <adapter name='scsi_host11'/>
        <address bus='0' target='0' unit='0'/>
      </source>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </hostdev>

</devices>

 

Thank You

Link to comment

Try this:

<controller type='scsi' index='4' model='virtio-scsi'/>
  <hostdev mode='subsystem' type='scsi'>
    <source>
      <adapter name='scsi_host11'/>
      <address type='scsi' bus='0' target='0' unit='0'/>
    </source>
    <readonly/>
    <address type='drive' controller='4' bus='0' target='0' unit='0'/>
  </hostdev>

Since you have the controller with index=4 I think you need to attach the device to controller=4.

Let me know.

Link to comment

I would supprised if it is not in lsusb. My BU40 is connected via the Initio Controller.  The ASUS is Sata attached.

Bus 001 Device 031: ID 13fd:3609 Initio Corporation USB3.0 DEVICE

root@unraid:~# lsscsi | grep sr
[5:0:0:0]    cd/dvd  ASUS     BW-16D1HT        3.01  /dev/sr0 
[12:0:0:0]   cd/dvd  HL-DT-ST BD-RE BU40N      1.03  /dev/sr1 
Link to comment

Success!  @ghost82 Setting the controller number to match the index worked.  I obviously overlooked that when looking at other examples.  Thank you very much.

 

@SimonF For (my) learning sake, I had originally tried "lsusb" but did not see it listed. 

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 413c:2113 Dell Computer Corp. Dell KB216 Wired Keyboard
Bus 005 Device 002: ID 413c:301a Dell Computer Corp. Dell MS116 USB Optical Mouse
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 0b05:18f3 ASUSTek Computer, Inc. AURA LED Controller
Bus 003 Device 003: ID 8087:0025 Intel Corp. 
Bus 003 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0781:5583 SanDisk Corp. Ultra Fit
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 2516:0051 Cooler Master Technology Inc. AMD SR4 lamplight Control
Bus 001 Device 005: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

"lsscsi -t" does show the USB port however (definitely good to know).

[11:0:0:0]   cd/dvd  usb:1-2:1.0     /dev/sr0 

 

Thank you both very much for the quick responses & the help! 

Link to comment
19 minutes ago, MrWuf said:
usb:1-2

 

Try the following with your usb of 1-2 instead of 1-1.2 and you should be able to ID the info below to match to the lsusb. Maybe the ASMedia device.

 

root@unraid:/sys/bus/usb/devices/1-1.2# cd /sys/bus/usb/devices/1-1.2
root@unraid:/sys/bus/usb/devices/1-1.2# cat idProduct 
3609
root@unraid:/sys/bus/usb/devices/1-1.2# cat idVendor 
13fd
root@unraid:/sys/bus/usb/devices/1-1.2# cat busnum 
1
root@unraid:/sys/bus/usb/devices/1-1.2# cat devnum
31

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.