LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2011, 12:45 AM   #1
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
--current, libusb perms when running scanimage from cli


Hello,

I have a script to work my scanner. Haven't used the scanner in about two months, and a perm's issue appeared tonight as I tried to use it.

What's odd is, this error spams about 100 times, then the scanner does indeed work. So I'm not completely broken, but the error messages are of concern, and it slows down the process of scanning for the time it takes to do the messages.

Error in console:
libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied.
libusb requires write access to USB device nodes.

my sript runs:
scanimage \
--device $MODEL \
--resolution=$RESOLUTION \
-x 5104 -y 6840 \

my groups:
uid=1000(fogie) gid=100(users) groups=100(users),7(lp),11(floppy),12(mail),15(man),17(audio),18(video),19(cdrom),20(games),21(sloca te),83(plugdev),84(power),86(netdev),93(scanner)

Even a simple:
scanimage -Lv

in console gives this on a separate --current pc as well.

any ideas?

thank you.
 
Old 03-24-2011, 06:03 PM   #2
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
This seems to be a small bug in libusb1, according to http://libusb.6.n5.nabble.com/libusb...ux-td7545.html

As per this, the error messages are totally correct (most devices in /dev/bus/usb are root:root owned, hence a normal user has no write access), but not meant for the default debug level.
 
Old 04-16-2011, 01:55 PM   #3
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Original Poster
Rep: Reputation: 63
Just wanted to update this thread as being solved as the patch from ppr:kut seems to have been incorporated into Slackware --current, and so far so good. Thanks for sending this off to Mr. V and getting this fixed
 
  


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
Good CLI VM for running servers? arfon Slackware 13 05-12-2010 10:02 AM
[SOLVED] ubuntu 9.10 - #include <libusb/libusb.h> stonehinge03 Linux - Newbie 5 04-20-2010 09:02 AM
[SOLVED] Slackware64-current Kernel 2.6.32.3: No sound on CLI and in Browsers gargamel Slackware 10 01-13-2010 01:33 AM
[SOLVED] CLI HyperVisor running GUI VM? computer_freak_8 Linux - Security 16 08-26-2009 10:54 PM
Running two commands symultaneously from CLI jamwaffles Linux - Software 10 02-12-2009 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:06 AM.

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
Open Source Consulting | Domain Registration