|
Bugzilla – Full Text Bug Listing |
| Summary: | Scanning with USB scanner (Brother MFC8820DN) fails with SuSE 10.0 kernel. | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Andreas Pfaller <andreas.pfaller> |
| Component: | Kernel | Assignee: | Olaf Hering <ohering> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | jsmeix |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i386 | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Patch mentioned in Comment #4 | ||
|
Description
Andreas Pfaller
2005-10-22 11:11:04 UTC
try to stop hald, we have to find what keeps the entries in /proc/bus/usb/ busy. Exactly the same output (strace and sylog) after "rchal stop". can you attach the full strace output and also the ps axfu output? Im the meantime I have had a look at the sources of Brothers sane driver available from http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/sane_source/brother-sane-src-1.0.0-r011.tar.gz and the main problem seems to be the order in which it calls usb_claim_interface() and usb_set_configuration(). I managed to compile the brother backend with the attached patch within an updated sane source tree and the problem went anway. The original version worked with kernels up to at least 2.6.12 since the kernel did not return EBUSY. The code returning EBUSY was commented out. I my opinion a warning message with printk that this behaviour will change would have been a better idea. I submitted some feedback to Brother via there feedback form but recieved no reply yet. Maybe SuSE/Novell has some better contacts to Brother to make them aware of this issue. Still not solved is the problem with usblp (Bug#127524). It does not really matter to me since I print via the network. Created attachment 55355 [details] Patch mentioned in Comment #4 Greg, can you comment on the missing printk or similar indicator? This was a printk for a _long_ time before we removed this in the mainline kernel. People ignored it then, it was wrong, but we gave them a year to fix their stuff... I can point you at the upstream kernel.org bug entry if you wish. Greg, you probably mean the message "usb 4-2: usbfs: interface 1 claimed by ...". The problem with this message is at least to me and probably also Brothers developers nothing indicates that userspace does something wrong. It merely looks like a normal kernel status message. It would have been helpful if it had indicated that an error has been detected and that in the future this error will not be ignored. Anyway, the reason for the problem is found. I will mark this bug as "WONTFIX" as the kernel does nothing wrong and its Brother's job to distribute an updated sane driver. Yes, sorry about the wording. This was done by the upstream kernel developers a long time ago, and we picked it up when we updated our kernel versions. |