<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.1.9">
</HEAD>
<BODY>
On Sun, 2003-06-29 at 14:25, Rene Rebe wrote: 
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>Hi,

On: Fri, 27 Jun 2003 23:11:10 +0200,
    Henning Meier-Geinitz <henning@meier-geinitz.de> wrote:</I></FONT></PRE>
</BLOCKQUOTE>
<FONT SIZE="3">...</FONT>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>Which host controller chip and respective kernel driver is this?</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
I sent my last message prematurely.  Please disregard it.<BR>
<BR>
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.<BR>
<BR>
<BR>
<FONT SIZE="4"><B>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?</B></FONT><BR>
<FONT SIZE="3"><BR>
T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2<BR>
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0<BR>
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1<BR>
P:  Vendor=0000 ProdID=0000 Rev= 0.00<BR>
S:  Product=USB UHCI Root Hub<BR>
S:  SerialNumber=9000<BR>
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA<BR>
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub<BR>
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms<BR>
T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0<BR>
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1</FONT><BR>
<FONT SIZE="4"><B>P:  Vendor=03f0 ProdID=0801 Rev= 0.01</B></FONT><BR>
<FONT SIZE="3">S:  Manufacturer=hp<BR>
S:  Product=hp scanjet 7400c<BR>
S:  SerialNumber=87 tem  7400c<BR>
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  2mA<BR>
I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)<BR>
E:  Ad=01(O) Atr=02(Bulk) MxPS=   8 Ivl=0ms<BR>
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms<BR>
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms<BR>
<BR>
<BR>
Jun 29 07:33:03 localhost kernel: Linux version 2.4.20-18.9 (root@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.<BR>
Jun 29 07:33:05 localhost kernel: usb.c: registered new driver usbdevfs<BR>
Jun 29 07:33:05 localhost kernel: usb.c: registered new driver hub<BR>
Jun 29 07:33:06 localhost kernel: PCI: Found IRQ 5 for device 00:0b.0<BR>
Jun 29 07:33:06 localhost kernel: usb-ohci.c: USB OHCI at membase 0xf0870000, IRQ 5<BR>
Jun 29 07:33:06 localhost kernel: usb-ohci.c: usb-00:0b.0, NEC Corporation USB<BR>
Jun 29 07:33:06 localhost kernel: usb.c: new USB bus registered, assigned bus number 1<BR>
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found<BR>
Jun 29 07:33:06 localhost kernel: hub.c: 3 ports detected<BR>
Jun 29 07:33:06 localhost kernel: PCI: Found IRQ 9 for device 00:0b.1<BR>
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 9 with 00:0a.0<BR>
Jun 29 07:33:06 localhost rc: Starting pcmcia:  succeeded<BR>
Jun 29 07:33:06 localhost kernel: usb-ohci.c: USB OHCI at membase 0xf0872000, IRQ 9<BR>
Jun 29 07:33:06 localhost kernel: usb-ohci.c: usb-00:0b.1, NEC Corporation USB (#2)<BR>
Jun 29 07:33:06 localhost kernel: usb.c: new USB bus registered, assigned bus number 2<BR>
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found<BR>
Jun 29 07:33:06 localhost kernel: hub.c: 2 ports detected<BR>
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:0b.0-1, assigned address 2<BR>
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found<BR>
Jun 29 07:33:06 localhost kernel: hub.c: 4 ports detected<BR>
Jun 29 07:33:06 localhost kernel: PCI: Found IRQ 10 for device 00:0b.2<BR>
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 10 with 00:07.2<BR>
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 10 with 00:0d.0<BR>
Jun 29 07:33:06 localhost kernel: ehci-hcd 00:0b.2: NEC Corporation USB 2.0<BR>
Jun 29 07:33:06 localhost kernel: ehci-hcd 00:0b.2: irq 10, pci mem f087a000<BR>
Jun 29 07:33:06 localhost kernel: usb.c: new USB bus registered, assigned bus number 3<BR>
Jun 29 07:33:06 localhost kernel: PCI: 00:0b.2 PCI cache line size set incorrectly (32 bytes) by BIOS/FW.<BR>
Jun 29 07:33:06 localhost kernel: PCI: 00:0b.2 PCI cache line size corrected to 128.<BR>
Jun 29 07:33:06 localhost kernel: ehci-hcd 00:0b.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Jan-22<BR>
Jun 29 07:33:06 localhost kernel: usb.c: USB disconnect on device 00:0b.0-1 address 2<BR>
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found<BR>
Jun 29 07:33:06 localhost kernel: hub.c: 5 ports detected<BR>
Jun 29 07:33:06 localhost kernel: usb-uhci.c: $Revision: 1.275 $ time 07:14:02 May 29 2003<BR>
Jun 29 07:33:06 localhost kernel: usb-uhci.c: High bandwidth mode enabled<BR>
Jun 29 07:33:06 localhost kernel: PCI: Found IRQ 10 for device 00:07.2<BR>
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 10 with 00:0b.2<BR>
Jun 29 07:33:06 localhost kernel: PCI: Sharing IRQ 10 with 00:0d.0<BR>
Jun 29 07:33:06 localhost kernel: usb-uhci.c: USB UHCI at I/O 0x9000, IRQ 10<BR>
Jun 29 07:33:06 localhost kernel: usb-uhci.c: Detected 2 ports<BR>
Jun 29 07:33:06 localhost kernel: usb.c: new USB bus registered, assigned bus number 4<BR>
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found<BR>
Jun 29 07:33:06 localhost kernel: hub.c: 2 ports detected<BR>
Jun 29 07:33:06 localhost kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver<BR>
Jun 29 07:33:06 localhost kernel: usb.c: registered new driver hiddev<BR>
Jun 29 07:33:06 localhost kernel: usb.c: registered new driver hid<BR>
Jun 29 07:33:06 localhost kernel: hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <</FONT><A HREF="mailto:vojtech@suse.cz"><FONT SIZE="3">vojtech@suse.cz</FONT></A><FONT SIZE="3">><BR>
Jun 29 07:33:06 localhost kernel: hid-core.c: USB HID support drivers<BR>
Jun 29 07:33:06 localhost kernel: mice: PS/2 mouse device common for all mice<BR>
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:0b.2-1, assigned address 2<BR>
Jun 29 07:33:06 localhost mount: mount: none already mounted or /proc/bus/usb busy<BR>
Jun 29 07:33:06 localhost kernel: hub.c: USB hub found<BR>
<B>Jun 29 07:33:06 localhost mount: mount: according to mtab, usbdevfs is already mounted on /proc/bus/usb</B></FONT><BR>
Jun 29 07:33:06 localhost kernel: hub.c: 4 ports detected<BR>
Jun 29 07:33:06 localhost netfs: Mounting other filesystems:  failed<BR>
Jun 29 07:33:06 localhost kernel: Adding Swap: 1582360k swap-space (priority -1)<BR>
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:07.2-1, assigned address 2<BR>
<FONT SIZE="3"><B>Jun 29 07:33:06 localhost kernel: usb.c: USB device 2 (vend/prod 0x3f0/0x801) is not claimed by any active driver.</B></FONT><BR>
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:0b.2-1.2, assigned address 3<BR>
Jun 29 07:33:06 localhost kernel: usb.c: USB device 3 (vend/prod 0x2821/0x5001) is not claimed by any active driver.<BR>
Jun 29 07:33:06 localhost kernel: hub.c: new USB device 00:0b.2-1.4, assigned address 4<BR>
Jun 29 07:33:06 localhost kernel: usb.c: USB device 4 (vend/prod 0x3f0/0x3404) is not claimed by any active driver.<BR>
Jun 29 07:33:06 localhost kernel: Initializing USB Mass Storage driver...<BR>
Jun 29 07:33:06 localhost kernel: usb.c: registered new driver usb-storage<BR>
Jun 29 07:33:07 localhost kernel: scsi1 : SCSI emulation for USB Mass Storage devices<BR>
Jun 29 07:33:07 localhost kernel:   Vendor: ASUS      Model: CRW-5224A         Rev: 1.00<BR>
Jun 29 07:33:07 localhost kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02<BR>
Jun 29 07:33:07 localhost kernel: USB Mass Storage support registered.<BR>
Jun 29 07:33:07 localhost kernel: hdc: attached ide-scsi driver.<BR>
Jun 29 07:33:07 localhost kernel: scsi2 : SCSI host adapter emulation for IDE ATAPI devices<BR>
Jun 29 07:33:07 localhost kernel:   Vendor: HP        Model: CD-Writer+ 8100   Rev: 1.0g<BR>
Jun 29 07:33:07 localhost kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02<BR>
Jun 29 07:33:07 localhost kernel: usb.c: registered new driver usblp<BR>
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<BR>
<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>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></FONT></PRE>
</BLOCKQUOTE>
<BR>
<FONT SIZE="4"><B>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.<BR>
<BR>
I now think I should avoid using the scanner driver.  Would<BR>
rmmod scanner <BR>
do this for me, or is something else necessary?  How can I tell whether or not I am using the scanner driver?<BR>
<BR>
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.<BR>
<BR>
What is the best way to get back to a clean system?<BR>
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?<BR>
My guess is that </FONT><BR>
<FONT SIZE="5">modprobe scanner vendor=0x03f0 product=0x0801</FONT><BR>
<FONT SIZE="4">should be added to /etc/rc.d/rc.local.  Is that right?  If so,  what else needs to be done?<BR>
<BR>
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.<BR>
<BR>
I currently have hpusbbscsi disabled.  Should both libusb and hpusbbscsi be enabled?</B></FONT><BR>
<FONT SIZE="3"><BR>
<BR>
...</FONT>
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373" SIZE="3"><I>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.</I></FONT></PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>