This is a discussion on usb printer with udev within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I open a new tread for this argument. I have Slackware current with udev without hotplug. All devices work ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I open a new tread for this argument. I have Slackware current with udev without hotplug. All devices work fine, except the printer, a USB HP Deskjet 6122. The printer is correctly identified (lsusb -v) and the driver is charges (lsmod -v). In /dev /dev/lp0 is regularly created. I configure the printer by CUPS via browser, but when I try to print, CUPS tells me: ================================================== ==== HP DeskJet 6122 Foomatic/hpijs (recommended) Description: Location: locale Printer State: idle, accepting jobs. "Printer not connected; will retry in 30 seconds..." Device URI: usb:/dev/usb/lp0 ================================================== ==== Instead, another USB device, the scanner, works regularly. Any suggestion? Thanx! MS |
| |||
| "Mauro Sacchetto" <mauro.sacchetto@alice.it> wrote in message news:44547630$0$18295$4fafbaef@reader1.news.tin.it ... >I open a new tread for this argument. I have Slackware current > with udev without hotplug. All devices work fine, except the > printer, a USB HP Deskjet 6122. The printer is correctly identified > (lsusb -v) and the driver is charges (lsmod -v). In /dev > /dev/lp0 is regularly created. I configure the printer by CUPS > via browser, but when I try to print, CUPS tells me: > ================================================== ==== > HP DeskJet 6122 Foomatic/hpijs (recommended) > Description: > Location: locale > Printer State: idle, accepting jobs. > "Printer not connected; will retry in 30 seconds..." > Device URI: usb:/dev/usb/lp0 My HP 845c has DeviceURI usb://HP/DeskJet%20845C?serial=TH25T130VFSX Considerably different don't you think? In fact there is no reference to lp anything in any config file for that printer. |
| |||
| Wild Wizard wrote: > My HP 845c has > DeviceURI usb://HP/DeskJet%20845C?serial=TH25T130VFSX > Considerably different don't you think? In fact there is no > reference to lp anything in any config file for that printer. Do u wrote a new udev rules? Do u receive that configuration in another way? Thanx MS |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 30 Apr 2006 10:32:47 +0200, Mauro Sacchetto wrote: > I open a new tread for this argument. I have Slackware current > with udev without hotplug. All devices work fine, except the > printer, a USB HP Deskjet 6122. The printer is correctly identified > (lsusb -v) and the driver is charges (lsmod -v). In /dev > /dev/lp0 is regularly created. I configure the printer by CUPS Ok... /dev/lp0 is created > via browser, but when I try to print, CUPS tells me: >================================================= ===== > HP DeskJet 6122 Foomatic/hpijs (recommended) > "Printer not connected; will retry in 30 seconds..." > Device URI: usb:/dev/usb/lp0 but it is looking for /dev/usb/lp0 They are not the same. I'd either reconfigure CUPS to look for /dev/lp0 or rewrite the udev rule to write /dev/usb/lp0. Actually, I'd probably do both. Make udev create a symlink to /dev/printer or /dev/deskjet6122 or something similar. Then I'd reconfigure CUPS to look for that. Brad -----BEGIN PGP SIGNATURE----- iD8DBQFEVPM2kDp4KjYna1ARArATAJ4oP0AugX3mJVyoTj41WK jcmpbszACfR8QM aWNHSmW2d41KCM5KbltsPDU= =DrIa -----END PGP SIGNATURE----- |
| |||
| mgronk@gmail.com wrote: > I have exactly the same problem with my hp 940c after last uprading > udev to slackware-current The version of udev in slackware-current is .064 which is almost a year old ( the concept of 'current' in Slack does not mean that it has the 'latest' packages from upstream. ) The latest version of udev for the 2.6.x (required) kernel is .091. You might get this version at http://www.us.kernel.org/pub/linux/u...ernel/hotplug/ and give it whack. For what it is worth, in the Debian world udev is under almost constant change (some say it is constantly broken). In the Sid repository we get a new version almost every ten minutes! http://packages.qa.debian.org/u/udev.html I've had no problem with my Palm, jump drive, or camera, using udev but I've not tried a USB printer. And on the deb boards I don't see too many postings about printer problems and udev with cups. It's usually udev with an external USB hard drive that you see postings. anc |
| |||
| ANC wrote: > The version of udev in slackware-current is .064 which is almost a year old > ( the concept of 'current' in Slack does not mean that it has the 'latest' > packages from upstream. ) In -current, you will find 071 which is also the minimum required version for recent 2.6 kernels. Eric |
| |||
| "Mauro Sacchetto" <mauro.sacchetto@alice.it> wrote in message news:4454924e$0$14790$4fafbaef@reader4.news.tin.it ... > Wild Wizard wrote: >> My HP 845c has >> DeviceURI usb://HP/DeskJet%20845C?serial=TH25T130VFSX >> Considerably different don't you think? In fact there is no >> reference to lp anything in any config file for that printer. > > Do u wrote a new udev rules? > Do u receive that configuration > in another way? Nothing to do with /dev, cups no longer uses /dev for usb printers. Run '/usr/lib/cups/backend/usb' to get the URI for the usb printer, or just select the printer from the web interface when you set it up. |
| ||||
| Bradley Reed wrote: > Ok... /dev/lp0 is created > but it is looking for /dev/usb/lp0 > They are not the same. I'd either reconfigure CUPS to look for > /dev/lp0 or rewrite the udev rule to write /dev/usb/lp0. > Actually, I'd probably do both. Make udev create a symlink to > /dev/printer or /dev/deskjet6122 or something similar. Then I'd > reconfigure CUPS to look for that. Y're absolutly right. Solved! Thanx!! MS |