Linux Mint Forums
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
HP Laserjet 401n — disable smart install?
Post by GatorNation1 » Sat Aug 10, 2013 12:42 pm
I think I have to turn off smart install to use this printer in Linux Mint and then use HPLIP? This is an early model printer and I hope that smart install can be turned off. Serial number is VNB4801838. Does anyone know how to turn off the smart install to use the printer with Linux Mint?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: HP Laserjet 401n — disable smart install?
Post by pdc_2 » Sun Aug 11, 2013 7:38 pm
HPLIP seems to be a good start for linux support for HP products
suggests there is full support for your printer
I do not own an HP printer but things look auspicious for you from the above page
also provides some information
Re: HP Laserjet 401n — disable smart install?
Post by DavePlummer » Sun Aug 11, 2013 8:08 pm
Re: HP Laserjet 401n — disable smart install?
Post by pdc_2 » Mon Aug 12, 2013 12:39 am
so it seems that some/all HP printers are set up the way various USB modems are: ie they have windows software on them; and when first plugged in, are seen as virtual CD-ROM devices;
mention that some have successfully used usb_modeswitch;
that was originally developed for the USB modems; may work to switch the identification of the HP printers; . I see the website now says it is for switching usb devices
the arch post gives a script for the usb_modeswitch; first one would need to install it
HP laserjet p1102w can’t disable smart install [duplicate]
I’m trying to install my HP laserjet professional p1102w printer via usb on Ubuntu 16.04 LTS. I’m focusing on getting it to work locally because I think wirelessly is probably more unstable or takes more time to try fix. It has worked with windows before, but I switched to Linux recently. I found my printer on System settings/printers. I actually found two, probably because it was also used wirelessly at some point. I don’t remember at what stage, but I decided to delete them both. Now they are not there. I tried hplip using this page on hplipopensource using hp-setup, when I do discover device via usb, I get a popup that wants to disable smart install. I accept but I get this error message:
I go to the link and try method nr 2. (Because my printer doesn’t have a front panel which is required for method 1). When I run hp-doctor I get error:
HPLIP cannot detect devices in your network. This may be due to existing firewall settings blocking the required ports like (5353/udp). When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps see http://hplipopensource.com/node/375
I follow the link and I don’t understand where I should go. I just skip that step for now and try hp-doctor: I updated repository and installed all missing/incompatible packages. After that, it says:
error: Smart Install is enabled in "HP LaserJet Professional P 1102w" device(s). Do you want to download and disable smart install?(y=yes*, n=no):
Traceback (most recent call last): File "/usr/bin/hp-doctor", line 328, in queues.main_function(core.passwordObj, MODE,ui_toolkit, False, DEVICE_URI) File "/usr/share/hplip/base/queues.py", line 349, in main_function SI_sts, error_str = smart_install.disable(mode, '', None, None, passwordObj) File "/usr/share/hplip/base/smart_install.py", line 253, in disable sts, smart_install_run, smart_install_asc, error_str = download(mode, passwordObj) File "/usr/share/hplip/base/smart_install.py", line 192, in download digsig_sts, smart_install_run, smart_install_asc, error_str = validate(mode, smart_install_run, smart_install_asc) File "/usr/share/hplip/base/smart_install.py", line 154, in validate calc_checksum = utils.get_checksum(open(smart_install_run, 'r').read()) File "/usr/lib/python3.5/codecs.py", line 321, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 9529: invalid start byte
$ lsusb Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 002: ID 03f0:102a Hewlett-Packard Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 003: ID 049f:000e Compaq Computer Corp. Internet Keyboard Bus 004 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc. Optical Mouse Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub f $ lsusb -s 001:002 Bus 001 Device 002: ID 03f0:102a Hewlett-Packard $ lsusb -s 001:002 | grep bInterfaceClass $
$ sudo -i # su -c "gpg --keyserver pgp.mit.edu --recv-keys 0xA59047B9" gpg: keyring `/root/.gnupg/secring.gpg' created gpg: keyring `/root/.gnupg/pubring.gpg' created gpg: requesting key A59047B9 from hkp server pgp.mit.edu gpgkeys: key A59047B9 can't be retrieved gpg: no valid OpenPGP data found. gpg: Total number processed: 0 gpg: keyserver communications error: keyserver helper general error gpg: keyserver communications error: unknown pubkey algorithm gpg: keyserver receive failed: unknown pubkey algorithm
# su -c "gpg --verify SmartInstallDisable-Tool.run.asc SmartInstallDisable-Tool.run" gpg: can't open `SmartInstallDisable-Tool.run.asc' gpg: verify signatures failed: file open error
# sh SmartInstallDisable-Tool.run sh: 0: Can't open SmartInstallDisable-Tool.run
I also tried following this: How to install a HP LaserJet P1102w? But at settings and adding a printer, the printer doesn’t show up in the list (not locally or as a network connection).