[sane-devel] niash:libusb:002:005 failed: Device busy
insane@piments.com
insane@piments.com
Tue, 08 Jun 2004 19:42:04 +0200
Nice post.
Sadly this does not seem to help for all scanners.
I did the change you suggested , recomp, reboot and my scanner locks up
just the same.
Shame it did not do it for canoscan.
I would suggest you look into the code a bit more seriously before
suggesting it as a fix to be integrated into the kernel. You cant just
hack code like that without looking at the consenquences. At least not if
you expect to have a stable kernel.
I'd rather have a scanner the dont scan than an OS like win9x. Get the
point?
Maybe that is why devs at that have not done it yet. The evenual code fix
will need to be more thorough.
Regards.
On Tue, 8 Jun 2004 09:04:51 +0200, Ullrich Sigwanz <us@bernafon.ch> wrote:
> Hi Chris,
>
> You must compile the kernel to solve the problem.
> The NIASH00019 chips return an old string-length-descriptor and the
> kernel
> code cannot handle this
> symptom any longer, alas.
>
> I posted several times to the guys who wrote the linux usb code,
> to revert a change they did when trading the 2.4 code into 2.6
> They are successfully refusing.
>
> There is a statement in the kernel-sources in the file
> drivers/usb/core/messages.c (about line 1200)
> which reads
>
> len=tbuf[0];
>
> when you change this to
>
> len=255;
>
> your 3400C will work again .
>
> but as I sayed, the kernel must be compiled.
>
> Perhaps you can also mail to linux-usb-devel? The more, the better.
>
> Good luck
>
> Ullrich
>
>
--
Using M2, Opera's e-mail client: on Gentoo Linux