NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
Problem with my scannerHi folks, I have a scanner attached to the parallel port of my computer. I have it configured to run via saned. Until a month or two ago it worked perfectly --- slow, for sure, but it was quite reliable. Just recently I've had trouble with it. I'll start a scan going and it will freeze part way through. The LEDs are still shining, but the carriage thingy (?) stops. If I kill saned the carriage will eventually return. I thought it might have been a hardware issue (it is pretty old) but I came across another similar scanner (similar enough to run from the same sane configuration) and exactly the same thing happens at the same point. Does anyone have any idea what the problem is? I'm wondering if there's an issue with the kernel or the modules that are loading: here's the output of lsmod (minus sound modules)for what it's worth. I notice that the parport lp module is loading, but the only parallel device I have is the scanner. Could this be relevant?
|
Hmm, problem found but not solved.
If you have a look through the list of modules I posted you'll see a line that says:
parport 33160 3 ppdev,lp,parport_pc
I noticed when I booted that ppdev seemed to be loaded by something to do with the CUPS system. My logs also suggest that a device called lp0 is using parport0.
This says to me that CUPS has decided to take over my parallel port. However, my printer is USB, and the only thing I have attached to my parallel port is the scanner.
I stopped CUPS and removed ppdev with rmmod -- and now the scanner works fine. Of course, I don't want to have to do this every time I boot. Can anyone suggest how I can stop CUPS taking over my parallel port?
--
A tidy house is the sign of a stolen computer.
edit the CUPS config files
There may also be nasty hardware autodetect things which load that stuff. If you really don't need 'ppdev' then you can simply delete the driver so it's not possible to load the interfering driver. :)
Which ones?
Any idea which config file to edit? I've been through everything in /etc/cups and there's no reference to anything parallel or ppdev.
I retarted CUPS and the scanner still works. So that much is good.
Pardon my ignorance (oh ye of many zorkmids), but is there a canonical way to delete a driver? Do you mean to simply use modconf or something, or actually drill down to the offending file and move it to the great /dev/null in the sky (or at least rm it)?
--
A tidy house is the sign of a stolen computer.
removing drivers
Your drivers are somewhere in:
/lib/modules/$(uname -r)/kernel
In fact, probably in a 'drivers' directory under kernel. Just go there and look under 'char' (UNIX character-based device) and your ppdev and lp drivers and so on will be there. The drivers usually have sensible names so tracking them down and removing them is not usually a problem.