Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i've read the man page, but net.conf does not contain any entry, but scanning works well. And that's the reason for my question, where is this information stored if not in net.conf
As mentioned, the scanner works and at the moment i find all this very funny. I try to contact hplip team to clear this.
Did you ever get an answer for this question?
I have a Lexmark Prospect 205 Scanner/Fax/Printer which works perfectly for network scanning from an Ubuntu 11.10 machine, but not from 12.10 and neither machine has any network scanner information stored in the sane-net config files or anywhere else that I can find.
I have a Lexmark Prospect 205 Scanner/Fax/Printer which works perfectly for network scanning from an Ubuntu 11.10 machine, but not from 12.10 and neither machine has any network scanner information stored in the sane-net config files or anywhere else that I can find.
Well, you should provide more information, does printing work? Please check the groups, in a terminal (as the user who wants to use the scanner) execute the
Code:
groups
command. You should be at least member of lp or lpadmin and scanner. Did you use the
Code:
sudo scanimage -L
command? Did you compare the settings in Ubuntu 11.10 and 12.10?
Hehe, I'm somewhat in the dark as too how the Lexmark network scanning works and the scanning documentation I have found was not helpful (my experience is very similar to mesiol's in that I cannot find any configuration information in the "standard" locations using tools like sane, sane-find-scanner, grep)
Quote:
Originally Posted by markush
does printing work? Please check the groups, in a terminal (as the user who wants to use the scanner) execute the
Code:
groups
command. You should be at least member of lp or lpadmin and scanner.
Printing works.
Yes, I did check the groups.
Code:
$ groups
roland adm sudo lpadmin sambashare
There is no membership of the group "scanner" on any of the machines that can scan or that cannot scan.
Quote:
Originally Posted by markush
Did you use the
Code:
sudo scanimage -L
command?
Code:
$ sudo scanimage -L
device `lexmarklegacy_1_0_0:libnet/00200075694B' is a Lexmark Pro200-S500 Series Scanner
Some more info:
Code:
$ sudo scanimage -h
Usage: scanimage [OPTION]...
<standard help lines cut>
scanimage: open of device lexmarklegacy_1_0_0:libnet/00200075694B failed: Error during device I/O
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
List of available devices:
lexmarklegacy_2_0_0:libnet/00200075694B
lexmarklegacy_1_0_0:libnet/00200075694B
There are two scanners defined and the very first time after installed the network scanner driver that I attempted a scan with xsane I was prompted to select a scanner, but not again. On the Ubuntu 11.10 machines though I am prompted to select a scanner each time before scanning.
Furthermore, testing the backend shows that the scanner I/O fails, but I have no idea why or where to look for the configuration option or settings.
Code:
$ sudo scanimage -T
scanimage: open of device lexmarklegacy_1_0_0:libnet/00200075694B failed: Error during device I/O
Quote:
Originally Posted by markush
Did you compare the settings in Ubuntu 11.10 and 12.10?
Technically, yes, since (as I mentioned in my post) I cannot find any settings on either machine, so there's nothing to compare.
I worked through that and some feedback on what was mentioned there:
Whether I run the xsane or scanimage command as root or myself, I get the same result. The printer/scanner briefly respond as if it is about the start scanning, but then does nothing further. Immediately the message
The udev rules are as follows:
$ sudo cat /etc/udev/rules.d/99-lexmarklegacy-10.rules
ACTION!="add", GOTO="lexmark_custom_rules_end"
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="0142", MODE="666"
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="0150", MODE="666"
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="013f", MODE="666"
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="0151", MODE="666"
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="0116", MODE="666"
LABEL="lexmark_custom_rules_end"
# Lexmark
ATTRS{idVendor}=="043d", ENV{libsane_matched}="yes" (I added the last two lines myself)
Quote:
You should add your user to the scanner group.
I did. And to the lp group:
Code:
$ groups roland
roland : roland adm lp sudo scanner lpadmin sambashare
I still have no resolution for this. Lexmark tech support (after I downloaded the driver from their site!) persistently claims that they don't have a driver for this printer/scanner for Linux. It's infuriating to say the least!
Just installed the drivers on another Ubuntu 12.04 machine this morning and the scanner worked immediately scanning over the network via wifi.
On the machines that doesn't scan I have these udev rules (which are the same as on the machines to do scan):
Code:
$ sudo ls -la /etc/udev/rules.d/99-lexmark*
lrwxrwxrwx 1 root root 56 Feb 4 13:32 /etc/udev/rules.d/99-lexmarklegacy-10.rules -> /usr/local/lexmark/legacy3/etc/99-lexmarklegacy-10.rules
lrwxrwxrwx 1 root root 54 Feb 4 13:36 /etc/udev/rules.d/99-lexmark-print-v3-10.rules -> /usr/local/lexmark/v3/etc/99-lexmark-print-v3-10.rules
lrwxrwxrwx 1 root root 60 Feb 7 19:50 /etc/udev/rules.d/99-lexmark-putil.rules -> /usr/local/lexmark/printer_utility/etc/99-lexmark-util.rules
The files are the same on the working machines and the content matches.
The file /etc/sane.d/lexmarklegacy_1_0_0.conf contains the same info on both machines:
Code:
# KLM+/United
usb 0x043d 0x01a4 /usr/local/lexmark/legacy3/etc/lxebscan.conf "Lexmark_Pro200-S500_Series"
I have a similar problem. After upgrading to Debian 7 (Wheezy), my Lexmark Prospect Pro 205 no longer works. I did a fresh install to clean everything up. I called Lexmark and they were not able to tell me very much besides, "Lexmark does not support anything after Debian 6 or Ubuntu 12.04" After a little trial and error, I was able to get the printer to work, but I am still having trouble with the scanner.
I get this error message:
Failed to open device 'lexmarklegacy_1_0_0:libnet/002000A28744'evice Busy.
steven@debpaq:~$ groups
steven cdrom floppy audio dip video plugdev scanner bluetooth netdev
steven@debpaq:~$
steven@debpaq:~$ scanimage -L
device `lexmarklegacy_1_0_0:libnet/002000A28744' is a Lexmark Pro200-S500 Series Scanner
steven@debpaq:~$
teven@debpaq:~$ scanimage -T
scanimage: open of device lexmarklegacy_1_0_0:libnet/002000A28744 failed: Device busy
steven@debpaq:~$
steven@debpaq:~$ su
Password:
root@debpaq:/home/steven# scanimage-T
bash: scanimage-T: command not found
root@debpaq:/home/steven# scanimage -T
scanimage: open of device lexmarklegacy_1_0_0:libnet/002000A28744 failed: Device busy
root@debpaq:/home/steven#
steven@debpaq:~$ scanimage --debug
scanimage: open of device lexmarklegacy_1_0_0:libnet/002000A28744 failed: Device busy
steven@debpaq:~$
I have unpacked the .deb package and can see where some of the problems are. Some rights are not set and apparmor setting are not done. Lexmark would be able to fix this is no time, but in my country they just play dumb when you call them.
Maybe someone in the US could have their query escalated to the highest level possible and get some response? Goodness, the printer does not work in Ubuntu 12.04 either, despite their claim to the contrary!
Maybe someone in the US could have their query escalated to the highest level possible and get some response? Goodness, the printer does not work in Ubuntu 12.04 either, despite their claim to the contrary!
I have an email for the Linux division of tech support at Lexmark. Would it be appropriate to post it here? Maybe with enough demand they will see it fit to put a little more attention to keeping their Linux drivers up to date.
I have an email for the Linux division of tech support at Lexmark. Would it be appropriate to post it here? Maybe with enough demand they will see it fit to put a little more attention to keeping their Linux drivers up to date.
Please do, I think all efforts will help.
We'll all be civil in our contact with them, regardless of what we feel inside, ok? :-)
yesterday i bought a new HP network printer/scanner (OfficeJet Pro 8500). It installed correctly using hplip drivers. I can print and scan without any problem, very nice and fast device.
I did some research where the information where the device port is stored in sane, but cannot find anything. I tried to remove my old network device port for my Brother scanner, but did not find the config file where this information is stored. Neither /etc/sane.d/* nor ~/.sane/xsane/* contains this information.
Can someone point me to the right direction.
Thanks.
This thread had lots of ideas on how to get things working, but not on how to remove the brother from the list of available scanners.
I was able to solve this by removing the BRSCAN package.
I still have no idea where the configuration file lived, but this solved my problem.
This thread had lots of ideas on how to get things working, but not on how to remove the brother from the list of available scanners.
I was able to solve this by removing the BRSCAN package.
I still have no idea where the configuration file lived, but this solved my problem.
I had the same problem until I read your answer and I guessed what is occurring:
I was installing a new Brother T700W on a SABAYON laptop and got the issue of an old dead HP scanner not responding.
I am using the Xsane frontend to run scanning
Differently (perhaps) from what previous posters noted, a dead scanner seems to kill the process
and it seemed unable to proceed past removing the previous printer, but where was this information kept ?
Just like everyone else, I could not see where the scanner entry lived,
but taking a cue from your post I uninstalled HPLIP software I used to manage the HP device and voila,
problem solved. (I still have the printer itself installed under CUPS, I only removed the HPLIP package)
Unfortunately,
now that it has been removed I have no way to verify exactly where this problem lived,
but most certainly it was something being kept by the printer management tool (HPLIP 3.15.9).
My perception is that:
the SANE system shuffles through various related installation packages to find anything resembling a scanner
and then latches onto such and does not seem to have an upfront facility to ignore missing devices.
The crux of the issue is that if you have a package which integrates or otherwise handles any kind
of scanning capability for a device, the SANE package may discover this and gag when the device is inoperable.
Just to try and help address this embarrassing litany of misunderstanding, this will probably be my only post here.
Those of us who came here looking for the answer have had a distinct problem
with SANE and how+where it gets its list of network equipment.
(I would scrounge the code, but I have too many other things I need to be doing...)
I'm having a similar problem (a ghost scanner appears and no config file seems to refere to it) and I solved it by brute force with this script:
Code:
grep -i "pontevedra" $(
for i in $(strace -f scanimage -L 2>&1 | grep 'open(' | sed 's/^[^"]*"//' | sed 's/"[^"]*$//')
do
if [ -f $i ]
then
echo $i
fi
done
)
scanimage -L shows my ghost scanner as "device `brother4:net1;dev0' is a Brother PontevedraBrotherColor DCP-9020CDW", so I tried to search it by name ("pontevedra"). The script runs "scanimage -L" with strace (a tool to trace all the system calls) and filters only those calls that open files. Then it filters only "regular files" (not device files in /dev). For each file selected, greps its contents looking for the "pontevedra" string. As a result, it ends up finding a forgotten config file in /etc/opt/brother/scanner/brscan4//brsanenetdevice4.cfg which is the one referencing the ghost scanner. It might be from some proprietary scanner driver that I installed some time ago and I forgot about.
I just edited the mentioned file, removed the scanner definition (leaving the file empty now), saved and the ghost scanner is gone.
I also have a ghost scanner issue, specific to an HP all in one device. I switched ISP's, which required network subnet reconfiguration. The scanner entry for the old subnet still shows in simple scan or xsane ... I've searched all over using terminator, but can't find the corresponding config file/entry ...
I tried modifying your script for the ghost scanner (scanimage -L returns the culprit "device `hpaio:/net/Deskjet_3050_J610_series?zc=hp-printer' is a Hewlett-Packard Deskjet_3050_J610_series all-in-one"), using the string <Deskjet_3050_J610>, but the terminal does not return anything after executing the script.
I saved it as .sh file, and chmod +x. Am I doing something wrong?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.