Hi, On Sat, Jul 26, 2003 at 06:26:51PM +0200, hillfort wrote: > For some time now i'm trying to run minolta Dual Scan III with Vuescan > 7.6.48 on my Linux Red Hat 2.4.20-19-9. I read a lot of worrying > messages that it doesn't work read the Hamrick instructions; trying > to emulate them, but still after a few slides it hangs; vuescan > also calls a lot of time for (re-) calibration. > > This is the way i run the program: > > "[EMAIL PROTECTED] marcel]$ cd /usr/local/vuescan" > "[EMAIL PROTECTED] vuescan]$ env lang=c ./vuescan"
Do you mean "LANG=C"? > then after a few runs it tells: > sh: line 1: xv: command not found That's probably a vuescan bug. It means that it couldn't find the program used to view images (xv). Probably it's not installed? But I don't think that's connected to your problem. No other messages from vuescan? > the log tells ["/var/log/messages:"] > Jul 26 11:02:59 kf-pij-tg01-0437 kernel: hub.c: new USB device 00:0b.0-1, assigned > address 3 > Jul 26 11:02:59 kf-pij-tg01-0437 kernel: scanner.c: USB scanner device > (0x0686/0x400d) now attached to scanner1 > Jul 26 11:03:03 kf-pij-tg01-0437 /etc/hotplug/usb.agent: Setup scanner for USB > product 686/400d/1 > Jul 26 11:03:03 kf-pij-tg01-0437 /etc/hotplug/usb.agent: Setup usbcam for USB > product 686/400d/1 > Jul 26 11:03:03 kf-pij-tg01-0437 /etc/hotplug/usb.agent: Module setup usbcam for USB > product 686/400d/1 > jul 26 11:03:03 kf-pij-tg01-0437 devlabel: devlabel service started/restarted > Jul 26 11:09:56 kf-pij-tg01-0437 kernel: scanner.c: read_scanner(1): funky > result:-75. Consult Documentation/usb/scanner.txt.Jul 26 That means that the scanner got a command or data that it doesn't understand. Usually it's too much data (or too little). There are four possible problems: * hardware (scanner or USB controller) * USB core (e.g. host controller driver) * scanner driver * vuescan There is a known issue with the scanner driver that seems to happen when the application wants to get more data than the scanner can handle at one time. There has been some discussion on this on this list before. My conclusion is that the apllication (vuescan in this case) shouldn't try to get more data than the scanner wants to send in one turn. But I don't think that's the case here because you say it only happens after some scans and not every time? Concerning hardware: do you have a VIA chipset on your mainboard? > 11:10:06 kf-pij-tg01-0437 kernel: usb_control/bulk_msg: timeout > Jul 26 11:10:25 kf-pij-tg01-0437 kernel: scanner.c: read_scanner(1): funky > result:-71. Consult Documentation/usb/scanner.txt.Jul 26 > 11:10:26 kf-pij-tg01-0437 kernel: usb.c: USB disconnect on device 00:0b.0-1 address 3 Have you unplugged the scanner at this point? Otherwise it looks like a problem with the USB core/hcd here. -71 is a CRC error / timeout. Probably because the device got disconnected. > Jul 26 11:12:15 kf-pij-tg01-0437 kernel: scanner.c: read_scanner(1): excessive NAK's > received > Jul 26 11:12:15 kf-pij-tg01-0437 kernel: scanner.c: write_scanner(1): funky result: > -19. Consult Documentataion/usb/scanner.txt. > Jul 26 11:12:15 kf-pij-tg01-0437 kernel: scanner.c: read_scanner(1): funky > result:-19. Consult Documentation/usb/scanner.txt.Jul 26 -19 is "no such device". Scanner was disconnected. > 11:12:16 kf-pij-tg01-0437 kernel: Unable to handle kernel paging request at virtual > address 00050046 If that happened after you disconnected the scanner that bug is known and will be fixed in 2.4.23 or 24. But that's not the original problem. If you like to debug the problem, you could enable deebugging in the scanner driver (linux/drivers/usb/scanner.h). But that means you must compile the kernel. General hints, I don't know if they help in your case : - If you use usb-uhci, try uhci instead (and vice versa) - If enabled, disable local APIC - update to linux 2.4.22-pre8 I don't know if vuescan supports libusb. If it does, try libusb instead. If the rror doesn't happen there, I must have a more detailed look into the scanner driver :-/ Bye, Henning ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
