xsane ungültiges Argument

Hilfe bei der Installation von Manjaro Linux!
Antworten

Themen Author
Thatsme
Forum Gott
Forum Gott
Beiträge: 337
Registriert: Dienstag 15. September 2020, 10:14
CPU: verschiedene
GPU: verschiedene
Kernel: LTS 5.4.105-1
Desktop-Variante: XFCE
GPU Treiber: free-nonfree, kommt darauf an, welcher aktuell funktioniert
Hat sich bedankt: 77 Mal
Danksagung erhalten: 23 Mal

xsane ungültiges Argument

#1

Beitrag von Thatsme »

Hallo,

bis vor dem Update ging alles. Der Drucker funktioniert auch über W-lan. Bei xsane kommt aber "ungültiges Argument". Das device ist aber korrekt.
Installiert ist (gab es nur über AUR) brscan4 und brother-mfc-l2700dw

Code: Alles auswählen

[me@me ~]$ scanimage -L
device `brother4:net1;dev0' is a Brother MFC-L2700DW MFC-L2700DW 
device `v4l:/dev/video0' is a Noname HP HD Webcam [Fixed]: HP HD Web virtual device

[me@me ~]$ brsaneconfig4 -a
Gtk-Message: 15:00:24.668: Failed to load module "xapp-gtk3-module"
Gtk-Message: 15:00:24.668: Failed to load module "xapp-gtk3-module"

[me@me ~]$ echo $GTK_MODULES
canberra-gtk-module:xapp-gtk3-module:canberra-gtk-module:xapp-gtk3-module

Ich fand das hier: https://forum.manjaro.org/t/failed-to-l ... dule/46039
aber das kapiere ich nicht und bin mir nicht sicher, ob das auf mich zutrifft, und schon gar nicht, wie ich das lösen kann.
Dateianhänge
Bildschirmfoto_2021-01-09_16-09-01.png
Bildschirmfoto_2021-01-09_16-09-01.png (13.49 KiB) 743 mal betrachtet
Bildschirmfoto_2021-01-09_16-08-03.png
Bildschirmfoto_2021-01-09_16-08-03.png (9.09 KiB) 743 mal betrachtet
Viele Tipps, die die Umwelt schonen https://www.smarticular.net/

Themen Author
Thatsme
Forum Gott
Forum Gott
Beiträge: 337
Registriert: Dienstag 15. September 2020, 10:14
CPU: verschiedene
GPU: verschiedene
Kernel: LTS 5.4.105-1
Desktop-Variante: XFCE
GPU Treiber: free-nonfree, kommt darauf an, welcher aktuell funktioniert
Hat sich bedankt: 77 Mal
Danksagung erhalten: 23 Mal

Re: xsane ungültiges Argument

#2

Beitrag von Thatsme »

Ich muss das nochmals hoch holen.

Das Drucken funktioniert. Das scannen nicht.
Ich habe mal die Diagnose laufen lassen.
Der Netzwerkdrucker wird erkannt und angepingt. Aber Fehlermeldungen wegen USB
could not open USB device
Er ist nur über W-lan mit dem Rechner verbunden. Das hatte ich schon immer so.

Code: Alles auswählen

brsaneconfig4 -q | grep SCANNER 
bringt jedoch keine Ausgabe.

Code: Alles auswählen

[attachment=0]sane.png[/attachment]brsaneconfig4 - a 
erscheint das Bild.

Code: Alles auswählen

[me@me ~]$ brsaneconfig4 -d
-----------------------------
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=994e5eca-62cb-4f25-ac39-c0d5931d7ad5 /              ext4    defaults,noatime,discard 0 1
UUID=e1cedd0b-f36a-4408-8836-bc9c1d1a76af /home          ext4    defaults,noatime,discard 0 2
UUID=ea176b15-1aea-4b57-9051-32876195ea8c none            swap         sw                0 0 
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
-----------------------------
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.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

could not open USB device 0x04f2/0xb21b at 002:003: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc534 at 004:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003: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.
-----------------------------
ls -R -all /proc/bus/usb
ls: Zugriff auf '/proc/bus/usb' nicht möglich: Datei oder Verzeichnis nicht gefunden
-----------------------------
cat /proc/bus/usb/devices
cat: /proc/bus/usb/devices: Datei oder Verzeichnis nicht gefunden
-----------------------------
scanimage -L
device `brother4:net1;dev0' is a Brother MFC-L2700DW MFC-L2700DW
device `v4l:/dev/video0' is a Noname 1.3M HD WebCam: 1.3M HD WebCam virtual device
-----------------------------
-----------------------------
ping
test MFC-L2700DW
ping 192.168.0.101 -w 10

PING 192.168.0.101 (192.168.0.101) 56(84) bytes of data.
64 Bytes von 192.168.0.101: icmp_seq=1 ttl=255 Zeit=7.54 ms
64 Bytes von 192.168.0.101: icmp_seq=2 ttl=255 Zeit=6.94 ms
64 Bytes von 192.168.0.101: icmp_seq=3 ttl=255 Zeit=22.2 ms
64 Bytes von 192.168.0.101: icmp_seq=4 ttl=255 Zeit=24.1 ms
64 Bytes von 192.168.0.101: icmp_seq=5 ttl=255 Zeit=24.4 ms
64 Bytes von 192.168.0.101: icmp_seq=6 ttl=255 Zeit=21.7 ms
64 Bytes von 192.168.0.101: icmp_seq=7 ttl=255 Zeit=21.3 ms
64 Bytes von 192.168.0.101: icmp_seq=8 ttl=255 Zeit=20.8 ms
64 Bytes von 192.168.0.101: icmp_seq=9 ttl=255 Zeit=21.8 ms
64 Bytes von 192.168.0.101: icmp_seq=10 ttl=255 Zeit=20.5 ms

--- 192.168.0.101 ping statistics ---
10 Pakete übertragen, 10 empfangen, 0% packet loss, time 9016ms
rtt min/avg/max/mdev = 6.936/19.125/24.390/6.065 ms
Ich habe mal das gelesen und nur teilweise verstanden
https://bbs.archlinux.org/viewtopic.php?id=210960
In der /etc/sane.d/dll.conf steht ganz unten brother4
/lib/udev/rules.d/ fehlt 49-sane.rules

Aber es gibt: 65-sane.rules

Code: Alles auswählen

# This file was generated from description files (*.desc)
# by sane-desc 3.6 from sane-backends 1.0.32
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# 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.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# 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@alioth-lists.debian.net).
#
ACTION=="remove", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRS{type}=="6", ENV{libsane_matched}="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes"

# Epson Expression 800 | Epson Expression 800
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Expression800", ENV{libsane_matched}="yes"

# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"

# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"

# Epson GT-X900 | Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-X900", ENV{libsane_matched}="yes"

# Epson Perfection 636S | Epson Perfection 1200S | Epson Perfection 1200S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"

# Epson Perfection 1640SU | Epson Perfection 1640SU PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1640", ENV{libsane_matched}="yes"

# Epson Perfection 636 | Epson Perfection 636S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 4p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIc
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIp
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet IIcx
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 4c
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 5p
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 6200C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes"

# Hewlett-Packard ScanJet 6300C
ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"


LABEL="libsane_rules_end"
# This file was generated from description files (*.desc)
# by sane-desc 3.6 from sane-backends 1.0.32
#
# udev rules file for supported USB and SCSI devices
#
# For the list of supported USB devices see /usr/lib/udev/hwdb.d/20-sane.hwdb
#
# 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.
#
# If your SCSI scanner isn't listed below, you can add it to a new rules
# file under /etc/udev/rules.d/.
#
# 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@alioth-lists.debian.net).
#
ACTION=="remove", GOTO="libsane_rules_end"

# The following rule will disable USB autosuspend for the device
ENV{DEVTYPE}=="usb_device", ENV{libsane_matched}=="yes", TEST=="power/control", ATTR{power/control}="on"

SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
GOTO="libsane_rules_end"

LABEL="libsane_scsi_rules_begin"
KERNEL!="sg[0-9]*", GOTO="libsane_rules_end"

# Generic: SCSI device type 6 indicates a scanner
ATTRS{type}=="6", ENV{libsane_matched}="yes"

# Some scanners advertise themselves as SCSI device type 3

# Wildcard: for some Epson SCSI scanners
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER*", ENV{libsane_matched}="yes"

# EPSON Expression 800
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Expression800", ENV{libsane_matched}="yes"

# EPSON GT-9700F | EPSON Perfection 2450 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"

# EPSON GT-9800F | EPSON Perfection 3200 PHOTO
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"

# EPSON GT-X900 | EPSON Perfection V700 Photo | EPSON Perfection V750 Photo
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-X900", ENV{libsane_matched}="yes"

# EPSON Perfection 1200S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"

# EPSON Perfection 636S
ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"


LABEL="libsane_rules_end"
und 66-saned. rules

Code: Alles auswählen

# udev rule for saned (SANE scanning daemon) to be able to write on usb port
ENV{libsane_matched}=="yes", ENV{DEVNAME}!="", RUN+="/usr/bin/setfacl -m g:saned:rw $env{DEVNAME}"
Dateianhänge
sane.png
sane.png (30.29 KiB) 511 mal betrachtet
Zuletzt geändert von Thatsme am Dienstag 23. März 2021, 13:02, insgesamt 1-mal geändert.
Viele Tipps, die die Umwelt schonen https://www.smarticular.net/
Antworten

Zurück zu „Manjaro Linux Installation und Programme“