slackware arm 14.1 raspberry pi printer hp laserjet p1005
Slackware - ARMThis forum is for the discussion of Slackware ARM.
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.
slackware arm 14.1 raspberry pi printer hp laserjet p1005
Hi everybody, as you see from the title, I've installed Slackware 14.1 on my raspberry pi (thanks Fatdog). I want to use it only as a print server for my several pc stations. So there is nothing else connected to the raspi except the printer and the lan cable. I downloaded the recommended driver for the laserjet p1005 from this site: http://foo2xqx.rkkda.com/ The driver installed perfectly (AFAIK). I configured the printer via CUPS (I connected to the raspberry via VNC). The printer prints!!! (alleluja) but after a while it refuses to print. Dmesg issues the following message:
darkstar kernel: usb 1-1.2: usbfs: process 776 (usb) did not claim in
terface 0 before use
Googling "usbfs process usb did not claim interface 0 before use" shows a lot of hits, especially this http://www.raspberrypi.org/phpBB3/vi...37941&p=346178 one for the RPi. Hate to be the bearer of bad news, but the Pi's USB interface might be a little flaky. Anyway, hope this gives you some leads and you can get it to work.
Thanks for your kind answer. I think you're right. So I've still got the same problem: how to set up a print server without having to keep a normal host on for 24/7 days. I thought I could solve everything with a raspi (someone adviced me) but I see it's really no more than a toy for secundary school (what's the use of it, if you can't use the usb ports reliably?).
I went back to an old 386 with slackware 12 and cups functioning as a lan print server.
Thanks again
Luigi
You might be able to workaround it, though. For example, you could set up a root cronjob that resets the usb. I don't know enough about usb, but one thing that might work is to write a cron job that rmmods the USB modules, sleeps for a bit and then modprobes them. For a home network it might be good enough.
I did this sort of thing recently for myself. Since last time I did it it was way back at the time of needle printers a lot of things had changed/evolved ...
I wrote an article on docs slackware to show how to get going really fast: http://docs.slackware.com/howtos:mis...e_print_server
Thanks, I'll give it a try as soon I'm back from Christmas holiday. Happy Christmas everyboby.
I don't think my article addresses your issue with the printer usb port not claimed before use, but maybe you could work around the issue by crontabbing every 30 mins or so something like this:
rmmod usblp
modprobe usblp
Before doing that you might want to investigate to see if you can figure out what's happening.
After you get that error what do you see if you do a lsusb ? has the printer disappeared ?
What's your policy fro failed jobs ? make sure you don't stop printer ... just abort job so that if the printer wakes up and the port gets claimed again then a reprint attempt might work. Might not be your case but it's worth a try.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.