Re: device.hints help

2005-04-01 Thread dgmm
On Thursday 31 March 2005 21:03, Alejandro Pulver wrote:
 I have two sound cards:

 SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich'
 Genius Sound Maker Value 5.1 (CMedia CMI8738)     - 'snd_cmi'

 The first is integrated in the motherboard, and it is detected first and
 used as the default output device (pcm0). The second it detected after
 the first, so it is used as the second output device (pcm1).

 I want to use my second sound card as the default output device. I tried
 using the loader.conf variables *_after and *_before, but they
 always load them before booting the kernel, so the integrated card is
 detected first and assigned to the default output device (pcm0). So I
 have the drivers as modules, and load the driver for the second card
 when booting the kernel, and then from the command line I load the
 driver for the integrated card.

 Is it possible to put the sound card PCI addresses manually in
 'device.hints'? How?

 Here is the relevant output of 'pciconf -vl' (after loading the
 drivers in the desired order):

 [EMAIL PROTECTED]:2:7:  class=0x040100 card=0x70121849 chip=0x70121039 
 rev=0xa0
 hdr=0x00    vendor   = 'Silicon Integrated Systems (SiS)'
     device   = 'SiS7012 PCI Audio Accelerator'
     class    = multimedia
     subclass = audio

 [EMAIL PROTECTED]:9:0:  class=0x040100 card=0x03f6 chip=0x03f6 
 rev=0x10
 hdr=0x00    vendor   = 'C-Media Electronics Inc.'
     device   = 'CMI8738/PCI C3DX PCI Audio Chip#20013;#22269;'
     class    = multimedia
     subclass = audio

 I am posting this question again because I did not get a response. If I
 should ask this question somewhere else please inform me.

I'm no expert but...

You now have the sound cards ni the order you want by loading the CMedia via 
the kernel and the SiS manually.

Can you add the SiS one via /etc/rc.conf?

Add kldload snd_sis (or whatever the SiS sound module is called)

or by adding the relevant bits to /boot/loader.conf

eg

sound_load=YES
snd_SiS_load=YES
(or whatever the SiS sound module is called)

or if none are complied into the kernel, try either method above with the 
module loads listed in the order you want them.

hey, it might even work :-)

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


device.hints help

2005-03-31 Thread Alejandro Pulver
Hello,

I have two sound cards:

SiS 7012 (C-Media Electronics CMI9739 AC97 Codec) - 'snd_ich'
Genius Sound Maker Value 5.1 (CMedia CMI8738) - 'snd_cmi'

The first is integrated in the motherboard, and it is detected first and
used as the default output device (pcm0). The second it detected after
the first, so it is used as the second output device (pcm1).

I want to use my second sound card as the default output device. I tried
using the loader.conf variables *_after and *_before, but they
always load them before booting the kernel, so the integrated card is
detected first and assigned to the default output device (pcm0). So I
have the drivers as modules, and load the driver for the second card
when booting the kernel, and then from the command line I load the
driver for the integrated card.

Is it possible to put the sound card PCI addresses manually in
'device.hints'? How?

Here is the relevant output of 'pciconf -vl' (after loading the
drivers in the desired order):

[EMAIL PROTECTED]:2:7:  class=0x040100 card=0x70121849 chip=0x70121039 rev=0xa0
hdr=0x00vendor   = 'Silicon Integrated Systems (SiS)'
device   = 'SiS7012 PCI Audio Accelerator'
class= multimedia
subclass = audio

[EMAIL PROTECTED]:9:0:  class=0x040100 card=0x03f6 chip=0x03f6 rev=0x10
hdr=0x00vendor   = 'C-Media Electronics Inc.'
device   = 'CMI8738/PCI C3DX PCI Audio Chip#20013;#22269;'
class= multimedia
subclass = audio

I am posting this question again because I did not get a response. If I
should ask this question somewhere else please inform me.

Thanks and Best Regards,
Ale
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]