Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there any issue running Simple Scan or gscan2pdf in ROOT? When I try to run these programs in normal they don't recognize my scanner (printer works fine)? They work fine in ROOT. Xsane works in ROOT but when I save a file to pdf I don't have permission to open it with document viewer. While reading numerous posts in numerous forums I understand there can be issues with Linux Mint 17 recognizing scanners. I'm a newbie and I don't have the skills to change files as recommended by some posts. If the directions were simple, I think I would give it a try.
Tks
Dennis B
Last edited by dbrew4; 08-04-2015 at 11:34 AM.
Reason: external powered USB port device caused interfered with scanner recognition
This does sound like a permissions issue. What is the exact error message you receive when you try to use xsane in your regular user account?
Just as a possible quick fix, you can try installing the following packages in your package manager, if you don't already have them: sane, libsane and libsane-extras.
Regards...
Last edited by ardvark71; 08-02-2015 at 11:20 AM.
Reason: Added information.
Remember that "yourusername" and "allyourgroups,commaseparated" in the instructions mean your personal username and groups (separated by a comma) on your system.
Here is mine using "groups yourusername", as an example...
Options:
-c, --comment COMMENT new value of the GECOS field
-d, --home HOME_DIR new home directory for the user account
-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-g, --gid GROUP force use GROUP as new primary group
-G, --groups GROUPS new list of supplementary GROUPS
-a, --append append the user to the supplemental GROUPS
mentioned by the -G option without removing
him/her from other groups
-h, --help display this help message and exit
-l, --login NEW_LOGIN new value of the login name
-L, --lock lock the user account
-m, --move-home move contents of the home directory to the
new location (use only with -d)
-o, --non-unique allow using duplicate (non-unique) UID
-p, --password PASSWORD use encrypted password for the new password
-R, --root CHROOT_DIR directory to chroot into
-s, --shell SHELL new login shell for the user account
-u, --uid UID new UID for the user account
-U, --unlock unlock the user account
-v, --add-subuids FIRST-LAST add range of subordinate uids
-V, --del-subuids FIRST-LAST remvoe range of subordinate uids
-w, --add-subgids FIRST-LAST add range of subordinate gids
-W, --del-subgids FIRST-LAST remvoe range of subordinate gids
-Z, --selinux-user SEUSER new SELinux user mapping for the user account
now what?
ferrari
after downloading and saving the recommended file (brother-udev-rule-type1-1.0.0-1.all.deb, ver.1.0.0-1, 2KB)
This is what I got with the command
I sure wish there was a Linux hotline to call in order to have someone walk me through this...difficult with emails, post, etc....especially to a newbie.
ferrari
after downloading and saving the recommended file (brother-udev-rule-type1-1.0.0-1.all.deb, ver.1.0.0-1, 2KB)
This is what I got with the command
I sure wish there was a Linux hotline to call in order to have someone walk me through this...difficult with emails, post, etc....especially to a newbie.
Hi...
There are these services available but they tend to be for corporate users and you have to pay for them.
Did you use "sudo" at the beginning of the command? Example...
Options:
-c, --comment COMMENT new value of the GECOS field
-d, --home HOME_DIR new home directory for the user account
-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-g, --gid GROUP force use GROUP as new primary group
-G, --groups GROUPS new list of supplementary GROUPS
-a, --append append the user to the supplemental GROUPS
mentioned by the -G option without removing
him/her from other groups
-h, --help display this help message and exit
-l, --login NEW_LOGIN new value of the login name
-L, --lock lock the user account
-m, --move-home move contents of the home directory to the
new location (use only with -d)
-o, --non-unique allow using duplicate (non-unique) UID
-p, --password PASSWORD use encrypted password for the new password
-R, --root CHROOT_DIR directory to chroot into
-s, --shell SHELL new login shell for the user account
-u, --uid UID new UID for the user account
-U, --unlock unlock the user account
-v, --add-subuids FIRST-LAST add range of subordinate uids
-V, --del-subuids FIRST-LAST remvoe range of subordinate uids
-w, --add-subgids FIRST-LAST add range of subordinate gids
-W, --del-subgids FIRST-LAST remvoe range of subordinate gids
-Z, --selinux-user SEUSER new SELinux user mapping for the user account
what is your thoughts on using Hexchat and using the Linux Help Chat room?
The udev rules are designed to provide read/write access to users who are a member of the 'scanner' group, so as ardvark71 has suggested already, you need to make sure that this is the case.
The following utility should find a USB-attached scanner
This is the command I used for "usermod -G allyourgroups,commaseparated,lp yourusername"
sudo usermod -G db,lp,db
my user name is db but I don't know what "allmygroups" is. I also ran "sane-find-scanner" and here are the results:
# 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.
could not open USB device 0x2001/0xf103 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 0x058f/0x9360 at 002:004: Access denied (insufficient permissions)
could not open USB device 0x045e/0x076c at 002:003: Access denied (insufficient permissions)
could not open USB device 0x0556/0x0001 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 002: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.
I also ran "sane-find-scanner" in ROOT and here are the results:
# 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.
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
# 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.
Tks for all your patience...output below...thought...maybe my 7 port external USB hub may be interfering?
$ groups db
db : db adm cdrom sudo dip plugdev lpadmin scanner sambashare
$ lsusb
Bus 001 Device 006: ID 04f9:01af Brother Industries, Ltd MFC-440CN
Bus 001 Device 002: ID 2001:f103 D-Link Corp. DUB-H7 7-port USB 2.0 hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
Bus 002 Device 003: ID 045e:076c Microsoft Corp. Comfort Mouse 4500
Bus 002 Device 002: ID 0556:0001 Asahi Kasei Microsystems Co., Ltd AK5370 I/F A/D Converter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Ardvark71 and all other responders...tks for all the help and patience...Dennis B
Last edited by dbrew4; 08-04-2015 at 11:39 AM.
Reason: [SOLVED]...external powered USB port interferring
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.