Sample Header Ad - 728x90

Making USB to SATA DVD drive show up as sr0 in Debian

0 votes
1 answer
504 views
I have a WH16NS40 DVD drive that I want to use on my Debian 12 virtual machine. The drive is inside a Vantec NexStar DX2 USB 3.0 external enclosure, which connects to the DVD drive via a standard SATA cable. I had it working and was able to read and write ISOs to discs from my Debian 12 workstation, but when I plugged it into my hypervisor (Proxmox) and passed the USB device through to the VM, it does not show up as sr0 in lsblk and is not in /dev for sr0. The USB part does show up though, as shown below. lsusb
Bus 002 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS578 SATA 6Gb/s
lshw
*-usb
                      description: Mass storage device
                      product: USB to ATA/ATAPI Bridge
                      vendor: JMicron
                      physical id: 1
                      bus info: usb@2:1
                      version: 4.15
                      serial: 0123456789ABCDEF
                      capabilities: usb-2.10 scsi
                      configuration: driver=usb-storage maxpower=30mA speed=480Mbit/s
dmesg output:
[    1.418561] usb 2-1: New USB device found, idVendor=152d, idProduct=0578, bcdDevice= 4.15
[    1.418564] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.418565] usb 2-1: Product: USB to ATA/ATAPI Bridge
[    1.418566] usb 2-1: Manufacturer: JMicron
[    1.418566] usb 2-1: SerialNumber: 0123456789ABCDEF
[    1.422595] usb-storage 2-1:1.0: USB Mass Storage device detected
[    1.422697] usb-storage 2-1:1.0: Quirks match for vid 152d pid 0578: 1000000
[    1.422734] scsi host3: usb-storage 2-1:1.0
[    1.422797] usbcore: registered new interface driver usb-storage
[    1.423715] usbcore: registered new interface driver uas
Even before I put a disc in the drive, it was present in my workstation as /dev/sr0. But not here. My workstation is running KDE desktop, are there packages that come with KDE that make detecting these USB enclosures more accurate? How can I force the OS to consider this USB device a CDROM device and assign it as sr0? Thanks in advance!
Asked by bdrun33 (1 rep)
Nov 22, 2023, 01:19 AM
Last activity: Nov 22, 2023, 07:18 PM