From owner-freebsd-questions Mon Sep 16 2:15:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ECFD37B400; Mon, 16 Sep 2002 02:15:16 -0700 (PDT) Received: from host217-41-22-89.in-addr.btopenworld.com (host217-41-22-89.in-addr.btopenworld.com [217.41.22.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14F3043E3B; Mon, 16 Sep 2002 02:15:15 -0700 (PDT) (envelope-from dom@host217-41-22-89.in-addr.btopenworld.com) Received: by host217-41-22-89.in-addr.btopenworld.com (Postfix, from userid 1001) id 7050A533; Mon, 16 Sep 2002 10:16:03 +0100 (BST) Date: Mon, 16 Sep 2002 10:16:03 +0100 From: Dominic Marks To: Evan Dower Cc: neal@nelson.name, matt@gsicomp.on.ca, freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org, freebsd-questions@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Printer (lpt0) Device Busy (Epson Stylus Color 740) Message-ID: <20020916091603.GA429@gallium> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 15, 2002 at 10:12:56PM -0700, Evan Dower wrote: > Truth is I do have a USB card and a USB camera. The camera gets detected > and recognized as a USB mass storage device, but I haven't figured out how > to get it to mount (what with the scsi emulations and crap). Anyway, the I mount my FujiFilm FinePix A101 like this: # mkdir /camera # chmod 777 /camera # mount_msdos /dev/da0s1 /camera In my kernel configuration I have: device usb device uhci device ohci device umass device scbus device da device pass > hidden point here is that I would love to hear how you set it up for USB. > Please, please, please tell me all about it. > Thanks, > Evan Dower > > > >From: Neal Nelson > >Reply-To: neal@nelson.name > >To: Evan Dower > >CC: matt@gsicomp.on.ca, > >freebsd-hackers@freebsd.org,freebsd-hardware@freebsd.org, > >freebsd-questions@freebsd.org,freebsd-stable@freebsd.org > >Subject: Re: Printer (lpt0) Device Busy (Epson Stylus Color 740) > >Date: Mon, 16 Sep 2002 15:12:44 +1000 > >MIME-Version: 1.0 > >Received: from mx2.freebsd.org ([216.136.204.119]) by > >mc3-f37.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sun, 15 > >Sep 2002 22:08:07 -0700 > >Received: from hub.freebsd.org (hub.FreeBSD.org [216.136.204.18])by > >mx2.freebsd.org (Postfix) with ESMTPid 4BE9E55981; Sun, 15 Sep 2002 > >22:07:14 -0700 (PDT)(envelope-from owner-freebsd-hardware@FreeBSD.ORG) > >Received: by hub.freebsd.org (Postfix, from userid 538)id 9A15F37B401; > >Sun, 15 Sep 2002 22:06:56 -0700 (PDT) > >Received: from localhost (localhost [127.0.0.1])by hub.freebsd.org > >(Postfix) with SMTPid DD1F72E8023; Sun, 15 Sep 2002 22:06:55 -0700 (PDT) > >Received: by hub.freebsd.org (bulk_mailer v1.12); Sun, 15 Sep 2002 > >22:06:55 -0700 > >Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])by > >hub.freebsd.org (Postfix) with ESMTPid 6432D37B400; Sun, 15 Sep 2002 > >22:06:45 -0700 (PDT) > >Received: from server.home.neal.nelson.name > >(CPE-203-51-147-163.vic.bigpond.net.au [203.51.147.163])by mx1.FreeBSD.org > >(Postfix) with ESMTPid 55DAC43E42; Sun, 15 Sep 2002 22:06:43 -0700 > >(PDT)(envelope-from neal@nelson.name) > >Received: from server.home.neal.nelson.name (localhost [127.0.0.1])by > >server.home.neal.nelson.name (8.12.6/8.12.5) with ESMTP id > >g8G5Cicc000370;Mon, 16 Sep 2002 15:12:45 +1000 (EST)(envelope-from > >neal@nelson.name) > >Delivered-To: freebsd-hardware@freebsd.org > >Message-ID: <20020916051244.GA351@server> > >References: > >In-Reply-To: ; from > >evantd@hotmail.com on Mon, Sep 16, 2002 at 13:52:42 +1000 > >X-Mailer: Balsa 1.4.0 > >Lines: 185 > >Sender: owner-freebsd-hardware@FreeBSD.ORG > >List-ID: > >List-Archive: (Web Archive) > >List-Help: (List Instructions) > >List-Subscribe: > > > >List-Unsubscribe: > > > >X-Loop: FreeBSD.org > >Precedence: bulk > >Return-Path: owner-freebsd-hardware@FreeBSD.ORG > >X-OriginalArrivalTime: 16 Sep 2002 05:08:07.0752 (UTC) > >FILETIME=[0B871480:01C25D3F] > > > >I've been using an Epson Stylus Color 740 on FreeBSD for ages without > >problems. However, I'm using the USB interface not parallel with CUPS as > >my print system. Probably of no help apart from that fact that it can be > >made to work. > > > >On 2002.09.16 13:52 Evan Dower wrote: > >>Has anyone even gotten an Epson Stylus Color 740 to work on FreeBSD 4.x? > >>If so, I would love to get in touch with you. I can't seem to get mine to > >>work regardless of BIOS settings. > >>Thanks a lot, > >>Evan Dower > >> > >> > >>>From: "Matthew Emmerton" > >>>To: "Evan Dower" > >>>Subject: Re: Printer (lpt0) Device Busy > >>>Date: Sat, 14 Sep 2002 18:13:57 -0400 > >>>MIME-Version: 1.0 > >>>Received: from tomts22-srv.bellnexxia.net ([209.226.175.184]) by > >>>hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 14 Sep 2002 > >>>15:14:00 -0700 > >>>Received: from xena.gsicomp.on.ca ([65.95.177.86]) by > >>>tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.19 > >>>201-253-122-122-119-20020516) with ESMTP id > >>><20020914221357.LVJT15700.tomts22-srv.bellnexxia.net@xena.gsicomp.on.ca> > >>> for ; Sat, 14 Sep 2002 18:13:57 -0400 > >>>Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18])by > >>>xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id g8EL08X95409for > >>>; Sat, 14 Sep 2002 17:00:08 -0400 > >>>(EDT)(envelope-from matt@gsicomp.on.ca) > >>>Message-ID: <015301c25c3c$05d36b50$1200a8c0@gsicomp.on.ca> > >>>References: > >>>X-Priority: 3 > >>>X-MSMail-Priority: Normal > >>>X-Mailer: Microsoft Outlook Express 5.50.4807.1700 > >>>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 > >>>Return-Path: matt@gsicomp.on.ca > >>>X-OriginalArrivalTime: 14 Sep 2002 22:14:00.0302 (UTC) > >>>FILETIME=[06E158E0:01C25C3C] > >>> > >>>Evan, > >>> > >>>If you've used it this way before with other OSes, then it's most likely > >>>a > >>>FreeBSD problem. > >>> > >>>I've had problems with some printer when running with EPP/ECP enabled in > >>>the > >>>BIOS. I'd try adjusting your BIOS to make your printer port "dumb" and > >>>see > >>>if that makes things better. > >>> > >>>Matt > >>> > >>> > >>>----- Original Message ----- > >>>From: "Evan Dower" > >>>To: > >>>Sent: Saturday, September 14, 2002 4:51 PM > >>>Subject: Re: Printer (lpt0) Device Busy > >>> > >>> > >>>> Hmm... I have used it only with MacOS (not X) and Linux, and according > >>>to > >>>> http://www.linuxprinting.org/show_printer.cgi?recnum=62112 "Printer > >>>supports > >>>> direct text printing with the `us-ascii' charset." Whether it requires > >>>some > >>>> initial setup I don't know, though it is (very specifically) detected > >>>at > >>>> startup. Do you know how I could check on that? or what I can do if > >>>that > >>>is > >>>> the case? > >>>> Thanks, > >>>> Evan Dower > >>>> > >>>> > >>>> >From: "Matthew Emmerton" > >>>> >To: "Evan Dower" > >>>> >Subject: Re: Printer (lpt0) Device Busy > >>>> >Date: Sat, 14 Sep 2002 00:09:48 -0400 > >>>> >MIME-Version: 1.0 > >>>> >Received: from tomts22-srv.bellnexxia.net ([209.226.175.184]) by > >>>> >mc2-f35.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Fri, > >>>13 > >>>> >Sep 2002 21:09:52 -0700 > >>>> >Received: from xena.gsicomp.on.ca ([65.95.177.86]) by > >>>> >tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.19 > >>>> >201-253-122-122-119-20020516) with ESMTP id > >>>> > >>>><20020914040948.SZOF15700.tomts22-srv.bellnexxia.net@xena.gsicomp.on.ca> > >>>> > for ; Sat, 14 Sep 2002 00:09:48 -0400 > >>>> >Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18])by > >>>> >xena.gsicomp.on.ca (8.11.3/8.11.3) with SMTP id g8E2twX94177for > >>>> >; Fri, 13 Sep 2002 22:55:58 -0400 > >>>(EDT)(envelope-from > >>>> >matt@gsicomp.on.ca) > >>>> >Message-ID: <001501c25ba4$91145c30$1200a8c0@gsicomp.on.ca> > >>>> >References: > >>>> >X-Priority: 3 > >>>> >X-MSMail-Priority: Normal > >>>> >X-Mailer: Microsoft Outlook Express 5.50.4807.1700 > >>>> >X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 > >>>> >Return-Path: matt@gsicomp.on.ca > >>>> >X-OriginalArrivalTime: 14 Sep 2002 04:09:54.0043 (UTC) > >>>> >FILETIME=[9449E4B0:01C25BA4] > >>>> > > >>>> > > 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: 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: PRINTER ESCPL2,BDC,D4 > >>>> > > lpt0: 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. > >>>> > > >>>> >If your Epson print is a "winprinter" (meaning that it requires > >>>special > >>>> >initialization before it will allow itself to print plain text), then > >>>the > >>>> >device will show up as busy if you try and do anything with it. > >>>> > > >>>> >-- > >>>> >Matt Emmerton > >>>> > >>>> > >>>> > >>>> > >>>> _________________________________________________________________ > >>>> Send and receive Hotmail on your mobile device: http://mobile.msn.com > >>>> > >>>> > >> > >> > >> > >> > >>_________________________________________________________________ > >>Send and receive Hotmail on your mobile device: http://mobile.msn.com > >> > >> > >>To Unsubscribe: send mail to majordomo@FreeBSD.org > >>with "unsubscribe freebsd-hardware" in the body of the message > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > >with "unsubscribe freebsd-hardware" in the body of the message > > > > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Dominic Marks << dominic_marks at btinternet.com >> Computer & Politics Geek To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message