Re: 5.3 Release and Realtek

2004-12-22 Thread Gautham Ganapathy
On Sun, 2004-12-19 at 00:42, [EMAIL PROTECTED] wrote:
 I'm running 5.3-Release amd64 on an Asus AV8 motherboard which includes
 Realtek ALC850 audio chipset. I'm unable to get the system to recognize
 the chipset. From the archives/man pages/manual I've :
 
 # kldload snd_driver
 kldload: can't load snd_driver: No such file or directory
 
 Modified /boot/loader.conf to use :
 
 sound_load=YES
 snd_driver_load=YES
 

Have you tried 'kldload snd_via8233'. Worked for me.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.3 Release and Realtek

2004-12-19 Thread admin2

I'm running 5.3-Release amd64 on an Asus AV8 motherboard which includes
Realtek ALC850 audio chipset. I'm unable to get the system to recognize
the chipset. From the archives/man pages/manual I've :

# kldload snd_driver
kldload: can't load snd_driver: No such file or directory

Modified /boot/loader.conf to use :

sound_load=YES
snd_driver_load=YES

Recompiled the kernel with :

device   sound

The last one resulted in /dev/sndstat showing up, but the contents show
no devices :

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:

However I don't see any snd_* modules in /boot/kernel/*ko

I also noted that sys/dev/sound/pcm/ac97.c contains the following :

static const struct ac97_vendorid ac97vendorid[] = {
{ 0x414c4300, Realtek },

static struct ac97_codecid ac97codecid[] = {
{ 0x414c4790, 0x0f, 0, ALC850,0 },

At this point I'm at a loss as to where to go from here, or which kernel
module would support this chipset.

Other than that this system is a screamer. This is my first experience
with 5.3, AMD, and with the 64 bit port, so far I'm really impressed.  I
saw reports that the Marvell Gig Ethernet wasn't working for some folks,
but it worked fine for me. I chose this motherboard as it was the only one
of about three that supported socket 939 and had the Via K8T800 chipset, I
was concerned about the reports of problems with the nVidia nForce
chipset. I would have liked to have had PCI-X, but that's only available
today with nVidia. The Promise SATA raid controller (one of two different
brand controllers onboard) worked just fine.

http://www.asus.com/products/mb/socket939/a8v-d/overview.htm

Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 Release and Realtek

2004-12-19 Thread Daniel O'Connor
On Sun, 19 Dec 2004 05:42, [EMAIL PROTECTED] wrote:
 I'm running 5.3-Release amd64 on an Asus AV8 motherboard which includes
 Realtek ALC850 audio chipset. I'm unable to get the system to recognize
 the chipset. From the archives/man pages/manual I've :

This is the AC97 chipset, the thing that you load the driver for is different.

 # kldload snd_driver
 kldload: can't load snd_driver: No such file or directory

Try kldload snd_ich, failing that email the output of pciconf -lv

Although snd_driver should work.. What does dmesg say after you've tried to 
load it?

 The last one resulted in /dev/sndstat showing up, but the contents show
 no devices :

 # cat /dev/sndstat
 FreeBSD Audio Driver (newpcm)
 Installed devices:

 However I don't see any snd_* modules in /boot/kernel/*ko

Hmm, well that IS odd :)
[inchoate 10:30] ~ ll /boot/kernel/snd*.ko | wc -l
  25

Have you rebuilt your kernel? It may be that it failed part way through so you 
didn't get the sound driver modules built or installed.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpuY67ao8b9Z.pgp
Description: PGP signature


Re: 5.3 Release and Realtek

2004-12-19 Thread ctodd

 On Sun, 19 Dec 2004 05:42, [EMAIL PROTECTED] wrote:
  I'm running 5.3-Release amd64 on an Asus AV8 motherboard which includes
  Realtek ALC850 audio chipset. I'm unable to get the system to recognize
  the chipset. From the archives/man pages/manual I've :

 This is the AC97 chipset, the thing that you load the driver for is different.

I know, I found out later it's the VIA VT8237 chipset. The information
from Asus makes the codec appear as the chipset.

  # kldload snd_driver
  kldload: can't load snd_driver: No such file or directory

 Try kldload snd_ich, failing that email the output of pciconf -lv

 Although snd_driver should work.. What does dmesg say after you've tried to
 load it?

The problem was that none of the snd_* modules were built, and I did
rebuild the kernel. Once I built the modules, I was able to load the
drivers. I think you need to add device sound to get these modules to
build automgically.

So the snd_via8233 is the driver that works, and it's fine if you want
basic functionality (stereo sound, record, etc.) This motherboard (Asus
AV8) has 8 channel audio though. I stumbled across this site :

http://www.opensound.com/freebsd.html

I installed the demo FreeBSD driver (expires every three months) and it
supports the card fully. It's only $30 to buy it, so if I end up doing
multimedia stuff with this system then it's well worth the cost. It's so
nice not having to resort to Linux everytime you want to do something
cool This should resolve a bunch of unanswered posts I saw in the list
archives. Thanks for the help.

Here's the output of `cat /dev/sndstat` and mixer.

# cat /dev/sndstat
OSS/FreeBSD 3.99.1i (C) 4Front Technologies 1996-2004

License serial number: E0008
 UNREGISTERED VERSION 

You can order the OSS license using the 'Order permanent OSS license'
function of soundconf command. Alternatively use our ordering page at
http://www.opensound.com/order.html.
Drivers: ALL
License will expire after: 02/2005


*** Unregistered version ***

Build: 200411171937
Kernel: FreeBSD 5.3-RELEASE #2: Sun Dec 19 17:44:30 PST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM


Card config:
VIA 8233 AC97 audio controller at 0xd800 irq 22

Audio devices:
0: VT8233 (DUPLEX,GRC3)
1: VT8233 (shadow) (DUPLEX,GRC3)
2: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
3: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:

Mixers:
0: VT8233 (ALC850)
1: Virtual Mixer

History:
dsp5: OUT
dsp6: OUT
dsp7: OUT
dsp8: OUT
dsp9: OUT

# mixer
Mixer vol  is currently set to  75:75
Mixer pcm  is currently set to  75:75
Mixer speaker  is currently set to   0:0
Mixer line is currently set to  32:32
Mixer mic  is currently set to   0:0
Mixer cd   is currently set to  75:75
Mixer igainis currently set to  75:75
Mixer line1is currently set to  32:32
Mixer phin is currently set to   0:0
Mixer phoutis currently set to   0:0
Mixer videois currently set to   0:0
Recording source: line

Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 Release and Realtek

2004-12-19 Thread Daniel O'Connor
On Mon, 20 Dec 2004 12:44, [EMAIL PROTECTED] wrote:
 The problem was that none of the snd_* modules were built, and I did
 rebuild the kernel. Once I built the modules, I was able to load the
 drivers. I think you need to add device sound to get these modules to
 build automgically.

No, the modules are built regardless of the kernel options you use.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C


pgpNG2DW3P1yc.pgp
Description: PGP signature


Re: 5.3 Release and Realtek

2004-12-19 Thread ctodd

On Mon, 20 Dec 2004, Daniel O'Connor wrote:

 On Mon, 20 Dec 2004 12:44, [EMAIL PROTECTED] wrote:
  The problem was that none of the snd_* modules were built, and I did
  rebuild the kernel. Once I built the modules, I was able to load the
  drivers. I think you need to add device sound to get these modules to
  build automgically.

 No, the modules are built regardless of the kernel options you use.

In this case they weren't, not sure why. I looked in /boot/kernel for snd*
and there was nothing there. I did a `locate snd_*` and found them in
/usr/src/sys/modules/sound. When I did a make install, they were all
properly installed. It seems they just don't get built unless device
sound is specified in the kernel conf.

Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 Release and Realtek

2004-12-18 Thread ctodd

I think I found the answer, more testing will be required, but for now I
see the sound card. The answer :

# cd /usr/src/sys/modules/sound
# make install
# kldload snd_driver
# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm1: VIA VT8237 at io 0xd800 irq 22 kld snd_via8233 (5p/1r/0v channels
duplex)

Chris
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to [EMAIL PROTECTED]