[ [EMAIL PROTECTED] ]

> I'm having problems with a Nikon LS-40 (Coolscan IV) slidescanner (2900
> dpi). I expect that the datarate for a 2900dpi scanner is pretty fresh. 
> I'm using Vuescan, a shareware program, myself, but the same experiences
> have been had with SANE tools. I have included kernel and hardware info
> at the bottom of this mail.

I have the same scanner and much of the same problems as Nicolai, only
more...

I started out with a 2 1/2 years old PIII/500MHz system with an USB
controller that identified itself as Intel something, rev. 1.
Yesterday I upgraded the box to an ASUS motherboard with AMD 1800XP
and the nVidia nForce 220-D chipset, which has an USB controller that
allegedly is standard OHCI. I've also tried kernels 2.4.18,
2.4.19-pre8 and 2.5.16 (all uhci modules with the old motherboard).
Nothing has made any difference as far as I can see.

What is strange is that scanimage from SANE (the command-line tool)
works reasonably well, it crashes if I use some of its parameters and
I cannot seem to get the colors right, but otherwise it seems to scan
without any problems. However, Vuescan manages previews, but crashes
within a second when I hit the scan button, and xscanimage (SANE)
crashes after drawing a couple of lines of preview. I don't know
enough about kernel hacking to speculate much as to the reasons for
this.

I'll be happy to test patches. I might also try to look into this
myself, but it's a few years since I last looked hard at C code, so I
won't promise that that leads to anything.


Excerpt from dmesg:

Kernel 2.5.16, old (UHCI) motherboard:

usb-uhci.c: $Revision: 1.275 $ time 14:24:41 May 21 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:07.2
usb-uhci.c: USB UHCI at I/O 0xe000, IRQ 10
usb-uhci.c: Detected 2 ports
hcd.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c1552460, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: e000
hub.c: USB hub found at /
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c1552460
usb.c: kusbd: /sbin/hotplug add 1
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
ehci-hcd.c: 2002-May-11 USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-hcd.c: block sizes: qh 96 qtd 96 itd 128 sitd 64
ehci-hcd.c: 2002-May-11 USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-hcd.c: block sizes: qh 96 qtd 96 itd 128 sitd 64
usb.c: USB disconnect on device 1
usb.c: kusbd: /sbin/hotplug remove 1
hcd.c: USB bus 1 deregistered
PCI: Found IRQ 10 for device 00:07.2
hcd.c: usb-uhci-hcd @ 00:07.2, Intel Corp. 82371AB PIIX4 USB
hcd.c: irq 10, io base 0000e000
hcd.c: new USB bus registered, assigned bus number 1
usb-uhci-hcd.c: Detected 2 ports
hcd.c: 00:07.2 root hub device address 1
usb.c: kmalloc IF c1552360, numif 1
usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Manufacturer: Linux 2.5.16 usb-uhci-hcd
Product: Intel Corp. 82371AB PIIX4 USB
SerialNumber: 00:07.2
hub.c: USB hub found at /
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c1552360
usb.c: kusbd: /sbin/hotplug add 1
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: hub / port 1 connection change
hub.c: hub / port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 101, change 0, 12 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: kmalloc IF c1552c60, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 2 default language ID 0x409
Manufacturer: Nikon
Product: LS-40 ED
SerialNumber: 16777215
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x4b0/0x4000) is not claimed by any active driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.10
  Vendor:Product      = 04b0:4000
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 1.10
  Device Class:SubClass:Protocol = ff:ff:ff
    Vendor class
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0027
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   c0
  MaxPower            =    0mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   03
    bInterface Class:SubClass:Protocol =   ff:ff:ff
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   01 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   82 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   83 (in)
      bmAttributes        =   03 (Interrupt)
      wMaxPacketSize      = 0008
      bInterval           =   c8
usb.c: kusbd: /sbin/hotplug add 2
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
usb.c: registering 16 minors, starting at 48
usb.c: registered new driver usbscanner
scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 4b0:4000
usb.c: usbscanner driver claimed interface c1552c60
scanner.c: 0.4.6:USB Scanner Driver
usb-uhci-hcd.c: interrupt, status 3, frame# 879
hcd.c: giveback urb c1550f00 status -75 len 9248
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
hcd.c: giveback urb c1550f00 status -75 len 8
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
usb_control/bulk_msg: timeout
hcd.c: giveback urb c1550f00 status -2 len 0
hcd.c: 00:07.2: wait for giveback urb c1550f00
scanner.c: write_scanner: NAK received.
usb-uhci-hcd.c: interrupt, status 3, frame# 1522
hcd.c: giveback urb c1550f00 status -75 len 8
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
usb_control/bulk_msg: timeout
hcd.c: giveback urb c1550f00 status -2 len 0
hcd.c: 00:07.2: wait for giveback urb c1550f00
scanner.c: write_scanner: NAK received.
usb-uhci-hcd.c: interrupt, status 3, frame# 113
hcd.c: giveback urb c1550f00 status -75 len 8
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
usb_control/bulk_msg: timeout
hcd.c: giveback urb c1550f00 status -2 len 0
hcd.c: 00:07.2: wait for giveback urb c1550f00
scanner.c: write_scanner: NAK received.
usb-uhci-hcd.c: interrupt, status 3, frame# 752
hcd.c: giveback urb c1550f00 status -75 len 8
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
usb_control/bulk_msg: timeout
hcd.c: giveback urb c1550f00 status -2 len 0
hcd.c: 00:07.2: wait for giveback urb c1550f00
scanner.c: write_scanner: NAK received.
usb-uhci-hcd.c: interrupt, status 3, frame# 1391
hcd.c: giveback urb c1550f00 status -75 len 8
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
usb_control/bulk_msg: timeout

This continues until I turn the scanner off.


Kernel 2.4.19-pre8, new (OHCI) motherboard:

usb-ohci.c: USB OHCI at membase 0xde84a000, IRQ 5
usb-ohci.c: usb-00:02.0, PCI device 10de:01c2 (nVidia Corporation)
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xde84c000, IRQ 5
usb-ohci.c: usb-00:03.0, PCI device 10de:01c2 (nVidia Corporation)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
usb-uhci.c: $Revision: 1.275 $ time 00:33:41 May 17 2002
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 00:33:41 May 17 2002
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
uhci.c: USB Universal Host Controller Interface driver v1.1
nvidia: loading NVIDIA NVdriver Kernel Module  1.0-2960  Tue May 14 07:41:42 PDT 2002
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 409M
agpgart: unsupported bridge
agpgart: no supported devices found.
NVRM: AGPGART: unable to retrieve symbol table
spurious 8259A interrupt: IRQ7.
hub.c: USB new device connect on bus1/2, assigned device number 2
usb.c: USB device 2 (vend/prod 0x4b0/0x4000) is not claimed by any active driver.
usb.c: registered new driver usbscanner
scanner.c: probe_scanner: User specified USB scanner -- Vendor:Product - 4b0:4000
scanner.c: 0.4.6:USB Scanner Driver
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
usb_control/bulk_msg: timeout
scanner.c: write_scanner: NAK received.
scanner.c: read_scanner(0): funky result:-75. Consult Documentation/usb/scanner.txt.
scanner.c: write_scanner: NAK received.
usb.c: USB disconnect on device 2

(I turned the scanner off here.)


$ cat /proc/ioports 
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial(set)
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
0cf8-0cff : PCI conf1
5000-500f : PCI device 10de:01b4 (nVidia Corporation)
5100-511f : PCI device 10de:01b4 (nVidia Corporation)
5500-550f : PCI device 10de:01b4 (nVidia Corporation)
a800-a80f : nVidia Corporation nForce IDE
  a800-a807 : ide0
  a808-a80f : ide1
b000-bfff : PCI Bus #01
  b800-b87f : 3Com Corporation 3c905B 100BaseTX [Cyclone]
    b800-b87f : 01:07.0
d800-d807 : PCI device 10de:01c3 (nVidia Corporation)
e000-e07f : PCI device 10de:01b1 (nVidia Corporation)
  e000-e03f : NVIDIA NFORCE AUDIO
e100-e1ff : PCI device 10de:01b1 (nVidia Corporation)
  e100-e1ff : NVIDIA NFORCE AUDIO

Excerpt from lspci -vvv

00:02.0 USB Controller: nVidia Corporation: Unknown device 01c2 (rev c3) (prog-if 10 
[OHCI
])
        Subsystem: nVidia Corporation: Unknown device 0c11
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR
- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >
SERR- <PERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at e7000000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:03.0 USB Controller: nVidia Corporation: Unknown device 01c2 (rev c3) (prog-if 10 
[OHCI
])
        Subsystem: nVidia Corporation: Unknown device 0c11
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR
- FastB2B-
        Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >
SERR- <PERR-
        Latency: 0 (750ns min, 250ns max)
        Interrupt: pin A routed to IRQ 5
        Region 0: Memory at e6800000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-



Martin
-- 
"An ideal world is left as an exercise to the reader."
                                                 -Paul Graham, On Lisp



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to