Results 1 to 7 of 7

Thread: Sound in FreeBSD

Hybrid View

  1. #1

    Sound in FreeBSD

    Hola. I'm currently using FreeBSD 4.3. I put my old Yamaha card in my computer so I could hopefully get some sound working. (I don't think my AC'97 card is supported.) I'm vigorously trying to compile a kernel with sound support but it won't compile. The "make depend" part runs smoothly. Then a while into "make" it says:

    linking kernel
    isa_compat.o(.data+0x4): undefined reference to `opldriver'

    And I've tried just about every combination of these three lines for sound in my configuration file:

    device snd
    device pcm
    device opl0 at isa? port 0x388

    Am I not putting in something that needs to be put in? It seems to me like it would only need the last line but I tried the other two to try to get it working. Someone let me know where my feux pas is so I can listen to mp3's in FreeBSD. Thanks.

  2. #2

    Re: Sound in FreeBSD

    Ok, I realized something soon after posting. I had forgotten to run config each time I changed kernel options. I now have a functioning kernel. I don't have sound yet though. I compiled opl0, snd, and uart0 (for MIDI) into the kernel. Whenever I tried to play a wav with xmms, it said it couldn't open the device. Whenever I tried to cat the wav to /dev/dsp, it said the device is not configured. My card is some cheap card with a Yamaha chipset on it, and it definately has either OPL-2 or OPL-3. Cound the port be specified wrong in the kernel configuration? If so, can I just take the port part out and let it autodetect or must it be in there? I really have no way of checking the device's port other than taking it out of my computer and putting it in my mom's which I would prefer not to do. Throw me some ideas.

  3. #3

    Re: Sound in FreeBSD

    If your sure it is supported (which it probably is) and your kernel has the devices there shouldn't be any problem. I'd consult the FreeBSD mailing list.

  4. #4

    Re: Sound in FreeBSD

    Oh I'm sure it should be supported. In LINT, it says that opl is for any Yamaha OPL-2, OPL-3, and some other cards. My device driver cd sleeve for the card specifically says "OPL3 FM Synthesizer integrated". I'm not sure about the MIDI one I chose but it was the only generic MIDI driver. I think I'll take your advice and ask on the mailing list. (Oh my god, they're playing "Under Pressure" on the radio. If you don't know, that's the song that Vanilla Ice ripped off for Ice Ice Baby.)

  5. #5

    Re: Sound in FreeBSD

    I managed to get it working! I not only have sound, but I have ext2 support too, so I'm listening to my mp3's on my Linux drive (the ones that didn't corrupt from the lockups).

  6. #6
    Senior Member
    Join Date
    May 2001
    Posts
    411

    Re: Sound in FreeBSD

    Glad you got it working. I found that getting my old Yamaha ISA sound card to work under FreeBSD was easier than making it work in Linux. That might be a rare exception in hardware support between FreeBSD and Linux, though.

  7. #7

    Re: Sound in FreeBSD

    I've never tried to get this particular sound card to work in Linux so I wouldn't know, but I can say that my USB optical trackball was easier to get working in FreeBSD.

Similar Threads

  1. FreeBSD
    By 10Dedfish in forum BSD
    Replies: 3
    Last Post: 12-04-2006, 03:05 AM
  2. nForce sound card in FreeBSD
    By gmoreno in forum BSD
    Replies: 2
    Last Post: 02-25-2005, 03:58 AM
  3. Replies: 18
    Last Post: 08-07-2002, 12:43 PM
  4. FreeBSD 4.5 Out
    By Ashcrow in forum BSD
    Replies: 12
    Last Post: 02-04-2002, 05:44 PM
  5. For those who have FreeBSD
    By in forum BSD
    Replies: 12
    Last Post: 12-24-2001, 05:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •