LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-18-2019, 05:31 PM   #1
ClarkSchulze
LQ Newbie
 
Registered: Jan 2019
Location: Brownstown, Fayette County, illinois, USA
Distribution: 18.2 Sonya
Posts: 2

Rep: Reputation: Disabled
Angry Lose USB permissions when upgrading to Newer Distro.


I upgraded to Linux Mint Cinnamon 19.1 Tessa and lost use of my scanner which is connected by USB port. I see others have had this same issue when upgrading earlier versions of Linux. I reverted back to Linux Mint Cinnamon 18.2 Sonya with Timeshift so I am able to use the scanner now but I would like to upgrade to 19.1 again and be able to use the Epson Perfection V550 Photo scanner. Below I have pasted what the system was showing before I reverted back to the old version of Mint. Any help appreciated. I am having trouble finding out how to change permissions. I read something about chmod but it says the changes will not be permanent. And yes I am like a newbee since I don't know many linux commands. I knew dos and even wrote menus to for a Tandy so my mother's programs were organized and she could boot them without help by just choosing a number but that was years ago and DOS ain't LINUX.

---------------------------------------------------------------------------------------------------------------------------------------
clark@clark-Inspiron-570 ~ $ sane-find-scanner

# sane-find-scanner will now attempt to detect your scanner.

could not open USB device 0x058f/0x6362 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 006:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x050d/0x845a at 001:009: Access denied (insufficient permissions)
could not open USB device 0x05e3/0x0748 at 001:007: Access denied (insufficient permissions)
could not open USB device 0x1058/0x259d at 001:005: Access denied (insufficient permissions)
could not open USB device 0x0bda/0x5411 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x0e8d/0x1887 at 001:008: Access denied (insufficient permissions)
could not open USB device 0x062a/0x4101 at 001:006: Access denied (insufficient permissions)
could not open USB device 0x04b8/0x013b at 001:004: Access denied (insufficient permissions)
could not open USB device 0x05e3/0x0608 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 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003: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.

# 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.
--------------------------------------------------------------------------------------------------------------------------------------------------------
clark@clark-Inspiron-570 ~ $ sudo sane-find-scanner
[sudo] password for clark:

# sane-find-scanner will now attempt to detect your scanner.

found USB scanner (vendor=0x050d [Manufacturer Realtek ], product=0x845a [Belkin USB Wireless Adaptor]) at libusb:001:009
found USB scanner (vendor=0x04b8 [EPSON], product=0x013b [EPSON Scanner]) at libusb:001:004
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
 
Old 01-19-2019, 06:38 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 8,605

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
Quote:
I read something about chmod but it says the changes will not be permanent
Explain that please, where you read that. That's true on a 'live' system such as the installer version of Mint from DVD/USB but if you use sudo, you should be able to change permissions permanently on any installed system anywhere on the system.

If you are unfamiliar with Linux commands and how to change permissions, I would suggest an online search which should give you millions of hits such as the links below.

https://www.tecmint.com/linux-commands-cheat-sheet/

https://linuxconfig.org/linux-commands

https://help.ubuntu.com/community/FilePermissions


What happened, what output did you get when you ran the command suggested "scanimage -L"?

Last edited by yancek; 01-19-2019 at 06:41 AM.
 
Old 01-19-2019, 02:05 PM   #3
ClarkSchulze
LQ Newbie
 
Registered: Jan 2019
Location: Brownstown, Fayette County, illinois, USA
Distribution: 18.2 Sonya
Posts: 2

Original Poster
Rep: Reputation: Disabled
I don't remember what scanimage -L said when I ran it then but this is what it says now after reverting back to 18 Sonya "not that it will help now":
I don't know where to find the backends man pages. I thought sane was the backend and I did look at those using "man sane" and studied it but didn't find anything I thought could help except this:
PROBLEMS
If your device isn't found but you know that it is supported, make sure
that it is detected by your operating system. For SCSI and USB scan‐
ners, use the sane-find-scanner tool (see sane-find-scanner(1) for
details). It prints one line for each scanner it has detected and some
comments (#). If sane-find-scanner finds your scanner only as root but
not as normal user, the permissions for the device files are not
adjusted correctly.


clark@clark-Inspiron-570 ~ $ scanimage -L
device `epkowa:interpreter:001:010' is a Epson Perfection V550 Photo flatbed scanner

I have studied chmod for several days and understand how to change file and directory permissions but I can not find out where or how to change permissions for a usb port.

As for the chmod not being permanent, I got that from someone on a youtube video that stated that the setting would revert back when rebooting. I really didn't understand why, maybe they were talking about something else which I didn't understand. Sometimes they talk too fast.

The way I understand this problem is that permissions to use the usb ports to access devices has been taken away and I want to find out how and where to go to change these permissions back to where they can be accessed by the programs I am running like they did before the upgrade. I assume the usb ports are files in directories and files in the system.

I did find this now:
clark@clark-Inspiron-570 /dev $ cd bus

clark@clark-Inspiron-570 /dev/bus $ ls
usb

clark@clark-Inspiron-570 /dev/bus $ cd usb

clark@clark-Inspiron-570 /dev/bus/usb $ ls
001 002 003 004 005 006

clark@clark-Inspiron-570 /dev/bus/usb $ ls -l
total 0
drwxr-xr-x 2 root root 220 Jan 19 13:00 001
drwxr-xr-x 2 root root 80 Jan 19 12:58 002
drwxr-xr-x 2 root root 60 Jan 19 12:58 003
drwxr-xr-x 2 root root 60 Jan 19 12:58 004
drwxr-xr-x 2 root root 60 Jan 19 12:58 005
drwxr-xr-x 2 root root 60 Jan 19 12:58 006
clark@clark-Inspiron-570 /dev/bus/usb $

I also found this:
clark@clark-Inspiron-570 /dev/usb $ ls -l
total 0
crw------- 1 root root 180, 0 Jan 19 12:59 hiddev0
 
  


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
Upgrading to a newer version of distro fkasmani Linux - Distributions 2 01-11-2011 12:01 PM
LXer: Microsoft, Motorola Patent Battle: A Lose-Lose-Lose Proposition LXer Syndicated Linux News 1 10-05-2010 09:51 PM
I have Lose my data because LVM partition lose iwantofree Linux - Server 9 08-01-2008 07:09 AM
LXer: Patent lawsuit a lose-lose for NetApp, Sun LXer Syndicated Linux News 0 09-11-2007 04:40 AM
Lose permissions mid-session johngcarlsson Linux - Newbie 18 08-02-2004 07:23 PM

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

All times are GMT -5. The time now is 03:46 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