[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-16 Thread Boris Samorodov
On Sat, 16 Apr 2011 09:42:38 +0700 Erich Dollansky wrote:
 On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote:

  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

 this will never work.

Works fine. Maybe not the best solution for everyone (I use it for
diskless stations).

-- 
WBR, bsam
___
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-16 Thread Erik Trulsson
On Sat, Apr 16, 2011 at 09:42:38AM +0700, Erich Dollansky wrote:
 Hi,
 
 did you really get no other answer?
 
 On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote:
  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
 
 this will never work.

Yes, it will.  'snd_driver' is a meta-module which depends on, and
therefore will pull in, all the available sound drivers.

(If you don't believe me try checking the output of 'kldstat' before
and after doing 'kldload snd_driver')



-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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-16 Thread Erich Dollansky
Hi,

On Saturday 16 April 2011 14:42:43 Erik Trulsson wrote:
 On Sat, Apr 16, 2011 at 09:42:38AM +0700, Erich Dollansky wrote:
   
   # kldload snd_driver
  
  this will never work.
 
 Yes, it will.  'snd_driver' is a meta-module which depends on, and
 therefore will pull in, all the available sound drivers.
 
I have read meanwhile that most hardware is meanwhile supported by this. I 
tried it only a long time and got stuck then with loading directly the driver I 
need without ever bothering about the other options.

Anyway, the original poster seems to have the same problem I have had with my 
hardware those days.

Erich
___
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


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

2011-04-15 Thread Erich Dollansky
Hi,

did you really get no other answer?

On Friday 15 April 2011 22:11:05 Zhang Weiwu, Beijing wrote:
 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

this will never work.

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

kldload  snd_hda

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

Erich
 
 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
 
 
___
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


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

2011-04-15 Thread Erich Dollansky
Hi,

On Saturday 16 April 2011 11:16:39 Zhang Weiwu, Beijing wrote:
 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
 
the handbook also says:

'Other available loadable sound modules are listed in 
/boot/defaults/loader.conf.'

I simply tried some out. If I remember right, mine was also not listed to work 
but worked with the driver I used as an example for you.

Do not forget, the handbook is not necessarily written by the same person as 
the program.

Erich
___
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