Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2002 20:09:31 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        "S. Roberts" <sroberts@dsl.pipex.com>
Cc:        freebsd_mail@myrealbox.com, FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: parallel port problems
Message-ID:  <Pine.BSF.4.10.10206092004460.11318-100000@andrsn.stanford.edu>
In-Reply-To: <1023634586.318.8.camel@Demon.Strobe.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9 Jun 2002, S. Roberts wrote:

> Hi Greg,
>    I followed the suggestions with respect to placing additions to
> /boot/kernel.conf in your last e-mail and managed some progress:
> ~ $ dmesg | grep ppc0
> config> ir ppc0 7
> config> dr ppc0 3
> config> po ppc0 0x3bc
> ppc0     0x3bc      7     3     0       0        0     0          Yes  
> ppc0: <Parallel port> at port 0x3bc-0x3bf irq 7 drq 3 on isa0
> ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
> ~ $ dmesg | grep lpt 
> ~ $ cd /usr/src/sys/i386/conf
> <snip> /usr/src/sys/i386/conf $ su
> Password:
> # grep lpt <kernel>
> device		lpt		# Printer
> device		ulpt		# Printer
> #
> 
> So I now can see ppc config in dmesg on boot-up.
> 
> However, nothing is returned for lpt in dmesg as above
> # grep lpt* dmesg.boot
> grep: No match.
> #

dmesg.boot lives in /var/run, and if you ask grep for lpt*, it won't
find anything (it's not using the * as a wildcard).

So try grep lpt /var/run/dmesg.boot

	Annelise

-- 
Annelise Anderson
Author of: 		 FreeBSD: An Open-Source Operating System for Your PC
Available from:	 BSDmall.com and amazon.com
Book Website:    http://www.bittreepress.com/FreeBSD/introbook/	




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?Pine.BSF.4.10.10206092004460.11318-100000>