Reply
 
Thread Tools Display Modes
  #11  
Old 09-22-2010, 01:11 AM
carlosalvet carlosalvet is offline
Junior Member
 
Join Date: Sep 2010
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default no success
well i had
Code:
snd_hda_load="YES"
activated yet.

and erase all hints before wrote and added:
Code:
hint.hdac.0.cad0.nid20.config="as=1 seq=0 device = Line-out"
hint.hdac.0.cad0.nid21.config="as=1 seq=2 device = Line-out"
hint.hdac.0.cad0.nid22.config="as=1 seq=1 device = Line-out"
hint.hdac.0.cad0.nid23.config="as=1 seq=4 device = Line-out"
in difference with before, It don't throw error messages, device not found or something like that.

I did a prove with phonon and with amarok and still sounds 2.1 audio channels the difference is without error messages, jeje.

it can be somthing with the mixer or something like that, the volume is mute or something, how can see the volume of the mixer in new channels?

the mixer shows:

Code:
[XXXXX@pcbsd-2342] /home/carlos# mixer
Mixer vol      is currently set to 100:100
Mixer pcm      is currently set to  75:75
Mixer speaker  is currently set to  75:75
Mixer line     is currently set to 100:100
Mixer mic      is currently set to  40:40
Mixer mix      is currently set to  68:68
Mixer rec      is currently set to  75:75
Mixer igain    is currently set to  73:73
but i can see the new channels

the tracing association would have relationship?

thanks before hand

Last edited by carlosalvet; 09-22-2010 at 01:16 AM.
Reply With Quote
  #12  
Old 09-22-2010, 08:10 PM
Fatmice's Avatar
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 888
Thanks: 0
Thanked 1 Time in 1 Post
Default
By default, nid 20,21,22,23 is already as(0). You should leave them as is.
Code:
hdac0: Association 0 (1) out: 
hdac0: Pin nid=20 seq=0 
hdac0: Pin nid=22 seq=1 
hdac0: Pin nid=21 seq=2 
hdac0: Pin nid=23 seq=4
Again, you shouldn't really need to mess with device.hints unless you want to swap the purpose of each of your nid.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
Reply With Quote
  #13  
Old 09-22-2010, 10:13 PM
carlosalvet carlosalvet is offline
Junior Member
 
Join Date: Sep 2010
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default excuse me
can I configure the hdac0 with out the device.hints? are there another way?

Excuse me if I understand at first, i am Mexican and my english is not very good.

thanks before hand!
Reply With Quote
  #14  
Old 09-23-2010, 12:06 AM
Fatmice's Avatar
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 888
Thanks: 0
Thanked 1 Time in 1 Post
Default
By default yes. You do not need to mess with device.hints. Comment out those lines in device.hints and see first if it work.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
Reply With Quote
  #15  
Old 09-23-2010, 01:52 AM
carlosalvet carlosalvet is offline
Junior Member
 
Join Date: Sep 2010
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default a little better
but that the lines are recognized by the kernel need to be without comments and reboot, or not?

I use the same configuration in hint.devices sorry, but with these added lines in /etc/sysctl:
Code:
dev.pcm.0.play.vchanformat=s16le:7.1
the sound device is 7.1 channels, just my sound speakers has 5.1.

and the better thing is that sound the lfe channel but the rear speakers, just front speakers, subwoofer and lfe, but with mp3 just front speakers, the difference is in OS into sound and out sound, it sounds with the 4 channels, in mp3 sound just 3 channels.


the questions is what about the other 2 channels, rear speakers? and what about the mp3? why intro sound is in 4 channel and mp3 just in three?

I was looking for and found this


Code:
http://forums.freebsd.org/archive/index.php/t-10746.html
at last caesius says something about this. I suppose it is the problem, but i am not sure.

Last edited by carlosalvet; 09-23-2010 at 01:58 AM.
Reply With Quote
  #16  
Old 09-23-2010, 02:51 AM
Fatmice's Avatar
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 888
Thanks: 0
Thanked 1 Time in 1 Post
Default
If you add lines to /etc/sysctl.conf then you need to reboot to take effect.

If you want to tweak without reboot, then
Code:
sysctl dev.pcm.0.play.vchanformat=s16le:7.1
All changes to /etc/device.hints must reboot to take effect.

As for getting 5.1 sound, you need to be playing a 5.1 encoded media. Not all mp3 are like that.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|

Last edited by Fatmice; 09-23-2010 at 06:45 AM.
Reply With Quote
  #17  
Old 09-23-2010, 05:30 AM
carlosalvet carlosalvet is offline
Junior Member
 
Join Date: Sep 2010
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default and is dymacally or instantly the configuration?
when i use the sentence:
Code:
sysctl dev.pcm.0.play.vchanformat=s16le:7.1
are they take effect immediatly?

and are there a prefix to alter device.hint like sysclt on terminal?

the change in sysctl the speakers sound perfect with a 5.1 surround tester!!. But just with KMPlayer and dragon player crash in rear speakers.

then play a DVD and without effect 2.1 output. again! so strange.

thanks for the help!

Last edited by carlosalvet; 09-23-2010 at 06:26 AM.
Reply With Quote
  #18  
Old 09-23-2010, 06:44 AM
Fatmice's Avatar
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 888
Thanks: 0
Thanked 1 Time in 1 Post
Default
Tweaks done via the sysctl command take immediate effect so becareful =)

For tweaks to stay through reboot, add them to /etc/sysctl.conf

device.hints is read by loader to present a modification to BIOS values before hardware probing so no, there is no "sysctl" command equivalent.

Essentially, sysctl offers kernel fine tunning without modification to underlying hardware layout. Another analogy is redecorating the house and not tearing up the foundation or woodwork.

Edit: sysctl is a command that you must issue. Do man sysctl for more information.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
Reply With Quote
  #19  
Old 09-23-2010, 07:02 AM
carlosalvet carlosalvet is offline
Junior Member
 
Join Date: Sep 2010
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default success!!!
I play using vlc and works perfect the DVD!!!

thanks for the help!! a little hard and slow and stressing jajja but finally is done!, the mp3 don't sound what i hopped but it's OK! the 5.1 audio output is configured with an appropriate player!.

Thanks for whole the help Fatmice!!

Last edited by carlosalvet; 09-23-2010 at 07:10 AM.
Reply With Quote
  #20  
Old 09-23-2010, 03:47 PM
Fatmice's Avatar
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 888
Thanks: 0
Thanked 1 Time in 1 Post
Default
That's very good to hear. You should post a summary of what you did.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
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


All times are GMT. The time now is 02:53 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.