Hello again,<br><br>I have an update: scanner works perfectly with Brother drivers only with USB2.0 (haven't checked 1.0) ports, and doesn't want to start using my 3.0 or eSATA ones. It's a serious problem for me, as I don't have any other data ports in my notebook.<br>
<br>Do you think it's a sane-, or a Brother- problem?<br><br>Thanks,<br><br>Pawel Chojnacki<br><br><div class="gmail_quote">2013/1/15 Pawel Chojnacki <span dir="ltr"><<a href="mailto:chojnacki.pawel@gmail.com" target="_blank">chojnacki.pawel@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I am using 64-bit Debian Sid with 3.2.0-4-amd64 kernel. I had no 
problems installing Brother DCP7030 printer with official drivers from 
Brother's page, but I can't find any way to get scanner working. I've 
installed sane 1.0.14-9 and libsane-1.0.22-7.4, brscan3-0.2.11-5.amd64 and 
brscan-skey-0.2.4-0.amd64 packages, copied the lib64 libraries mentioned
 in the Brother's FAQ.<br><br>
I've modified /lib/udev/rules.d/60-libsane.rules adding<br># Brother DCP-7030<br>ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="01ea", MODE="666", GROUP="scanner",  ENV{libsane_matched}="yes"<br>

# The following rule will disable USB autosuspend for the device<br>ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'"<br>

LABEL="libsane_usb_rules_end"<br><br>Default user pawel is in groups ld and scanner.<br>At the very end of /etc/sane.d/dll.conf, there's "brother3" line.<br><br>Now when I plug in my printer I can see dmesg:<br>

[ 8695.435420] usb 2-2: new full-speed USB device number 4 using xhci_hcd<br>[ 8695.470593] usb 2-2: New USB device found, idVendor=04f9, idProduct=01ea<br>[ 8695.470598] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=3<br>

[ 8695.470600] usb 2-2: SerialNumber: 000M9N675233<br><br>lsusb:<br>Bus 002 Device 004: ID 04f9:01ea Brother Industries, Ltd DCP-7030<br><br>root@autumn:~# ls -l /dev/bus/usb/002/<br>crw-rw-r-T  1 root root 189, 128 sty  6 21:15 001<br>

crw-rw-r-T+ 1 root lp   189, 131 sty  6 23:40 004<br><br>pawel@autumn:~$ scanimage -L<br>device `brother3:bus4;dev1' is a Brother DCP-7030 USB scanner<br>device `v4l:/dev/video0' is a Noname Laptop_Integrated_Webcam_HD virtual device<br>

<br>But after all, after every first plugging in, scanimage -T gives me:<br>pawel@autumn:~$ SANE_DEBUG_BROTHER3=255 scanimage -T<br>[sanei_debug] Setting debug level of brother3 to 255.<br>[brother3] brother init<br>[brother3] brother version: 1000001<br>

[brother3] starting bus scan<br>[brother3] scanning bus 004<br>[brother3] found dev 8087/0024<br>[brother3] found dev 1D6B/0002<br>[brother3] scanning bus 001<br>[brother3] found dev 0C45/6441<br>[brother3] found dev 8086/0189<br>

[brother3] found dev 8087/0024<br>[brother3] found dev 1D6B/0002<br>[brother3] scanning bus 003<br>[brother3] found dev 1D6B/0003<br>[brother3] scanning bus 002<br>[brother3] found dev 04F9/01EA<br>[brother3] found dev 1D6B/0002<br>

scanimage: rounded value of br-x from 215.9 to 215.88<br>scanimage: rounded value of br-y from 355.6 to 355.567<br>scanimage: sane_start: Invalid argument<br>[brother3] cancel called...<br><br>And after first try until I replug the printer/scanner:<br>

pawel@autumn:~$ SANE_DEBUG_BROTHER3=255 scanimage -T<br>[sanei_debug] Setting debug level of brother3 to 255.<br>[brother3] brother init<br>[brother3] brother version: 1000001<br>[brother3] starting bus scan<br>[brother3] scanning bus 004<br>

[brother3] found dev 8087/0024<br>[brother3] found dev 1D6B/0002<br>[brother3] scanning bus 001<br>[brother3] found dev 0C45/6441<br>[brother3] found dev 8086/0189<br>[brother3] found dev 8087/0024<br>[brother3] found dev 1D6B/0002<br>

[brother3] scanning bus 003<br>[brother3] found dev 1D6B/0003<br>[brother3] scanning bus 002<br>[brother3] found dev 04F9/01EA<br>[brother3] found dev 1D6B/0002<br>scanimage: open of device brother3:bus4;dev1 failed: Invalid argument<br>

<br>The same happens with xsane and simple-scan, and when giving commands from root account. Switching to kernel 2.6.32-5-amd64, 3.5.0 or 3.7.1 doesn't help, either. Installing cups-driver-gutenprint and printer-driver-gutenprint changes nothing.<br>

<br>I know there are a few similar problems out there on the forums, but for me simply changing the access rights and groups does not work. Last time I got this scanner working was two months ago under freshly-updated Ubuntu 12.10. Now it doesn't want to start under the same Ubuntu LiveUSB, even though Sane and Sane-Utils versions are up-to-date. <br>

<br>Thanks in advance,<br><br>Pawel Chojnacki<br>
</blockquote></div><br>