LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-02-2015, 07:11 AM   #1
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Rep: Reputation: Disabled
[SOLVED]...Brother MFC-440CN Scanner Issues


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
 
Old 08-02-2015, 11:15 AM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,279
Blog Entries: 3

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
Hi...

Welcome to the forum

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.
 
Old 08-02-2015, 11:40 AM   #3
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
Message when opening xsane as a regular user

Error: Failed to Open Device 'brother2:bus2:dev;1': Invalid Argument

Already Installed:
xsane-common
libsane
sane-utils
libsane-common

Just installed:
sane

still NG...same error message

also ran

db@db-EX318AA-ABA-SR1920NX-NA630 ~ $ brscan-skey -l

MFC-440CN : brother2:bus2;dev1 : USB Active
 
Old 08-03-2015, 12:08 AM   #4
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,279
Blog Entries: 3

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
Hi...

Do the instructions here help?

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...

Code:
aaron@aaron:~$ groups aaron
aaron : aaron adm cdrom sudo dip plugdev lpadmin sambashare
aaron@aaron:~$
Let us know how it goes...

Regards...
 
Old 08-03-2015, 12:46 AM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,163

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Check that you have a udev rule for assigning the correct device permissions as explained for Ubuntu (=Mint) users here:

http://support.brother.com/g/s/id/li...rect=on#u13.04
 
Old 08-03-2015, 08:25 AM   #6
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
this is what I got when I followed your command:

db@db-EX318AA-ABA-SR1920NX-NA630 ~ $ usermod -G db,lp,db
Usage: usermod [options] LOGIN

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

db@db-EX318AA-ABA-SR1920NX-NA630 ~ $ dpkg -i brother-udev-rule-type1-1.0.0-1.all.deb
dpkg: error: requested operation requires superuser privilege

Now what?

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.

Tks
Dennis B

Last edited by dbrew4; 08-03-2015 at 05:18 PM.
 
Old 08-03-2015, 02:12 PM   #7
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,163

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Quote:
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

Code:
]db@db-EX318AA-ABA-SR1920NX-NA630 ~ $ dpkg -i brother-udev-rule-type1-1.0.0-1.all.deb
dpkg: error: requested operation requires superuser privilege
You need to install as superuser (as with most administrative tasks), so use sudo
Code:
sudo dpkg -i brother-udev-rule-type1-1.0.0-1.all.deb
 
Old 08-03-2015, 02:21 PM   #8
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
ferrari

Installed dpkg -i brother-udev-rule-type1-1.0.0-1.all.deb

System still not recognizing scanner as normal user



http://imagebin.ca/v/2Atoz6LutkLy

Last edited by dbrew4; 08-03-2015 at 02:38 PM. Reason: Added link to installed software
 
Old 08-03-2015, 04:00 PM   #9
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,279
Blog Entries: 3

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
Quote:
Originally Posted by dbrew4 View Post
Now what?

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...

Code:
sudo usermod -G allyourgroups,commaseparated,lp yourusername
Regards...
 
Old 08-03-2015, 05:17 PM   #10
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
this is what I got from that command

db@db-EX318AA-ABA-SR1920NX-NA630 ~ $ sudo usermod -G db,lp,db
Usage: usermod [options] LOGIN

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?

Last edited by dbrew4; 08-03-2015 at 05:20 PM.
 
Old 08-03-2015, 06:39 PM   #11
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,279
Blog Entries: 3

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
Hi...

Hmmm, something isn't right. Please show me the exact command you're typing in.

Thanks...
 
Old 08-03-2015, 08:23 PM   #12
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,163

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
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
Code:
sane-find-scanner
Try running it as regular user, then using sudo.
 
Old 08-04-2015, 06:02 AM   #13
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-04-2015, 11:08 AM   #14
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,279
Blog Entries: 3

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
Hi...

It's what I suspected, the command you're entering appears incorrect. You don't put you username "db" directly after the "-G."

You find out what all your user groups are by entering...

Code:
groups db
Also, please post the output of...

Code:
lsusb
That should help us determine the which of the devices is your scanner/printer.

Hang in there, learning a new operating system can definitely be a challenge. I struggled when I first started learning how to use Linux, too.

Regards...
 
Old 08-04-2015, 11:18 AM   #15
dbrew4
Member
 
Registered: Aug 2015
Posts: 31

Original Poster
Rep: Reputation: Disabled
[SOLVED]

ardvark71

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup a network printer / copier / scanner / fax LazerPhreak Linux - Newbie 2 06-21-2010 05:59 AM
Really need an ASUS eeePC print driver for Brother MFC 440cn printer. sp2273 Linux - Newbie 3 03-16-2008 08:06 PM
Printer/Scanner/Copier/Fax for Linux? JRR883 Linux - Hardware 1 07-26-2007 01:49 PM
Brother MFC-440cn in Slack 11? rje_NC Slackware 4 02-22-2007 10:01 AM
USB HP Fax/Printer/Scanner/Copier DaFrEQ Linux - Hardware 0 10-24-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration