[sane-devel] HP 7450C ... addendum
Thomas Frayne
tomf at sjpc.org
Mon Jun 30 05:45:37 BST 2003
On Sun, 2003-06-29 at 14:25, Rene Rebe wrote:
> Hi,
>
> On: Fri, 27 Jun 2003 23:11:10 +0200,
> Henning Meier-Geinitz <henning at meier-geinitz.de> wrote:
...
> Which host controller chip and respective kernel driver is this?
I sent my last message prematurely. Please disregard it.
My system is Redhat 9.0, with up2date run today. I have
sane-backends-1.0.12.tar.gz and xsane-0.91.tar.gz installed.
Here are messages that may help answer your questions. If this won't do
it, could you tell me how to find the answers to your questions?
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=9000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=03f0 ProdID=0801 Rev= 0.01
S: Manufacturer=hp
S: Product=hp scanjet 7400c
S: SerialNumber=87 tem 7400c
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 8 Ivl=0ms
E: Ad=82(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
Jun 29 07:33:03 localhost kernel: Linux version 2.4.20-18.9
(root at gozin3) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1
Wed Jun 4 15:04:35 PDT 2003 Installed via up2date.
Jun 29 07:33:05 localhost kernel: usb.c: registered new driver usbdevfs
Jun 29 07:33:05 localhost kernel: usb.c: registered new driver hub
Jun 29 07:33:06 localhost kernel: PCI: Found IRQ 5 for device 00:0b.0
Jun 29 07:33:06 localhost kernel: usb-ohci.c: USB OHCI at membase
0xf0870000, IRQ 5
Jun 29 07:33:06 localhost kernel: usb-ohci.c: usb-00:0b.0, NEC
Corporation USB
Jun 29 07:33:06 localhost kernel: usb.c: new USB bus registered,
assigned bus number 1
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found
Jun 29 07:33:06 localhost kernel: hub.c: 3 ports detected
Jun 29 07:33:06 localhost kernel: PCI: Found IRQ 9 for device 00:0b.1
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 9 with 00:0a.0
Jun 29 07:33:06 localhost rc: Starting pcmcia: succeeded
Jun 29 07:33:06 localhost kernel: usb-ohci.c: USB OHCI at membase
0xf0872000, IRQ 9
Jun 29 07:33:06 localhost kernel: usb-ohci.c: usb-00:0b.1, NEC
Corporation USB (#2)
Jun 29 07:33:06 localhost kernel: usb.c: new USB bus registered,
assigned bus number 2
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found
Jun 29 07:33:06 localhost kernel: hub.c: 2 ports detected
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:0b.0-1,
assigned address 2
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found
Jun 29 07:33:06 localhost kernel: hub.c: 4 ports detected
Jun 29 07:33:06 localhost kernel: PCI: Found IRQ 10 for device 00:0b.2
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 10 with 00:07.2
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 10 with 00:0d.0
Jun 29 07:33:06 localhost kernel: ehci-hcd 00:0b.2: NEC Corporation USB
2.0
Jun 29 07:33:06 localhost kernel: ehci-hcd 00:0b.2: irq 10, pci mem
f087a000
Jun 29 07:33:06 localhost kernel: usb.c: new USB bus registered,
assigned bus number 3
Jun 29 07:33:06 localhost kernel: PCI: 00:0b.2 PCI cache line size set
incorrectly (32 bytes) by BIOS/FW.
Jun 29 07:33:06 localhost kernel: PCI: 00:0b.2 PCI cache line size
corrected to 128.
Jun 29 07:33:06 localhost kernel: ehci-hcd 00:0b.2: USB 2.0 enabled,
EHCI 0.95, driver 2003-Jan-22
Jun 29 07:33:06 localhost kernel: usb.c: USB disconnect on device
00:0b.0-1 address 2
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found
Jun 29 07:33:06 localhost kernel: hub.c: 5 ports detected
Jun 29 07:33:06 localhost kernel: usb-uhci.c: $Revision: 1.275 $ time
07:14:02 May 29 2003
Jun 29 07:33:06 localhost kernel: usb-uhci.c: High bandwidth mode
enabled
Jun 29 07:33:06 localhost kernel: PCI: Found IRQ 10 for device 00:07.2
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 10 with 00:0b.2
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 10 with 00:0d.0
Jun 29 07:33:06 localhost kernel: usb-uhci.c: USB UHCI at I/O 0x9000,
IRQ 10
Jun 29 07:33:06 localhost kernel: usb-uhci.c: Detected 2 ports
Jun 29 07:33:06 localhost kernel: usb.c: new USB bus registered,
assigned bus number 4
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found
Jun 29 07:33:06 localhost kernel: hub.c: 2 ports detected
Jun 29 07:33:06 localhost kernel: usb-uhci.c: v1.275:USB Universal Host
Controller Interface driver
Jun 29 07:33:06 localhost kernel: usb.c: registered new driver hiddev
Jun 29 07:33:06 localhost kernel: usb.c: registered new driver hid
Jun 29 07:33:06 localhost kernel: hid-core.c: v1.8.1 Andreas Gal,
Vojtech Pavlik <vojtech at suse.cz>
Jun 29 07:33:06 localhost kernel: hid-core.c: USB HID support drivers
Jun 29 07:33:06 localhost kernel: mice: PS/2 mouse device common for all
mice
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:0b.2-1,
assigned address 2
Jun 29 07:33:06 localhost mount: mount: none already mounted or
/proc/bus/usb busy
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found
Jun 29 07:33:06 localhost mount: mount: according to mtab, usbdevfs is
already mounted on /proc/bus/usb
Jun 29 07:33:06 localhost kernel: hub.c: 4 ports detected
Jun 29 07:33:06 localhost netfs: Mounting other filesystems: failed
Jun 29 07:33:06 localhost kernel: Adding Swap: 1582360k swap-space
(priority -1)
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:07.2-1,
assigned address 2
Jun 29 07:33:06 localhost kernel: usb.c: USB device 2 (vend/prod
0x3f0/0x801) is not claimed by any active driver.
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:0b.2-1.2,
assigned address 3
Jun 29 07:33:06 localhost kernel: usb.c: USB device 3 (vend/prod
0x2821/0x5001) is not claimed by any active driver.
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:0b.2-1.4,
assigned address 4
Jun 29 07:33:06 localhost kernel: usb.c: USB device 4 (vend/prod
0x3f0/0x3404) is not claimed by any active driver.
Jun 29 07:33:06 localhost kernel: Initializing USB Mass Storage
driver...
Jun 29 07:33:06 localhost kernel: usb.c: registered new driver
usb-storage
Jun 29 07:33:07 localhost kernel: scsi1 : SCSI emulation for USB Mass
Storage devices
Jun 29 07:33:07 localhost kernel: Vendor: ASUS Model:
CRW-5224A Rev: 1.00
Jun 29 07:33:07 localhost kernel: Type:
CD-ROM ANSI SCSI revision: 02
Jun 29 07:33:07 localhost kernel: USB Mass Storage support registered.
Jun 29 07:33:07 localhost kernel: hdc: attached ide-scsi driver.
Jun 29 07:33:07 localhost kernel: scsi2 : SCSI host adapter emulation
for IDE ATAPI devices
Jun 29 07:33:07 localhost kernel: Vendor: HP Model: CD-Writer+
8100 Rev: 1.0g
Jun 29 07:33:07 localhost kernel: Type:
CD-ROM ANSI SCSI revision: 02
Jun 29 07:33:07 localhost kernel: usb.c: registered new driver usblp
Jun 29 07:33:07 localhost kernel: printer.c: usblp0: USB Bidirectional
printer dev 4 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3404
> If communication via libusb is not reliable for you, you still can use
> the "deprecated" hpusbscsi driver in the kernel - but _not_ the
> scanner driver.
I've tried so many configuration variations over the last couple of
weeks that I've gotten confused about what configuration settings do
what. I don't think I understand the terminology.
I now think I should avoid using the scanner driver. Would
rmmod scanner
do this for me, or is something else necessary? How can I tell whether
or not I am using the scanner driver?
I would like to use libusb, but I have not been able to figure out what
causes the libusb driver to be loaded. Some parts of my system refer to
usbfs; others refer to usbdevfs. I think I need everything in the
system refering to one or everything to the other, but when I tried
changing the usbdevfs references to usbfs, I produced a system that
would not boot, and had to restore a backup.
What is the best way to get back to a clean system?
Is there a modprobe command I should be using to load the libusb
driver? If so, should I add it to /etc/rc.d/rc.local to get it to run
during boot?
My guess is that
modprobe scanner vendor=0x03f0 product=0x0801
should be added to /etc/rc.d/rc.local. Is that right? If so, what
else needs to be done?
What should be done to get the scanner mounted as rw with permissions
for everyone to use it? The things I have tried with fstab did not
work, since the system tried to mount it twice.
I currently have hpusbbscsi disabled. Should both libusb and hpusbbscsi
be enabled?
...
> The scanner driver will not work - because of the missing interrupt
> endpoint notification support - but I do not want to support a 3rd "to
> be removed in the future" access method. So I think hpusbscsi and
> libusb should be ok.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20030629/c1b54b4a/attachment.htm>
More information about the sane-devel
mailing list