Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-14-2005, 07:52 PM
|
#1
|
Member
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234
Rep:
|
persistent (but unpredictable!) cups problem
hi
i own an HP Deskjet 5650 which has in patches been working in linux with no problems whatsoever. Occassionally CUPS would 'stop' the printer and i would have to restart it, but nothing major.
recently however i have been having more serious problems. the printer wouldnt work unless i turned it on whilst looking at the cups 631 menus a while back, but now the kernel wont assign it an lp device file. it should be /dev/usb/lp0 but cups says it is "not a directory".
Printer State: processing, accepting jobs.
"Unable to open USB device "usb:/dev/usb/lp0": Not a directory"
Device URI: usb:/dev/usb/lp0
i compile my own kernels and currently have a 2.6.11.12 running that is fine apart from this problem. my usb webcam works and is detected on boot up, and i have compiled in all the pertinent modules i could see in the kernel (ohci, uhci, ehci, usblp, usb-core and a few others, including one for USB printers - is there a list anywhere?). i have tried other USB ports, switching it on and off, starting linux with it switched on, starting it, stopping it, installing the HP drivers and running the hpijs command as a daemon, modprobing usblp etc but with no sign of improvement
what is wrong?
|
|
|
06-15-2005, 03:14 AM
|
#2
|
Member
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277
Rep:
|
I am not quite sure, but is lp0 not a parallel port device (unless it is linked)?
Is the printer perhaps under /dev/sda or sdb, being falsely recognized as just another device on the userial bus? In that case just link the /dev/usb/lp0 file to the /dev/sda, see what happens...
|
|
|
06-15-2005, 09:27 AM
|
#3
|
Member
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234
Original Poster
Rep:
|
this is really starting to irritate me now. why is it that you can start linux, type a few commands and something works. then, you reboot do exactly the same commands TO THE LETTER, and it doesnt work?
last time i worked out that if i removed the /dev/usb file and modprobed usblp it worked like a charm (created /dev/usb/lp0 as well). so i rebooted to make sure the problem was totally fixed, typed the same commands and ... nothing happens. how does that make sense?
sorry for being annoyed but it just doesnt conform to standard rules of logic! everything else works under linux now which i am grateful for, but why is it that despite all my knowledge of the kernel and everything the same commands sometimes work and sometimes dont?
linux still wipes the floor with windows but i wish this kind of randomness could be resolved.
thanks
EDIT -- this has gotten even more confusing!! it has now created /dev/usb/lp0 (but sometimes doesnt) and cups reckons the printer isnt connected (it doesnt complain about /dev/usb/lp0, ie its either connected and working now or not connected at all). i am past aggression and am now laughing ... this pc actually has a life of its own.
Last edited by darksmiley; 06-15-2005 at 09:34 AM.
|
|
|
06-15-2005, 05:13 PM
|
#4
|
Member
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Rep:
|
|
|
|
06-15-2005, 08:27 PM
|
#5
|
Member
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234
Original Poster
Rep:
|
thats not really the problem tho - its gotten much worse since then. i had no worries about occassionally restarting it, but now its not working at all. any advice would be appreciated
|
|
|
06-16-2005, 08:25 PM
|
#6
|
Member
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234
Original Poster
Rep:
|
hmm i managed to get it working for the first time for a while today! I killed cups, restarted the printer, removed the /dev/usb file, loaded usblp, ran cupsd as a daemon and then turned the printer back on!! lol
its very very temperamental atm which is annoying but its the best i can get
|
|
|
06-17-2005, 03:16 PM
|
#7
|
Member
Registered: Mar 2005
Location: Dresden, Germany
Distribution: OpenSuse 11.2/3, Debian 5.0 , Debian 1.3.1, OpenBSD
Posts: 277
Rep:
|
have you tried not using cups but lpd?
|
|
|
06-17-2005, 09:05 PM
|
#8
|
Member
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234
Original Poster
Rep:
|
isnt cups far more developed and used than lpd?
|
|
|
All times are GMT -5. The time now is 05:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|