Witaj na Forum Linuxiarzy
Zanim zalogujesz się, by pisać na naszym forum, zapoznaj się z kilkoma zasadami savoir-vivre'u w dziale Administracja.
Wiadomości z problemami zamieszczone w wątku "Przywitaj się" oraz wszelkie reklamy na naszym forum będą usuwane.

Problem z instalacją skanera w Brother DCP-7030

Zaczęty przez Kano, Styczeń 07, 2020, 05:09:39 PM

Poprzedni wątek - Następny wątek

pavroo

Moj Brother również nie chce działać prawidłowo, pomimo sterowników od producenta.
Drukarka drukuje bez polskich znaków, ale skaner trzeba zmuszać do współpracy za każdym razem.
Po podłączeniu skanera do portu USB, w terminalu:
lsusb
przykładowy wynik:
Bus 003 Device 004: ID 04f9:02d0 Brother Industries, Ltd DCP-NUMER
Urządzenie jest podłączone do portu: 003/004 (za każdym podłączeniem jest inny port)
Następnie:
sudo chmod a+w /dev/bus/usb/003/004
I skaner działa, spróbuj.
Czasami lepiej trzymać usta zamknięte i być traktowany jak idiota, niż je otworzyć i rozwiać wszelkie wątpliwości. Mark Twain

Kano

dmk@DMK:~$ lsusb
Bus 001 Device 004: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 1a2c:0021 China Resource Semico Co., Ltd Keyboard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 04f9:01ea Brother Industries, Ltd DCP-7030
Bus 004 Device 002: ID 04f3:0234 Elan Microelectronics Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
dmk@DMK:~$ sudo chmod a+w /dev/bus/usb/004/003
[sudo] hasło użytkownika dmk:


Niestety nadal nie działa.

pavbaranov

Co daje samo:
scanimage -L
?
Dowiązania wyglądają na prawidłowe. Jeśli dalej system nie widzi, to musi Ci ktoś pomóc, kto ma Ubu 18.04. Nie chce mi się go instalować...

Kano

#33
To samo:

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).


Tak czy inaczej wielkie dzięki pavbaranov za pomoc. Poszukam pomocy jeszcze gdzieś indziej a ten wątek pozostawiłbym otwarty. Być może jeszcze ktoś inny poda jeszcze jakąś propozycję rozwiązania tego problemu a jeśli sam ją znajdę, to napiszę tutaj co mi pomogło.

Albedo 0.64

Witajcie. Ja mam już kilka lat Brothera DCP-J105, którego kupiłem ze względu na jakość sprzętu i dostępność sterowników linuksowych. Sterowniki były załączone na płytce CD wraz z instukcją instalacji. Nie chce mi się wierzyć, że Brother zmienił swoją politykę i sterowniki nie działają. A że są 32-bitowe, to już inna bajka. Dla przykładu załączam instrukcję instalacji sterowników, żeby było wiadomo czego szukać lub ewentualnie porównać z własną. Aby proces zakończyła się powodzeniem, należy najpierw umieścić komplet sterowników i skryptów w dowolnym folderze w katalogu domowym a następnie otworzyć to położenie w terminalu. Moja instrukcja wygląda tak:

How to Install driver install tool

Step1. Download the tool.(linux-brprinter-installer-*.*.*-*.gz)

The tool will be downloaded into the default "Download" directory.
(The directory location varies depending on your Linux distribution.)
e.g. /home/(LoginName)/Download

Step2. Open a terminal window and go to the directory you downloaded the file to in the last step.

Step3. Enter this command to extract the downloaded file:

Command: gunzip linux-brprinter-installer-*.*.*-*.gz

Step4. Get superuser authorization with the "su" command or "sudo su" command.

Step5. Run the tool:

Command: bash linux-brprinter-installer-*.*.*-* Brother machine name

Step6. The driver installation will start. Follow the installation screen directions.


When you see the message "Will you specify the DeviceURI ?",

For USB Users: Choose N(No)
For Network Users: Choose Y(Yes) and DeviceURI.

The install process may take some time. Please wait until it is complete.

How to Install LPR driver (deb package)

    Download LPR driver.
     
    Login as a superuser ( or use "sudo" option if required).
     
    Check if pre-required procedures are completed
    For Debian/Ubuntu 64bit
     
    Install the driver.
        Turn on the printer and connect the usb, network or parallel cable.
        Go to the directory where the driver is.
        Install LPR driver.The install process may take some time. Please wait until it is complete.
        Command  :  dpkg -i --force-all  (lpr-drivername)
        Check if the LPR driver is installed.
        Command  :  dpkg -l  |  grep  Brother
         
    Confirm/Configure a file according to your connection.

     
        Check the configuration filename for your distribution.
        Example:
        openSUSE, Ubuntu, Debian : /etc/printcap
        Redhat, fedora, Mandriva : /etc/printcap.local
         
        Edit the file according to your connection.
        For USB Connection (Default)
        Check if the parameter of ":lp" is ":lp=/dev/usb/lp0"
        For Network Connection
        replace ":lp" line to the following 2 lines
        :rm=(ip address of your printer)\
        :rp=lp\
        For Parallel Connection
        replace ":lp" line to the following line
        :lp=/dev/lp0\
         
        Restart the print system.
        Command  (for  lpr):  /etc/init.d/lpr  restart
        Command  (for  lprng)  :  /etc/init.d/lprng  restart
         
    Try a test print.

How to Install CUPSwrapper printer driver (deb package)

    Login as a superuser ( or use "sudo" option if it is required )
     
    Check if pre-required procedures are completed
    For Debian/Ubuntu 64 bit
    For Ubuntu8.04 or greater
     
    Download drivers
    Download LPR driver and cupswrapper driver.
     
    Install LPR driver and cupswrapper driver
        Turn on the printer and connect the USB cable.
        Open the terminal and go to the directory where the drivers are.
        Install LPR driver.The install process may take some time. Please wait until it is complete.
        Command (for dpkg)  :  dpkg  -i  --force-all  (lpr-drivername)
         
        Install cupswrapper driver.The install process may take some time. Please wait until it is complete.
        Command (for dpkg)  :  dpkg  -i  --force-all  (cupswrapper-drivername)
         
        Check if the LPR driver and cupswrapper driver are installed
        Command (for dpkg)  :  dpkg  -l  |  grep  Brother
         
    Depending on the connection type you are using (USB or Network), follow one of the steps below.

    (for USB Connection)
        Open a web browser and go to "http://localhost:631/printers".
        Check if the Device URI of your printer is "usb://brother/(your printer's model name)"

        If the device URI is different from the example above, please go to "Modify Printer" of your printer to select proper device and driver.
        If your printer is not listed on "http://localhost:631/printers", please go to "http://localhost:631/admin" and click "Add printer" and select proper device and driver.

     
    (for Network Connection)

     
        Open a web browser and go to "http://localhost:631/printers".
        Click "Modify Printer" and set following parameters.
        - "LPD/LPR Host or Printer" or "AppSocket/HP JetDirect"            for Device
        - lpd://(your printer's IP address)/binary_p1            for Device URI
        - Brother            for Make/Manufacturer Selection
        - Your printer's name            for Model/Driver Selection
    Try a test print
    Open a text editor, write something and select "print" from the menu.

Do prawidłowego działania skanera należy dodać użytkownika do grupy lp i lpadmin.
MX Linux Xfce
Linux registered user 556565

Kano

Hej Albedo znalazłem twoją instrukcję w innym wątku i zrobiłem tak jak napisałeś. Nie wiem tylko jak dodać użytkownika do grupy lp i lpadmin.

pavbaranov

Załapiesz: https://wiki.archlinux.org/index.php/Users_and_groups#Group_management? Jeśli nie to pytaj. Być może w tym Twoim Ubu jest jakieś GUI, które łatwo to robi. Nie wiem, nie znam się.

Kano

Dzięki za link pavbaranov.

dmk@DMK:~$ groups dmk
dmk : dmk adm cdrom sudo dip plugdev lpadmin sambashare

Czy to znaczy, że jestem już w tych dwóch grupach?

pavbaranov


Kano

Racja.

dmk@DMK:~$ sudo gpasswd -a dmk lp
[sudo] hasło użytkownika dmk:
Dodaję nowego użytkownika dmk do grupy lp

Teraz już ok :)

pavbaranov


Kano

Witam po długiej przerwie. Napisałem wcześniej, że jeśli rozwiążę problem, wrócę tutaj i napiszę co mi pomogło. Tak więc udało mi się w końcu zmusić skaner do działania. Niestety nie w Ubuntu a w Mincie. Po zainstalowaniu systemu i jego aktualizacji podłączyłem urządzenie do komputera i włączyłem. System sam znalazł i rozpoznał drukarkę, więc nie musiałem nawet instalować sterowników do niej. Skaner niestety nie został wykryty. Ściągnąłem więc sterowniki i wykonałem wszystkie wstępne procedury (poprzedzające instalację):

https://support.brother.com/g/b/midlink_faqid.aspx?c=pl&lang=pl&prod=dcp7030_all&site=pc&faqid=faq00100548&orgc=pl&orglang=pl&orgprod=dcp7030_all&orgfaqid=faq00100548&targetpage=14

Następnie zainstalowałem sterowniki zgodnie z instrukcją na stronie. Niestety skaner nadal nie został wykryty. Następnie wykonałem ten krok:

https://support.brother.com/g/b/faqend.aspx?c=pl&lang=pl&prod=dcp7030_all&ftype3=100258&faqid=faq00100617_000&ot=eu_ot

Niestety bez oczekiwanego skutku.

Już miałem się poddać, ale przypomniałem sobie o jednym rozwiązaniu, które znalazłem w internecie pod tym adresem (post #9):

https://www.linuxquestions.org/questions/linux-hardware-18/scanner-will-not-install-on-fresh-installation-of-mint-19-64bit-4175640527/

Próbowałem tego już wcześniej pod Ubuntu, ale po:

sudo cp /usr/lib64/sane/libsane-brother* /usr/lib/x86_64-linux-gnu/sane

otrzymałem:

cp: nie można wykonać stat na '/usr/lib64/sane/libsane-brother*': Nie ma takiego pliku ani katalogu

Natomiast w Mincie to zadziałało. Po tym skaner zaczął działać :)
Może komuś się to przyda. Zamykam temat.

Zobacz najnowsze wiadomości na forum