How to switch HP printer from CDROM mode to Printer/Scanner mode

printingsaneusb

I have an HP multifunction printer/scanner M1123 MFP. I installed the latest hplip that should support it and also hp-plugin. However, when I plug the device in, I only see a CDROM detected in dmesg. lsusb only shows "Hewlett Packard" without anything else.

This is one of those devices that shows up as a CDROM and then auto-installs the driver on Windows.

Is there some command to make it switch from CDROM/USB memory more to "Printer/scanner" mode? xsane reports that it fails to find any device.

Best Answer

If your system has proper kernel modules loaded, it should be enough to run eject /dev/sr0 (assuming /dev/sr0 is the printer's virtual cdrom device - see dmesg to check this). You will probably need root privileges for that (run with sudo).

Related Question