Portál AbcLinuxu, 8. května 2025 13:55

Dotaz: Nefunkční scanner multifunkce usb Brother DCP 115C

pohorac avatar 13.2.2012 22:56 pohorac | Brno
Nefunkční scanner multifunkce usb Brother DCP 115C
Přečteno: 362×
Odpovědět | Admin
Od roku 2010 používám Ubuntu.Pravidelně aktualizuji.S každou novou verzí jsem musel přeinstalovat tisk i scanner.V Ubuntu 11.10 tomu bylo stejně, ale některá z aktualizací mi zablokovala komunikaci scanneru, přičemž tisk funguje.Zatím jsem to nedokázal vyřešit.
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

13.2.2012 23:38 Sandokan
Rozbalit Rozbalit vše Re: Nefunkční scanner multifunkce usb Brother DCP 115C
Odpovědět | | Sbalit | Link | Blokovat | Admin
Brother má na svých stránkách ovladače, jak pro tisk, tak i pro scannery. Sice proprietární, ale i s jednoduchým návodem a fungují celkem spolehlivě (pravda, používám je na Fidorce, ale .deb balíčky jsou tam taky).

ZDAR!
pohorac avatar 14.2.2012 12:56 pohorac | Brno
Rozbalit Rozbalit vše Re: Nefunkční scanner multifunkce usb Brother DCP 115C

Při instalaci i reinstalaci jsem je použil. Nainstalovaný ovladač je" brscan2"Když scanner po některé z posledních aktualizací U 11.10 přestal fungovat zkoušel jsem: 1) Ubuntu 9.10, 10.04, 10.10, 11.4, 11.10 1. Open "/lib/udev/rules.d/40-libsane.rules" file. 2.Add the following two lines to the end of the device list. (Before the line "# The following rule will disable ..."): The lines to be added--------------------------- # Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes" 3. Restart the OS. Po otevření knihovny jsem na konci výpisu SCSI tiskáren zjistil, že tuto úpravu jsem již dělal. stav nefunkční : # Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes" LABEL="libsane_scsi_rules_end" Nemělo by tu být: LABEL="libsane_usb_rules_begin" ??? ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}" LABEL="libsane_rules_end" /lib/udev/rules.d/40-libsane.rules Na začátku výpisu jsou tyto pokyny: This file was automatically created based on description files (*.desc) # by sane-desc 3.5 from sane-backends 1.0.22 on Thu Sep 22 12:51:34 2011 # # udev rules file for supported USB and SCSI devices # # The SCSI device support is very basic and includes only # scanners that mark themselves as type "scanner" or # SCSI-scanners from HP and other vendors that are entitled "processor" # but are treated accordingly. # # To add a USB device, add a rule to the list below between the # LABEL="libsane_usb_rules_begin" and LABEL="libsane_usb_rules_end" lines. # # To run a script when your device is plugged in, add RUN+="/path/to/script" # to the appropriate rule. # # If your scanner isn't listed below, you can add it as explained above. # # If your scanner is supported by some external backend (brother, epkowa, # hpaio, etc) please ask the author of the backend to provide proper # device detection support for your OS # # If the scanner is supported by sane-backends, please mail the entry to # the sane-devel mailing list (sane-devel@lists.alioth.debian.org). # ACTION!="add", GOTO="libsane_rules_end" ENV{DEVTYPE}=="usb_device", GOTO="libsane_create_usb_dev" SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin" SUBSYSTEM=="usb_device", GOTO="libsane_usb_rules_begin" SUBSYSTEM!="usb_device", GOTO="libsane_usb_rules_end" # Kernel >= 2.6.22 jumps here LABEL="libsane_create_usb_dev" # For Linux >= 2.6.22 without CONFIG_USB_DEVICE_CLASS=y # If the following rule does not exist on your system yet, uncomment it # ENV{DEVTYPE}=="usb_device", MODE="0664", OWNER="root", GROUP="root" # Kernel < 2.6.22 jumps here LABEL="libsane_usb_rules_begin" Nebo je asi chyba že ovladač není umístěn do první části seznamu: usb ovladačů, ale na konec seznamu ovladačů scsi. Mezi těmito částmi je tento pokyn, jehož použití mi není úplně jasné: # The following rule will disable USB autosuspend for the device 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'" LABEL="libsane_usb_rules_end" SUBSYSTEMS!="scsi", GOTO="libsane_scsi_rules_end" LABEL="libsane_scsi_rules_begin" # Generic: SCSI device type 6 indicates a scanner KERNEL=="sg[0-9]*", ATTRS{type}=="6", ENV{libsane_matched}="yes" # Some scanners advertise themselves as SCSI device type 3 # Epson Perfection 2450 | Epson Perfection 2450 PHOTO KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes".................................

Omlouvám se napastoval jsem to bez použití editoru a teď nevím jak tomu dát původní podobu

pohorac avatar 14.2.2012 15:44 pohorac | Brno
Rozbalit Rozbalit vše Re: Nefunkční scanner multifunkce usb Brother DCP 115C

To je fakt nepřehledný, pokusím se to přepsat v editoru.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.