Intel HDA not working

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: cesium, dev, kodachi, hannu

Intel HDA not working

Postby bbb » Wed Mar 08, 2006 4:50 pm

Trying to get Intel HDA working on FreeBSD 6.1 on IBM z60t laptop. Everything looks fine, except that no sound is heard when running a player or osstest.

/dev/sndstat looks as follows :

OSS/FreeBSD 3.99.4a (C) 4Front Technologies 1996-2006

License serial number: E00000008
**** UNREGISTERED VERSION ****

Drivers: ALL
License will expire after: 06/2006


*** Unregistered version ***

Build: 200603050731
Kernel: FreeBSD 6.1-PRERELEASE #5: Wed Mar 8 13:14:59 EET 2006

Card config:
Intel High Definition Audio (Azalia) controller at 0xa0000000 irq 16

Audio devices:
0: Intel High Definition Audio pcm-front output
1: Intel High Definition Audio pcm-center/LFE output
2: Intel High Definition Audio rec input
3: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
10: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:

Mixers:
0: Intel High Definition Audio AD1981
1: Virtual Mixer

History:
dsp0: pid 48878 cmd 'esd' OUT
dsp0: pid 48878 cmd 'esd' OUT
dsp1: pid 48906 cmd 'mixer' IN OUT
dsp0: pid 48913 cmd 'mixer' IN OUT
dsp2: pid 48914 cmd 'mixer' IN OUT

ossmix says:

Selected mixer 0/
Known controls are:
codec1.connector.green1.functio <pcm-center/LFE|mix2|mic-in|line-in> (currently mix2)
codec1.connector.green2.functio <pcm-center/LFE|mix2|mic-in|line-in> (currently mix2)
codec1.connector.blue.function <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.connector.pink2.function <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.select1 <pcm-center/LFE|mix1|blue|mix2|green1|pink2> (currently pcm-center/LFE)
codec1.select2.src <beep|other> (currently beep)
codec1.select2.vol <monovol> (currently 14)
codec1.select3.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select4.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select5.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select6.src <mix1|blue|mix2|select1|cd|green1|pink2|aux> (currently mix1)
codec1.select6.vol <both/leftvol>[:<rightvol>] (currently 14:14)
codec1.select7.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select8.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select9.vol <both/leftvol>[:<rightvol>] (currently 4:4)
codec1.select10.vol <both/leftvol>[:<rightvol>] (currently 4:4)
codec1.select11.mute ON|OFF (currently OFF)
codec1.select12.mute ON|OFF (currently OFF)


A strange thing with ossmix is that trying to set e.g. codec1.select2.vol to 100 gives something strange :

$ ./ossmix codec1.select1.vol 100
Value of mixer control codec1.select1.vol set to 100
$ ./ossmix
...
codec1.select3.vol <both/leftvol>[:<rightvol>] (currently 4:4)
...


Any hints on how to get the thing working would be greatly appreciated.
bbb
New Member
 
Posts: 4
Joined: Wed Mar 08, 2006 4:31 pm

Re: Intel HDA not working

Postby dev » Wed Mar 08, 2006 5:43 pm

bbb wrote:Trying to get Intel HDA working on FreeBSD 6.1 on IBM z60t laptop. Everything looks fine, except that no sound is heard when running a player or osstest.

/dev/sndstat looks as follows :

OSS/FreeBSD 3.99.4a (C) 4Front Technologies 1996-2006

License serial number: E00000008
**** UNREGISTERED VERSION ****

Drivers: ALL
License will expire after: 06/2006


*** Unregistered version ***

Build: 200603050731
Kernel: FreeBSD 6.1-PRERELEASE #5: Wed Mar 8 13:14:59 EET 2006

Card config:
Intel High Definition Audio (Azalia) controller at 0xa0000000 irq 16

Audio devices:
0: Intel High Definition Audio pcm-front output
1: Intel High Definition Audio pcm-center/LFE output
2: Intel High Definition Audio rec input
3: OSS Virtual Mixer v2.5 Playback CH #0 (GRC3)
4: OSS Virtual Mixer v2.5 Playback CH #1 (GRC3)
5: OSS Virtual Mixer v2.5 Playback CH #2 (GRC3)
6: OSS Virtual Mixer v2.5 Playback CH #3 (GRC3)
7: OSS Virtual Mixer v2.5 Playback CH #4 (GRC3)
8: OSS Virtual Mixer v2.5 Playback CH #5 (GRC3)
9: OSS Virtual Mixer v2.5 Playback CH #6 (GRC3)
10: OSS Virtual Mixer v2.5 Playback CH #7 (GRC3)

Synth devices:
0: OSS Virtual Synth v2.5

Midi devices:

Mixers:
0: Intel High Definition Audio AD1981
1: Virtual Mixer

History:
dsp0: pid 48878 cmd 'esd' OUT
dsp0: pid 48878 cmd 'esd' OUT
dsp1: pid 48906 cmd 'mixer' IN OUT
dsp0: pid 48913 cmd 'mixer' IN OUT
dsp2: pid 48914 cmd 'mixer' IN OUT

ossmix says:

Selected mixer 0/
Known controls are:
codec1.connector.green1.functio <pcm-center/LFE|mix2|mic-in|line-in> (currently mix2)
codec1.connector.green2.functio <pcm-center/LFE|mix2|mic-in|line-in> (currently mix2)
codec1.connector.blue.function <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.connector.pink2.function <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.select1 <pcm-center/LFE|mix1|blue|mix2|green1|pink2> (currently pcm-center/LFE)
codec1.select2.src <beep|other> (currently beep)
codec1.select2.vol <monovol> (currently 14)
codec1.select3.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select4.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select5.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select6.src <mix1|blue|mix2|select1|cd|green1|pink2|aux> (currently mix1)
codec1.select6.vol <both/leftvol>[:<rightvol>] (currently 14:14)
codec1.select7.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select8.vol <both/leftvol>[:<rightvol>] (currently 30:30)
codec1.select9.vol <both/leftvol>[:<rightvol>] (currently 4:4)
codec1.select10.vol <both/leftvol>[:<rightvol>] (currently 4:4)
codec1.select11.mute ON|OFF (currently OFF)
codec1.select12.mute ON|OFF (currently OFF)


A strange thing with ossmix is that trying to set e.g. codec1.select2.vol to 100 gives something strange :

$ ./ossmix codec1.select1.vol 100
Value of mixer control codec1.select1.vol set to 100
$ ./ossmix
...
codec1.select3.vol <both/leftvol>[:<rightvol>] (currently 4:4)
...


Any hints on how to get the thing working would be greatly appreciated.



Try plugging a pair of headphones to see if audio is being routed to those outputs.


Does osstest result in any errors?



regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby bbb » Wed Mar 08, 2006 8:10 pm

Forgot to mention before, but there is no sound with headsets too.

Also, osstest gives no errors.
bbb
New Member
 
Posts: 4
Joined: Wed Mar 08, 2006 4:31 pm

Postby dev » Wed Mar 08, 2006 8:22 pm

bbb wrote:Forgot to mention before, but there is no sound with headsets too.

Also, osstest gives no errors.


I have no such laptop here. So all I can suggest is that you play around with ossxmix and see if one of those settings makes audio come out?. The fact that osstest isn't giving you errors implies that the audio is going to the device correctly. It's just one of the connections that isn't being made.



regards
Dev
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby bbb » Wed Mar 08, 2006 8:30 pm

Well, will try to play around with ossmix. But what I'm really curious about is why ossmix behaves in such a strange way when setting volume (have already mentioned above)

$ ./ossmix codec1.select1.vol 100
Value of mixer control codec1.select1.vol set to 100
$ ./ossmix
...
codec1.select3.vol <both/leftvol>[:<rightvol>] (currently 4:4)
...

It seems to set the volume requested if it is below 30, but if above - some strange values are set ...
bbb
New Member
 
Posts: 4
Joined: Wed Mar 08, 2006 4:31 pm

Postby bbb » Wed Mar 08, 2006 8:38 pm

sorry, in the example with ossmix there is a typo. it was mentioned like

$ ./ossmix codec1.select3.vol 100

select3 is just for example, the same is with any other channel
bbb
New Member
 
Posts: 4
Joined: Wed Mar 08, 2006 4:31 pm

I have

Postby debolaz » Mon Apr 03, 2006 7:59 pm

I have the exact same issue here on the same laptop. It seems that I get a "click" when I run soundon, there's just no audio coming out.

Anyone come up with a solution for this yet?
debolaz
New Member
 
Posts: 4
Joined: Mon Apr 03, 2006 7:57 pm

Re: I have

Postby dev » Mon Apr 03, 2006 8:05 pm

debolaz wrote:I have the exact same issue here on the same laptop. It seems that I get a "click" when I run soundon, there's just no audio coming out.

Anyone come up with a solution for this yet?


Have you checked to see if the audio comes out the headphone port?


regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Re: I have

Postby debolaz » Mon Apr 03, 2006 8:10 pm

dev wrote:Have you checked to see if the audio comes out the headphone port?


Yes, I have. There's no audio there either. This is the output from ossmix:

[root@mantis] /usr/local/lib/oss# bin/ossmix
Selected mixer 0/
Known controls are:
codec1.connector.green1.functio <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.connector.green2.functio <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.connector.blue.function <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.connector.pink2.function <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.select1 <pcm-center/LFE|mix1|blue|mix2|green1|pink2> (currently pcm-center/LFE)
codec1.select2.src <beep|other> (currently beep)
codec1.select2.vol <monovol> (currently 15)
codec1.select3.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select4.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select5.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select6.src <mix1|blue|mix2|select1|cd|green1|pink2|aux> (currently mix1)
codec1.select6.vol <both/leftvol>[:<rightvol>] (currently 15:15)
codec1.select7.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select8.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select9.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select10.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select11.mute ON|OFF (currently OFF)
codec1.select12.mute ON|OFF (currently OFF)
debolaz
New Member
 
Posts: 4
Joined: Mon Apr 03, 2006 7:57 pm

Re: I have

Postby debolaz » Mon Apr 03, 2006 8:45 pm

debolaz wrote:
dev wrote:Have you checked to see if the audio comes out the headphone port?


Yes, I have. There's no audio there either. This is the output from ossmix:

[root@mantis] /usr/local/lib/oss# bin/ossmix
Selected mixer 0/
Known controls are:
codec1.connector.green1.functio <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.connector.green2.functio <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.connector.blue.function <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.connector.pink2.function <pcm-center/LFE|mix2|mic-in|line-in> (currently pcm-center/LFE)
codec1.select1 <pcm-center/LFE|mix1|blue|mix2|green1|pink2> (currently pcm-center/LFE)
codec1.select2.src <beep|other> (currently beep)
codec1.select2.vol <monovol> (currently 15)
codec1.select3.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select4.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select5.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select6.src <mix1|blue|mix2|select1|cd|green1|pink2|aux> (currently mix1)
codec1.select6.vol <both/leftvol>[:<rightvol>] (currently 15:15)
codec1.select7.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select8.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select9.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select10.vol <both/leftvol>[:<rightvol>] (currently 31:31)
codec1.select11.mute ON|OFF (currently OFF)
codec1.select12.mute ON|OFF (currently OFF)


I should add that these controls really makes no sense to me.
debolaz
New Member
 
Posts: 4
Joined: Mon Apr 03, 2006 7:57 pm

Postby 5T4N1 » Tue Apr 04, 2006 7:58 pm

I am facing a slightly different problem with my Acer TravelMate 4672LMi (Intel HDA ESB2).

I do hear sound but only at a very low volume that is almost inaudible.

I have the same strange behaviour of ossmix (ossmixer and ossxmix don't work) and moreover, it does not have any effect to change the volume in e.g. xmms. The mixer utility does not have any devices to set volumes for.
5T4N1
New Member
 
Posts: 2
Joined: Tue Apr 04, 2006 7:47 pm

Postby dev » Tue Apr 04, 2006 9:26 pm

5T4N1 wrote:I am facing a slightly different problem with my Acer TravelMate 4672LMi (Intel HDA ESB2).

I do hear sound but only at a very low volume that is almost inaudible.

I have the same strange behaviour of ossmix (ossmixer and ossxmix don't work) and moreover, it does not have any effect to change the volume in e.g. xmms. The mixer utility does not have any devices to set volumes for.



I know that the ACER travelmate can play audio via the headphone jack. To get ossxmix working just install XMMS and it will install the GTK/GLIB 1.x libs that are used to compile OSSXMIX.


regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby 5T4N1 » Fri Apr 07, 2006 10:56 am

I am currently using the headphone jack (SPDIF) as input for my stereo. The volume is too low at all for the internal speakers.

I do have xmms installed (before oss already), but still, ossxmix is not working.

Besides, does ossxmix offer any new features that ossmixer does not have?
5T4N1
New Member
 
Posts: 2
Joined: Tue Apr 04, 2006 7:47 pm

Is there anybody

Postby debolaz » Sat Apr 08, 2006 2:17 pm

Is there anybody I can talk to about regarding this issue, a developer or something?
debolaz
New Member
 
Posts: 4
Joined: Mon Apr 03, 2006 7:57 pm

Re: Is there anybody

Postby dev » Sun Apr 09, 2006 12:01 am

debolaz wrote:Is there anybody I can talk to about regarding this issue, a developer or something?



we've been working on ICH7 support and for some reason the documentation is not clear on what's going on.



regards
Dev Mazumdar
dev
Developer
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Next

Return to BSD

Who is online

Users browsing this forum: Bing [Bot] and 1 guest