Slackware :: Xsane Does Not Find Scanner And Libusb Permission Error?
Oct 25, 2010
I am tired, and I simply can't find an easy answer.So, today I need the scanner in slackware64 13.1, only to find that it does not work as user. I have an HP Deskjet F2180 and using CUPS it is identified as hp:/usb/Deskjet_F2100_series?serial=CN81H4S2SP04TK.In the past the simple solution was to add oneself to the right groups, but it does not work this time.As user I get:
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.
I too have what looks like the same problem. I too have read all the relevant man pages and other relevant sites: Supported devices [URL] CanoScan LiDE 110 (the printer I've just bought) has "complete" support apparently. Followed directions here: [URL] Read: [URl] Another story of purchasing a "complete"ly supported scanner. [URL] The solution? Use windows xp in a vm.
I don't think much of that sort of solution. As a temporary work around... ok. I'm running debian lenny.
Code: uname -r provides: 2.6.26-2-686
Code: lsusb provides: Bus 005 Device 002: ID 04a9:1909 Canon, Inc.
Code: sane-find-scanner -v -f provides: libusb not available # 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. # SANE has been built without libusb support. This may be a reason # for not detecting USB scanners. Read README for more details.
Code: scanimage -L provides: device 'v4l:/dev/video0' is a Noname USB 2.0 Camera virtual device
Code: dpkg-query -l '*libusb*' clearly shows I have libusb installed: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
I cant find my scanner (Canon MP250). I have installed the printer and it works fine, this using the drivers from canon (canon divers page) and installed the scanner drivers too. Im running:
Code: $ uname -a Linux ubuntu 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:27 UTC 2010 x86_64 GNU/Linux Installed the drivers with
I was able to get the printer up and running by downloading the printer driver for debian linux (3.1) from the Canon site without any problems.
Unfortunately I am not having the same luck with the scanner.
I tried downloading ScanGear MP for Linux (deb) (1.3) from the same Canon site but have not yet been able to get the XSane Image Scanner to recognize this scanner driver for my Canon.
HP 5610 all in one device scanner settings please. The printer works fine, I have a problem getting the Scanner to work.
I am running Ubuntu Karmic on my Dual Core Desktop PC. When I run Xsane I get the preview window showing OfficeJet 5600 Series. I also get another little error window saying "Error during CMS conversion:Could not open Scanner ICM profile". It seems like Xsane recognises my HP 5610 All in One Printer/Scanner/Fax/Copier device but what is the error all about?
Since installing F11, my Canon LIDE 50 scanner refuses to work. xsane 0.996 produces an error message: Failed to start scanner: Error during device I/O.
sane-find-scanner says it is there: found USB scanner (vendor=0x04a9 [Canon], product=0x2213 [CanoScan], chip=GL841?) at libusb:001:006 But scanimage -L claims: No scanners were identified.except once when it admitted: device `genesys:libusb:001:006' is a Canon LiDE 35/40/50 flatbed scanner
I reluctantly tested the scanner on a Windoze machine and it works perfectly. And it worked perfectly under F10.
I've installed XSane Image Scanner. When I first opened it, it searched for my scanner and didn't give any error messages, and it had my scanner model in the heading of the scan window. But when I hit the scan button, it gave me saying, "Failed to start scanner: error during device I/O.I closed everything, and opened XSane again. This time it said there was no scanner available. The scanner is plugged into the USB port and uses that for both power and data. It's a Canoscan Model N650U.
I have the 64 bit 13.0 version installed. I have an hp f4440 all-in-one printer installed and connected via usb. I downloaded and installed the new hplip 3.9.12 after removing the older hplip 3.9.4 version. I used CUPS to install and setup the printer. No problems, I let it search and it found the printer right away. When I ran XSane it could not find the device. I clicked help and it gave some steps. The first being to try as root. I opened a root terminal and entered xsane, it found and opened after a warning about running it as root. I checked and my user name and root are entered in the scan group.
I've done some investigating on the threads, but none of the normal fixes for this permission problem work. I've added myself to the scanner and lp groups. I've also added the right device code to the epson configuration file under /etc/sane.d/ . Scanner is recognized and works under root.
When I "scanimage >somefile" in the console I get a permission error when I'm a regular user; when I do the same under root, it works. Likewise, my graphical scan frontends report that they cannot find the scanner when I am a regular user. I see alien bob had an old workaround at [url] but I don't think 13.1 has hotplug set up the same way anymore.
I've been using Ubuntu 9.10 'in anger' for a couple of weeks now and overall I'm impressed. However, a couple of days ago my old Epson C46 (which had been working fine under Karmic) died, and I had a look for a replacement.
I decided on a Canon MP270 because Canon seemed to have gone to the trouble of providing Linux drivers on their website. I even phoned Canon and they confirmed it should work fine.
Today the AIO arrived and I downloaded the printer and scanner drivers from Canon. I could't get the install.sh files to run - tried ./ sudo and sh etc, no joy. Anyway, I used the package manager to install the .deb files and that seemed to go OK.
The printing side of things works fine but I can't get the scanner recognized by Xsane.......
The scanner is seen using lsusb command but when i open xsane it is not recognized. Xsane wants to use the webcam instead. I think this happened because i saved the settings of the former scanner a few days ago. Should i delete that setting that is saved in the home>.sane>.xsane directory? The old scanner is a Canon Canoscan lide N1220U and the new one is a Canon Canoscan lide 100. I would appreciate any suggestions as i tried a reboot with no improvement :0)
Whenever I switch on my scanner (Epson V200) then it launches Xsane automatically. Now I know Xsane is wonderful, but often I want to use Epson's iscan instead, and for other users I prefer Simple Scan. Another thread would be a good place to discuss the reasons.
So I would like to stop my scanner launching anything when switched on.
I've got a SCSI scanner that is being detected by the kernel on Fedora 14, but XSane does not see it. If I run "sane-find-scanner" it says that noSCSI or USB scanners are found.The scanner is a Cacham Splendeur 3024, model VM3552. I believe this scanner is the same as the Relisys Scorpio VM3552. In /var/log/messages, the following entries show up as soon as the scanner is warmed up:
Code: Mar 11 13:34:45 dt kernel: [22595.116042] usb 4-2: new full speed USB device using uhci_hcd and address 41
I'm using debian lenny, I bought a new Hp officejet j4500 scanner but the xsane is unable to detect the scanner. It says device not found. If I run xsane as root it detects and works properly it is obvious.I have added the user to scanner,saned and also to root user group.
Using xsane with HP scanjet 3970 scanner. It used to be that when I plugged the scanner in and started the xsane a window would come up asking if I wanted to use my HP scanner or my Hauppauge video card. Well, that window no longer comes up and the Xsane wants to use my video card. When I try to "scan" the program closes and all the windows associated with it disappear.
I have a Fujitsu ScanPartner 93GX scanner that freezes Xsane when I try to use it. The same thing happens to Simple Scan too.
When use sane-find-scanner I get the following:
Code: # 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. found SCSI scanner "FUJITSU M3093GX 02" at /dev/sg0
[Code].....
I started to think I might need a different driver. I found a driver (sane-fujitsu.5) at mangpages (link), but there are no instructions as to what directory to place it in, what files need to be modified to point to it, etc.
I have a Samsung SCX-4200. It was working pretty good with sane 1.0.21. I'm using slackware current, keeping updated (almost) every day. On the Mon Feb 28 update sane was updated to sane-1.0.22-i486-1. After that update xsane (as user) cannot find my scanner. I was able to find it running sane-find-scanner as root, but scanimage -L (as root) wasn't able to find the scanner. Now I have updated to the last sane package, named sane-1.0.22-i486-2 . In the changelog I can see that this rebuild should add libusb support.
In fact, now there's no way to find the scanner. And now also sane-find-scanner (as root) is no more able to detect the scanner, also running the command as root. I've tried running sane-find-scanner -v -v and scanimage -v -v -L but I can't get no useful hints. I have checked the sane configuration files but always seems good (the row with USB IDs is not commented in the backend file, which is xerox_mfp, and the backend is listed in dll.conf).
The printer of my multi Epson CX5600 works fine, but when I run xsane I get the "No devices available" window. I tried running it as root with the same result. I have installed "iscan-firmware-2.1.1-1.fc12 (noarch) but it still wont work.h kernel 2.6.33.6-147.fc13.i686.
I have a Brother mfc-8890dw that is attached to my local area network.I can ping the static ip address of the printer and receive a reply. I can print from all applications.I cannot scan. I did modify the rules files but that only appears pertinent for usb attached devices. What do I need to do to get XSane to recognize my Ethernet attached scanner/printer?
After I solved the issue about printer, now I'm struggling to make the integrated scanner of lexmark S305 work with debian.The device is connected to the network through integrated wifi connection (it is NOT connected with usb to a host, which act as a server), but I don't know how xsane can recognize it.I have just added the ip address in /etc/sane.d/net.conf, but it doesn't work at all. I read some tutorials on how to configure a network scanner, but they are all related to a scanner connected to a computer through usb, and then shared on the network by this computer.The second issue (probably more important) is that xsane probably doesn't recognize even with usb connection the scanner. The latter is not listed in the supported scanner list. Indeed connecting by usb to my laptop, it doesn't work. I haven't found any driver for it, but probably it could work with driver of other scanners.
Ok, installing the Epson DX8400 printer driver was easy... I just turned it on, and Ubuntu searched and installed the printer itself.
But scanning... that's another story. In Ubuntu 9.04 the trick was as simple as installing libsane-extras in Synaptic, but this doesn't work in Ubuntu 9.10! When I try to run XSane, it simply replies that there is no available device...
I recently installed 11.4 32bits, and got everything working, including my Canon Lide25 Scanner with XSane. It suddenly stopped working, not seing the device anymore; I suspect it happened after installing VirtualBox, butreally not sure of that.
Basically, as root I can launch Xsane and scan, and Yast also sees the Scanner and the test is succesful, so a permission issue I believe.As I don't know exactly when/why this happened, does anyone know how I could troubleshoot ? Check for UDEV rules or so ? a group I should be in ? I don't know where to start and don't want to fiddle around and break something
lsusb gives : Bus 002 Device 009: ID 04a9:2220 Canon, Inc. CanoScan LIDE 25
I am having trouble getting my HP 6310 All-In-One scanner working using it on its ethernet interface, set to 192.168.1.208. Installed fine under cups for printing. hplib installed. I do the following.~ $ hp-makeuri 192.168.1.208HP Linux Imaging and Printing System (ver. 3.9.4b)Device URI Creation Utility ver. 5.0Copyright (c) 2001-9 Hewlett-Packard Development Company, LPThis software comes with ABSOLUTELY NO WARRANTY.This is free software, and you are welcome to distribute itunder certain conditions. See COPYING file for more details.
CUPS URI: hp:/net/Officejet_6300_series?ip=192.168.1.208 SANE URI: hpaio:/net/Officejet_6300_series?ip=192.168.1.208 HP Fax URI: hpfax:/net/Officejet_6300_series?ip=192.168.1.208
I installed wvdial on my Satellite Toshiba laptop. All works well but I have to use the <wvdial> command as root. If I try to use it as a user i get an error message Cannot open /dev/ttyACM0: Permission denied So Im just wondering; is it ok to use wvdial as root?
after update to slackware current 4 days ago i cant get sound working in wine in starcraf 2 i mean i got sound in instalation but not in game and i get error when i wanna configure sound in winecfg
err:alsa:ALSA_CheckSetVolume Could not find '{PCM,Line} Playback Volume' element err:alsa:ALSA_CheckSetVolume Could not find '{PCM,Line} Playback Volume' element err:alsa:wine_snd_pcm_recover underrun occurred err:alsa:wine_snd_pcm_recover underrun occurred
in game i dont got that error but sound dont work btw my sound card is asus xonar essence stx
This is something weird, I installed Xsane with Xsane-gimp but its not starting. It shows its doing something but it simply quits. Here is the error that I get while starting it from console
Code: xsane: error while loading shared libraries: libsane.so.1: cannot open shared object file: No such file or directory
I'm trying to get M-Dist v0.1 to work but I'm having problems booting up the iso. This version is based on Slackware 9.1.From what I can see before the error is this output:
RAMDISK: Compressed image found at block 0 Freeing initrd memory: 3107k freed EXT2-fs warning: checktime reached, running e2fsck is recommended
Downloaded and installed Alien Bob's Audacity package for Slackware64 13.1, butit wouldn't run and came back with error that it can't find libSoundTouch.so.1.So, I downloaded, built, and installed the SlackBuild for SoundTouch.Audacity still says it can't find libSoundTouch.so.1.