[SOLVED] sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-19 Thread Zhang Weiwu, Beijing
I am actually amazed nobody nor the handbook mentioned OSS to me, 
because after learned this, it suddenly become obvious this option 
should be tried right after failure of snd_driver. In fact, the sound 
card in-topic is Ali M5455, the first on the list of sound card 
supported by OSS.


http://manuals.opensound.com/devlists/FreeBSD.html

The solution is as simple as 'pkg_add -vr oss'. done. solved.

Consider OSS supported sound card list is rather long, it should be a 
must recommendation after snd_driver.


Again amazed that lspci in Linux showed keyword M5455, but pciconf -lv 
didn't show keyword "M5455". Having the keyword it's only a minute to 
figure out which is the right driver.


--
我的博客:
http://zhangweiwu.ixiezi.com/
网站进化论 --写给需要网站或后悔有了网站的人

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-15 Thread Zhang Weiwu, Beijing

On 04/16/2011 10:42 AM, Erich Dollansky wrote:

On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote:

# kldload snd_driver

this will never work.

You must load the driver for your sound card. Something like

kldload  snd_hda


I am confused, because the handbook says the opposite:
http://www.freebsd.org/doc/handbook/sound-setup.html


To use your sound device, you will need to load the proper device driver.


Then:


If you are not sure which driver to use, you may try to load the 
snd_driver module:


#  kldload snd_driver
This is a metadriver loading the most common device drivers at once. 


Even though I wish to use only the right driver, the manual didn't say 
how can I find which driver is the right one except trying with 
snd_driver. It didn't even mention what drivers are there on the system. 
One might expect it at /usr/src/sys/i386/conf/GENERIC but there is 
nothing mentioning sound card.



You must replace snd_hda by the name of the driver for your card.


I'd be glad to try that if you inform me what is the name of the driver 
for my card, or point me way to find this information:)


Thanks for answering my mail!

--
我的博客:
http://zhangweiwu.ixiezi.com/
网站进化论 --写给需要网站或后悔有了网站的人


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


sound card not recognized by freebsd 8.2 but mentioned in PC-BSD 8.2

2011-04-15 Thread Zhang Weiwu, Beijing
Hello. I intend to use FreeBSD instead of PC-BSD. The sound card doesn't 
work on FreeBSD 8.2. I tried to follow the manual and loaded all sound 
card drivers


# kldload snd_driver

But no driver works:

# cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:

There is nothing after "installed devices". And there is nothing about 
sound card mentioned in dmesg.


I had the impression non of the drivers recognizes the card, which is:

none1@pci0:0:4:0: class=0x040100 card=0x103b13bd chip=0x545510b9 rev=0x03 
hdr=0x00
vendor = 'Acer Labs Incorporated (ALi/ULi)'
device = 'AC'97 Audio Controller (M1563M Southbridge)'
class = multimedia
subclass = audio


Search for the chip ID as keyword on google reveals in PC-BSD this 
keyword is mentioned in their driver database 
"/PCBSD/soundDetect/soundcards.xml"


source: http://trac.pcbsd.org/changeset/3018/pcbsd

Somehow this hints PC-BSD recognizes and can configure this sound card.

My question is, if PC-BSD could play using this sound card, a FreeBSD 
method must not be too far away, right? Can I configure FreeBSD somehow 
to let a driver recognize and make use of this sound card?


P. S. If it doesn't work, I guess I'll fall back to Windows instead of 
PC-BSD because I intend to use this machine for playing around and 
testing GNUStep including its multimedia. The computer has a hard-wired 
8GB storage which is OK for the purpose, but not enough for PC-BSD.


--
我的博客:
http://zhangweiwu.ixiezi.com/
网站进化论 --写给需要网站或后悔有了网站的人

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


8.2-release no sound. error "driver bug: Unable to set devclass (devname: (null))"

2011-04-11 Thread Zhang Weiwu, Beijing

Behavior:


   tobago# kldload snd_driver
   driver bug: Unable to set devclass (devname: (null))
   ppc0: parallel port not found.
   driver bug: Unable to set devclass (devname: (null))
   ppc0: parallel port not found.
   ppc0: parallel port not found.
   driver bug: Unable to set devclass (devname: (null))
   ppc0: parallel port not found.
   driver bug: Unable to set devclass (devname: (null))
   ppc0: parallel port not found.
   driver bug: Unable to set devclass (devname: (null))
   ppc0: parallel port not found.
   tobago#

It turns out the kldload command itself have no output. all output are from 
dmesg.

What can I / should I do?

Interesting section of 'pciconf -lv':

none1@pci0:0:4:0:   class=0x040100 card=0x103b13bd chip=0x545510b9 rev=0x03 
hdr=0x00
vendor = 'Acer Labs Incorporated (ALi/ULi)'
device = 'AC'97 Audio Controller (M1563M Southbridge)'
class  = multimedia
subclass   = audio

uname:

FreeBSD tobago 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 
r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


By the way I tried to compile a kernel without ppc driver, thinking it causing 
trouble. Result is:

tobago# kldload snd_driver
driver bug: Unable to set devclass (devname: (null))
driver bug: Unable to set devclass (devname: (null))
driver bug: Unable to set devclass (devname: (null))
driver bug: Unable to set devclass (devname: (null))
driver bug: Unable to set devclass (devname: (null))
tobago#




--
我的博客:
http://zhangweiwu.ixiezi.com/
网站进化论 --写给需要网站或后悔有了网站的人

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"