OpenSUSE Hardware :: Recompile SANE Backend To The Same Directories?
Mar 10, 2011
I recently bought scanner, the driver to which is currently in process and is not yet committed into the main repo, so I downloaded the new code and compiled it into /usr/local/ and openSUSE's YaST scanner configurer doesn't see the new versions and continues to work with the old ones.
Does anybody know where to find an rpm of sane-frontends?I want to use my auto-document-feed functionality on my scanner using scanadf, which is part of sane-frontends.Otherwise I'd also welcome alternative suggestions for scanadf.
I'm running Suse 11.2 and using a Brother DCP7065DN scanner/printer, which actually comes with stunning drivers and support for Linux.
I want to install GTK+. I see there are also numerous dependencies, which i've been slowly tackling, and the Cairo package has been particularly difficult. It claims the following upon ./configure --prefix=/usr configure: WARNING: Could not find libpng in the pkg-config search path checking whether cairo's PNG backend could be enabled... no configure: error: requested PNG backend could not be enabled I've done some searching and found that libpng.pc is in my /usr/lib/pkgconfig/ directory and that the following commands don't do the trick:
I've been running 64-bit openSUSE 11.2 since shortly after it's release, on a quad core AMD Phenom based machine, using KDE as the Desktop. I have a USB-attached "multi-function" printer/scanner/etc., which worked fine with XSane under 11.1. On the same machine, with 11.2, I can still get a scan preview. But when I try a full scan, shortly after it starts, the progress bar stops, then XSane complains about an I/O error.
When I update openSUSE versions, if I can, I keep the old version completely intact, on the same machine. This includes the /home partition, I don't overwrite it. Sure it's a good deal more work to copy over the numerous files needed, but if there are any problems with the new software, it's extremely helpful to have a completely intact old environment for reference. I was able to do this, while updating 11.1 ==> 11.2. Booting the old 11.1 system on the same machine, I haven't encountered any scanning problems.
I haven't given a lot of details, because it's the same hardware, that should "in theory", mostly eliminate the hardware as a possible source of the problem. I'm hoping the problem can be resolved by focusing on any changes in SANE support, or XSANE itself, for USB attached scanners. It could be unrelated, but messages such as these are in /var/log/messages on the 11.2 sys:
Feb 3 17:45:03 toe-heaven kernel: [ 5881.313532] usb 3-1: usbfs: interface 0 claimed by usblp while 'xsane' sets config #1 Feb 3 17:45:03 toe-heaven kernel: [ 5881.313560] usb 3-1: usbfs: process 8214 (xsane) did not claim interface 1 before use
If XSane is doing things in the wrong order, I'm wondering if it would be a problem especially for a combined printer/scanner, or would the problem still occur if the printer and scanner were two physically separate devices? I checked and there are similar messages in /var/log/messages with 11.1. But if it is an error in the sequence in which XSane does things, could it somehow cause problems under 11.2, yet not 11.1? I tried to find anything which might be related to USB device handling, which perhaps could interact. I came across messages such as these in 11.2, but not 11.1:
Feb 4 15:15:10 toe-heaven udev-configure-printer: add /devices/pci0000:00/0000:00:02.0/usb3/3-1/3-1:1.0/usb/lp1 Feb 4 15:15:10 toe-heaven udev-configure-printer: parent devpath is /devices/pci0000:00/0000:00:02.0/usb3/3-1
Is USB printer handling somehow different under 11.2? With a combined printer/scanner, could there be an interaction? I did some experimenting. I kind'a thought a scan preview was just a scan at low res. So I tried to do full scans, starting with the lowest res., and increasing. I was able to do successful full scans at 100 or 150. But from 200 on up, the higher the res., the shorter the time to get an I/O error. I'd normally use 600 or above, to get what I feel is a good looking scan. At 600 the error report is practically immediate. It's almost as if the error only occurs above a certain threshold, of amount of data per unit time. I should mention, although it's a color scanner, I'm scanning a black and white doc., so using that mode of XSane.
I have a asus M51 Se that not work with 4GB of memory ram, due to a bug of bios. Only work with one slot of 2GB. I find this link https://bugs.launchpad.net/ubuntu/+s...ux/+bug/316079 that help to solve my problem. But for that I have to change a file.
My question is I need to recompile the kernel that I have? if yes, how can i make that without installing other kernel.
i installed yumex:yum -y install yumex, when i start yumex it came with this error:fatal error:backend-not-running backend not running as expected (yumex will close) how can i solve it?
I am working with OpenCL (note that is different from OpenGL) and recently upgraded from nvidia driver 190.29 to 195.36.15 . After a bit of experimentation i decided to downgrade back to 190.29
However after i did this X complains that i have nvidia kernel module 190.42 and it does not match with nvidia drive 190.29 . Could some one tell me how to recompile the kernel module for 190.29??
This has got me stumped. I expected to do /etc/init.d/vboxdrv setup after the upgrade from 11.3 to 11.4 but the command fails. The log is (it seems to repeat so I only quote the final bits to make it fit into the wordcount limit):
Code: make KBUILD_VERBOSE=1 -C /lib/modules/2.6.37.1-1.2-desktop/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
in KDE:Factory:Desktop you can find a new version of kupdateapplet. In the changes you can find the following:
- dropped zypp plugin (bnc: 590192) - V 0.9.11
I have no access to 590192 in bugzilla, so can anybody tell me why the only real working backend is dropped? The PackageKit-Backend is not showing the updates from 3rd-party-repositories (packman or obs). Is there any possibility to get back the working 0.9.10?
Have very recently installed Open S on my PC. As it's all really new 2 me have been strugling a bit to get things to work @ first. Now it's much better but my bleeping scanner won't work for love or money, apparently the Linux driver ( or should I say backend) for the thing has not been created. Its CanoScan 3000 and I still have the discs with Windows setup. Is there any way to get that thing work under Linux or should I get another scanner? Obviously, me writing the backend, is not really a very realistic option.
When an SD card is inserted before/at boot time, everything works fine, meaning recognized by kernel and mounted to userspace.When an SD card is inserted after boot time, the kernel doesn't 'see' the hardware change not triggered, so no block device /dev/mmcblk0{p1}, so nothing to mount.This behavior is not openSuSE specific, when booting SystemRescueCD-2.0.1, the same behavior is noticed.SD card inserted after booting:
I have installed smplayer, and configured it to use the code...
Kaffeine (and dolphin's video preview) seem to use phonon's xine backend, and I can't find out what video output it uses. I'm guessing its plain old xv as it seems accelerated but turnes into a blue square when I move the window.
How do I tell the xine backend to use the same vo as smplayer?
OS 11.2 64 bit, KDE 4.4.4 (Factory)
(ps: I have a 'legacy' ATI graphics chip, xpress 200M working with the opensource radeon driver, which is brilliant btw).
So I have made an interesting Discovery with regards to using KDE4 Kaffeine version 1 and Dolby Digital 5.1. The basic problem seems that there is no way to configure the Phonon xine Backend in KDE 4 for use with Kaffeine version 1. There is however, a xine-config file located at:
Code: ~/.kde4/share/apps/kaffeine/xine-config
There appears to be no GUI way to change the default xine configuration (for use with KDE 4 applications) and while you can do so manually, the options seem bewildering, at least to me.
When you run xine-ui or Kaffeine/KDE3 there is an option to adjust the xine audio configuration using a GUI. Any changes made here are ignored by KDE 4 applications. As luck would have it you can copy the old xine configuration (adjusted by Kaffeine/KDE3) over the new one for Kaffeine in KDE4. The old text file configuration is located at:
Code: ~/.xine/config
If you were to use the old Kaffeine/KDE3 to adjust your xine audio configuration and then copy this file to the Kaffeine Version 1 KDE4 location, those changes should be used by the new version 1 Kaffeine in KDE 4. After Kaffeine/KDE3 audio settings work as you desire, open up a terminal session and make the following file copy. You must overwrite or rename the old configuration file for backup.
Since this new xine configuration is in the new Kaffeine version 1 KDE4 location, it may only modify how the new Kaffeine works and nothing else running in KDE4, but it is still an interesting find.
Installed 11.3 as new install on Thinkpad T42. I now have a persistent notification "Nepomuk was not able to find the configured database backend 'redland' ... what it means. System seems to be working but desktop icons have grey vertical rectangular box when selected. No objects to select in the boxes though. Previous version had tools available as I recall.
Play a song in Amarok and then press the space bar to pause. Press the space bar again to resume and Amarok starts playing again with the status bar moving and the timer counting down, but no sound. If I move to the next song, sound starts working again. Or if I double click on a different song, sound works. If I use the xine backend, the problem goes away. I'm using Amarok-2.4 and KDE 4.6.1.
In Gnome and XFCE I always have a choppy music playback. The music is never played smoothly. There is always hesitations in the playback, as if the CPU is running on 100% and cannot cope with the system load.
One of the reasons for that is (in my case) Pulseaudio.
Another reason is Gstreamer. When I choose Gstreamer as backend in KDE, I get the same choppy musicplayback as in Gnome or XFCE. With Xine as backend in KDE, everything is fine. So my conclusion is: with Xine, the sound would be fine in Gnome too.
So, I wonder if it is possible to use Xine as backend in Gnome too. Does anyone have experience with running Xine in Gnome and/or XFCE? What do I need to do to set Gnome/XFCE, so that it uses Xine instead of Gstreamer?
Or is there maybe a special setting, I have to apply? In gstreamer-properties I have tried all possible settings, but this didn´t change anything to the quality of sound.
My experience is also: this choppy sound is hardware-independend. It doesn´t matter which hardware I use, the sound is choppy. It is also distro-independend. The sound is choppy in openSUSE (gnome and in KDE with applied Gstreamer backend), in Ubuntu, Xubuntu, Fedora with Gnome, Linux Mint with Gnome.
My problem is fixed, but I have a general question regarding wireless printing with cups. When this error occurs: Paused - "/usr/lib/cups/backend/socket failed"
This has to do with my printer (an HP 6940) changing the URL that is uses. What causes the URL to change in the printer?
i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.
I want to make a webserver with multiple users allowed to login through SFTP to a specific folder, www.Multiple users are added, lets say user1 and user2, and all of them belonging to the www-data group. The www directory has an owner www-data and a group www-data.
I have used chmod -R 775 on the www folder, but after I try to create a folder test through my SFTP server (using Filezilla) the group of the directory created has only r and x permissions, and I am not able to log in with the second user user2 and create a directory within www/test due to a lack of w permission to the group.
I also tried using chmod 2775 on www directory, but without luck. Can somebody explain to me, how can I make it so that a newly created directory inherits the root directory group permissions?
I have a Genius CP-SF600 scanner. I have put the fimware in the necessary directory for the backend (/usr/share/sane/gt68xx), and what I run sane-find-scanner I get:
Code: $ sane-find-scanner # 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. found USB scanner (vendor=0x0458, product=0x2021, chip=GT-6816?) at libusb:002:006 # Your USB scanner was (probably) detected. It may or may not be supported by # SANE. Try scanimage -L and read the backend's manpage.
# 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.
However, when I run scanimage -L I get: Code: $ scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). So sane sees the scanner, but then scanimage says it can't find any scanners. If I run scanimage -L as root it does seem to find the scanner.. so its a permissions problem somewhere.. I will keep investigating....
I'm trying to setup an Epson perfection 4490 photo scanner in Slack 13.1. I've got the appropriate iscan and epkowa driver and firmware. However it is not working: sane-find-scanner produces:Code:found USB scanner (vendor=0x04b8 [EPSON], product=0x0119 [EPSON Scanner]) at libusb:001:004but scanimage -L finds nothing. After battling a lot with dll.conf and epkowa.conf I decided to run strace scanimage -L and to my shock it never tries to read dll.conf, instead it goes straight to read xerox_mfp.conf and does not try to read any other conf file in /etc/sane.dHas anyone come across problems with sane in 13.1 (or 13.0 as I tried this before upgrading with the same results)?
I just saw this message in the syslog and wondered if it could have anything to do with my previous problems with LXDE crashing:
Code: Select allSep 6 08:03:34 MyComputer kernel: [ 1003.788502] colord-sane[3381]: segfault at 21 ip b4de95ba sp b5609fb8 error 6 in libdbus-1.so.3.7.2[b4dbe000+4a000]
I have read a number of bug reports regarding this issue and it appears to go back about two years. It was supposedly fixed but that does not appear to be the case unless there is something peculiar with my Wheezy 7.8 installation.I just found this on a Ubuntu bug report. It is related to a colord-sane but not necessarily exactly the same as what I am experiencing.This is a libsane bug, not a colord bug. If you want to to work around it, change /etc/colord.conf to have UseSANE=false
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).
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 have a debian server (squeezzy) amd 64, running with an epson BX-300f pluged to USB. And I want to share the scanner over my network. So let's do that, Intalled sane, sane utils, iscan, which I've downloaded from epson drivers and wich include epkowa drivers fro scanner to work.. after that I installed on my system (Ubuntu 9.10) xsane... on console I type:
root@bruno-laptop:/home/bruno# scanimage -L *** glibc detected *** scanimage: free(): invalid pointer: 0x00be63d0 *** WARNING: Unhandled message: interface=org.freedesktop.DBus.Introspectable, path=/, member=Introspect device 'v4l:/dev/video0' is a Noname HP Webcam virtual device device 'net:192.168.0.254:gt68xx:libusb:001:035' is a unknown manufacturer unknown device -- use override to select flatbed scanner device 'net:192.168.0.254:epkowa:usb:001:035' is a Epson Stylus BX300F/TX300F/NX300/ME Office 600F flatbed scanner device 'net:192.168.0.254:epkowa:usb:001:035' is a Epson Stylus BX300F/TX300F/NX300/ME Office 600F flatbed scanner
I don't know why I find so much things, if i only have one scanner. Then I opened xsane and found the scanner over network. I chose the epson with epkowa drivers I try to scan something but it dont output nothing and sometimes it gives me "end of file reached". I can put whatever config files here if you want to, just ask. One time it worked fine.. but only half of an image...
I added myself to the scanner and saned groups, however scanimage -L only detects the device when run as superuser. I think this may be related to [URL].
root@icecream:/home/discord# scanimage -L device 'epson2:/dev/sg0' is a Epson GT-9800 flatbed scanner discord@icecream:~$ scanimage -L
No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).
My setup is an HP OfficeJet 4315 All-in-one on a Debian box with the clients using XSANE on Windows boxes.
After upgrading to Squeeze, none of the clients could see the scanner.root could see the scanner from the Debian box.non-root users could not see the scanner from the Debian box.
Obviously, something was wrong with the permissions. After a lot of digging, I found that the /dev entry for the 4315 was owned by root.lp with no world write access.
My solution was to add the saned account to the lp group. I figured that was the most security-conscious way to fix it.
The remote clients can now see the scanner, so everyone is happy.
This may not work for every installation, but for all-in-ones, it probably will.
I have and old scanner, Canoscan 3200F, which is not supported by sane. It will not run in Wine, because there is no Sane support. Does anyone know if I was to install a Windows OS in Virtual Box would that enable me to run it or would I have the same problem as I have with Wine?
I have a problem here where sane no longer detects my scanner.
Code: lsusb reports Bus 007 Device 002: ID 03f0:5b17 Hewlett-Packard
Code: sane-find-scanner reports: found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x5b17 [HP Color LaserJet CM2320fxi MFP]) at libusb:007:002
Code: scanimage -L reports
No scanners were identified. xsane reports no devices detected (I have it in French, "Aucun p'rif'rique disponible"). I get the same when I launch xsane as root, so I doubt it is a usb-rules issue. It used to work; I checked /proc/bus/usb, but that is empty.