DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th July 2009
maxrussell maxrussell is offline
Package Pilot
 
Join Date: May 2008
Location: Montrose, Angus
Posts: 181
Default Playing a CD.

Okay. I've got KScD loocking at acd0. When I stick a music disc in, it starts playing. hooray.

Except, there is no sound...

the output of mixer is this:
Code:
max@~: mixer
Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  75:75
Mixer mix      is currently set to   0:0
Mixer rec      is currently set to   0:0
Recording source: mic
sndstat and pciconf are like this:

Code:
max@~: cat /dev/sndstat
FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
Installed devices:
pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0 kld snd_hda [MPSAFE] (1p:2v/1r:1v channels duplex default)


max@~: pciconf -lv
none0@pci0:0:0:0:       class=0x050000 card=0x02f11849 chip=0x02f110de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'C51 Host Bridge'
    class      = memory
    subclass   = RAM
none1@pci0:0:0:1:       class=0x050000 card=0x02fa1849 chip=0x02fa10de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'C51 Memory Controller 0'
    class      = memory
    subclass   = RAM
none2@pci0:0:0:2:       class=0x050000 card=0x02fe1849 chip=0x02fe10de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'C51 Memory Controller 1'
    class      = memory
    subclass   = RAM
none3@pci0:0:0:3:       class=0x050000 card=0x02f81849 chip=0x02f810de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'C51 Memory Controller 5'
    class      = memory
    subclass   = RAM
none4@pci0:0:0:4:       class=0x050000 card=0x02f91849 chip=0x02f910de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'C51 Memory Controller 4'
    class      = memory
    subclass   = RAM
none5@pci0:0:0:5:       class=0x050000 card=0x02ff1849 chip=0x02ff10de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'C51 Host Bridge'
    class      = memory
    subclass   = RAM
none6@pci0:0:0:6:       class=0x050000 card=0x027f1849 chip=0x027f10de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'C51 Memory Controller 3'
    class      = memory
    subclass   = RAM
none7@pci0:0:0:7:       class=0x050000 card=0x027e1849 chip=0x027e10de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'C51 Memory Controller 2'
    class      = memory
    subclass   = RAM
pcib1@pci0:0:3:0:       class=0x060400 card=0x000010de chip=0x02fd10de rev=0xa1 hdr=0x01
    vendor     = 'Nvidia Corp'
    device     = 'C51 PCIe Bridge'
    class      = bridge
    subclass   = PCI-PCI
pcib2@pci0:0:4:0:       class=0x060400 card=0x000010de chip=0x02fb10de rev=0xa1 hdr=0x01
    vendor     = 'Nvidia Corp'
    device     = 'C51 PCIe Bridge'
    class      = bridge
    subclass   = PCI-PCI
none8@pci0:0:9:0:       class=0x050000 card=0x02701849 chip=0x027010de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 Host Bridge'
    class      = memory
    subclass   = RAM
isab0@pci0:0:10:0:      class=0x060100 card=0x02611849 chip=0x026110de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 LPC Bridge'
    class      = bridge
    subclass   = PCI-ISA
none9@pci0:0:10:1:      class=0x0c0500 card=0x02641849 chip=0x026410de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'NVIDIA SMB Bus Controller NVIDIA nForce PCI System Management'
    class      = serial bus
    subclass   = SMBus
ohci0@pci0:0:11:0:      class=0x0c0310 card=0x026d1849 chip=0x026d10de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 USB Controller'
    class      = serial bus
    subclass   = USB
ehci0@pci0:0:11:1:      class=0x0c0320 card=0x026e1849 chip=0x026e10de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 USB Controller'
    class      = serial bus
    subclass   = USB
atapci0@pci0:0:13:0:    class=0x01018a card=0x02651849 chip=0x026510de rev=0xa1 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 Parallel ATA Controller'
    class      = mass storage
    subclass   = ATA
atapci1@pci0:0:14:0:    class=0x010185 card=0x02661849 chip=0x026610de rev=0xa1 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 Serial ATA Controller'
    class      = mass storage
    subclass   = ATA
pcib3@pci0:0:16:0:      class=0x060401 card=0x00000000 chip=0x026f10de rev=0xa2 hdr=0x01
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
hdac0@pci0:0:16:1:      class=0x040300 card=0x08881849 chip=0x026c10de rev=0xa2 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 High Definition Audio'
    class      = multimedia
    subclass   = HDA
nfe0@pci0:0:20:0:       class=0x068000 card=0x02691849 chip=0x026910de rev=0xa1 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'MCP51 Network Bus Enumerator'
    class      = bridge
hostb0@pci0:0:24:0:     class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = '(K8) Athlon 64/Opteron HyperTransport Technology Configuration'
    class      = bridge
    subclass   = HOST-PCI
hostb1@pci0:0:24:1:     class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = '(K8) Athlon 64/Opteron Address Map'
    class      = bridge
    subclass   = HOST-PCI
hostb2@pci0:0:24:2:     class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = '(K8) Athlon 64/Opteron DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
hostb3@pci0:0:24:3:     class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
    vendor     = 'Advanced Micro Devices (AMD)'
    device     = '(K8) Athlon 64/Opteron Miscellaneous Control'
    class      = bridge
    subclass   = HOST-PCI
vgapci0@pci0:2:0:0:     class=0x030000 card=0x00000000 chip=0x040210de rev=0xa1 hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'GeForce 8600 GT'
    class      = display
    subclass   = VGA
Reply With Quote
  #2   (View Single Post)  
Old 22nd July 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I also had the same problem some time ago with the hda driver, everything worked fine on Windows, but with FreeBSD the audio CD didn't work. cdcontrol indicated everything was ok and it was playing a file, but no sound. Playing MP3's went ok.

I never investigated further since I just needed to run a quick test, but it may indicate this is a problem with the hda driver or a generic FreeBSD issue.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 22nd July 2009
adamk adamk is offline
Spam Deminer
 
Join Date: May 2008
Posts: 250
Default

Do you have an audio connector between the CD drive and the sound card (or the sound chip on the motherboard)? Most likely windows does digital audio extraction, rather than piping it directly to the cd line on the sound card, which is what most CD players on FreeBSD/linux currently do.

xmms had an option to do digital audio extraction under linux a few years ago, but I'm not sure if it ever worked properly under FreeBSD.

Adam
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
.wav file playing very fast on unix, fine on win gosha General software and network 16 2nd June 2009 02:37 PM
OSS , playing a sound via command line.. scotsman FreeBSD General 7 29th August 2008 08:01 PM
playing songs in text mode rex FreeBSD General 4 27th August 2008 08:48 PM
whats playing on your music player? ephemera Off-Topic 22 10th June 2008 06:57 PM
Playing DVDs drhowarddrfine FreeBSD Ports and Packages 9 30th May 2008 02:46 PM


All times are GMT. The time now is 07:35 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick