[SOLVED] HP Printer missing file/USB not working + others
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hiya, I'm new to Slackware and haven't quite got a grip on Linux so please excuse my naivety.
I have a HP Photosmart C8180 All-In-One printer and have ran "hp-setup" and tried to setup the printer. Step 1 I choose USB as the printer is not on a network, Step 2 I click my printer, next and Step 3 I add a description but do not have no PPD file. I have tried browsing for the file but there is no PPD file for photosmart. Is there another way I can setup my printer?
My USB slots work but they do not pickup anything i plug in, when I attach my Samsung GS2 and plug in my memory card I get the errors below. How do i get Slack to automatically pickup anything I connect via USB?
I was told to change my fstab file so it reads "auto,owner,ro" instead of "noauto,owner,ro" so the cd/dvds I pop into my drive are read automatically, they now are being read automatically but they do not eject. Even if I try to manually eject the cds/dvds it doesn't work, I have to boot into another distro to eject the drive and reboot into Slackware. How can I fix this/what do i do to fix this?
I cannot access my files on another distro I have installed on this HD but I can access my slackware files when logged into that distro. During installation I did see that partition but it's nowhere to be seem since. What can/do I change so I can access the other half of my HD?
I also have many duplicate applications or applications that I do not need/want/use. eg. I will not be playing any of the game, education programs I am very unlikely to use, I have Firefox, Konqueror and Sea Monkey browsers, 3 email clients, 2 ftp clients etc etc Is it possible to pick and choose what programs I would like to keep and uninstall the rest? If so, how do i uninstall individual programs?
Sorry I've packed a number of issues into one post. Any help would be appreciated.
It says to use the HPLIP driver which I do have installed, I also have CUPS installed. It does mention the PPD files being included but I definitely do not have my PPD file.
That means it ought to work so let's think about some other things for a minute.
If that line is not present in your /usr/share/hplip/data/models/models.dat file, you're going to need to update HPLIP to the current version (see below for how to do that then come back to here).
You do need to install your printer logged in as root with X running; it may work all right if you've used su - or sudo logged in as a user but I've found that the most reliable way to get a printer going is logged in as root to do so. As always, be careful when you're logged in as root.
You may want to take a look at what groups users (including root) are members of -- you may need to add your users to lp, plugdev and scanner for this printer. The groups utility will show you what groups an individual user (including root) belong to; here are the groups my user account belongs to:
Code:
log in as somebody
groups
users lp floppy dialout audio video cdrom plugdev power usbfs netdev scanner vboxusers
Ignore vboxusers and cvs above, they're for VirtualBox and CVS.
There are two ways you can add users to groups, directly edit /etc/group with vi or use the usermod utility. If you choose to use vi, simply append account names to the group name like these examples:
where userid01 is your log in name, userid02 is a second user log in and so on. Obviously, if there is no userid02 you would not add one.
If you use usermod, you'd do it like this (logged in as root)
Code:
usermod -a -G lp,plugdev,usbfs,scanner userid01
Note that root is most likely already a member of these groups and don't add a user account to a group where that user is already a member. This takes a little looking and checking before you doit toit.
Once you have those added, you can most likely log in as root and re-do hp-setup.
Now, if your printer did not appear in /usr/share/hplip/data/models/models.dat, things are a little trickier but not too tricky. You're going to need to download the current version of HPLIP and use the SlackBuild for it that's in the source tree of your CD-ROM or DVD -- don't panic yet, it's pretty easy.
First, get logged in as root, startx and open a terminal (use the Terminal in the KDE Application Picker, Applications, System, Terminal). Then insert your media which should pop up the notification, click the name, choose Open with File Manager. Navigate to the source directory, then the ap directory. You want to copy the hplip tree to, oh, say, /usr/local so you can work in it. You can do that by splitting the window (at the top of the file manager window), click in the split then navigate to /usr/local. Then drag and drop the hplip directory to /usr/local.
Then cd /usrs/local/hplip and remove the HPLIP software that's there:
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
I forgot to mention above that, if you have not already done so, you should download and install updates from a mirror (this is the quick-and-dirty way to get them all in one go, later you may want to use a different method):
Code:
log in as root or su - or sudo
mkdir /usr/local/patches
cd /usr/local/patches
<for Slackware 13.37 64-bit>
wget ftp://ftp.osuosl.org/pub/slackware/slackware64-13.37/patches/packages/*
<for Slackware 13.37 32-bit>
wget ftp://ftp.osuosl.org/pub/slackware/slackware-13.37/patches/packages/*
When that finishes,
Code:
upgradepkg *.t?z
Probably a good idea to reboot.
One of the patches, for Ghostscript, solves a printing problem (that you may or may not have), others include the current Firefox, Seamonkey and Thunderbird releases.
I have a HP Photosmart C8180 All-In-One printer and have ran "hp-setup" and tried to setup the printer.
Never used that to install a HP printer on Slackware.
What I do do to install printers is enable cups and then go to http://localhost:631/ and click add printer and follow the prompts (most new printers are auto-detected)
With your flash media drives in the printer can you mount USB flash drives plugged into the computer directly or do they have the same problem? If you can't mount them like that then you probably need to add yourself to the plugdev group.
You may want to take a look at what groups users (including root) are members of -- you may need to add your users to lp, plugdev and scanner for this printer. The groups utility will show you what groups an individual user (including root) belong to; here are the groups my user account belongs to:
Code:
log in as somebody groups users lp floppy dialout audio video cdrom plugdev power usbfs netdev scanner vboxusers
Ignore vboxusers and cvs above, they're for VirtualBox and CVS.
There are two ways you can add users to groups, directly edit /etc/group with vi or use the usermod utility. If you choose to use vi, simply append account names to the group name like these examples:
Code:
lp:x:7:lp,userid01,userid02 plugdev:x:83:root,userid01,userid02 usbfs:x:85:root,userid01,userid02 scanner:x:93:root,userid01,userid02
where userid01 is your log in name, userid02 is a second user log in and so on. Obviously, if there is no userid02 you would not add one.
I've followed everything you said but a PPD File is still required, I have tried selecting the "/usr/share/hplip/data/models/models.dat" file instead but get the following error:
p, li { white-space: pre-wrap; }
Code:
Printer queue setup failed. Could not connect to CUPS Server
Is user added to "sys" group(s)
Terminal reads.
Code:
/warning: No PPD found for model photosmart_c8100_series using new algorithm. Trying old algorithm...
error: No PPD found for model photosmart_c8100 using old algorithm.
error: No appropriate print PPD file found for model photosmart_c8100_series
error: Printer queue setup failed. Could not connect to CUPS Server Is user added to "sys" group(s)
Root and my username are both added to
Code:
sys lp floppy audio video plugdev power netdev scanner users
I've tried "grep 8180 /usr/share/hplip/data/models/models.dat" and the output was
Code:
model2=HP Photosmart C8180 All-in-One Printer
How do I continue with the setup if I do not have a PDD File?
for some reason the ppd is not there.
you can get it extracting hplip tarball, then look in the ppd/hpcups folder, you will find hp-photosmart_c8100_series.ppd.gz: copy it to /usr/share/cups/model/HP/ and restart CUPS.
for some reason the ppd is not there.
you can get it extracting hplip tarball, then look in the ppd/hpcups folder, you will find hp-photosmart_c8100_series.ppd.gz: copy it to /usr/share/cups/model/HP/ and restart CUPS.
That did the trick, printed a test page and a document, worked perfectly.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
I think part of your problem has been that CUPS was not running when you did the set up (glad to know you got it working, though).
If you look in /etc/rc.d, those are the start-ups for daemons and you enable them by making them executable with, e.g.,
Code:
su -
chmod 755 /etc/rc.d/rc.cups
so, when the system boots, CUPS will be started along with other daemons (and you need to have CUPS running to set up a printer). If you open a terminal and
Code:
ls /etc/rc.d
the ones that are executable are displayed in green and the ones that are not are black (the is most likely a directory, init.d that displays in blue).
Now, you do not need to enable everything in there (in fact, you don't want to); you only enable what you're going to be using. Say you are going to be using MySQL, that daemon is not "turned on" by default, like the CUPS daemon, you need to enable it (and you must initialize MySQL by executing /usr/bin/mysql_install_db; don't forget to do that).
You can manually stop, start or restart the daemons (and you don't want to do this as a common practice, only when you're setting thing up) with
Code:
/etc/rc.d/rc.cups stop
<fiddle with something>
/etc/rc.d/rc.cups start
I'm surprised that hp-setup, executed as root with CUPS running would not set up your printer. Never had that problem with hp-setup, never needed a PPD file (with either a couple of Photosmart USB printers or a couple of Deskjet PostScript Ethernet printers). hp-setup just did its thing and configured CUPS as it went.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.