change driver for cd-rom, xhci_hcd to ehci_hcd

Hello

Can I set other driver than default? (Running KDE/Plasma.)
My cd/dvd-rom uses xhci_hcd and it feels unstable when ripping cds, can I set it to use ehci_hcd?

~>dmesg -w
   31.355070] pci 0000:01:00.0: Refused to change power state, currently in D0
   34.514939] usb 3-1: new high-speed USB device number 2 using xhci_hcd
   34.644550] usb 3-1: New USB device found, idVendor=13fd, idProduct=0842
   34.644564] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
   34.644565] usb 3-1: Product: USB Mass Storage Device  
   34.644570] usb 3-1: Manufacturer: TSSTcorp
   34.644572] usb 3-1: SerialNumber: SATASLIM00002020330
   34.722405] usb-storage 3-1:1.0: USB Mass Storage device detected
   34.722480] scsi host6: usb-storage 3-1:1.0
   34.722564] usbcore: registered new interface driver usb-storage
   34.723516] usbcore: registered new interface driver uas
   35.731762] scsi 6:0:0:0: CD-ROM            TSSTcorp CDDVDW SE-S084C  TU00 PQ: 0 ANSI: 0
   35.732197] scsi 6:0:0:0: Attached scsi generic sg2 type 5
   35.774565] sr 6:0:0:0**: Power-on or device reset occurred**
   35.840083] sr 6:0:0:0: [sr0] scsi3-mmc drive: 8x/24x writer dvd-ram cd/rw xa/form2 cdda tray
   35.840091] cdrom: Uniform CD-ROM driver Revision: 3.20
   35.840464] sr 6:0:0:0: Attached scsi CD-ROM sr0

I have tested (as root) to

# echo "options ehci_hcd quirks=13fd:0842:u" >/etc/modprobe.d/ignore_xhci.conf
# mkinitrd

which I thought would make it use ehci, but with no change.

EDIT: I want to use it by USB2 driver

Hi, not an USB guru here, so you might wait for a better answer…
Nevertheless, see if the following hints ring a bell…

  1. Want ehci_hcd? Connect your drive to an USB 2.0 port if you have one.
  2. No wonder “options ehci_hcd quirks=13fd:0842:u” didn’t work, there is no such option for the ehci_hcd driver (check “modinfo ehci_hcd”).
  3. AFAIK the xhcd_ vs ehcd_ choice is dependent on the USB host, not the guest peripheral device connected to that port (but I might be wrong…).
  4. Want still to try the USB 2.0 protocol? Connect your ripper to a virtual machine (e.g. in VirtualBox) where you can choose to disable USB 3.0 support.

Hope This Helps.

I concur with the above, however AFAIU you can sometimes disable the XHCI controller in the BIOS/UEFI. I’m not sure that it will help in this situation anyway. Quinness, you opening statement is a little vague…

My cd/dvd-rom uses xhci_hcd and it feels unstable when ripping cds, can I set it to use ehci_hcd?

What makes you think it is unstable as such?

Thanks to both of you :slight_smile:
There was a hardware error.
Unfortunately during testing, before posting, a CD was working in both this broken, and in some other reader. New testing with another disc now, after your good ideas, was working in other reader, but stopped at 72% in broken.

Switched to USB2 and ehci_hcd was loaded when cd-rom was connected. And the problem, here it comes, finally provided, description of the problem : when copied a CD it stopped at between 60%-90% of the whole CD. No message in ‘dmesg -w’, just trying to re-read.

Tried to connect a USB2hub but with no luck, still using xhci_hcd.
Must test under some VM, report later sometime.