LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2006, 11:20 AM   #16
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30

hub 1-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
usb 1-1: USB disconnect, address 2
usb 1-1: usb_disable_device nuking all URBs
usb 1-1: unregistering interface 1-1:1.0
usb 1-1: unregistering interface 1-1:1.1
drivers/usb/core/file.c: removing 0 minor
drivers/usb/class/usblp.c: usblp0: removed
usb 1-1: unregistering interface 1-1:1.2
usb 1-1: unregistering device


Why do you suppose that it is unregistering the interface, as shown in dmesg??:
usb 1-1: USB disconnect, address 2
usb 1-1: usb_disable_device nuking all URBs
usb 1-1: unregistering interface 1-1:1.0
usb 1-1: unregistering interface 1-1:1.1
 
Old 04-30-2006, 04:25 PM   #17
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
When I saw the original message I assumed it had been caused by pulling the plug out again.

If not, I guess you have a problem with the USB system. You can see what the system thinks is currently attached with the application usbview.
 
Old 04-30-2006, 04:30 PM   #18
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by fof3
How do I switch to CUPS?
apt-get remove lprng

apt-get install cupsys cupsys-bsd cupsys-client cupsys-driver-gutenprint hpijs

point web browser at http://localhost:631 and configure..

Last edited by farslayer; 04-30-2006 at 04:33 PM.
 
Old 04-30-2006, 05:05 PM   #19
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
Cannot print

hebrews:~# usbview
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0.0
 
Old 04-30-2006, 05:51 PM   #20
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
Cannot print

The connection was refused when trying to connect with http://localhost:631
 
Old 04-30-2006, 10:10 PM   #21
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by fof3
The connection was refused when trying to connect with http://localhost:631
Then The cups service probably isn't running

ps aux | grep cups should show you if the cups daemon is running

Code:
debian:~# ps aux | grep cups
root     20627  0.0  0.5   6420  2648 ?        Ss   06:25   0:00 /usr/sbin/cupsd
root     25490  0.0  0.1   1664   516 pts/1    S+   23:06   0:00 grep cups
if it's not running then start the service

/etc/init.d/cupsys start

and try again.
 
Old 04-30-2006, 10:33 PM   #22
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
And to check printer with usbview, run it as user, not root. By default root is not allowed to open windows when not also running the display/desktop.
 
Old 05-01-2006, 03:08 AM   #23
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
Cannot print

hebrews:/home/epjh# ps aux | grep cups
root 1763 0.0 0.0 1948 620 pts/6 R+ 04:05 0:00 grep cups
hebrews:/home/epjh# /etc/init.d/cupsys start
Starting Common Unix Printing System: cupsdcupsd: Child exited with status 98!
 
Old 05-01-2006, 10:06 AM   #24
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
please provide the output of the following commands..

apt-cache policy cupsys

tail -n 20 /var/log/cups/error_log




bugs cups

Last edited by farslayer; 05-01-2006 at 10:09 AM.
 
Old 05-01-2006, 02:10 PM   #25
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
hebrews:~$ sudo apt-cache policy cupsys
Password:
cupsys:
Installed: 1.1.23-12
Candidate: 1.1.23-12
Version Table:
*** 1.1.23-12 0
500 ftp://ftp.se.debian.org testing/main Packages
500 ftp://ftp.hu.debian.org testing/main Packages
500 ftp://ftp.debian.org testing/main Packages
100 /var/lib/dpkg/status
1.1.23-10sarge1 0
500 ftp://security.debian.org stable/updates/main Packages
1.1.23-10 0
500 ftp://ftp.se.debian.org stable/main Packages
500 ftp://ftp.hu.debian.org stable/main Packages
500 ftp://ftp.debian.org stable/main Packages

hebrews:~$ sudo tail -n 20 /var/log/cups/error_log
E [30/Apr/2006:21:09:23 -0400] LoadAllPrinters: Unable to open /etc/cups/printers.conf - No such file or directory
E [30/Apr/2006:21:09:23 -0400] LoadAllClasses: Unable to open /etc/cups/classes.conf - No such file or directory
I [30/Apr/2006:21:09:24 -0400] LoadPPDs: Read "/var/lib/cups/ppds.dat", 839 PPDs...

I [30/Apr/2006:21:09:24 -0400] LoadPPDs: Wrote "/var/lib/cups/ppds.dat", 839 PPDs...
I [30/Apr/2006:21:09:24 -0400] Full reload complete.
E [30/Apr/2006:21:09:24 -0400] StartListening: Unable to bind socket for address 00000000:631 - Address already in use.
E [01/May/2006:04:07:08 -0400] Unknown directive warn on line 160.
I [01/May/2006:04:07:08 -0400] Listening to 0:631
I [01/May/2006:04:07:08 -0400] Listening to 0:631
E [01/May/2006:04:07:08 -0400] Unknown directive @LOCAL on line 567.
I [01/May/2006:04:07:08 -0400] Loaded configuration file "/etc/cups/cupsd.conf"
I [01/May/2006:04:07:08 -0400] Configured for up to 100 clients.
I [01/May/2006:04:07:08 -0400] Allowing up to 100 client connections per host.
I [01/May/2006:04:07:08 -0400] Full reload is required.
E [01/May/2006:04:07:08 -0400] LoadAllPrinters: Unable to open /etc/cups/printers.conf - No such file or directory
E [01/May/2006:04:07:08 -0400] LoadAllClasses: Unable to open /etc/cups/classes.conf - No such file or directory
I [01/May/2006:04:07:09 -0400] LoadPPDs: Read "/var/lib/cups/ppds.dat", 839 PPDs...
I [01/May/2006:04:07:09 -0400] LoadPPDs: Wrote "/var/lib/cups/ppds.dat", 839 PPDs...
I [01/May/2006:04:07:09 -0400] Full reload complete.
E [01/May/2006:04:07:09 -0400] StartListening: Unable to bind socket for address 00000000:631 - Address already in use.
 
Old 05-01-2006, 04:07 PM   #26
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Hrm something has port 631 open already nad it's causing cups to not be able to start..

Quote:
StartListening: Unable to bind socket for address 00000000:631 - Address already in use.
what does lsof -i TCP:631 show ?
 
Old 05-01-2006, 07:04 PM   #27
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
Cannot print

hebrews:~$ lsof -i TCP:631
hebrews:~$
 
Old 05-01-2006, 07:34 PM   #28
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Try lsof again as root.
 
Old 05-02-2006, 03:15 AM   #29
fof3
Member
 
Registered: Nov 2003
Distribution: Debian - Lenny
Posts: 174

Original Poster
Rep: Reputation: 30
Cannot print

hebrews:/home/epjh# lsof -i TCP:631
hebrews:/home/epjh#
 
Old 05-02-2006, 07:08 AM   #30
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Apparently a known bug with this version of cupsys:

http://lists.debian.org/debian-print.../msg00077.html
 
  


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
Print-to-file print driver to print PDF Bill Fox Linux - General 3 05-02-2006 04:15 PM
Print jobs repeat infinetly on lpd printer attached to axis print server linux-who? Linux - Hardware 0 03-28-2006 11:24 AM
HP PS7150: text doesn't print in OOO and Abiword!, but I can print test page & w MzFF gabba Mandriva 6 10-31-2005 11:10 AM
OfficeJet G85, CUPS Web based Admin test print works, lpr/lp dose not. ptal-print OK. NLR Linux - Hardware 2 09-20-2004 02:59 PM
Mozilla problems: Print/print preview doesn't work, not recording sites in history... andy_g_gray Linux - Software 3 01-23-2004 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:53 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