Ali M5451 - no speaker audio; headphones ok

OSS specific Solaris discussion (x86/SPARC)

Moderators: hannu, dev, cesium, kodachi

Ali M5451 - no speaker audio; headphones ok

Postby geoff » Sun Jan 21, 2007 7:33 pm

I installed v4.0rc8-build 190 (initially tried 4.0rc2-build170 and had the same problem) and am not getting sound from the laptop's speakers, but audio plays correctly through the headphone jack. My gut reaction is that there should be a configuration option that needs to be set in /platform/i86pc/kernel/drv/trident.conf , but I am not familiar enough with OSS to understand if the trident driver has such options. Attempts to change options in the Solaris audioctl mixer made no difference. Attempts to change options in the OSS mixer made no difference.

The audio chipset is the ALi M5451.

> ossinfo
Version info: OSS 4.0rc8 (build 190/200701180014) (0x00040001)

Number of audio devices: 2
Number of audio engines: 8
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: ossaudios0 SADA compatibility layer
1: trident0 ALI M5451
2: ossusb0 USB audio/MIDI device
3: vmix0 OSS transparent virtual support
4: oss0 OSS core services

MIDI devices (/dev/midi*)

Mixer devices (/dev/mixer*)
0: ALI M5451 (AD1981B) (Mixer 0 of device object 1)

Audio devices
/dev/oss/trident0/pcm0: ALI M5451 (rev 2) (device index 0)
/dev/oss/trident0/pcm1: ALI M5451 (rev 2) (device index 1)



> ossmix
Selected mixer 0/
Known controls are:
vol <both/leftvol>[:<rightvol>] (currently 75:75)
vol.rec ON|OFF (currently OFF)
pcm <both/leftvol>[:<rightvol>] (currently 75:75)
speaker <monovol> (currently 69)
line <both/leftvol>[:<rightvol>] (currently 75:75)
line.rec ON|OFF (currently ON)
mic <monovol> (currently 0)
mic.rec ON|OFF (currently OFF)
cd <both/leftvol>[:<rightvol>] (currently 75:75)
cd.rec ON|OFF (currently OFF)
igain <both/leftvol>[:<rightvol>] (currently 75:75)
aux1 <both/leftvol>[:<rightvol>] (currently 76:76)
aux1.rec ON|OFF (currently OFF)
phone <both/leftvol>[:<rightvol>] (currently 91:91)
phone.rec ON|OFF (currently OFF)
mono <monovol> (currently 75)
mono.rec ON|OFF (currently OFF)
video <both/leftvol>[:<rightvol>] (currently 76:76)
video.rec ON|OFF (currently OFF)
spdout.enable ON|OFF (currently OFF)
spdout.adc/dac ON|OFF (currently OFF)
spdout.pro <Consumer|Professional> (currently Consumer)
spdout.audio <AUDIO|DATA> (currently AUDIO)
spdout.copy ON|OFF (currently OFF)
spdout.pre-emph ON|OFF (currently OFF)
spdout.rate <48000|44100|32000> (currently 48000)
spdout.vbit ON|OFF (currently OFF)


relevant output from ptrconf -v :
pci161f,2036, instance #0
System software properties:
name='trident_mpu_ioaddr' type=int items=1
value=00000000
name='ddi-no-autodetach' type=int items=1
value=00000001
name='interrupt-priorities' type=int items=1
value=00000009
Hardware properties:
name='assigned-addresses' type=int items=10
value=81004010.00000000.00008400.00000000.00000100.82004014.00000000.d0008000.00000000.00001000
name='reg' type=int items=15
value=00004000.00000000.00000000.00000000.00000000.01004010.00000000.00000000.00000000.00000100.02004014.00000000.00000000.00000000.00001000 name='compatible' type=string items=7
value='pci10b9,5451.161f.2036.2' + 'pci10b9,5451.161f.2036' + 'pci161f,2036' + 'pci10b9,5451.2' + 'pci10b9,5451' + 'pciclass,040100' + 'pciclass,0401'
name='model' type=string items=1
value='Audio device'
name='power-consumption' type=int items=2
value=00000001.00000001
name='fast-back-to-back' type=boolean
name='devsel-speed' type=int items=1
value=00000001
name='interrupts' type=int items=1
value=00000001
name='max-latency' type=int items=1
value=00000018
name='min-grant' type=int items=1
value=00000002
name='subsystem-vendor-id' type=int items=1
value=0000161f
name='subsystem-id' type=int items=1
value=00002036
name='unit-address' type=string items=1
value='8'
name='class-code' type=int items=1
value=00040100
name='revision-id' type=int items=1
value=00000002
name='vendor-id' type=int items=1
value=000010b9
name='device-id' type=int items=1
value=00005451
Interrupt Specifications:
Interrupt Priority=0x9 (ipl 9), vector=0xb (11)
Device Minor Nodes:
dev=(10,0)
dev_path=/pci@0,0/pci161f,2036@8:mixer
spectype=chr type=minor
dev_link=/dev/mixer
dev=(10,1)
dev_path=/pci@0,0/pci161f,2036@8:trident0,mix0
spectype=chr type=minor
dev_link=/dev/oss/trident0/mix0
dev=(10,2)
dev_path=/pci@0,0/pci161f,2036@8:trident0,pcm0
spectype=chr type=minor
dev_link=/dev/oss/trident0/pcm0
dev=(10,4)
dev_path=/pci@0,0/pci161f,2036@8:trident0,pcm1
spectype=chr type=minor
dev_link=/dev/oss/trident0/pcm1


> cat /platform/i86pc/kernel/drv/trident.conf
# Open Sound System configuration file
# Please consult the documentation before changing
# interrupt-priorities
interrupt-priorities=9 ddi-no-autodetach=1

#
# Trident MPU 401 I/O Address
# Values: 0x300, 0x330 Default: 0x330
#
#
trident_mpu_ioaddr=0
;


Any advice to help troubleshoot this will be appreciated.

Geoff
geoff
New Member
 
Posts: 1
Joined: Sun Jan 21, 2007 6:47 pm

Return to Solaris

Who is online

Users browsing this forum: No registered users and 1 guest