BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old November 15th, 2004, 05:42 PM
c0ldshadow c0ldshadow is offline
register char *c0ldMember;
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Posts: 510 c0ldshadow User rank is Private First Class (20 - 50 Reputation Level)c0ldshadow User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 Days 4 m 4 sec
Reputation Power: 5
Question sound doesn't work; using openbsd 3.6 & ac97 sound; do i need drivers?

yo, im having some trouble getting sound to work on my comp and was wondering if anyone could help out a bit. i have a sony vaio laptop. (pcg-grt-100p) and ac97 sound. after googling around for several hours today no luck finding drivers for my sound system. i assume i need drivers as my sound simply doesnt work. any advice would be greatly appreciated. if you need more info about my system let me kno and i will gather it. thanks, --avery
__________________
Laser Pointer Forums

Reply With Quote
  #2  
Old November 16th, 2004, 02:44 PM
c0ldshadow c0ldshadow is offline
register char *c0ldMember;
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Posts: 510 c0ldshadow User rank is Private First Class (20 - 50 Reputation Level)c0ldshadow User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 Days 4 m 4 sec
Reputation Power: 5
here is some additional information.. hope it is helpful to solve this problem of the sound not working. peace, --avery

dmesg
PHP Code:
 OpenBSD 3.6 (GENERIC#59: Fri Sep 17 12:32:57 MDT 2004
    
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0
Mobile Intel(RPentium(RM CPU 2.20GHz ("GenuineIntel" 686-class) 1.21 GHz
cpu0
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE  2,SS,HTT,TM,SBF,CNXT-ID
real mem  
534290432 (521768K)
avail mem 480616448 (469352K)
using 4278 buffers containing 26816512 bytes (26188Kof memory
mainbus0 
(root)
bios0 at mainbus0AT/286+(7bBIOSdate 05/12/03BIOS32 rev0xfd811
pcibios0 at bios0
rev 2.1 0xfd810/0x7f0
pcibios0
PCI IRQ Routing Table rev 1.0 0xfdf20/192 (10 entries)
pcibios0PCI Interrupt Router at 000:02:("SIS 85C503 System" rev 0x00)
pcibios0PCI bus #3 is the last bus
bios0ROM list: 0xc0000/0xfc00 0xdc000/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0
configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function "SIS 648 PCI" rev 0x03
ppb0 at pci0 dev 1 
function "SIS 86C202 VGA" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 
function 0 vendor "Nvidia"unknown product 0x31a rev 0xa1
wsdisplay0 at vga1
console (80x25vt100 emulation)
wsdisplay0screen 1-5 added (80x25vt100 emulation)
pcib0 at pci0 dev 2 function "SIS 85C503 System" rev 0x14
vendor 
"SIS"unknown product 0x16 (class serial bus subclass SMBusrev 0x00at pci0 dev 2 function 1 not configured
pciide0 at pci0 dev 2 
function "SIS 5513 EIDE" rev 0x00648DMAchannel 0 wired to compatibilitychannel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0
: <IC25N080ATMR04-0>
wd016-sector PIOLBA4876319MB156301488 sectors
wd0
(pciide0:0:0): using PIO mode 4Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0
2 targets
cd0 at scsibus0 targ 0 lun 0
: <SONYDVD RW DW-U50A1.5bSCSI0 5/cdrom removable
cd0
(pciide0:1:0): using PIO mode 4Ultra-DMA mode 2
"SIS 7013 Modem" rev 0xa0 at pci0 dev 2 function 6 not configured
auich0 at pci0 dev 2 
function "SIS 7012 AC97" rev 0xa0irq 9SiS7012 AC97
ac97
codec id 0x83847650 (SigmaTel <50>)
ac97codec features headphone20 bit DAC20 bit ADCSigmaTel 3D
audio0 at auich0
ohci0 at pci0 dev 3 
function "SIS 5597/5598 USB" rev 0x0firq 9version 1.0legacy support
ohci0
SMM does not respondresetting
usb0 at ohci0
USB revision 1.0
uhub0 at usb0
uhub0
SIS OHCI root hub, class 9/0rev 1.00/1.00addr 1
uhub0
2 ports with 2 removableself powered
ohci1 at pci0 dev 3 
function "SIS 5597/5598 USB" rev 0x0firq 11version 1.0legacy support
ohci1
SMM does not respondresetting
usb1 at ohci1
USB revision 1.0
uhub1 at usb1
uhub1
SIS OHCI root hub, class 9/0rev 1.00/1.00addr 1
uhub1
2 ports with 2 removableself powered
ohci2 at pci0 dev 3 
function "SIS 5597/5598 USB" rev 0x0fpci_intr_mapno mapping for pin C
couldn't map interrupt
ehci0 at pci0 dev 3 function 3 "SIS 7002 USB" rev 0x00pci_intr_map: no mapping for pin D
: couldn'
t map interrupt
sis0 at pci0 dev 4 
function "SIS 900 10/100BaseTX" rev 0x90irq 11address 08:00:46:aa:70:6a
ukphy0 at sis0 phy 1
Generic IEEE 802.3u media interface
ukphy0OUI 0x000020model 0x0020rev1
cbb0 at pci0 dev 10 
function "Ricoh 5C476 CardBus" rev 0xaapci_intr_mapbad interrupt line 128
couldn't map interrupt
cbb1 at pci0 dev 10 function 1 "Ricoh 5C476 CardBus" rev 0xaapci_intr_map: bad interrupt line 128
: couldn'
t map interrupt
"Ricoh 5C552 Firewire" rev 0x02 at pci0 dev 10 function 2 not configured
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60
/5
pckbd0 at pckbc0 
(kbd slot)
pckbc0using irq 1 for kbd slot
wskbd0 at pckbd0
console keyboardusing wsdisplay0
pms0 at pckbc0 
(aux slot)
pckbc0using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0
: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378
/4 irq 7
npx0 at isa0 port 0xf0
/16using exception 16
pccom0 at isa0 port 0x3f8
/8 irq 4ns16550a16 byte fifo
biomask ef6d netmask ef6d ttymask ffef
pctr
user-level cycle counter enabled
dkcsum
wd0 matched BIOS disk 80
root on wd0a
rootdev
=0x0 rrootdev=0x300 rawdev=0x302
WARNING
: / was not properly unmounted 


audioctl -a
PHP Code:
 name=SiS7012 AC97
version
=0xa0
config
=auich0
encodings
=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_  be:16*
properties=full_duplex,mmap,independent
full_duplex
=0
fullduplex
=0
blocksize
=384
hiwat
=170
lowat
=127
monitor_gain
=0
mode
=
play.rate=8000
play
.channels=1
play
.precision=8
play
.encoding=mulaw
play
.gain=127
play
.balance=32
play
.port=0x0
play
.avail_ports=0x0
play
.seek=0
play
.samples=0
play
.eof=0
play
.pause=0
play
.error=0
play
.waiting=0
play
.open=0
play
.active=0
play
.buffer_size=65536
record
.rate=8000
record
.channels=1
record
.precision=8
record
.encoding=mulaw
record
.gain=191
record
.balance=32
record
.port=0x1
record
.avail_ports=0x7
record
.seek=0
record
.samples=0
record
.eof=0
record
.pause=0
record
.error=0
record
.waiting=0
record
.open=0
record
.active=0
record
.buffer_size=65536
record
.errors=

Reply With Quote
  #3  
Old November 17th, 2004, 05:00 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 49 m 40 sec
Reputation Power: 797
Your dmesg shows that the system is detecting your card just fine. BTW here's the hardware list for OpenBSD on i386 hardware.
http://www.openbsd.org/i386.html
As you can see by the Sound Devices list, SiS 7012 is supported by the auich driver (dmesg shows an auich0 device).

Question is, what are you trying to do to play the sound on OpenBSD? Have you installed an mp3 player or what?
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #4  
Old November 17th, 2004, 05:11 PM
c0ldshadow c0ldshadow is offline
register char *c0ldMember;
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Posts: 510 c0ldshadow User rank is Private First Class (20 - 50 Reputation Level)c0ldshadow User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 Days 4 m 4 sec
Reputation Power: 5
hey,thanks for the reply scorpion.. i was trying to play a SNES rom with zsnes and i didnt hear any sound.

additionally this is what showed in the xterm window (note i typed this by hand, cant figure out how to copy paste from xterm).

PHP Code:
 auich0measured ac97 link rate at 48001 Hzwill use 48000
SDL
Audio timeout buggy audio driver? (disabled)
audioBad file descriptor 


i will download a package to test an mp3 next. what program would you recommend?

thanks again for your time, --avery

Reply With Quote
  #5  
Old November 17th, 2004, 05:34 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 49 m 40 sec
Reputation Power: 797
mpg123 might be a good one to try out. It is available via the ports, so you can try installing from there. Alternatively, you could use pkg_add.

If that works but your nintendo emulator doesn't, I suggest you get in touch with the port maintainer:
http://www.openbsd.org/3.6_packages...6.tgz-long.html
Of course, I'm assuming you installed this using pkg_add. If you didn't, try installing it with pkg_add and see what happens.

Reply With Quote
  #6  
Old November 17th, 2004, 06:03 PM
c0ldshadow c0ldshadow is offline
register char *c0ldMember;
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Posts: 510 c0ldshadow User rank is Private First Class (20 - 50 Reputation Level)c0ldshadow User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 Days 4 m 4 sec
Reputation Power: 5
hey, i downloaded the package of mpg123 and did pkg_add and installed it. no luck playing an mp3. i downloaded the no boundaries mp3 from http://www.angelo.com, the fastest guitarist in the world.

here is the output i get when i do mpg123 No_Boundaries.mp3

PHP Code:
 Playing MPEG stream from No_Boundaries.mp3 ...
Junk at the beginning 49443303
MPEG 1.0 layer III
128 kbit/s44100 Hz joint-stereo 


it justs sits there at this point but i hear no sound.

what should i do next? thanks, --avery

Reply With Quote
  #7  
Old November 18th, 2004, 12:25 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 49 m 40 sec
Reputation Power: 797
Try using mixerctl and see if you need to jack up the volume. Also, try using the mpg123 -a /dev/audio0 filename.mp3 to see if it is going to audio0

Michael Angelo huh? Now that's a name I haven't heard in a while. I'll confess I owned a couple of Nitro albums -- that's one hair band I'll be happy to confess owning records of any time . Always loved the work he did on the quad guitar. 20 Questions with Michael Angelo

Last edited by Scorpions4ever : November 18th, 2004 at 12:28 AM.

Reply With Quote
  #8  
Old November 18th, 2004, 03:26 AM
c0ldshadow c0ldshadow is offline
register char *c0ldMember;
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Posts: 510 c0ldshadow User rank is Private First Class (20 - 50 Reputation Level)c0ldshadow User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 Days 4 m 4 sec
Reputation Power: 5
hey scorpion,thanks for the continued support. yeah michael angelo is awesome; one of my favorite guitarist.

i am having trouble getting mixerctl to work. when i run mixerctl it says:

PHP Code:
 mixerctl: /dev/mixerOperation not supported by device 


i read the man page for mixerctl and tried mixerctl -a --v and that yields the same results.

please advise what to try next, --avery

Reply With Quote
  #9  
Old November 18th, 2004, 02:14 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)