Skip site navigation (1)Skip section navigation (2)
Date:      28 Aug 2002 19:19:24 -0500
From:      Raul Zighelboim <raul@zighelboim.com>
To:        Boris Gelfand <bg@cse.msu.edu>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Thinkpad 600E sound in 4.6-Stable?
Message-ID:  <1030580364.14129.3.camel@shame.zighelboim.com>
In-Reply-To: <200208282330.g7SNUKv19662@arctic.cse.msu.edu>
References:  <200208282330.g7SNUKv19662@arctic.cse.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-0B3ranZ8cCagLmgUEM3n
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Attached is my kernel's config file;  all peripherals work on this
THinkpad 600E.

To get parallel/sound/serial/ir as well as hibernation, I had to twick
the thinkpad configuration with the ps2.exe command (created small dos
fs to keep this IBM utility handy.

Hope this helps.



On Wed, 2002-08-28 at 18:30, Boris Gelfand wrote:
> Hello all!  A bit of archive searching has hinted quite
> often at CS4610/11 sound chips working in FreeBSD-4 with
> a bit of tweaking.  I've had no luck.
> 
> Machine: Thinkpad 600E 366mhz, 2645-4AU.  DOS-mode PS2
> config for audio at port 530, irq 5, dma 0, dma 1,
> sb port 220.  (If anyone needs a bootable ISO-image
> with the IBM ps2 config utilities, let me know -- 
> running a FreeBSD-only shop is a pain at times ;).
> 
> OS: 4.6-STABLE FreeBSD Sun Aug 25 19:25:42 EDT 2002
> 
> here are all the kernel config bits I've tried:
> 
>   # having this doesn't affect anything one way or other
>   # and just generates lots of PNP error messages at boot:
>   #  unknown: <PNP0501> can't assign resources 
>   #options PNPBIOS
> 
>   # this probes but no audio
>   #device pcm0 at isa? port 0x530 irq 5 drq 0 flags 0x11
> 
>   # same thing
>   #device pcm
>   #device csa0 at isa? port 0x530 irq 5 drq 0 flags 0x11
> 
>   # same thing
>   #device pcm
>   #device sbc0 at isa? port 0x220 irq 5 drq 0 flags 0x11
> 
>   # same thing
>   #device         pcm0    at isa? port 0x52c irq 5 drq 1 flags 0x10
> 
>   # same thing
>   #device pcm
>   #device         csa0    at isa? port 0x52c irq 5 drq 1 flags 0x10
> 
>   # no go
>   #device snd0
>   #device sb0      at isa? port 0x220 irq 5 drq 0
> 
> Here's the most hopeful dmesg probe I can get it to do:
> 
> csa0: <CS4610/CS4611> mem 0x50000000-0x500fffff,0x50100000-0x50100fff irq 11 at device 6.0 on pci0
> csa: card is Unknown/invalid SSID (CS4610)
> device_probe_and_attach: csa0 attach returned 6
> 
> Some folks have reported that audio works with this type of suspicious
> probing, but I haven't had any luck with any actual audio output.
> 
> With MAKEDEV on either snd0 or snd1, mpg123 returns "Can't open /dev/dsp!"
> 
> I tried the previously posted fix to /usr/src/sys/conf/files with
> exactly the same results, although Kevin Oberman's very encouraging
> post from earlier this year says this fix is now unnecessary:
>  
>   http://www.geocrawler.com/archives/3/163/2002/2/0/7972084/
> 
> Any suggestions?
> 
> Thanks much!
> 
> -bg
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-mobile" in the body of the message


--=-0B3ranZ8cCagLmgUEM3n
Content-Disposition: attachment; filename=SHAME
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; name=SHAME; charset=ISO-8859-1

machine		i386
cpu		I386_CPU
cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		SHAME
maxusers	0

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=3D15000	#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1
#

# ATA and ATAPI devices
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapist			# ATAPI tape drives
options 	ATA_STATIC_ID		#Static device numbering

# SCSI Controllers
device		ahc		# AHA2940 and onboard AIC7xxx devices
# SCSI peripherals
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? flags 0x100

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at nexus?

# PCCARD (PCMCIA) support
device		card
device		pcic0	at isa? irq 0 port 0x3e0 iomem 0xd0000
device		pcic1	at isa? irq 0 port 0x3e2 iomem 0xd4000 disable

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		sio2	at isa? disable port IO_COM3 irq 5
device		sio3	at isa? disable port IO_COM4 irq 9

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da


# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')
device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card (``Wiseman'')
device		txp		# 3Com 3cR990 (``Typhoon'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')

device		miibus		# MII bus support
device		dc		# DEC/Intel 21143 and various workalikes
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
device		pcn		# AMD Am79C97x PCI 10/100 NICs
device		rl		# RealTek 8129/8139
device		sf		# Adaptec AIC-6915 (``Starfire'')
device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
device		ste		# Sundance ST201 (D-Link DFE-550TX)
device		tl		# Texas Instruments ThunderLAN
device		tx		# SMC EtherPower II (83c170 ``EPIC'')
device		vr		# VIA Rhine, Rhine II
device		wb		# Winbond W89C840F
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')
device		bge		# Broadcom BCM570x (``Tigon III'')

# ISA Ethernet NICs.
device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
device		ex
device		ep
device		fe0	at isa? port 0x300
device		xe
device		awi
device		wi
device		an
device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
#device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
device		lnc0	at isa? port 0x280 irq 10 drq 0
device		cs0	at isa? port 0x300
device		sn0	at isa? port 0x300 irq 10

# Pseudo devices - the number indicates how many units to allocate.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif		# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
pseudo-device	bpf		#Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		uscanner	# Scanners
device		urio		# Diamond Rio MP3 Player
device		aue		# ADMtek USB ethernet
device		cue		# CATC USB ethernet
device		kue		# Kawasaki LSI USB ethernet

options         INCLUDE_CONFIG_FILE     # Include this file in kernel

options         IPSEC                   #IP security
options         IPSEC_ESP               #IP security (crypto; define w/ IPS=
EC)
options         IPSEC_DEBUG             #debug for IP security

options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by defaul=
t
options         IPV6FIREWALL            #firewall for IPv6
options         IPV6FIREWALL_VERBOSE
options         IPV6FIREWALL_DEFAULT_TO_ACCEPT

device		pcm

pseudo-device	snp		#Snoop device - to look at pty/vty/etc..

--=-0B3ranZ8cCagLmgUEM3n--


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?1030580364.14129.3.camel>