Date: Fri, 13 Sep 2002 06:46:43 -0700 From: "Evan Dower" <evantd@hotmail.com> To: freebsd-questions@freebsd.org Subject: Re: Printer Device Busy Message-ID: <F64cUtI9dm5UxP9Fekz0000093e@hotmail.com>
next in thread | raw e-mail | index | archive | help
I didn't mean to give the impression that I was angry about the lack of response. I simply took that to mean that people simply don't know what's wrong any more than I do.It is the fact that I don't know what could possibly be wrong and nobody else seems to either that frustrates. That fact is that I've have done a fair amount of research, especially in the list archives, and I have found people with similar problems, but for the most part they never reach a solution on the mailing list, or their solution doesn't work for me, or (many of them) simply never got any response at all. BTW, one thing I found suggested it might have something to do with ECP and EPP but didn't go any further than that. I personally don't know what they are, but my printer refuses to work whether or not they are enabled in BIOS. There are flags regarding them in kernel config files, though. But I need slightly more information before I try them. Thank you very much for the responses. I just needed any indication that my posting was alive to feed me some hope. Thanks again, Evan Dower >From: "Charles Pelletier" <fozekizer@attbi.com> >To: "Evan Dower" <evantd@hotmail.com>,<freebsd-questions@freebsd.org> >Subject: Re: Printer Device Busy >Date: Thu, 12 Sep 2002 20:49:03 -0500 >MIME-Version: 1.0 >Received: from sccrmhc01.attbi.com ([204.127.202.61]) by >mc3-f39.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 12 >Sep 2002 23:58:42 -0700 >Received: from hume ([12.239.154.32]) by sccrmhc01.attbi.com >(InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id ><20020913015201.FTHT16673.sccrmhc01.attbi.com@hume>; Fri, 13 Sep >2002 01:52:01 +0000 >Message-ID: <001101c25ac7$bd11fe60$32040101@hume> >References: <F101PGDZFMp26V5AtSd000204e5@hotmail.com> >X-Priority: 3 >X-MSMail-Priority: Normal >X-Mailer: Microsoft Outlook Express 6.00.2600.0000 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 >Return-Path: fozekizer@attbi.com >X-OriginalArrivalTime: 13 Sep 2002 06:58:42.0129 (UTC) >FILETIME=[FEAF6C10:01C25AF2] > >Okay, here's the deal. >Every day hundreds of messages get posted asking for help. Every day we all >try to do what we can to get help to those who need it. Every day we all >scour the list looking for easy questions or for answers to our own >questions. Every day, those things that can't be answered quickly are >researched. Every day, the answers are posted when possible. >If you don't see an answer here when you want to see it, be patient. It is >quite possible that someone is researching your problem. You see, this mail >list includes many of those who are constantly working on FreeBSD and are >very proficient in the area. Even if not, they sometimes even try to create >a fix to certain problems. Also, check the archives as your very problem >might have been solved days months or even years ago. >What I'm getting at is this: Impatience Does Nobody Any Good. The more you >push the less likely you are to get an answer. > >--charlie pelletier >--litmus(mp3.com/litmus) >----- Original Message ----- >From: "Evan Dower" <evantd@hotmail.com> >To: <freebsd-questions@freebsd.org> >Sent: Thursday, September 12, 2002 12:48 PM >Subject: Printer Device Busy > > > > I am trying to install a printer (Epson Stylus Color 740), but FreeBSD > > claims that the device (/dev/lpt0) is busy. I began with 4.6-RELEASE but > > upgrade to -STABLE to see if that would fix the problem (it didn't). My > > system is: > > $ uname -a > > FreeBSD lojak.u.washington.edu 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #0: >Thu > > Sep 12 00:21:06 PDT 2002 > > root@lojak.u.washington.edu:/usr/obj/usr/src/sys/CUSTOM i386 > > I even tried using the GENERIC kernel to no avail. I'm fairly certain my > > kernel is set up properly anyway since the printer is detected at >startup. > > $ dmesg > > ... > > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > > ppc0: FIFO with 16/16/9 bytes threshold > > ppbus0: IEEE1284 device found /NIBBLE > > Probing for PnP devices on ppbus0: > > ppbus0: <EPSON Stylus COLOR 740> PRINTER ESCPL2,BDC,D4 > > lpt0: <Printer> on ppbus0 > > lpt0: Interrupt-driven port > > ... > > Yet still, if I try to do a test print, nothing happens. > > # echo test > /dev/lpt0 > > /dev/lpt0: Device busy. > > In fact, even just trying to get status info does the same thing. > > # cat /dev/lpt0 > > cat: /dev/lpt0: Device busy > > So the device is busy. Certainly, a program must be bogarting it. Yet >fstat > > begs to differ. > > $ fstat /dev/lpt0 > > USER CMD PID FD MOUNT INUM MODE SZ|DV R/W >NAME > > That's an empty list of open files named /dev/lpt0. So maybe fstat is >not > > working as I would expect. So I'll stat /dev/lpt0 to get its INODE and >grep > > fstat for it. > > $ stat /dev/lpt0 > > File: "/dev/lpt0" > > Size: 0 Allocated Blocks: 0 Filetype: Character Device > > Mode: (0600/crw-------) Uid: (0/root) Gid: (0/wheel) > > Device: 160768 Inode: 753 Links: 1 Device Type: 4096 > > Access: Thu Sep 12 01:01:20 2002 > > Modify: Thu Sep 12 10:44:59 2002 > > Change: Thu Sep 12 10:44:59 2002 > > > > $ fstat | grep 753 > > I swear fstat really does list open files! > > $ fstat | wc > > 557 5040 38580 > > $ fstat /dev/dsp > > USER CMD PID FD MOUNT INUM MODE SZ|DV R/W >NAME > > evantd esd 32539 8 / 738 crw-rw-rw- dsp0.0 w > > /dev/dsp > > $ fstat | grep 738 > > evantd esd 32539 8 / 738 crw-rw-rw- dsp0.0 w > > So fstat does work (both ways), but I still see no reason for lpt0 to be > > busy. > > Does anyone have any ideas? What else can make a device busy? > > Thanks in advance, > > Evan Dower > > > > _________________________________________________________________ > > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F64cUtI9dm5UxP9Fekz0000093e>
