Date: Thu, 03 Jan 2008 10:00:18 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: trtrgav@mail.ru Cc: freebsd-usb@freebsd.org Subject: Re: trying to catch the bug in usb-support Message-ID: <20080103.100018.500323586.imp@bsdimp.com> In-Reply-To: <E1JAS6O-000EJp-00.trtrgav-mail-ru@f142.mail.ru> References: <E1JAS6O-000EJp-00.trtrgav-mail-ru@f142.mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <E1JAS6O-000EJp-00.trtrgav-mail-ru@f142.mail.ru> Ivan <trtrgav@mail.ru> writes: : Dear friends, : : since a couple of days I'm trying to fix some issues concerning the broken support of some usb-devices. I have started with HP ScanJet 4300C usb-scanner. The problem seems to be rather old (you can look at: : http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-August/001377.html : http://lists.freebsd.org/mailman/htdig/freebsd-usb/2005-August/001399.html : http://www.freebsd.org/cgi/query-pr.cgi?pr=119018 : ) : I have tried to attach the scanner on 4.11-STABLE, 7.0-PRERELEASE and now on 8.0-CURRENT. Everywhere the same problem. I have added some debug-output to the uscanner.c and found out, that uaa->iface in uscanner_match() is set to NULL. As I tried to attach the device as ugen, I saw: : : uhub1: port1, set config at addr 2 failed, error=STALLED : : I have also tried to set the iface-value explicitly in usb_subr.c by adding: : : usbd_device2interface_handle(dev,0,&uaa.iface) : : but also without success. : : device_get_ivars() seems to be broken. But what can I do about that? Or what else could be wrong? : : I hope someone of you have more experience with that stuff to help me out. On current from October, I've been able to use my scanjet without a problem, but it has to attach to ugen to work. Maybe it is a cable issue? Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080103.100018.500323586.imp>