LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-16-2013, 12:38 PM   #1
lgiancri
LQ Newbie
 
Registered: Dec 2005
Location: Italy
Distribution: slackware forever
Posts: 19

Rep: Reputation: 0
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

what does it mean?
thanks
Lgiancri
 
Old 12-17-2013, 09:05 PM   #2
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
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.
 
Old 12-19-2013, 07:18 AM   #3
lgiancri
LQ Newbie
 
Registered: Dec 2005
Location: Italy
Distribution: slackware forever
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 12-19-2013, 07:32 AM   #4
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
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.
 
Old 12-25-2013, 01:03 AM   #5
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Blog Entries: 20

Rep: Reputation: 81
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
 
Old 12-26-2013, 02:19 AM   #6
lgiancri
LQ Newbie
 
Registered: Dec 2005
Location: Italy
Distribution: slackware forever
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks, I'll give it a try as soon I'm back from Christmas holiday. Happy Christmas everyboby.
 
Old 12-26-2013, 03:44 PM   #7
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Blog Entries: 20

Rep: Reputation: 81
Quote:
Originally Posted by lgiancri View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware ARM 14.1 on a Raspberry Pi Exaga Slackware - Installation 2 11-17-2013 08:11 AM
[SOLVED] ARM Slackware Raspberry Pi - CPU clock carlitoco Slackware 2 07-31-2013 05:44 AM
Installing Slackware ARM on a Raspberry Pi Penthux Slackware - Installation 20 03-24-2013 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 02:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration