uscanner + HPS' usb stack + nvidia-driver
Andrew Muhametshin
andrew at dobrohot.org
Tue Jul 31 19:54:31 UTC 2007
Hi,
I've problems with scanning in -STABLE using HPS' USB stack and running
X with x11/nvidia-driver - scanning process either hangs or there are
extraneous strips on resulting image
(http://www.dobrohot.org/files/scanner-error-001.jpg, for example),
while everything is ok when scanning from syscons or in X with
xf86-video-nv driver.
I've tested it in -CURRENT with x11/nvidia-driver and official USB stack
- problem can't be reproduced, but scanning speed is much lower than
with HPS' USB stack.
Is there any hope that it will be solved in the near future?
=====
$ scanimage -L
device `epson:/dev/uscanner0' is a Epson GT-9300 flatbed scanner
egrep "^usb|uscanner" /var/run/dmesg.boot
usb0: <OHCI (generic) USB controller> on ohci0
usb1: EHCI version 1.0
usb1: <EHCI (generic) USB 2.0 controller> on ehci0
usb0: 12MBps Full Speed USB v1.0
usb1: 480MBps High Speed USB v2.0
uscanner0: <EPSON EPSON Scanner, class 255/255, rev 2.00/1.00, addr 126>
usbdevs -v
Controller /dev/usb0:
addr 127: full speed, self powered, config 1, OHCI root hub(0x0000),
nVidia(0x0000), rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
port 5 powered
port 6 powered
port 7 powered
port 8 powered
Controller /dev/usb1:
addr 126: high speed, self powered, config 1, EPSON Scanner(0x011b),
EPSON(0x04b8), rev 1.00
addr 127: high speed, self powered, config 1, EHCI root hub(0x0000),
nVidia(0x0000), rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 addr 126: high speed, self powered, config 1, EPSON
Scanner(0x011b), EPSON(0x04b8), rev 1.00
port 5 powered
port 6 powered
port 7 powered
port 8 powered
# vmstat -i
interrupt total rate
irq1: atkbd0 7634 0
irq5: nvidia0+++ 2026534 116
irq7: pcm0 870058 50
irq10: ehci0 50 0
irq11: nfe0 1576908 90
irq12: psm0 1477304 85
irq14: ata0 27196 1
irq15: ata1 53 0
cpu0: timer 34714327 1999
Total 40700064 2344
# pciconf -lv| more
ohci0 at pci0:11:0: class=0x0c0310 card=0x81c01043 chip=0x026d10de
rev=0xa3 hdr=0x00
vendor = 'NVIDIA Corporation'
class = serial bus
subclass = USB
ehci0 at pci0:11:1: class=0x0c0320 card=0x81c01043 chip=0x026e10de
rev=0xa3 hdr=0x00
vendor = 'NVIDIA Corporation'
class = serial bus
subclass = USB
# uname -a
FreeBSD host01 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Jul 22 17:27:18 MSD
2007 root at host01:/usr/obj/usr/src/sys/HOST01 i386
More information about the freebsd-usb
mailing list