Brother Hl-1112e i skaner Mustek 1200UB

Witam.
Jestem kompletnie nowy w Manjaro.
Wcześniej używałem ubuntu.

Mam drukarkę Brother Hl-1112e i nie potrafię zainstalować do niej sterowników.
Na stronie producenta są pliki rpm oraz deb.
jak z nich w Manjaro zainstalować sterowniki ?
Drukarka jest mi potrzebna do pracy.

Dodatkowo mam skaner Mustek 1200UB który w Manjaro także nie działa…

Pomocy !

pamac install brother-hl-1112

W repo AUR https://aur.archlinux.org/packages/brother-hl-1112/

Odnośnie skanera, wybierz jeden z tych programów:
https://wiki.archlinux.org/index.php/SANE#Install_a_frontend

A co dalej ? proszę o instrukcję.
Wiem że powinienem sam się uczyć - ale sprzętu potrzebuje dosłownie na JUŻ niestety…

@Anakin9 sterowniki instalujesz poleceniem w konsoli, króre ci podał @UltherEgo. Potem w zależności od używanego środowiska graficznego wybierasz program do skanowania. Jeśli korzystasz z KDE to już powinieneś mieć w systemie Skanlite, jeśli z Gnome to Simple Scan. W innych środowiskach może być różnie, być może trzeba będzie doinstalować odpowiedni program (od tego w Manjaro jest Pamac – szukasz i instalujesz co cię interesuje). Jeśli już masz zainstalowane sterowniki to po prostu uruchom program do skanowania, on już powinien poprowadzić cię za rączkę.

Wyrzuca mi błąd

Błąd: cel nie został znaleziony: brother-hl-1112

Faktycznie, wyrzuca błąd, bo pakiet pochodzi z AUR. Poprawnie powinno być:

pamac build brother-hl-1112

Hmm Domyślam się że podczas instalacji mam nie edytować plików budowania.
Zainstalowałem sterowniki.
Następnie dodałem drukarkę do systemu.
Niby widzi ją ale podczas próby wydruku wyskakuję błąd.

Jaki błąd? Pokaż komunikat.

Filter Failed

Pokaż zawartość pliku /var/log/cups/error_log – być może wtedy będę w stanie coś więcej powiedzieć.

 [02/Feb/2020:14:08:23 +0100] [Job 6] argv[0]="Brother-HL-1110-series"
D [02/Feb/2020:14:08:23 +0100] [Job 6] argv[1]="6"
D [02/Feb/2020:14:08:23 +0100] [Job 6] argv[2]="virtutrade"
D [02/Feb/2020:14:08:23 +0100] [Job 6] argv[3]="Potwierdzenie zamówienia"
D [02/Feb/2020:14:08:23 +0100] [Job 6] argv[4]="1"
D [02/Feb/2020:14:08:23 +0100] [Job 6] argv[5]="noCollate Sleep=PrinterDefault PageSize=A4 TonerSaveMode=OFF number-up=1 Resolution=600x300dpi BrMediaType=PLAIN job-uuid=urn:uuid:ac6c890e-38a9-3d1b-7124-807915941064 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1580648763 time-at-processing=1580648902"
D [02/Feb/2020:14:08:23 +0100] [Job 6] argv[6]="/var/spool/cups/d00006-001"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[7]="CUPS_STATEDIR=/run/cups"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[8]="HOME=/var/spool/cups/tmp"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[10]="SERVER_ADMIN=root@virtutrade-pc"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[11]="SOFTWARE=CUPS/2.3.1"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[13]="USER=root"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[14]="CUPS_MAX_MESSAGE=2047"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[15]="CUPS_SERVER=/run/cups/cups.sock"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[17]="IPP_PORT=631"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[18]="CHARSET=utf-8"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[19]="LANG=pl_PL.UTF-8"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[20]="PPD=/etc/cups/ppd/Brother-HL-1110-series.ppd"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[21]="RIP_MAX_CACHE=128m"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[22]="CONTENT_TYPE=application/pdf"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[23]="DEVICE_URI=usb://Brother/HL-1110%20series?serial=E4N913845"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[24]="PRINTER_INFO=Brother HL-1110 series"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[25]="PRINTER_LOCATION=virtutrade-pc"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[26]="PRINTER=Brother-HL-1110-series"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[27]="PRINTER_STATE_REASONS=none"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[28]="CUPS_FILETYPE=document"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [02/Feb/2020:14:08:23 +0100] [Job 6] envp[30]="AUTH_I****"
D [02/Feb/2020:14:08:23 +0100] [Job 6] Started filter /usr/lib/cups/filter/pdftopdf (PID 2802)
D [02/Feb/2020:14:08:23 +0100] [Job 6] Started filter /usr/lib/cups/filter/pdftops (PID 2803)
D [02/Feb/2020:14:08:23 +0100] [Job 6] Started filter /usr/lib/cups/filter/brother_lpdwrapper_HL1110 (PID 2804)
D [02/Feb/2020:14:08:23 +0100] [Job 6] Started backend /usr/lib/cups/backend/usb (PID 2805)
D [02/Feb/2020:14:08:23 +0100] [Job 6] Restarted by "virtutrade".
D [02/Feb/2020:14:08:23 +0100] [Job 6] pdftops - copying to temp print file \"/var/spool/cups/tmp/00af35e45255c\"
D [02/Feb/2020:14:08:23 +0100] [Job 6] Loading USB quirks from \"/usr/share/cups/usb\".
D [02/Feb/2020:14:08:23 +0100] [Job 6] Loaded 181 quirks.
D [02/Feb/2020:14:08:23 +0100] [Job 6] Printing on printer with URI: usb://Brother/HL-1110%20series?serial=E4N913845
D [02/Feb/2020:14:08:23 +0100] [Job 6] libusb_get_device_list=9
D [02/Feb/2020:14:08:23 +0100] [Job 6] STATE: +connecting-to-device
D [02/Feb/2020:14:08:23 +0100] [Job 6] pdftopdf: Last filter determined by the PPD: brother_lpdwrapper_HL1110; FINAL_CONTENT_TYPE: application/vnd.cups-postscript => pdftopdf will not log pages in page_log.
D [02/Feb/2020:14:08:23 +0100] [Job 6] STATE: -connecting-to-device
D [02/Feb/2020:14:08:23 +0100] [Job 6] PDF interactive form and annotation flattening done via QPDF
D [02/Feb/2020:14:08:23 +0100] [Job 6] PID 2802 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [02/Feb/2020:14:08:23 +0100] [Job 6] Printer make and model: Brother Brother HL-1110 series
D [02/Feb/2020:14:08:23 +0100] [Job 6] Switching to Poppler\'s pdftops instead of Ghostscript for Brother, Minolta, Konica Minolta, Dell, and Apple LaserWriter 16/600, 4/600, 12/640, 12/600, 12/660 to work around bugs in the printer\'s PS interpreters
D [02/Feb/2020:14:08:23 +0100] [Job 6] Running command line for pstops: pstops 6 virtutrade \'Potwierdzenie zamówienia\' 1 \'Sleep=PrinterDefault PageSize=A4 TonerSaveMode=OFF Resolution=600x300dpi BrMediaType=PLAIN job-uuid=urn:uuid:ac6c890e-38a9-3d1b-7124-807915941064 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1580648763 time-at-processing=1580648902\'
D [02/Feb/2020:14:08:23 +0100] [Job 6] Using image rendering resolution 300 dpi
D [02/Feb/2020:14:08:23 +0100] [Job 6] Set job-printer-state-message to "Grayscale/monochrome printing requested for this job but Poppler is not able to convert to grayscale/monochrome PostScript.", current level=WARN
D [02/Feb/2020:14:08:23 +0100] [Job 6] Set job-printer-state-message to "Use \"pdftops-renderer\" option (see README file) to use Ghostscript or MuPDF for the PDF -> PostScript conversion.", current level=WARN
D [02/Feb/2020:14:08:23 +0100] [Job 6] Running command line for pdftops: pdftops -level2 -origpagesizes -nocenter -r 300 /var/spool/cups/tmp/00af35e45255c -
D [02/Feb/2020:14:08:23 +0100] [Job 6] Started filter pdftops (PID 2815)
D [02/Feb/2020:14:08:23 +0100] [Job 6] Started filter pstops (PID 2816)
D [02/Feb/2020:14:08:23 +0100] [Job 6] Printer found with device ID: MFG:Brother;CMD:PJL,HBP;MDL:HL-1110 series;CLS:PRINTER;CID:Brother Laser Type3; Device URI: usb://Brother/HL-1110%20series?serial=E4N913845
D [02/Feb/2020:14:08:23 +0100] [Job 6] Device protocol: 2
D [02/Feb/2020:14:08:23 +0100] [Job 6] Sending data to printer.
D [02/Feb/2020:14:08:23 +0100] [Job 6] Page = 595x842; 12,12 to 583,830
D [02/Feb/2020:14:08:23 +0100] [Job 6] slow_collate=0, slow_duplex=0, slow_order=0
D [02/Feb/2020:14:08:23 +0100] [Job 6] Before copy_comments - %!PS-Adobe-3.0
D [02/Feb/2020:14:08:23 +0100] [Job 6] %!PS-Adobe-3.0
D [02/Feb/2020:14:08:23 +0100] [Job 6] %Produced by poppler pdftops version: 0.84.0 (http://poppler.freedesktop.org)
D [02/Feb/2020:14:08:23 +0100] [Job 6] %%Creator: cairo 1.9.5 (http://cairographics.org)
D [02/Feb/2020:14:08:23 +0100] [Job 6] %%LanguageLevel: 2
D [02/Feb/2020:14:08:23 +0100] [Job 6] %%DocumentSuppliedResources: (atend)
D [02/Feb/2020:14:08:23 +0100] [Job 6] %%DocumentMedia: A4 595 842 0 () ()
D [02/Feb/2020:14:08:23 +0100] [Job 6] %%BoundingBox: 0 0 595 841
D [02/Feb/2020:14:08:23 +0100] [Job 6] %%Pages: 1
D [02/Feb/2020:14:08:23 +0100] [Job 6] %%EndComments
D [02/Feb/2020:14:08:23 +0100] [Job 6] Before copy_prolog - %%BeginProlog
D [02/Feb/2020:14:08:23 +0100] [Job 6] Before copy_setup - %%BeginSetup
D [02/Feb/2020:14:08:23 +0100] [Job 6] Before page loop - %%Page: 1 1
D [02/Feb/2020:14:08:23 +0100] [Job 6] Copying page 1...
D [02/Feb/2020:14:08:23 +0100] [Job 6] pagew = 571.0, pagel = 818.0
D [02/Feb/2020:14:08:23 +0100] [Job 6] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
D [02/Feb/2020:14:08:23 +0100] [Job 6] PageLeft = 12.0, PageRight = 583.0
D [02/Feb/2020:14:08:23 +0100] [Job 6] PageTop = 830.0, PageBottom = 12.0
D [02/Feb/2020:14:08:23 +0100] [Job 6] PageWidth = 595.0, PageLength = 842.0
D [02/Feb/2020:14:08:23 +0100] [Job 6] cp: nie można wykonać stat na \'/opt/brother/Printers/HL1110//inf/brHL1110rc\': Nie ma takiego pliku ani katalogu
D [02/Feb/2020:14:08:23 +0100] [Job 6] PID 2815 (pdftops) exited with no errors.
D [02/Feb/2020:14:08:23 +0100] [Job 6] rm: nie można usunąć \'/tmp/brHL1110rc_2804\': Nie ma takiego pliku ani katalogu
D [02/Feb/2020:14:08:23 +0100] [Job 6] Sent 0 bytes...
D [02/Feb/2020:14:08:23 +0100] [Job 6] PID 2804 (/usr/lib/cups/filter/brother_lpdwrapper_HL1110) stopped with status 1.
D [02/Feb/2020:14:08:23 +0100] [Job 6] Hint: Try setting the LogLevel to "debug" to find out more.
D [02/Feb/2020:14:08:23 +0100] [Job 6] Wrote 1 pages...
D [02/Feb/2020:14:08:23 +0100] [Job 6] PID 2816 (pstops) exited with no errors.
D [02/Feb/2020:14:08:23 +0100] [Job 6] PID 2803 (/usr/lib/cups/filter/pdftops) exited with no errors.
D [02/Feb/2020:14:08:23 +0100] [Job 6] Waiting for read thread to exit...
D [02/Feb/2020:14:08:23 +0100] [Job 6] PID 2805 (/usr/lib/cups/backend/usb) exited with no errors.
D [02/Feb/2020:14:08:23 +0100] [Job 6] End of messages
D [02/Feb/2020:14:08:23 +0100] [Job 6] printer-state=3(idle)
D [02/Feb/2020:14:08:23 +0100] [Job 6] printer-state-message="Filter failed"
D [02/Feb/2020:14:08:23 +0100] [Job 6] printer-state-reasons=none
E [02/Feb/2020:14:08:51 +0100] Scheduler shutting down due to program error.
W [02/Feb/2020:14:09:16 +0100] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'Brother-HL-1110-series-Gray..\' already exists

Zastosowałem podpowiedź z tęgo wątku i zadziałało
https://bbs.archlinux.org/viewtopic.php?pid=1805109#p1805109

Problem nr 1 rozwiązany :slight_smile:

Teraz cyrk ze skanerem.

Mustek 1200UB

Na starym laptopie ( Samsung ) na Lubuntu 19.10 po podłączeniu działał jak złoto.
Zmieniłem sprzęt na Lenovo . Zainstalowałem także Lubuntu 19.10 - po podłączeniu za cholerę nie widzi skanera.
To samo dzieje się tutaj w Manjaro.

Na windowsie skaner działa więc jest sprawny.

Jak to rozwiązać ?

Miałem zasugerować to samo rozwiązanie, ale widzę, że znalazłeś przede mną :smiley:

Co do skanera to sprawdźmy najpierw czy system w ogóle go wykrywa. W wynikach każdego z tych poleceń obok innych podłączonych urządzeń powinien się pojawić twój skaner:

lsusb
sane-find-scanner
scanimage -L

EDIT: Chociaż już przewiduję, że rozwiązanie będzie na bazie tego. Czyli, idziesz do pliku /etc/sane.d/gt68xx.conf znajdujesz linię #override "mustek-scanexpress-1200-ub-plus" i ją odkomentowujesz.

Nie widzi skanera.

W ostatnim poleceniu jako skaner widzi kamere w laptopie.
device `v4l:/dev/video0’ is a Noname Integrated Camera: Integrated C virtual device

Prawdopodobnie nie widzi twojego skanera, bo ma wyłączoną obsługę przez USB. Sprawdź plik, który podałem ci wyżej i jeśli znajdziesz, to usuń # z podanej linii. Powinno zadziałać.

Niestety nadal nie widzi skanera.

could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x0cf3/0xe500 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x13d3/0x56b2 at 001:004: Access denied (insufficient permissions)
could not open USB device 0x05e3/0x0610 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x062a/0x4101 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)

  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

@Anakin9

Kilka uwag natury technicznej:

  • stosuj formatowanie tekstu, tak aby był czytelny (poprawiłem Twój ostatni wpis, choć nie jestem pewien, czy o to chodziło);
  • pamiętaj o zasadzie: Jeden problem, jeden wątek. Ten wątek rozkręcił się, więc niech już tak zostanie, ale na przyszłość pamiętaj, aby nie mieszać ze sobą kilku tematów w jednym;
  • witamy na Forum :slight_smile:

Co do problemu, to skoro jest insufficient permissions, to być może Twojego user’a nie ma w stosownej grupie. Nie pamiętam polecenia, które listuje grupy, do których dany użytkownik należy, ale:

  • zajrzyj do pliku /etc/group i sprawdź, czy jesteś w grupie scanner;
  • albo wykonaj komendę:
    $ cat /etc/group | grep 'scanner'

Być może trzeba zrestartować odpowiednią usługę odpowiedzialną za USB/drukarki, żeby system zauważył wprowadzone zmiany. Ale wydaje mi się, że prościej będzie po prostu zrestartować komputer. Jeśli nadal nie zadziała to prawdopodobnie jest tak jak pisze @azja

Po wykonaniu komendy otrzymuje taki komunikat

scanner:x:96:

Ok. Edytowałem ten plik. dodałem nazwę uzytkownika do pozycji scanner.

scanner:x:96:virtutrade

Zrobiłem reset - nadal nie widzi skanera…

Czy komunikaty (Access denied itd.), są takie same, jak przedtem?

forum.manjaro.pl - polskie wsparcie Manjaro. Hostowane przez: