On Jo, 16 dec 21, 23:30:37, Thomas Schmitt wrote:
> Hi,
>
> Jude DaShiell wrote:
> > [10200.545324] usb 3-1: Product: DISK
> > [10200.545329] usb 3-1: Manufacturer: Realtek
> > [10200.545637] usb-storage 3-1:1.0: USB Mass Storage device detected
> > [10200.546006] scsi host6: usb-storage 3-1:1.0
> > [10201.560487] scsi 6:0:0:0: CD-ROM Realtek Driver Storage 1.00 PQ: 0 ANSI: 0 CCS
> > [10201.566607] sr 6:0:0:0: [sr1] scsi3-mmc drive: 0x/0x caddy
> > [10201.588298] sr 6:0:0:0: Attached scsi CD-ROM sr1
>
> Looks like the device is emulating a CD-ROM which offers driver files
> to MS-Windows for automatic installation. The web says that this happens
> when the device does not get the right answers from the operating system
> which indicate that the drivers are already installed.
Indeed it does look like it.
> An Archlinux thread proposes to use a program named usb_modeswitch to get
> the device out of this mode
> https://bbs.archlinux.org/viewtopic.php?id=228195
> Debian has it in a package
> https://tracker.debian.org/pkg/usb-modeswitch
>
> I find its home page somehow confusing
> https://www.draisberghof.de/usb_modeswitch/
> But the web says that it is supposed to work automagically for known
> devices.
In most cases a simple 'eject' command is sufficient, so based on the
above something like this might do it:
eject /dev/sr1
The command `eject` is in the package with the same name.
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Attachment:
signature.asc
Description: PGP signature