Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Apr 2001 22:47:51 -0700
From:      Richard Johnson <raj@cisco.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: tw0 (ppc0) on Thinkpad 755c?
Message-ID:  <15075.49671.105680.878911@kitab.cisco.com>
In-Reply-To: <15075.38064.91164.939135@kitab.cisco.com>
References:  <15075.38064.91164.939135@kitab.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Richard Johnson writes:
 > I'm trying to get the tw0 device to work on an old Thinkpad 755c
 > system.  I built a kernel with the device defined.  It just can't seem 
 > to find the parallel port.  I know it's at irq 7, but I don't know the 
 > iobase address.  Another laptop I have has it at irq 7 and iobase
 > 0x378, but that doesn't seem to work on the Thinkpad.
 > 
 > I know my cable and X10 controller box work correctly because I've
 > used it with FreeBSD on a different laptop.
 > 
 > Is there something special about the parallel port on the Thinkpad
 > 755c?  Is there some place I can find hardware information like this?
 > 
 > Any help would be greatly appreciated!
 > 
 > /raj

As a followup, I found that by booting the GENERIC kernel with "-v",
it actually reports the location of ppc0.  I found it at 0x3bc instead 
of the usual 0x378.  I have now moved it to 0x278 and yet tw0 still
doesn't probe it correctly:

ppc0: using extended I/O port range
PC873xx probe at 0x26e got unknown ID 0x4b
ppc0: SPP
ppc0: <Parallel port> at port 0x278-0x27f irq 7 drq 0 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: IEEE1284 device found /PS2/EPP/NIBBLE_ID/PS2_ID/Extensibility Link
Probing for PnP devices on ppbus0:
ppbus0: <unknown unknown>
isa_compat: didn't get ports for tw
isa_compat: didn't get drq for tw
tw0 failed to probe at port 0x278 irq 7 drq 0 on isa0

Has anyone seen this before?  Maybe the tw driver doesn't work with
4.3?

/raj

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?15075.49671.105680.878911>