-   Slackware - ARM (
-   -   slackware arm 14.1 raspberry pi printer hp laserjet p1005 (

lgiancri 12-16-2013 12:38 PM

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: 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

what does it mean?

padeen 12-17-2013 09:05 PM

Googling "usbfs process usb did not claim interface 0 before use" shows a lot of hits, especially this 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.

lgiancri 12-19-2013 07:18 AM

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

padeen 12-19-2013 07:32 AM

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.

louigi600 12-25-2013 01:03 AM

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:

lgiancri 12-26-2013 02:19 AM

Thanks, I'll give it a try as soon I'm back from Christmas holiday. Happy Christmas everyboby.

louigi600 12-26-2013 03:44 PM


Originally Posted by lgiancri (Post 5087052)
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.

All times are GMT -5. The time now is 06:37 PM.