Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


Search this Thread
Old 06-17-2006, 05:02 PM   #1
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 118

Rep: Reputation: 15
HP 6300C scanner (in USB mode) and Debian - PITA

Hi all -

I have a Debian Sid system (AMD64). I'm trying to get an HP 6300C scanner (via USB; it has both USB and SCSI interfaces) working. The appropriate SANE packages are installed.

/etc/sane.d/hp.conf looks like this:
#scsi HP
# Uncomment the following if you have "Error during device I/O" on SCSI
#   option dumb-read
# The usual place for a SCSI-scanner on Linux
# USB-scanners supported by the hp-backend
# HP ScanJet 4100C
#usb 0x03f0 0x0101
# HP ScanJet 5200C
#usb 0x03f0 0x0401
# HP ScanJet 62X0C
#usb 0x03f0 0x0201
# HP ScanJet 63X0C
usb 0x03f0 0x0601
# Uncomment the following if your scanner is connected by USB,
# but you are not using libusb
# /dev/usb/scanner0
# option connect-device
The system sees the scanner:
[root@kenobi: ~]$ lsusb
Bus 003 Device 006: ID 067b:3507 Prolific Technology, Inc. PL3507 ATAPI6 Bridge
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 09ae:2005 Tripp Lite
Bus 001 Device 003: ID 03f0:0601 Hewlett-Packard ScanJet 6300c
Bus 001 Device 001: ID 0000:0000
sane-find-scanner, does:
[root@kenobi: ~]$ sane-find-scanner
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0601 [HP ScanJet 6300C]) at libusb:001:003

  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

However, scanimage definitely can't find it:
[root@kenobi: ~]$ scanimage -L

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).
I've Googled this to death, read the manpages and the HOWTOs. I can't find an answer to this that actually shows me what to do. In several cases, Google searches looked promising, but then the poster found out how to do it on his own but didn't give any details.

SANE's project homepage says this scanner is fully supported.

So...anyone else have any bright ideas???

TIA -- Bob

Last edited by Malibyte; 06-18-2006 at 01:17 AM.
Old 06-18-2006, 01:15 AM   #2
Registered: Dec 2001
Location: California, USA
Distribution: Ubuntu, Debian
Posts: 118

Original Poster
Rep: Reputation: 15
OK, well, I commented out all of the other backends in /etc/sane.d/dll.conf, then rebooted the box, and though scanimage -L is still spotty (it did actually see it once), I can now run xsane (but only as root).

A mortal user gets the "no devices available" box.

A dump of /proc/bus/usb/devices yields:

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=03f0 ProdID=0601 Rev= 1.00
S:  Manufacturer=Hewlett-Packard
S:  Product=HP ScanJet 6300C
S:  SerialNumber=
C:* #Ifs= 1 Cfg#= 1 Atr=60 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  16 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=   1 Ivl=250ms
Looking at permissions:
[root@kenobi: ~]$ nano /etc/udev/rules.d/025_libsane.rules
# Hewlett-Packard|ScanJet 6300C
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0601", MODE="664", GROUP="scanner"

[root@kenobi: ~]$ lsl /proc/bus/usb/001/005
-rw-rw-r-- 1 root scanner 57 Jun 17 21:51 /proc/bus/usb/001/005
So, the group "scanner" has read-write permissions on the device, and my user is included in the group "scanner".

But xsane will still only find it if launched by the root user.

What am I missing here in able to allow my regular user to access the scanner? I assume, since it's using libusb, I don't have to specify another device file for it to use. Nevertheless, I created a symlink from /dev/scanner to /dev/usb/scanner0. However, all of the /dev/usb/scanner* device nodes have 666 permissions, so THAT shouldn't be an issue either.


Last edited by Malibyte; 06-18-2006 at 01:18 AM.


configuration, debian, hp, sane, scanner, usb

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
LInux printing - PITA xanas3712 Linux - Hardware 1 05-13-2006 12:37 PM
Is K3B always such a PITA ??? bigjohn Linux - Software 5 08-20-2005 02:34 PM
nuisance error(s)/PITA ??? bigjohn Debian 9 05-08-2005 04:49 PM
Installing software is a PITA with linux!! m3s3lf Linux - Newbie 14 12-15-2004 05:20 AM
bind is a pita.... trey85stang Linux - Networking 2 07-14-2004 08:28 PM

All times are GMT -5. The time now is 12:32 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 @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration