LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 07-05-2012, 04:09 PM   #1
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,405
Blog Entries: 15

Rep: Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952
Question PC-BSD OSS installation problem


I've tried using the ports release of OpenSound to get my CMI8788 (C-Media OxygenHD) sound card working but during boot the system has a panic and reboots endlessly, or attempting to manually start the oss daemon causes the system to freeze solid.

I tried the binary release from 4Front for FreeBSD 9 but the driver load but there is no sound regardless of what I do.

Any suggestions or should I just wait and see if submitting an inquiry to support@lists.pcbsd.org can get the CMI8788 driver added to the native BSD sound server in a future release?
 
Old 07-06-2012, 08:55 AM   #2
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,191

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
FreeBSD 9.0 won't identify your hardware? I've had good luck with 9.0.

FreeBSD sound set-up

Maybe try this command?

Code:
# kldload snd_driver
 
Old 07-06-2012, 02:50 PM   #3
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,405
Blog Entries: 15

Original Poster
Rep: Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952
It won't identify it through the native BSD sound drivers because it's not yet included for support so I have had to fall back to the OSSv4 driver.

Here in lies the first problem. OSSv4 Open Source driver will compile fine and build correctly without errors. It's however when I attempt to load the module and start the sound daemon that the system freezes up requiring a hard reset and if I attempt to autoload the module at startup the system gets a failure panic and auto-reboots.

I have attempted the binary distributed driver and it will more or less do the same thing.

The card I have is a C-Media 8788 Oxygen HD based/rebranded ASUS Xonar DX.

To be honest I have never had luck getting a driver from OpenSound working at all on any system I have ever used when I have used Linux or BSD based systems.

I followed these EXACT instructions from 4Front to get the binary driver working but it would not produce any sound.
  1. Login as root or superuser
  2. cd /usr/src/sys/i386/conf (for 32bit CPUS) or /usr/src/sys/amd64/conf (for 64bit CPUs)
  3. Edit the file GENERIC
  4. Comment out all the lines under Sound Support as follows:

    Code:
    # Sound Support
    #device sound 		# Generic sound driver (required)
    #device	snd_es137x	# Ensoniq AUdioPCI ES137x
    #device	snd_hda		# Intel High Definition Audio
    #device	snd_ich		# Intel, Nvidia and other ICH AC'97 audio
    #device	snd_uaudio	# USB Audio
    #device	snd_via8233	# VIA VT823x Audio
  5. type: config GENERIC
  6. type: cd ../compile/GENERIC
  7. type: make cleandepend && make depend
  8. type: make; make install
  9. type: reboot to reboot your new kernel

I even attempted this for the Free driver from ports:
  1. Some of the sound cards driver module are not available in the kernel, it will need to use the OSS (Open Sound System driver) ports in /usr/ports/audio/oss. Install it by :
    Code:
    cd /usr/ports/audio/oss
    make install clean
  2. Insert the line :
    Code:
    "oss_enable="YES"
    into /etc/rc.conf
  3. Start the OSS service by :
    Code:
    /usr/local/etc/rc.d/oss start
  4. To check whether the device driver for the sound card works or not, use
    Code:
    cat /dev/sndstat
  5. Cross your finger and hope that the sound card driver module from OSS works.

The problem with Method 2 is when I get to Step 4, the system locks up and has to be manually reset and powered down to reboot, and if I add the rc.conf line, the system goes into an infinite reboot loop unless I select the Windows OS I use on the system as well.

I don't know what I'm doing wrong on my end but this is getting very frustrating.
 
Old 07-07-2012, 10:10 AM   #4
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,191

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Bummer. I'm guessing that other BSDs also fail to enable sound on your box? I've had good luck with OpenBSD.
 
Old 07-07-2012, 06:46 PM   #5
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,405
Blog Entries: 15

Original Poster
Rep: Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952
I think I'll wait. I emailed the PCBSD support for a support request so hopefully they'll answer.

I'll leave the topic open for now as unsolved until I can find a solution that works.
 
Old 07-07-2012, 09:57 PM   #6
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,191

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Best wishes, man!
 
Old 08-29-2012, 08:20 PM   #7
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0
Posts: 3,405
Blog Entries: 15

Original Poster
Rep: Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952Reputation: 952
Update... I've started an upgrade to Free/PC-BSD 9.1 RC1 to test the system and see if support has been added yet. I've been using the mailing list for help and assistance "freebsd-support" so I'm hoping the problem is getting worked on.

I also was finally able to generate this sound card detection log output:

none3@pci0:5:4:0: class=0x040100 card=0x82751043 chip=0x878813f6 rev=0x00 hdr=0x00 vendor = 'C-Media Electronics Inc' device = 'CMI8788 [Oxygen HD Audio]' class = multimedia subclass = audio

Last edited by ReaperX7; 08-29-2012 at 10:06 PM.
 
Old 09-08-2012, 07:28 AM   #8
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
Look at the forum www.opensound.com/forum. I've got much help recently from the moderators.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: PC BSD 8.0 release made BSD much easier for desktop use | Installation and scre LXer Syndicated Linux News 0 02-26-2010 08:30 AM
OSS modules: Needed or not in a standard Slack 13 installation Olaus Slackware 2 10-15-2009 04:53 AM
bsd installation Ammad *BSD 4 03-18-2007 10:12 PM
Issue with snd-pcm-oss and snd-mixer-oss; OSS load failed EnigmaX Slackware 3 07-26-2004 03:26 PM
Starting OSS sound at Boot in Slack 8.1 or BSD shepper Slackware 0 07-09-2003 12:20 PM


All times are GMT -5. The time now is 01:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration