LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 01-27-2009, 08:06 PM   #1
wadesmart
Member
 
Registered: Jul 2005
Location: Oklahoma
Distribution: Ubuntu
Posts: 83

Rep: Reputation: 15
cable plugged into USB port produces errors


I have a HP LaserJet 4050 that has been working very well with my computer. A few months back I ran out of ink so its been sitting until last week. I put the ink in and I couldnt print.

I was checking things out and I found this:
Code:
E [23/Jan/2009:09:25:39 -0600] [Job 18] No %%BoundingBox: comment in header!
E [23/Jan/2009:09:32:21 -0600] [Job 18] No %%BoundingBox: comment in header!
E [23/Jan/2009:09:32:21 -0600] [Job 18] Could initialize HAL daemon: (null)
E [23/Jan/2009:09:50:41 -0600] [Job 19] No %%BoundingBox: comment in header!
E [23/Jan/2009:09:51:32 -0600] Cancel-Job: Unauthorized
E [23/Jan/2009:09:51:50 -0600] Pause-Printer: Unauthorized
E [23/Jan/2009:09:51:50 -0600] Pause-Printer: Unauthorized
E [23/Jan/2009:09:52:02 -0600] Resume-Printer: Unauthorized
In /var/log/syslog I have hundreds of lines with this:
Code:
Jan 23 10:23:17 wadesmart kernel: [ 3099.402989] usb 1-1: new full speed USB device using uhci_hcd and address 41
Jan 23 10:23:17 wadesmart kernel: [ 3099.814140] usb 1-1: device not accepting address 41, error -71
Jan 23 10:23:17 wadesmart kernel: [ 3099.925926] usb 1-1: new full speed USB device using uhci_hcd and address 42
Jan 23 10:23:18 wadesmart kernel: [ 3100.333105] usb 1-1: device not accepting address 42, error -71
In cups the address of the printer is:
Device URI:
hal:///org/freedesktop/Hal/devices/usb_device_4348_5584_noserial_if0_printer_noserial

Now, if I have the cable plugged in to any of the six usb ports with or without the printer on, it immediately starts adding the above entries to the system log.

I have obtained a serial to usb cable that I might try later.

Wade
 
Old 01-28-2009, 02:26 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,063

Rep: Reputation: Disabled
Try deleting the printer in CUPS (localhost:631), then plug it in, then if all goes well add it in CUPS again.
 
Old 01-28-2009, 02:32 PM   #3
wadesmart
Member
 
Registered: Jul 2005
Location: Oklahoma
Distribution: Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
One of the first things I tried... well.. almost one of the first.

I have also changed the ownership of some of the ports.
Found a older post about using a serial printer so Im trying to see if that will work for me.

http://ubuntuforums.org/archive/index.php/t-116289.html

I found that link in the forums and I have been following along what
they were doing.

The last bit: creating a link from one file to the other:
This:
-s /usr/lib/cups/backend-available/serial /usr/lib/cups/backend/serial

produces this:

wadesmart@wadesmart:/usr/lib/cups/backend-available$ sudo
/usr/lib/cups/backend-available/serial /usr/lib/cups/backend/serial
Usage: /usr/lib/cups/backend-available/serial job-id user title copies
options [file]

So I thought they meant do sudo :

wadesmart@wadesmart:/usr/lib/cups/backend-available$ sudo -s
/usr/lib/cups/backend-available/serial /usr/lib/cups/backend/serial
/usr/lib/cups/backend-available/serial:
/usr/lib/cups/backend-available/serial: cannot execute binary file
wadesmart@wadesmart:/usr/lib/cups/backend-available$
 
  


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
How to detect programatically if a USB device is is plugged-in / plugged out? franc Linux - Software 3 02-01-2007 04:01 AM
if( ethernet-cable-is-plugged-in ) { ... mrtwice Linux - Networking 13 10-08-2006 02:57 PM
What happens when a network cable is plugged in ? balajipriya Linux - Networking 1 08-12-2004 09:10 AM
Automatically Connect when cable is plugged in?? NovaBurst Fedora 2 02-18-2004 09:15 AM
Rca DCM245 Cable Modem through the USB port at_nikolov Linux - General 0 09-29-2002 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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