

Błąd podczas operacji wejścia/wyjścia"
gdy odpalam przez "sudo xsane" komunikatu nie ma. Skaner działa na sterownikach od producenta, na 100% są dobre. Pierwszy raz mam podobny problem, więc nawet nie wiem, jakie pliki załączyć

Przepraszam za necroposting. Ale może komuś się przyda.xanio pisze:Prosto z faq brothera:
1. Open the file "/etc/udev/rules.d/45-libsane.rules" with an editor.
(w 8.04 trzeba stworzyc ten plik)
2. Add the following description to the file as below:
#brother
SYSFS{idVendor}=="04f9",MODE="666",GROUP="scanner"
LABEL="libsane_rules_end"
potem restart i powinno dzialac
Według punktu 5 i 6 dajemy w konsoli lsusb - moje lsusb:1. Open the terminal and past this command: (sudo gedit /etc/udev/rules.d/45-libsane.rules)
2. Note that you will see an entry all the way at the end (LABEL="libsane_rules_end")
3. You will place a command just above that line like so:
* #Brother MFC-240C
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="01ab", MODE="666", GROUP="scanner"
LABEL="libsane_rules_end"
4. NOTE: the 04f9 and the 01ab shown above.This is the Vendor ID and Product ID for my printer
5. To find the Vendor ID and Product ID for your pinter Open a terminal type this command: (lsusb) this will show you your (venderID:productID)
6. You will now insert your (vendorID:productID) in place of the ones shown above
7. Select save, then exit/close gedit program
8. Exit your terminal by typing exit, then hitting enter
9. Restart Your System
Czyli mój wpis w /etc/udev/rules.d/45-libsane.rules będzie wyglądał tak:Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 004: ID 04f2:b105 Chicony Electronics Co., Ltd
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 04f9:018c Brother Industries, Ltd DCP-115C
Bus 004 Device 002: ID 04f3:0210 Elan Microelectronics Corp. AM-400 Hama Optical Mouse
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Należy się jeszcze dodać do grupy #scanner. Najlepiej za pomocą kuser. I powino być ok.#Brother MFC-240C
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="018c", MODE="666", GROUP="scanner"
LABEL="libsane_rules_end"
u mnie nie ma takiej grupy "scanner". Utworzyłem ją sam i dodałem siebie do niej, ale w dalszym ciągu występuje błąd przy odpalaniu XSane przez zwyklego usera. Na sudo działa OK. Mam DCP 135C ale uwzględniłem inne IDproductNależy się jeszcze dodać do grupy #scanner. Najlepiej za pomocą kuser. I powino być ok.
Drukarka dziala na jako user??pawdom pisze:u mnie nie ma takiej grupy "scanner". Utworzyłem ją sam i dodałem siebie do niej, ale w dalszym ciągu występuje błąd przy odpalaniu XSane przez zwyklego usera. Na sudo działa OK. Mam DCP 135C ale uwzględniłem inne IDproduct
Kod: Zaznacz cały
saned
usb
lp
lpadmin
Kod: Zaznacz cały
# libusb device nodes
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0664"
Kod: Zaznacz cały
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
Kod: Zaznacz cały
# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"
#brother
SYSFS{idVendor}=="04f9", SYSFS{idProduct}=="0201", MODE="666", GROUP="scanner"
LABEL="libsane_rules_end"
Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 15 gości