• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[Gelöst]Scannen nur als root?

Hallo Zusammen

Heute mußte ich seit langer Zeit wieder mal scannen (Das erste Mal mit SuSE 11). Leider habe ich damit so meine Problemchen: Kooka stürzt mit
Code:
[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb66f7a30 (LWP 4869)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb60d5bf5 in ?? () from /usr/lib/libmfp.so
#7  0xb60d7842 in m_parport_ECP_supported () from /usr/lib/libmfp.so
#8  0xb60d7cfd in port_init () from /usr/lib/libmfp.so
#9  0xb60d7e8f in dpa_init () from /usr/lib/libmfp.so
#10 0xb60d158f in mfp_get_devices () from /usr/lib/libmfp.so
#11 0xb61184ea in port::init_mfp_port_control ()
   from /usr/lib/sane/libsane-smfp.so.1
#12 0xb6108039 in device::init_mfp_port_control ()
   from /usr/lib/sane/libsane-smfp.so.1
#13 0xb610a2f9 in driver::init_mfp_port_control ()
   from /usr/lib/sane/libsane-smfp.so.1
#14 0xb6105e06 in backend::init () from /usr/lib/sane/libsane-smfp.so.1
#15 0xb610581a in sane_smfp_init () from /usr/lib/sane/libsane-smfp.so.1
#16 0xb6b1a2ad in ?? () from /usr/lib/libsane.so.1
#17 0xb6b1a5ad in sane_dll_get_devices () from /usr/lib/libsane.so.1
#18 0xb6b1b2a4 in sane_get_devices () from /usr/lib/libsane.so.1
#19 0xb7e44ebf in KScanDevice::KScanDevice () from /opt/kde3/lib/libkscan.so.1
#20 0x08089739 in ?? ()
#21 0x08089f75 in ?? ()
#22 0x0808a40d in ?? ()
#23 0xb6be15f5 in __libc_start_main () from /lib/libc.so.6
#24 0x08064791 in ?? ()
ab. "xsane" bringt einen "Speicherzugriffsfehler" und beendet sich. Als "root" kann ich allerdings problemlos mit beiden Programmen scannen. Will ich aber nicht. Mein Scanner ist übrigens ein HP Scanjet 4300C (über USB angeschlossen), den ich vor längerer Zeit "wiedergefunden" habe, nachdem mein "Medion"-Scanner nicht mehr wollte.

Jemand eine Idee, warum das nicht geht?

CU Freddie
 

Grothesk

Ultimate Guru
Dürfte ein Rechteproblem sein.
Bei Brother muss man da auch noch irgendwas umbiegen, damit man als user scannen kann. Kann dir zwar gerade nicht genau sagen, wo es hakt, aber vielleicht hilft das schon als google-Futter weiter.
 
OP
F

Freddie62

Guru
Leider kann ich mich erst heute wieder melden, da bei mir seit gestern Abend bis gerade eben kein DSL-Signal zur Verfügung stand. :down: :(
hplip ist von packman (mit der anderen Version gab es Konflikte/ungelöste Abhängigkeiten. Den Thread hatte ich noch nicht gefunden, habe aber schon die udev-Regeln geändert:
Code:
# libusb device nodes
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0666"
. => Keine Besserung. Auch das Eintragen eines zusätzlichen Files für den Resourcenmanager und dessen Neustart hat nichts gebracht.
Der (zunächst) letzte Versuch wird ein Eintrag in der fstab sein. Sollte aber nichts ändern, da usbfs seit 10.1 ja nicht mehr verwendet wird. :???:
Nachtrag: Hat, wie erwartet auch keine Änderung gebracht . Dann werd' ich mal weitergoogeln...
Code:
scanimage -L
bringt:
Code:
FATAL: Error inserting lp (/lib/modules/2.6.25.18-0.2-pae/kernel/drivers/char/lp.ko): Operation not permitted
Speicherzugriffsfehler

CU Freddie
 

misiu

Moderator
Teammitglied
Lösche mal in deinem /home/Benutzername Verzeichnis die versteckte
Konfigurationsdatei ".sane", danach neu xsane bzw. kooka starten.

MfG
misiu
 
OP
F

Freddie62

Guru
Hm... Hab ich gerade gelöscht. Immer noch derselbe Fehler. Zur Vorsicht habe ich anschließend noch die Dateien kookarc und scannerrc gelöscht. Bringt auch nichts. Nächster Versuch: Neuen Nutzer angelegt. => Gestartet. Bringt die Meldung, daß neue Hardware gefunden wurde (Mein Scanner) und daß diese von root eigerichtet werden muß. Gesagt, getan, Nur: Gleiches Ergebnis. Glücklicherweise brauche ich den Scanner fast nie. Sonst wär das wirklich Mist...

CU Freddie
 

misiu

Moderator
Teammitglied
Ich wundere mich eigentlich, wieso da auf lp zugegriffen wird, wenn der Scanner usb ist.

Was steht in der:
/etc/sane.d/dll.conf

Laut dem:
http://www.sane-project.org/sane-mfgs.html#Z-HEWLETT-PACKARD

Läuft der hp4300c mit dem Backend "niash".

MfG
misiu
 
OP
F

Freddie62

Guru
Das mit dem lp hat mich auch schon gewundert! :???: Hat das was mit dem HP Device manager zu tun?
Vorsichtshalber hatte ich mich schon mal der Gruppe lp zugefügt, hatte aber auch nichts gebracht. Er zeigt auch an, daß er niash verwendet.
Code:
# enable the next line if you want to allow access through the network:
#net
#abaton
#agfafocus
#apple
#avision
#artec
#artec_eplus48u
#as6e
#bh
#canon
#canon630u
#canon_pp
#cardscan
#coolscan
#coolscan2
#dc25
#dc210
#dc240
#dell1600n_net
#dmc
#epjitsu
#epson
#epson2
#fujitsu
#gphoto2
#genesys
#gt68xx
#hp
#hp3900
#hpsj5s
#hp3500
#hp4200
#hp5400
#hp5590
#hpljm1005
#hs2p
#ibm
leo
#lexmark
#ma1509
#matsushita
#microtek
#microtek2
#mustek
#mustek_pp
#mustek_usb
#mustek_usb2
#nec
niash
#pie
#pint
#pixma
#plustek
#plustek_pp
#pnm
#qcam
#ricoh
#s9036
#sceptre
#sharp
#sm3600
#sm3840
#snapscan
#sp15c
#st400
#stv680
#tamarack
#teco1
#teco2
#teco3
#test
#u12
#umax
#umax_pp
#umax1220u
#v4l
#
# The following backends are not included in the sane-backends distribution
# If you want to use them, download them from their webpages and read their
# documentation
#
# HP OfficeJet backend homepage: http://hpoj.sf.net/
# Uncomment the following line if hpoj is installed:
#hpoj
smfp
# The hpaio backend is provided by the hplip package:
#hpaio
niash ist danach ja freigegeben...

CU Freddie
 

misiu

Moderator
Teammitglied
Und was ist mit "leo" und "smfp", die brauchst du nicht , oder?
Und noch was:
Hängt was am Parport, bzw. ist da was gehangen?
Was steht im Abschnitt:
Code:
alias parport_lowlevel    parport_pc 
# options parport_pc io=0x378 irq=none,none 
# If you have multiple parallel ports, specify them this way: 
# options parport_pc io=0x378,0x278  irq=none,none
der
Code:
/etc/modprobe.conf
?

MfG
misiu
 
OP
F

Freddie62

Guru
Unglaublich! Das Auskommentieren von leo und smfp hat's gebracht! Nu mag der Scanner! :up:
Warum und weshalb das beides aktiv war weiß ich im Moment nicht, da ich seit der Installation von SuSE11 euigentlich nur diesen Scanner angeschlossen hatte. Vielen Dank erst mal!
Am Parallelport befindet sich noch ein HP Laserjet 4Plus,der sagt im Moment allerdings auch nichts. Dazu mach ich ggf. einen Fred auf. Ich hab ja noch den Samsung und es kann sein, daß mein Sohn den HP mitnimmt, wenn er Weihnachten nach Hause kommt.
Für alle Fälle aber noch dien Ausschnitt aus der modprobe.conf:
Code:
alias parport_lowlevel    parport_pc
# disable DMA for parallel port (bnc#180390)
options parport_pc dma=none
# options parport_pc io=0x378 irq=none
# If you have multiple parallel ports, specify them this way:
# options parport_pc io=0x378,0x278  irq=none,none
CU Freddie
 

misiu

Moderator
Teammitglied
Code:
# options parport_pc io=0x378 irq=none
in
Code:
options parport_pc io=0x378 irq=none
umändern und Rechner neu starten, dann wird wahrscheinlich auch mit dem Drucker
klappen.

MfG
misiu
 
Oben