Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 03-31-2006, 11:46 AM   #1
LQ Newbie
Registered: Aug 2005
Distribution: Slackware 12.2
Posts: 13

Rep: Reputation: 0
hplip backend for sane and CUPS unable to detect OfficeJet T65 on parallel port

I have spent some time trying to get my All-in-one HP OfficeJet T65 to work using hplip on slackware 10.2 with a 2.6.13 kernel.

The parport_pc module obviously finds the printer:

dmesg | grep parport

parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
parport0: Printer, Hewlett-Packard OfficeJet T Series
lp0: using parport0 (interrupt-driven)

And it is possible to print using lp:/dev/lp0 in CUPS.

However using the HP backend for CUPS to find the device, I only get:
direct hp:/no_device_found "Unknown" "hp no_device_found"

Likewise the hpaio backend for SANE cannot find the device.


export SANE_DEBUG_DLL=128
scanimage -L

gives the following output:

[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.11 from sane-backends 1.0.16
[dll] sane_init: reading dll.conf
[dll] add_backend: adding backend `net'
[dll] add_backend: adding backend `hpaio'
[dll] sane_get_devices
[dll] load: searching backend `hpaio' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/'
[dll] load: dlopen()ing `/usr/lib/sane/'
[dll] init: initializing backend `hpaio'
[dll] init: backend `hpaio' is version 1.0.6
[dll] load: searching backend `net' in `/usr/lib/sane'
[dll] load: trying to load `/usr/lib/sane/'
[dll] load: dlopen()ing `/usr/lib/sane/'
[dll] init: initializing backend `net'
[dll] init: backend `net' is version 1.0.16
[dll] sane_get_devices: found 0 devices

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: calling backend `hpaio's exit function
[dll] sane_exit: calling backend `net's exit function
[dll] sane_exit: finished

This obviously means that I cannot scan.

All in all I am pretty much lost as to which approach to try now.

My only clue now is that udev does not create a /dev/parport0 device even though I have tried configuring /etc/udev/rules.d/udev.rules so that it should be created.

If anyone has tried something similar, found a solution or just has a clue how to get udev to make a /dev/parport device, then your help would be very much appreciated.

Thanks in advance

Old 04-10-2006, 07:02 PM   #2
LQ Newbie
Registered: Aug 2005
Distribution: Slackware 12.2
Posts: 13

Original Poster
Rep: Reputation: 0
Narrowed down the search


I have managed to find part of the solution.

The assuption I had made, that the hp backends were looking for /dev/parportN devices was correct. So making the device node made them able to recognize my T65. I did this by adding th following to the /etc/udev/scripts/ script.

# Create the parallel port device
if [ ! -r /dev/parport0 ]; then
mknod -m 666 /dev/parport0 c 99 0

Scanning still doesn't work though, even if the scanner is recognized. I can attempt to scan, but I get a device busy message from sane, while the display on my T65 says scanning page...
It doesn't feed the paper from the scanners tray though. I expect that this is a bug in the hpaio sane-backend, so that is what I am looking into now.

If anyone has any more info, then feel free to post.


Old 04-23-2006, 01:34 PM   #3
Registered: Nov 2004
Distribution: Archlinux
Posts: 41

Rep: Reputation: 16
I have a very simular, if not the same problem, Did you work it out?




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SUSE 10.0 can't detect parallel port + updating to firefox 1.5 mat_uk111 SUSE / openSUSE 15 03-06-2006 08:17 PM
unable to load parallel port drivers for cups bipins1979 Linux - Hardware 3 09-03-2005 04:19 PM
cups with no parallel port???? hraposo Slackware 3 09-27-2004 08:46 AM
CUPS doesn't see my parallel port mixtr Slackware 3 07-27-2004 09:51 PM
Sane parallel port acid_kewpie Linux - General 0 11-03-2001 04:34 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:21 PM.

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