I upgraded from OpenSuse 12.1 to 13.2. Since then I only can scan as root. When I’m logged in as a user, I get the follwing output from scanimage -L:
lp ppdev parport_pc
Speicherzugriffsfehler
The user is member of the lp-group;
sane-find-scanner finds the scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x190a [CanoScan], chip=GL124) at libusb:002:002
;
udev rules knows my scanner (Canon Lide 210) (mentioned therein also with lp-group);
/dev/bus/usb/002/002 mentions lp with group permission.
The only workaround I found so far, was to start Xsane within KDE as root, but the scanned image then also can only be handled as root.
Pls. let me know, if you need further information to be able to help.
here is sane-find-scanner (stripped from the comment lines):
could not open USB device 0x1d6b/0x0001 at 009:001: Access denied (insufficient permissions)
found USB scanner (vendor=0x04a9 [Canon], product=0x190a [CanoScan], chip=GL124) at libusb:002:002
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 008:001: Access denied (insufficient permissions)
could not open USB device 0x058f/0x6362 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc52b at 007:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 007:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 006:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 005: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)
(At the moment I only have connected 1 USB-device, that’s the scanner.)
and here from scanimage -T (which is the same as scanimage -L now):
ppdev parport_pc
modprobe: ERROR: could not insert 'lp': Operation not permitted
Speicherzugriffsfehler
I appreciate it very much that you are so helpful. Thank you rotfl!
Unfortunately, the dmesg output did not capture the kernel messagging related to plugging in the scanner. (Maybe you waited too long before running it.)
Anyway ‘sane-find-scanner’ correctly reports
found USB scanner (vendor=0x04a9 [Canon], product=0x190a [CanoScan], chip=GL124) at libusb:002:002
and here from scanimage -T (which is the same as scanimage -L now):
ppdev parport_pc
modprobe: ERROR: could not insert 'lp': Operation not permitted
Speicherzugriffsfehler
The modules listed relate to legacy parallel port devices, so not sure whay they’re being reported here.
Do you perhaps have the ‘parallel-printer-support’ package installed? It’s not reuqired for most users, unless the interface exists, and they use parallel port devices.
rpm -qa| grep parallel
Does running the following scanner uttilities work (as user)?
scangui
skanlite
Also, I’d like to see the output from ‘xsane’ (run as regular user from a terminal)
xsane
FWIW, I use ‘simple-scan’ as my preferred scanning application. You might want to install and try that too.
I did find this Fedora bug report that impacted some users and appeared to be related to a kernel-related regression and USB3 ports. Does that apply to you? Anyway, it may (or may not) be relevant here, so shared it just in case.
On 2014-12-20 13:36, RoXus wrote:
>
> @deano_ferrari,
>
> first my output of the 4 commands (as user):
>
> Code:
> --------------------
> hans@linux-5nt1:~> rpm -qa| grep parallel
> parallel-printer-support-1.00-12.1.2.noarch
>
> hans@linux-5nt1:~> scangui
> ppdev parport_pc
> modprobe: ERROR: could not insert ‘lp’: Operation not permitted
> --------------------
Wild guess:
As you have the parallel port package installed, the utilities that you
run as user first try to load the “lp” kernel module, and fail. At this
point, they abort.
You could load those kernel modules in advance as root (ppdev,
parport_pc), then run “scangui” as user, to find out if that is the reason.
Then simply remove the “parallel-printer-support-1.00-12.1.2.noarch”
package.
It is doubtful you have a machine with parallel printer port — or do you?
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
As I suspected. I’d remove that package. Reboot and try again.
Here is another trial of dmesg as user:
2279.848541] usb 2-5: USB disconnect, device number 2
2286.352365] usb 2-5: new high-speed USB device number 4 using ehci-pci
2286.471574] usb 2-5: New USB device found, idVendor=04a9, idProduct=190a
2286.471586] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
2286.471592] usb 2-5: Product: CanoScan
2286.471597] usb 2-5: Manufacturer: Canon
That all looks as expected (from a USB point of view).
Not all backends play nice with ‘scanimage -L’. The ‘sane-find-scanner’ command detected your scanner hardware ok.
You could also try removing the user’s ~/.sane directory
rm -Rf ~/.sane
Try launching a scanner application (via a terminal) after that.
Maybe there are others too. I haven’t had time to research further, (and they don’t describe the exact issue you report), but maybe there is a regression with SANE somehow.
BTW, Do you have a physical parallel port present? If so, try disabling via BIOS
PS.: I had two other entries uncommented: ‘net’ and ‘smfp’, they must have tried to load the other modules.
The ‘net’ backend is only used for connecting to remote scanner on a network. I wouldn’t think this would cause a problem, although it can cause delays while looking for unresponsive hosts or remote hosts that don’t exist when trying to scan to a local printer.
The ‘smfp’ backend is a proprietary backend for Samsung Multifunction Printers. Maybe you installed Samsung software previously? Anyway, it has been reported to cause this ‘Segmentation’ error, and with trying to load parallel port drivers). For example, here’s a thread mentioning the same issue from sevveral years ago