Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2000 23:50:14 -0500
From:      Richard Scranton <scrantr@ix.netcom.com>
To:        freebsd-mobile@freebsd.org
Subject:   Thinkpad 600E and 4.1R
Message-ID:  <3A306886.58F9DA6@ix.netcom.com>

next in thread | raw e-mail | index | archive | help
If you have a Thinkpad 600E and are trying to install v4.1 or later, the following will
be of use to you:

Run the PS2 utility and set the PCI IRQ to 9 so it will share with the smb/intpm stuff.
Run the pccard stuff in polled mode.

These two items will give you back two IRQ's.

Apply this patch from Jonathan Chen to get pcm probing to work reliably:

Index: sys/conf/files
===================================================================
RCS file: /export/ncvs/src/sys/conf/files,v
retrieving revision 1.340.2.38
diff -u -r1.340.2.38 files
--- sys/conf/files      2000/10/31 23:16:07     1.340.2.38
+++ sys/conf/files      2000/11/30 05:10:55
@@ -1090,8 +1090,7 @@
 dev/sound/isa/sbc.c    optional sbc isa
 #dev/sound/pci/aureal.c        optional pcm pci
 dev/sound/pci/csa.c    optional csa pci
-dev/sound/pci/csa.c    optional pcm pci
-dev/sound/pci/csapcm.c optional pcm pci
+dev/sound/pci/csapcm.c optional csa pcm pci
 dev/sound/pci/ds1.c    optional pcm pci
 dev/sound/pci/emu10k1.c        optional pcm pci
 dev/sound/pci/es137x.c optional pcm pci

In your kernel config file *do not* use PNPBIOS.  If you do so, you will give back
the two interrupts you got back above.  The wretched DSP modem normally requires
two (count 'em, two) interrupts to operate - one for the modem and one for the DSP
chip itself.  Using PNPBIOS makes the kernel find this useless hardware and allocate
resources for it.  The modem can be reconfigured to use only one interrupt, but it is still
not useable under FreeBSD, so don't bother.

The only hitch you will see in not using PNPBIOS is that the line for the sound card will
require a fully-specified config line.  Mine looks like:

device      pcm0 at isa? port 0x52c irq 5 drq 1 flags 0x10

If you don't use the patch above, you will see some kernel noise that the csa0 device
probe_and_attach routine "returned 6" and the kernel will "trap 12" when trying to
use *any* usb device.  With the patch, sound and usb both work normally.  With the two
earlier adjustments, there are enough interrupts to run everything, including two
pccards.  My config file is pasted in below:


machine         i386
cpu             I686_CPU
ident           Think
maxusers        64

options         INET
options         FFS
options         FFS_ROOT
options         SOFTUPDATES
options         COMPAT_43
options         UCONSOLE
options         NSWAPDEV=1

options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
options         SHMMAX=33554432
options         SHMALL=16384
options         NMBCLUSTERS=4096

options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L

options         ICMP_BANDLIM

device          isa
device          pci

device          smbus
device          intpm
device          smb

device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

device      ata
device      atadisk
device      atapicd
options     ATA_ENABLE_ATAPI_DMA

device      scbus0
device      pass
device      da

device      aic0
device      cd

device      atkbdc0 at isa? port IO_KBD
device      atkbd0  at atkbdc? irq 1 flags 0x1
device      psm0    at atkbdc? irq 12

device      sc0 at isa? flags 0x04
device      vga0    at isa?
options     MAXCONS=4
options     SC_DISABLE_REBOOT
options     SC_PIXEL_MODE
options     SC_NORM_ATTR="(FG_LIGHTGREY|BG_BLACK)"
options     SC_NORM_REV_ATTR="(FG_BLACK|BG_LIGHTGREY)"
options     SC_KERNEL_CONS_ATTR="(FG_WHITE|BG_RED)"
options     SC_KERNEL_CONS_REV_ATTR="(FG_RED|BG_BLACK)"

device      npx0    at nexus? port IO_NPX irq 13
device      apm0    at nexus?

device      pcm0 at isa? port 0x52c irq 5 drq 1 flags 0x10

device      card
device      pcic0   at isa?

device      sio0    at isa? port IO_COM1 flags 0x10 irq 4

device      ppc0    at isa? irq 7
device      ppbus
device      lpt
device      plip
device      ppi

device      ep

pseudo-device   loop
pseudo-device   ether
pseudo-device   pty 32
pseudo-device   bpf 1


The SysV IPC numbers are tweaked a little to run Sybase.
Modules vpo, if_tun, usb, ums, umass, and ugen are loaded by lines
added to the /boot/loader.conf file.  This kernel is capable of running
a parallel zip drive, a SCSI cd or tape drive with an Adaptec SlimSCSI
1460-D card, and USB devices including a mouse, Y-E data floppy, and USB
Zip drive.



--
________________________________________________________________________
Technology is dominated by those who manage what they do not understand.
http://www.netcom.com/~scrantr/index.html






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A306886.58F9DA6>