Strona 1 z 1
Skaner nie działa
: 21 paź 2016, 17:14
autor: pawelk29
Zainstalowałem sobie Ubuntu 16.10 i zainstalowałem sterowniki do urządzenia Brother MFC-250C, drukarka działa natomiast skaner nie, skopiowałem też katalog /usr/lib64/sane do /usr/lib/ i dalej nic, xsane nie wykrywa urządznia.
Re: Skaner nie działa
: 23 paź 2016, 08:57
autor: mario_7
Sprawdzałeś z poziomu konta root (przez sudo)? Może to kwestia dodania użytkownika do odpowiedniej grupy?
Re: Skaner nie działa
: 23 paź 2016, 09:28
autor: pawelk29
sprawdziłem, nie wykrywa skanera
Re: Skaner nie działa
: 23 paź 2016, 22:35
autor: mario_7
To może podasz jakieś logi?
Jak sprawdzałeś?
Re: Skaner nie działa
: 24 paź 2016, 06:34
autor: pawelk29
Czy chodzi o logi z katalogu /var/log/cups bo jesli taki tak to wygląda że wszystko ok
access_log:
Kod: Zaznacz cały
localhost - - [24/Oct/2016:06:16:42 +0200] "POST / HTTP/1.1" 200 349 Create-Printer-Subscriptions successful-ok
localhost - - [24/Oct/2016:06:16:42 +0200] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
access_log1
Kod: Zaznacz cały
localhost - - [23/Oct/2016:06:12:02 +0200] "POST / HTTP/1.1" 200 349 Create-Printer-Subscriptions successful-ok
localhost - - [23/Oct/2016:06:12:02 +0200] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
localhost - - [23/Oct/2016:10:12:41 +0200] "POST / HTTP/1.1" 401 123 Cancel-Subscription successful-ok
localhost - root [23/Oct/2016:10:12:42 +0200] "POST / HTTP/1.1" 200 123 Cancel-Subscription successful-ok
localhost - - [23/Oct/2016:10:12:42 +0200] "POST / HTTP/1.1" 200 152 Cancel-Subscription successful-ok
localhost - - [23/Oct/2016:11:24:50 +0200] "POST / HTTP/1.1" 200 349 Create-Printer-Subscriptions successful-ok
localhost - - [23/Oct/2016:11:24:50 +0200] "POST / HTTP/1.1" 401 236 CUPS-Get-Devices successful-ok
localhost - root [23/Oct/2016:11:24:50 +0200] "POST / HTTP/1.1" 200 1314 CUPS-Get-Devices -
localhost - - [23/Oct/2016:11:24:51 +0200] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
localhost - - [23/Oct/2016:11:25:11 +0200] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
localhost - - [23/Oct/2016:11:35:35 +0200] "POST / HTTP/1.1" 200 273 Create-Printer-Subscriptions successful-ok
localhost - - [23/Oct/2016:11:35:48 +0200] "POST /printers/MFC250C HTTP/1.1" 200 408 Print-Job successful-ok
localhost - - [23/Oct/2016:11:36:50 +0200] "POST /admin/ HTTP/1.1" 401 152 CUPS-Set-Default successful-ok
localhost - root [23/Oct/2016:11:36:50 +0200] "POST /admin/ HTTP/1.1" 200 152 CUPS-Set-Default successful-ok
localhost - root [23/Oct/2016:11:36:50 +0200] "GET /admin/conf/lpoptions HTTP/1.1" 200 0 - -
localhost - root [23/Oct/2016:11:36:50 +0200] "GET /admin/conf/lpoptions HTTP/1.1" 200 8847 - -
localhost - - [23/Oct/2016:11:36:52 +0200] "POST / HTTP/1.1" 200 152 Cancel-Subscription successful-ok
localhost - - [23/Oct/2016:21:03:50 +0200] "POST / HTTP/1.1" 401 123 Cancel-Subscription successful-ok
localhost - root [23/Oct/2016:21:03:50 +0200] "POST / HTTP/1.1" 200 123 Cancel-Subscription successful-ok
localhost - - [23/Oct/2016:21:03:51 +0200] "POST / HTTP/1.1" 200 152 Cancel-Subscription client-error-not-found
localhost - - [24/Oct/2016:06:11:51 +0200] "POST / HTTP/1.1" 200 349 Create-Printer-Subscriptions successful-ok
localhost - - [24/Oct/2016:06:11:51 +0200] "POST / HTTP/1.1" 401 236 CUPS-Get-Devices successful-ok
localhost - root [24/Oct/2016:06:11:51 +0200] "POST / HTTP/1.1" 200 1314 CUPS-Get-Devices -
localhost - - [24/Oct/2016:06:11:52 +0200] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
localhost - - [24/Oct/2016:06:12:45 +0200] "POST / HTTP/1.1" 200 176 Create-Printer-Subscriptions successful-ok
localhost - - [24/Oct/2016:06:16:42 +0200] "POST / HTTP/1.1" 401 123 Cancel-Subscription successful-ok
localhost - root [24/Oct/2016:06:16:42 +0200] "POST / HTTP/1.1" 200 123 Cancel-Subscription successful-ok
localhost - - [24/Oct/2016:06:16:42 +0200] "POST / HTTP/1.1" 200 152 Cancel-Subscription client-error-not-found
choć tutaj jest chuyba coś nie tak
error.log1
Kod: Zaznacz cały
E [23/Oct/2016:11:24:50 +0200] [cups-deviced] PID 993 (gutenprint52+usb) stopped with status 1!
W [23/Oct/2016:21:03:51 +0200] Notifier for subscription 55 (dbus://) went away, retrying!
E [24/Oct/2016:06:11:51 +0200] [cups-deviced] PID 1020 (gutenprint52+usb) stopped with status 1!
Re: Skaner nie działa
: 24 paź 2016, 07:13
autor: pawelk29
nie wiem czy dobrze zrobiłem ale zainstalowałem gutenprint52 i nic nie pomogło
Re: Skaner nie działa
: 24 paź 2016, 14:17
autor: yacup
Re: Skaner nie działa
: 24 paź 2016, 14:51
autor: pawelk29
Sprawdzałem ale nic nowego tu nie ma
Re: Skaner nie działa
: 24 paź 2016, 18:07
autor: mario_7
Jak sprawdzałeś czy skaner działa?
Re: Skaner nie działa
: 24 paź 2016, 22:19
autor: pawelk29
Np xsane nie wykrywa urządzenia albo w prostym skanowaniu pisze że brak dsotepnych skanerów
Re: Skaner nie działa
: 25 paź 2016, 07:55
autor: mario_7
Musisz zacząć podawać konkrety - wyniki działań poleceń, bo inaczej do niczego nie dojdziemy...
Co pokazują:
Kod: Zaznacz cały
sane-find-scanner
sudo scanimage --list-devices
Zobacz też to:
https://help.ubuntu.com/community/SANE% ... o-detected
Re: Skaner nie działa
: 25 paź 2016, 08:24
autor: pawelk29
sane-find-scanner:
Kod: Zaznacz cały
pk28@pk28-desktop:~$ sane-find-scanner
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
could not open USB device 0x8087/0x0024 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc077 at 001:005: Access denied (insufficient permissions)
could not open USB device 0x04f3/0x0103 at 001:004: Access denied (insufficient permissions)
found USB scanner (vendor=0x04f9 [Brother], product=0x01fe [MFC-250C]) at libusb:001:003
could not open USB device 0x8087/0x0024 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# 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.
sudo scanimage --list-devices
Re: Skaner nie działa
: 25 paź 2016, 12:18
autor: mario_7
Pokaż jeszcze
Ten drugi błąd jest niepokojący. Masz zainstalowane wszystkie aktualizacje systemu?
Zainstalowałeś prawidłowy sterownik do skanera?
Re: Skaner nie działa
: 25 paź 2016, 15:47
autor: pawelk29
sane-find-scaner:
Kod: Zaznacz cały
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x04f9 [Brother], product=0x01fe [MFC-250C]) at libusb:001:003
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
Re: Skaner nie działa
: 25 paź 2016, 17:19
autor: mario_7
Zatem skaner jest wykrywany...
Spróbuj tak uruchomić program do skanowania:
Co do scaniamge...
Pokaż co wyświetla polecenie:
Może być sporo tekstu - jeśli tak będzie, to wrzuć go na jakąś wkleajrkę i podaj link. np.
http://paste.ubuntu.com
Re: Skaner nie działa
: 25 paź 2016, 18:22
autor: yahoob3
Jeśli skaner jest w sieci domowej (z postów nie wywnioskowałem) spróbuj tego sposobu:
Udostępnienie skanera w sieci dla klienta Linux
1.Instalujemy Sane
2. Instalacja xinetd
3. sprawdzamy czy skaner odpowiada
4. Edytujemy plik saned.conf w celu odblokowania dostępu z sieci
dopisujemy + na końcu (po prostu plus) zapisujemy i zamykamy plik.
5. dodanie linii do pliku /etc/services
zazwyczaj ta linijka już jest - sprawdź to.
6. utworzyć plik sane
Zawartość ww. pliku sane:
Kod: Zaznacz cały
service sane-port
{
socket_type = stream
server = /usr/sbin/saned
protocol = tcp
user = root
group = root
wait = no
disable = no
}
7.resetujemy daemon xinetd
8. Skaner jest już udostępniony
9. dodawanie klienta skanera w przypadku linux
10. dopisanie adresu ip serwera skanera do pliku
/etc/sane.d/net.conf
na końcu, np. jak u mnie: 192.168.1.1