On Tue, Nov 06, 2001 at 07:40:31PM +0530, N S Srikanth wrote: > > Recently I installed RH6.1 on a machine in a 700 MB > partition. During printtool configuration, it said > autodetect did not detect /dev/lp0, /dev/lp1 .... > The printer was connected to /dev/lp0 (LPT1) and it > was on during bootup. I did lsmod and found that > parport module was loaded. What is the command to > ask linux to detect a particular device? > Is it probe ? > What are the switches/options to be given ? > ---end quoted text---
In Linux, all devices are either detected by the kernel or loaded as modules as per the configuration of your kernel. All devices registered come up during boot, and can be seen with 'dmesg', or loaded as modules. In case your kernel has detected /dev/lp0, that is all that you need to get printing going. Check for kernel boot up messages for lines like this: <snip> parport0: PC-style at 0x378 [SPP,PS2] lp0: using parport0 (polling). .... registered device ppp0 </snip> If the last line is missing, please re-compile kernel with lp support (or use a stock kernel, which usually have lp support enabled). If above is seen, print to raw device and see if your printer responds: cat textfile.txt > /dev/lp0 If this works, the rest is a matter of setting up the print spool system and specific drivers for your prin- ter. If the default printtool does not work ( for some reason or the other ), use cups (common unix printing system), magicfilter or apsfileter to do the rest. It can even be set up by hand using ghostscript or other external drivers. AFAIK, there is nothing called 'probe' and therefore no switches either. HTH Bish -- : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Linux drivers for Winmodems LOST #184 Win modems are not well supported under Linux, and there is a need for getting specific drivers. Places to look are: http://www.idir.net/~gromitkc/winmodem.html#drivers http://www.linmodems.org http://www.medres.ch/~jstifter/linux/pctel.html ####<[EMAIL PROTECTED]>################################ : _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
