MrWuf Posted October 12, 2021 Share Posted October 12, 2021 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! Quote Link to comment
ghost82 Posted October 12, 2021 Share Posted October 12, 2021 8 hours ago, MrWuf said: Any guidance would be greatly appreciated! What's the output of lsscsi and what changes did you do to the xml to add the scsi controller and the BW scsi device? Quote Link to comment
MrWuf Posted October 12, 2021 Author Share Posted October 12, 2021 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 Quote Link to comment
ghost82 Posted October 12, 2021 Share Posted October 12, 2021 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. Quote Link to comment
SimonF Posted October 12, 2021 Share Posted October 12, 2021 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 Quote Link to comment
SimonF Posted October 12, 2021 Share Posted October 12, 2021 (edited) root@unraid:~# lsscsi -t [12:0:0:0] cd/dvd usb:1-1.2:1.0 /dev/sr1 This should show the usb port Edited October 12, 2021 by SimonF Quote Link to comment
MrWuf Posted October 12, 2021 Author Share Posted October 12, 2021 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! Quote Link to comment
SimonF Posted October 12, 2021 Share Posted October 12, 2021 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 Quote Link to comment
MrWuf Posted October 13, 2021 Author Share Posted October 13, 2021 @SimonF You were correct. I was able to verify with your steps above that it is the ASMedia device. As a result, I'm also able to add it via USB Devices. Thanks again to you both. 1 Quote Link to comment
Recommended Posts
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.