Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solvd] only root can use scangearmp

Need help with peripherals or devices?
Post Reply
Message
Author
akuankkis
Posts: 81
Joined: 2011-10-09 09:29

[Solvd] only root can use scangearmp

#1 Post by akuankkis »

I dowlloaded Linux IJ Scan Driver_mg5100.tar package from Cannon suport site. Installed it and now only root can use Canon PIXMA MG5150 scanner with scangearmp.

I want scanner access to all users. What to do?
Last edited by akuankkis on 2012-08-16 09:37, edited 1 time in total.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: only root can use scangearmp

#2 Post by craigevil »

make sure your users are in the scanner group. wouldn't hurt to add them to the lp group either.


$ groups
craig lp cdrom floppy sudo audio dip video plugdev users netdev lpadmin powerdev scanner debian-tor
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

akuankkis
Posts: 81
Joined: 2011-10-09 09:29

Re: only root can use scangearmp

#3 Post by akuankkis »

craigevil wrote:make sure your users are in the scanner group. wouldn't hurt to add them to the lp group either.
All users are members in scanner and lp grops. All can pirnt but only root can use scanner.
Scanner works with Ubuntu 10.04 but not Debian Squeeze.

peter_irich
Posts: 1405
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: only root can use scangearmp

#4 Post by peter_irich »

Check udev's rules for this scanner, parameters MODE and GROUP. It must be 0660 and scanner respectively,
and must not be OWNER="root".

Peter.

akuankkis
Posts: 81
Joined: 2011-10-09 09:29

Re: only root can use scangearmp

#5 Post by akuankkis »

peter_irich wrote:Check udev's rules for this scanner, parameters MODE and GROUP. It must be 0660 and scanner respectively,
and must not be OWNER="root".
There is /etc/udev/80-canon_mfp.rules

# 80-canon_mfp.rules

ACTION!="add", GOTO="canon_mfp_end"
SUBSYSTEM=="usb_device", GOTO="canon_mfp_start"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="canon_mfp_start"
GOTO="canon_mfp_end"

LABEL="canon_mfp_start"
------ cut ------
#MG5100 series
SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="1748", MODE="666"
------ cut ------

LABEL="canon_mfp_end"

emmanuel_lamprecht
Posts: 1
Joined: 2012-07-26 18:39

Re: only root can use scangearmp

#6 Post by emmanuel_lamprecht »

I had this problem on an old Lenny box once. After backing up your udev rules, add the bold text to your rule:

SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="1748", MODE="666", GROUP="scanner"

On later distributions, you may find that udev complains about SYSFS, which has been deprecated. In this case, simply change SYSFS to ATTR throughout.

Best regards,
EL

akuankkis
Posts: 81
Joined: 2011-10-09 09:29

Re: only root can use scangearmp

#7 Post by akuankkis »

SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="1748", MODE="666", GROUP="scanner"
No changes.
On later distributions, you may find that udev complains about SYSFS, which has been deprecated. In this case, simply change SYSFS to ATTR throughout.
Warning messages dissapers at boot.

What about printers.rules? PIXMA MG5150 is also a printer.

peter_irich
Posts: 1405
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: only root can use scangearmp

#8 Post by peter_irich »

You can try change
udev_log="err"
to
udev_log="info"
in /etc/udev/udev.conf or just try ATTR instead of SYSFS, but on my Debian Wheezy SYSFS is used id udev rules.

Peter.

akuankkis
Posts: 81
Joined: 2011-10-09 09:29

Re: [Solvd] only root can use scangearmp

#9 Post by akuankkis »

I replaced Debian with Windows. Now all works fine.

cebupsych
Posts: 1
Joined: 2014-04-05 07:51

Re: [Solvd] only root can use scangearmp

#10 Post by cebupsych »

ScangearMP can be launched from your command line or from within Gimp Photo Editor. Open Gimp then in blank screen right click and select flie > create > scangearmp > scan.

Post Reply