Re: USB question
On Fri, Aug 24, 2007 at 02:08:40PM +0200, Dan H wrote:
> Hello,
>
> one quick question: Does each and every USB device that gets plugged
> into the computer generate a console message?
>
> Background: I'm trying to get an HP scanner (6200C) to work, but the
> sane tools won't recognize it. And when I look at the root console
> when I connect the USB cable, I see no message. In contrast, when I
> plug in my memory stick, my portable disk or my camera, the kernel
> always spits out some message.
>
> This looks as if the scanner (or at least the USB interface) is shot,
> hardware-wise. Valid conclusion?
>
Make sure that you have the appropriate line uncommented in
/etc/sane.d/hp.conf:
# HP ScanJet 62X0C
usb 0x03f0 0x0201
Here's what shows up in /var/log/syslog when I plug in my 6200c:
Aug 26 22:47:26 hedorah kernel: ohci_hcd 0000:00:02.0: wakeup
Aug 26 22:47:26 hedorah kernel: usb 2-1: new full speed USB device using ohci_hcd and address 3
Aug 26 22:47:37 hedorah kernel: usb 2-1: configuration #1 chosen from 1 choice
lsusb says:
Bus 003 Device 002: ID 0764:0501 Cyber Power System, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 03f0:0201 Hewlett-Packard ScanJet 6200c
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
sane-find-scanner -q says:
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x0201 [HP
ScanJet
6200C]) at libusb:002:004
and scanimage --list-devices says:
device hp:libusb:002:004' is a Hewlett-Packard ScanJet 62x0C flatbed
scanner
I'm running sid with kernel 2.6.18-2-k7.
FWIW, I've found the 6200c's USB performance to be somewhat flaky;
sometimes I have to power-cycle the scanner to avoid getting error
messages from scanimage.
HTH
dt
--
Dave Thayer | Whenever you read a good book, it's like the
Denver, Colorado USA | author is right there, in the room talking to
dave@thayer-boyle.com | you, which is why I don't like to read
| good books. - Jack Handey "Deep Thoughts"
Reply to: