Danke Stutz fur den Hinweis.
Was ich jetzt weiter probiert habe.
# udevadmin monitor
<scanner am usbport einstecken>
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[169.609234] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5 (usb)
KERNEL[169.610640] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0 (usb)
KERNEL[169.610795] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1 (usb)
KERNEL[169.612038] add /class/usbmisc (class)
KERNEL[169.612175] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/usbmisc/lp0 (usbmisc)
KERNEL[169.612286] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.2 (usb)
UDEV [169.613262] add /class/usbmisc (class)
KERNEL[170.770306] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/usbmisc/lp0 (usbmisc)
KERNEL[170.770336] remove /usbmisc (class)
UDEV [170.770602] remove /usbmisc (class)
KERNEL[170.776035] add /class/usbmisc (class)
KERNEL[170.776147] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/usbmisc/lp0 (usbmisc)
UDEV [170.776353] add /class/usbmisc (class)
UDEV [171.199073] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5 (usb)
UDEV [171.201042] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1 (usb)
UDEV [171.202037] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.2 (usb)
UDEV [171.203006] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0 (usb)
UDEV [171.204317] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/usbmisc/lp0 (usbmisc)
UDEV [171.205121] remove /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/usbmisc/lp0 (usbmisc)
UDEV [171.206460] add /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.1/usbmisc/lp0 (usbmisc)
dann ueber sysfs den device namen
# cat /sys/devices/pci0000\:00/0000\:00\:1d.0/usb2/2-1/2-1.5/2-1.5\:1.1/usbmisc/lp0/uevent
MAJOR=180
MINOR=0
DEVNAME=usb/lp0
jetzt weiter mit der idee von stutz (fuser -m)
# for i in `fuser -m /dev/usb/lp0` ; do ps wwaux | gawk ' { if ($2=='$i') { print $0 }}'; done
andi 1646 0.0 0.5 397392 15876 ? Ssl 20:43 0:00 mate-session
andi 1809 0.0 0.0 24444 1956 ? S 20:43 0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch mate-session
andi 1810 0.0 0.1 39768 3068 ? Ss 20:43 0:00 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
andi 1883 0.0 0.1 337628 5632 ? Sl 20:43 0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
andi 1887 0.0 0.1 39384 3488 ? S 20:43 0:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
andi 1890 0.0 0.1 124924 4816 ? Sl 20:43 0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
andi 1895 0.0 0.1 178568 5032 ? Sl 20:43 0:00 /usr/lib/dconf/dconf-service
andi 1902 0.0 0.7 764572 22788 ? Sl 20:43 0:01 /usr/bin/mate-settings-daemon
andi 1904 0.1 1.0 728320 29756 ? Sl 20:43 0:04 marco
andi 1911 0.0 0.1 198400 5732 ? Sl 20:43 0:00 /usr/lib/gvfs/gvfsd
andi 1916 0.0 1.7 811516 50688 ? Sl 20:43 0:01 mate-panel
andi 1922 0.0 1.2 1367776 35560 ? Sl 20:43 0:00 caja
andi 1926 0.0 0.3 369336 9688 ? S<l 20:43 0:00 /usr/bin/pulseaudio --start --log-target=syslog
andi 1932 0.1 0.8 627856 26312 ? Sl 20:43 0:04 /usr/lib/mate-panel/wnck-applet
andi 1939 0.0 0.5 412212 15740 ? Sl 20:43 0:00 mate-screensaver
andi 1942 0.0 0.8 633156 25708 ? Sl 20:43 0:00 update-notifier
andi 1943 0.0 0.4 240664 14308 ? Sl 20:43 0:00 /usr/lib/x86_64-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1
andi 1945 0.0 0.2 379560 7240 ? Sl 20:43 0:00 /usr/lib/x86_64-linux-gnu/deja-dup/deja-dup-monitor
andi 1946 0.0 0.7 553496 21192 ? Sl 20:43 0:00 mate-power-manager
andi 1947 0.0 1.5 638656 44188 ? Sl 20:43 0:00 /usr/bin/python /usr/bin/blueman-applet
andi 1952 0.0 0.8 223260 24468 ? Sl 20:43 0:00 /usr/bin/python /usr/share/system-config-printer/applet.py
andi 1958 0.0 0.9 720900 29148 ? Sl 20:43 0:00 nm-applet
andi 2041 0.0 0.2 300604 8168 ? Sl 20:43 0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
andi 2075 0.0 0.1 202036 5684 ? Sl 20:43 0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
andi 2079 0.0 0.2 214200 5920 ? Sl 20:43 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
andi 2086 0.0 0.0 20236 2204 ? S 20:43 0:01 syndaemon -i 0.5 -k
andi 2088 0.0 0.2 59912 6220 ? S 20:43 0:00 /usr/lib/x86_64-linux-gnu/gconf/gconfd-2
andi 2095 0.0 0.2 287720 8400 ? Sl 20:43 0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
andi 2103 0.0 0.6 531324 20548 ? Sl 20:43 0:00 /usr/lib/mate-applets/trashapplet
andi 2137 0.0 0.2 361172 6476 ? Sl 20:43 0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.10 /org/gtk/gvfs/exec_spaw/0
andi 2172 0.2 0.8 690932 25628 ? Sl 20:43 0:07 /usr/lib/mate-panel/clock-applet
andi 2175 0.0 0.6 505236 19072 ? Sl 20:43 0:00 /usr/lib/mate-panel/notification-area-applet
andi 2176 0.0 0.9 624120 27048 ? Sl 20:43 0:00 /usr/lib/mate-indicator-applet/mate-indicator-applet-complete
andi 2303 0.0 0.1 126276 5676 ? Sl 20:43 0:00 /usr/lib/gvfs/gvfsd-metadata
andi 2315 0.0 0.2 420452 7868 ? Sl 20:43 0:00 /usr/lib/x86_64-linux-gnu/indicator-application-service
andi 2317 0.0 0.4 615224 14420 ? Sl 20:43 0:00 /usr/lib/indicator-sound-gtk2/indicator-sound-service
andi 2345 0.0 0.1 59864 5240 ? S 20:43 0:00 /usr/bin/obex-data-server --no-daemon
andi 2346 0.7 1.1 707784 33128 ? Sl 20:43 0:25 mate-terminal
andi 2618 0.3 1.6 567588 48080 ? Sl 20:46 0:12 /usr/bin/emacs24
andi 5066 8.1 8.2 1453840 241552 ? SLl 21:28 0:49 chromium-browser --enable-pinch
andi 5101 0.0 2.3 681104 67784 ? Sl 21:28 0:00 chromium-browser --type=gpu-process --channel=5066.0.420164417 --v8-natives-passed-by-fd --v8-snapshot-passed-by-fd --supports-dual-gpus=false --gpu-driver-bug-workarounds=2,15,44,56 --disable-accelerated-video-decode --gpu-vendor-id=0x8086 --gpu-device-id=0x0046 --gpu-driver-vendor --gpu-driver-version --v8-natives-passed-by-fd --v8-snapshot-passed-by-
andi 5105 0.0 0.5 672908 15232 ? S 21:28 0:00 chromium-browser --type=gpu-broker
Das bringt leider auch nix, weil (natuerlich) jeder, der etwas drucken will, auf diesem device hängt.
mit strace bin ich leider auch nicht weiter gekommen.
Also falls jemand noch eine Idee hat - gerne her damit. Ich bin mit meinem Latein am Ende. Ich vermmute einmal, dass da der Treiber ein Problem hat.