Re: Azalia No Problem but no Audio

2010-12-16 Thread James Hozier
How did you get it working?

 From: Shazaum shaz...@gmail.com
 Subject: Re: Azalia No Problem but no Audio
 To: misc@openbsd.org
 Date: Wednesday, December 15, 2010, 6:17 PM
 Now is Work :-)

 --

 Renato dos Santos
 shazaum.wordpress.com



 On 11 November 2010 22:37, Shazaum shaz...@gmail.com
 wrote:

  I say, I'll re-read the datasheet. (sorry)
 
 
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 11 November 2010 22:35, Shazaum shaz...@gmail.com
 wrote:
 
  ok, I admire your interest in wanting to add value
 to your code (to
  increase the hardware support)
  back to read the datasheet, and try to do
 something to help those who
  use the same hardware that I use.
 
  thank a lot of your attention
 
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 11 November 2010 21:18, Jacob Meuser jake...@sdf.lonestar.org
 wrote:
 
  On Thu, Nov 11, 2010 at 05:16:39PM -0200,
 Shazaum wrote:
   no work.
 
  unless you're willing to send me your machine
 or one like it for keeps,
  I've done all I am willing to do. 
 sorry.  it's just not worth my time
  to try to fix vendor fuckups on machines I
 can't personally test.
 
  
   --
  
   Renato dos Santos
   shazaum.wordpress.com
  
  
  
   On 6 November 2010 20:59, Jacob Meuser
 jake...@sdf.lonestar.org
  wrote:
  
On Sat, Nov 06, 2010 at 03:39:00PM
 -0700, James Hozier wrote:
   
 I am not sure what all this
 code means, but would you like me to
  test
stuff out?
 If I'm supposed to do something
 with this piece of code, you'll
  have to
let me know
 what to do with it
   
no, that's specific code for that
 specific machine he has.  yours
  needs
special help too, that'll come later
 ...
   
--
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
 
  --
  jake...@sdf.lonestar.org
  SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-12-16 Thread Shazaum
re-wrote part of a codec, now I can listen to music.

--

Renato dos Santos
shazaum.wordpress.com



On 16 December 2010 11:28, James Hozier guitars...@yahoo.com wrote:

 How did you get it working?

  From: Shazaum shaz...@gmail.com
  Subject: Re: Azalia No Problem but no Audio
  To: misc@openbsd.org
  Date: Wednesday, December 15, 2010, 6:17 PM
  Now is Work :-)
 
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 11 November 2010 22:37, Shazaum shaz...@gmail.com
  wrote:
 
   I say, I'll re-read the datasheet. (sorry)
  
  
   --
  
   Renato dos Santos
   shazaum.wordpress.com
  
  
  
   On 11 November 2010 22:35, Shazaum shaz...@gmail.com
  wrote:
  
   ok, I admire your interest in wanting to add value
  to your code (to
   increase the hardware support)
   back to read the datasheet, and try to do
  something to help those who
   use the same hardware that I use.
  
   thank a lot of your attention
  
   --
  
   Renato dos Santos
   shazaum.wordpress.com
  
  
  
   On 11 November 2010 21:18, Jacob Meuser jake...@sdf.lonestar.org
  wrote:
  
   On Thu, Nov 11, 2010 at 05:16:39PM -0200,
  Shazaum wrote:
no work.
  
   unless you're willing to send me your machine
  or one like it for keeps,
   I've done all I am willing to do.
  sorry.  it's just not worth my time
   to try to fix vendor fuckups on machines I
  can't personally test.
  
   
--
   
Renato dos Santos
shazaum.wordpress.com
   
   
   
On 6 November 2010 20:59, Jacob Meuser
  jake...@sdf.lonestar.org
   wrote:
   
 On Sat, Nov 06, 2010 at 03:39:00PM
  -0700, James Hozier wrote:

  I am not sure what all this
  code means, but would you like me to
   test
 stuff out?
  If I'm supposed to do something
  with this piece of code, you'll
   have to
 let me know
  what to do with it

 no, that's specific code for that
  specific machine he has.  yours
   needs
 special help too, that'll come later
  ...

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-12-16 Thread Jacob Meuser
On Thu, Dec 16, 2010 at 01:27:28PM -0200, Shazaum wrote:
 re-wrote part of a codec, now I can listen to music.

huh?

 --
 
 Renato dos Santos
 shazaum.wordpress.com
 
 
 
 On 16 December 2010 11:28, James Hozier guitars...@yahoo.com wrote:
 
  How did you get it working?
 
   From: Shazaum shaz...@gmail.com
   Subject: Re: Azalia No Problem but no Audio
   To: misc@openbsd.org
   Date: Wednesday, December 15, 2010, 6:17 PM
   Now is Work :-)
  
   --
  
   Renato dos Santos
   shazaum.wordpress.com
  
  
  
   On 11 November 2010 22:37, Shazaum shaz...@gmail.com
   wrote:
  
I say, I'll re-read the datasheet. (sorry)
   
   
--
   
Renato dos Santos
shazaum.wordpress.com
   
   
   
On 11 November 2010 22:35, Shazaum shaz...@gmail.com
   wrote:
   
ok, I admire your interest in wanting to add value
   to your code (to
increase the hardware support)
back to read the datasheet, and try to do
   something to help those who
use the same hardware that I use.
   
thank a lot of your attention
   
--
   
Renato dos Santos
shazaum.wordpress.com
   
   
   
On 11 November 2010 21:18, Jacob Meuser jake...@sdf.lonestar.org
   wrote:
   
On Thu, Nov 11, 2010 at 05:16:39PM -0200,
   Shazaum wrote:
 no work.
   
unless you're willing to send me your machine
   or one like it for keeps,
I've done all I am willing to do.
   sorry.  it's just not worth my time
to try to fix vendor fuckups on machines I
   can't personally test.
   

 --

 Renato dos Santos
 shazaum.wordpress.com



 On 6 November 2010 20:59, Jacob Meuser
   jake...@sdf.lonestar.org
wrote:

  On Sat, Nov 06, 2010 at 03:39:00PM
   -0700, James Hozier wrote:
 
   I am not sure what all this
   code means, but would you like me to
test
  stuff out?
   If I'm supposed to do something
   with this piece of code, you'll
have to
  let me know
   what to do with it
 
  no, that's specific code for that
   specific machine he has.  yours
needs
  special help too, that'll come later
   ...
 
  --
  jake...@sdf.lonestar.org
  SDF Public Access UNIX System - http://sdf.lonestar.org
   
--
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-12-16 Thread James Hozier
Can you please elaborate

 From: Shazaum shaz...@gmail.com
 Subject: Re: Azalia No Problem but no Audio
 To: James Hozier guitars...@yahoo.com
 Cc: misc@openbsd.org
 Date: Thursday, December 16, 2010, 3:27 PM
 re-wrote
 part of a codec, now I can listen to music.
 
 
 --
 
 Renato dos Santos
 shazaum.wordpress.com
 
 
 
 On 16 December 2010
 11:28, James Hozier guitars...@yahoo.com
 wrote:
 
 
 How did you get it working?



Re: Azalia No Problem but no Audio

2010-12-15 Thread Shazaum
Now is Work :-)

--

Renato dos Santos
shazaum.wordpress.com



On 11 November 2010 22:37, Shazaum shaz...@gmail.com wrote:

 I say, I'll re-read the datasheet. (sorry)


 --

 Renato dos Santos
 shazaum.wordpress.com



 On 11 November 2010 22:35, Shazaum shaz...@gmail.com wrote:

 ok, I admire your interest in wanting to add value to your code (to
 increase the hardware support)
 back to read the datasheet, and try to do something to help those who
 use the same hardware that I use.

 thank a lot of your attention

 --

 Renato dos Santos
 shazaum.wordpress.com



 On 11 November 2010 21:18, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Thu, Nov 11, 2010 at 05:16:39PM -0200, Shazaum wrote:
  no work.

 unless you're willing to send me your machine or one like it for keeps,
 I've done all I am willing to do.  sorry.  it's just not worth my time
 to try to fix vendor fuckups on machines I can't personally test.

 
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 6 November 2010 20:59, Jacob Meuser jake...@sdf.lonestar.org
 wrote:
 
   On Sat, Nov 06, 2010 at 03:39:00PM -0700, James Hozier wrote:
  
I am not sure what all this code means, but would you like me to
 test
   stuff out?
If I'm supposed to do something with this piece of code, you'll
 have to
   let me know
what to do with it
  
   no, that's specific code for that specific machine he has.  yours
 needs
   special help too, that'll come later ...
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-12-15 Thread Shazaum
ops,

now working

--

Renato dos Santos
shazaum.wordpress.com



On 15 December 2010 16:17, Shazaum shaz...@gmail.com wrote:

 Now is Work :-)


 --

 Renato dos Santos
 shazaum.wordpress.com



 On 11 November 2010 22:37, Shazaum shaz...@gmail.com wrote:

 I say, I'll re-read the datasheet. (sorry)


 --

 Renato dos Santos
 shazaum.wordpress.com



 On 11 November 2010 22:35, Shazaum shaz...@gmail.com wrote:

 ok, I admire your interest in wanting to add value to your code (to
 increase the hardware support)
 back to read the datasheet, and try to do something to help those who
 use the same hardware that I use.

 thank a lot of your attention

 --

 Renato dos Santos
 shazaum.wordpress.com



 On 11 November 2010 21:18, Jacob Meuser jake...@sdf.lonestar.orgwrote:

 On Thu, Nov 11, 2010 at 05:16:39PM -0200, Shazaum wrote:
  no work.

 unless you're willing to send me your machine or one like it for keeps,
 I've done all I am willing to do.  sorry.  it's just not worth my time
 to try to fix vendor fuckups on machines I can't personally test.

 
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 6 November 2010 20:59, Jacob Meuser jake...@sdf.lonestar.org
 wrote:
 
   On Sat, Nov 06, 2010 at 03:39:00PM -0700, James Hozier wrote:
  
I am not sure what all this code means, but would you like me to
 test
   stuff out?
If I'm supposed to do something with this piece of code, you'll
 have to
   let me know
what to do with it
  
   no, that's specific code for that specific machine he has.  yours
 needs
   special help too, that'll come later ...
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-11-12 Thread Kevin Chadwick
On Thu, 11 Nov 2010 19:09:05 -0800 (PST)
James Hozier guitars...@yahoo.com wrote:

  From: Jacob Meuser jake...@sdf.lonestar.org
  Subject: Re: Azalia No
 Problem but no Audio
  To: misc@openbsd.org
  Date: Thursday, November 11,
 2010, 11:18 PM
  
  unless you're willing to send me your machine or one like
  it for keeps,
  I've done all I am willing to do.  sorry.  it's
  just not
 worth my time
  to try to fix vendor fuckups on machines I can't personally
 
 test.
  
  
 
 I'd like to thank you for your input on the issue I was having.
 Patch didn't solve the problem, but I'm not complaining...I can live without
 Flash/Java, and I can surely live without sound. I messed up fsck on an ext3
 partition using OpenBSD due to my ignorance, so most of my files including
 music got deleted anyway. Appreciate the help and now I hate nVidia even more
 

Deleted or overwritten, If it's deleted then lookup testdisk, if that
fails you'll need some forensic tools (plenty) and a bit more patience.

Make sure using your system doesn't make that area of the disk get
overwritten?



Re: Azalia No Problem but no Audio

2010-11-11 Thread Shazaum
no work.

--

Renato dos Santos
shazaum.wordpress.com



On 6 November 2010 20:59, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Sat, Nov 06, 2010 at 03:39:00PM -0700, James Hozier wrote:

  I am not sure what all this code means, but would you like me to test
 stuff out?
  If I'm supposed to do something with this piece of code, you'll have to
 let me know
  what to do with it

 no, that's specific code for that specific machine he has.  yours needs
 special help too, that'll come later ...

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-11-11 Thread Jacob Meuser
On Thu, Nov 11, 2010 at 05:16:39PM -0200, Shazaum wrote:
 no work.

unless you're willing to send me your machine or one like it for keeps,
I've done all I am willing to do.  sorry.  it's just not worth my time
to try to fix vendor fuckups on machines I can't personally test.

 
 --
 
 Renato dos Santos
 shazaum.wordpress.com
 
 
 
 On 6 November 2010 20:59, Jacob Meuser jake...@sdf.lonestar.org wrote:
 
  On Sat, Nov 06, 2010 at 03:39:00PM -0700, James Hozier wrote:
 
   I am not sure what all this code means, but would you like me to test
  stuff out?
   If I'm supposed to do something with this piece of code, you'll have to
  let me know
   what to do with it
 
  no, that's specific code for that specific machine he has.  yours needs
  special help too, that'll come later ...
 
  --
  jake...@sdf.lonestar.org
  SDF Public Access UNIX System - http://sdf.lonestar.org

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-11-11 Thread Shazaum
ok, I admire your interest in wanting to add value to your code (to increase
the hardware support)
back to read the datasheet, and try to do something to help those who use
the same hardware that I use.

thank a lot of your attention
--

Renato dos Santos
shazaum.wordpress.com



On 11 November 2010 21:18, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Thu, Nov 11, 2010 at 05:16:39PM -0200, Shazaum wrote:
  no work.

 unless you're willing to send me your machine or one like it for keeps,
 I've done all I am willing to do.  sorry.  it's just not worth my time
 to try to fix vendor fuckups on machines I can't personally test.

 
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 6 November 2010 20:59, Jacob Meuser jake...@sdf.lonestar.org wrote:
 
   On Sat, Nov 06, 2010 at 03:39:00PM -0700, James Hozier wrote:
  
I am not sure what all this code means, but would you like me to test
   stuff out?
If I'm supposed to do something with this piece of code, you'll have
 to
   let me know
what to do with it
  
   no, that's specific code for that specific machine he has.  yours needs
   special help too, that'll come later ...
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-11-11 Thread Shazaum
I say, I'll re-read the datasheet. (sorry)

--

Renato dos Santos
shazaum.wordpress.com



On 11 November 2010 22:35, Shazaum shaz...@gmail.com wrote:

 ok, I admire your interest in wanting to add value to your code (to
 increase the hardware support)
 back to read the datasheet, and try to do something to help those who use
 the same hardware that I use.

 thank a lot of your attention

 --

 Renato dos Santos
 shazaum.wordpress.com



 On 11 November 2010 21:18, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Thu, Nov 11, 2010 at 05:16:39PM -0200, Shazaum wrote:
  no work.

 unless you're willing to send me your machine or one like it for keeps,
 I've done all I am willing to do.  sorry.  it's just not worth my time
 to try to fix vendor fuckups on machines I can't personally test.

 
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 6 November 2010 20:59, Jacob Meuser jake...@sdf.lonestar.org
 wrote:
 
   On Sat, Nov 06, 2010 at 03:39:00PM -0700, James Hozier wrote:
  
I am not sure what all this code means, but would you like me to
 test
   stuff out?
If I'm supposed to do something with this piece of code, you'll have
 to
   let me know
what to do with it
  
   no, that's specific code for that specific machine he has.  yours
 needs
   special help too, that'll come later ...
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-11-11 Thread James Hozier
 From: Jacob Meuser jake...@sdf.lonestar.org
 Subject: Re: Azalia No
Problem but no Audio
 To: misc@openbsd.org
 Date: Thursday, November 11,
2010, 11:18 PM
 
 unless you're willing to send me your machine or one like
 it for keeps,
 I've done all I am willing to do.  sorry.  it's
 just not
worth my time
 to try to fix vendor fuckups on machines I can't personally

test.
 
 

I'd like to thank you for your input on the issue I was having.
Patch didn't solve the problem, but I'm not complaining...I can live without
Flash/Java, and I can surely live without sound. I messed up fsck on an ext3
partition using OpenBSD due to my ignorance, so most of my files including
music got deleted anyway. Appreciate the help and now I hate nVidia even more



Re: Azalia No Problem but no Audio

2010-11-06 Thread Jacob Meuser
On Wed, Nov 03, 2010 at 03:32:21PM -0200, Shazaum wrote:
 a little test in freebsd 6.2 audio worked

going by what they kept in their current driver, and what alsa does,
perhaps this helps.  probably doesn't fix the internal speaker, but
might get headphone output working.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: azalia.h
===
RCS file: /cvs/src/sys/dev/pci/azalia.h,v
retrieving revision 1.62
diff -u -p azalia.h
--- azalia.h10 Sep 2010 15:11:23 -  1.62
+++ azalia.h6 Nov 2010 21:54:24 -
@@ -510,6 +510,8 @@
 #define AZ_QRK_WID_BEEP_1D 0x2000
 #define AZ_QRK_WID_OVREF50 0x4000
 #define AZ_QRK_WID_AD1981_OAMP 0x8000
+#define AZ_QRK_WID_OVREF1000x0001
+#define AZ_QRK_WID_HP_0F   0x0002
 
 /* memory-mapped types */
 typedef struct {
Index: azalia_codec.c
===
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.151
diff -u -p azalia_codec.c
--- azalia_codec.c  10 Sep 2010 15:11:23 -  1.151
+++ azalia_codec.c  6 Nov 2010 21:54:24 -
@@ -96,6 +96,9 @@ azalia_codec_init_vtbl(codec_t *this)
break;
case 0x10ec0861:
this-name = Realtek ALC861;
+   if (this-subid == 0x90751584) {/* CCE_X20II ??? */
+   this-qrks |= AZ_QRK_WID_OVREF100 | AZ_QRK_WID_HP_0F;
+   }
break;
case 0x10ec0880:
this-name = Realtek ALC880;
@@ -1928,6 +1931,8 @@ azalia_mixer_set(codec_t *this, nid_t nid, int target,
value |= CORB_PWC_OUTPUT;
if (this-qrks  AZ_QRK_WID_OVREF50)
value |= CORB_PWC_VREF_50;
+   if (this-qrks  AZ_QRK_WID_OVREF100)
+   value |= CORB_PWC_VREF_100;
} else {
value = ~CORB_PWC_OUTPUT;
value |= CORB_PWC_INPUT;
@@ -2434,6 +2439,13 @@ azalia_codec_widget_quirks(codec_t *this, nid_t nid)
((nid == 0x05) || (nid == 0x06) || (nid == 0x07) ||
(nid == 0x09) || (nid == 0x18))) {
azalia_ampcap_ov(w, COP_OUTPUT_AMPCAP, 31, 33, 6, 30, 1);
+   }
+
+   if ((this-qrks  AZ_QRK_WID_HP_0F)  (nid == 0x0f)) {
+   azalia_pin_config_ov(w, CORB_CD_DEVICE_MASK, CORB_CD_HEADPHONE);
+   azalia_pin_config_ov(w, CORB_CD_PORT_MASK, CORB_CD_JACK);
+   w-widgetcap |= COP_AWCAP_STEREO;
+   w-enable = 1;
}
 
return(0);



Re: Azalia No Problem but no Audio

2010-11-06 Thread James Hozier
 From: Jacob Meuser jake...@sdf.lonestar.org
 Subject: Re: Azalia No
Problem but no Audio
 To: Shazaum shaz...@gmail.com
 Cc:
misc@openbsd.org
 Date: Saturday, November 6, 2010, 10:33 PM
 On Wed, Nov
03, 2010 at 03:32:21PM
 -0200, Shazaum wrote:
  a little test in freebsd
6.2 audio worked
 
 going by what they kept in their current driver, and
what
 alsa does,
 perhaps this helps.  probably doesn't fix the internal

speaker, but
 might get headphone output working.
 
 -- 

jake...@sdf.lonestar.org
 SDF Public Access UNIX System -
http://sdf.lonestar.org
 
 Index: azalia.h

===
 RCS
file: /cvs/src/sys/dev/pci/azalia.h,v
 retrieving revision 1.62
 diff -u -p
azalia.h
 --- azalia.h10 Sep 2010 15:11:23
 -1.62
 +++
azalia.h6 Nov 2010 21:54:24 -
 @@ -510,6 +510,8 @@
  #define
AZ_QRK_WID_BEEP_1D0x2000
  #define AZ_QRK_WID_OVREF500x4000

#define AZ_QRK_WID_AD1981_OAMP   
 0x8000
 +#define
AZ_QRK_WID_OVREF1000x0001
 +#define AZ_QRK_WID_HP_0F0x0002

  /* memory-mapped types */
  typedef struct {
 Index: azalia_codec.c

===
 RCS
file: /cvs/src/sys/dev/pci/azalia_codec.c,v
 retrieving revision 1.151
 diff
-u -p azalia_codec.c
 --- azalia_codec.c10 Sep 2010 15:11:23
 -   
1.151
 +++ azalia_codec.c6 Nov 2010 21:54:24
 -
 @@ -96,6 +96,9 @@
azalia_codec_init_vtbl(codec_t *this)
  break;
  case
0x10ec0861:
  this-name =
 Realtek ALC861;
 +if
(this-subid
 == 0x90751584) {/* CCE_X20II ??? */
 +   

this-qrks |= AZ_QRK_WID_OVREF100 | AZ_QRK_WID_HP_0F;
 +}
 
break;
  case 0x10ec0880:
  this-name =
 Realtek ALC880;

@@ -1928,6 +1931,8 @@ azalia_mixer_set(codec_t *this, nid_t
 nid, int target,
 
 value |= CORB_PWC_OUTPUT;
 
 if (this-qrks 
AZ_QRK_WID_OVREF50)
 
 value |= CORB_PWC_VREF_50;
 +   
   
 if (this-qrks  AZ_QRK_WID_OVREF100)
 +   
 value |=
CORB_PWC_VREF_100;
  } else {
 
 value =
~CORB_PWC_OUTPUT;
 
 value |= CORB_PWC_INPUT;
 @@ -2434,6
+2439,13 @@ azalia_codec_widget_quirks(codec_t
 *this, nid_t nid)
 
((nid == 0x05) || (nid ==
 0x06) || (nid == 0x07) ||
  (nid == 0x09)
|| (nid ==
 0x18))) {
  azalia_ampcap_ov(w,
 COP_OUTPUT_AMPCAP, 31,
33, 6, 30, 1);
 +}
 +
 +if ((this-qrks 
 AZ_QRK_WID_HP_0F) 
(nid == 0x0f)) {
 +   
 azalia_pin_config_ov(w, CORB_CD_DEVICE_MASK,

CORB_CD_HEADPHONE);
 +   
 azalia_pin_config_ov(w, CORB_CD_PORT_MASK,
CORB_CD_JACK);
 +w-widgetcap |=
 COP_AWCAP_STEREO;
 +   
w-enable = 1;
  }
  
  return(0);
 
 

I am not sure what all
this code means, but would you like me to test stuff out?
If I'm supposed to
do something with this piece of code, you'll have to let me know
what to do
with it



Re: Azalia No Problem but no Audio

2010-11-06 Thread Jacob Meuser
On Sat, Nov 06, 2010 at 03:39:00PM -0700, James Hozier wrote:

 I am not sure what all this code means, but would you like me to test stuff 
 out?
 If I'm supposed to do something with this piece of code, you'll have to let 
 me know
 what to do with it

no, that's specific code for that specific machine he has.  yours needs
special help too, that'll come later ...

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-11-03 Thread Shazaum
--

Renato dos Santos
shazaum.wordpress.com



On 31 October 2010 20:01, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Sun, Oct 31, 2010 at 06:54:47PM -0200, Shazaum wrote:
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 30 October 2010 16:07, Jacob Meuser jake...@sdf.lonestar.org wrote:
 
   On Fri, Oct 29, 2010 at 09:53:33PM +, Jacob Meuser wrote:
On Fri, Oct 29, 2010 at 09:22:12AM -0200, Shazaum wrote:
 well, with Linux I have no problem ...
   
linux support for realtek codecs alone is 5x as large as our
driver for all of azalia.  likely they have some quirk for
your specific bios/codec combo.
  
  the bios has no options for audio

 that's not what I'm saying/asking.  I'm saying your BIOS/device is broken.

  
   alsa has 2 different sets of quirks that match your bio/codec, one
   is commented out.  so, when you say Linux, what does that mean?
   a vanilla kernel from kernel.org?  which version?  some distros
   version?
  
  kernel: 2.6.32.25 ... distro any...debian, ubuntu, fedora, slackware
 
  *
  *
 
  
   it seems this is a laptop?  if so, are you not getting sound on the
   speaker, or not getting sound on the output jack, or both?
  
  yes, this is a laptop, and both outputs..

 ok then, your device is broken at the hardware/BIOS level.  it's saying
 there is no speaker, but obviously there is one, right?

right


 it works on linux because instead of having a driver based on the HDA spec,
 they have a driver based on knowing specific detail about most devices.

 this is simply not practical to maintain, especially when people who have
 problems can't be bothered to test the latest code or provide descriptions
 of their machines without a long back and forth of emails.

 your device *could* work with OpenBSD's driver, but that would require
 adding quirks to deal with your out-of-spec device.  to add insult to
 injury, one of the quirks for your device in the linux driver does
 something which is disallowed by the HDA spec.

 that said, if you can get it working with some quirks, I would be ok to
 commit it to our driver.  but I don't have time or desire to try to figure
 out how to make it work, sorry.  and unfortunately for you, I'm probably
 the only one who can help you ...

 well, ok, I'll try and give a return

  
 I have done all sorts of changes in controls, and no sound effect
 'll find which way do I change the codec, thanks
   
have you tried -current yet?  it's not clear if you have or
haven't.
  
   still wondering about this ...
  
  nops, not tried it, I'm using the 4.7, 'll do it now
 
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-11-03 Thread Shazaum
  yes, this is a laptop, and both outputs..

  ok then, your device is broken at the hardware/BIOS level.  it's saying
  there is no speaker, but obviously there is one, right?


right


  it works on linux because instead of having a driver based on the HDA
 spec,
  they have a driver based on knowing specific detail about most devices.


[...]

 that said, if you can get it working with some quirks, I would be ok to
  commit it to our driver.  but I don't have time or desire to try to
 figure
  out how to make it work, sorry.  and unfortunately for you, I'm probably
  the only one who can help you ...


well, ok, I'll try and give a return


--

Renato dos Santos
shazaum.wordpress.com



On 3 November 2010 08:49, Shazaum shaz...@gmail.com wrote:



 --

 Renato dos Santos
 shazaum.wordpress.com



 On 31 October 2010 20:01, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Sun, Oct 31, 2010 at 06:54:47PM -0200, Shazaum wrote:
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 30 October 2010 16:07, Jacob Meuser jake...@sdf.lonestar.org
 wrote:
 
   On Fri, Oct 29, 2010 at 09:53:33PM +, Jacob Meuser wrote:
On Fri, Oct 29, 2010 at 09:22:12AM -0200, Shazaum wrote:
 well, with Linux I have no problem ...
   
linux support for realtek codecs alone is 5x as large as our
driver for all of azalia.  likely they have some quirk for
your specific bios/codec combo.
  
  the bios has no options for audio

 that's not what I'm saying/asking.  I'm saying your BIOS/device is broken.

  
   alsa has 2 different sets of quirks that match your bio/codec, one
   is commented out.  so, when you say Linux, what does that mean?
   a vanilla kernel from kernel.org?  which version?  some distros
   version?
  
  kernel: 2.6.32.25 ... distro any...debian, ubuntu, fedora, slackware
 
  *
  *
 
  
   it seems this is a laptop?  if so, are you not getting sound on the
   speaker, or not getting sound on the output jack, or both?
  
  yes, this is a laptop, and both outputs..

 ok then, your device is broken at the hardware/BIOS level.  it's saying
 there is no speaker, but obviously there is one, right?

 right


 it works on linux because instead of having a driver based on the HDA
 spec,
 they have a driver based on knowing specific detail about most devices.

 this is simply not practical to maintain, especially when people who have
 problems can't be bothered to test the latest code or provide descriptions
 of their machines without a long back and forth of emails.

 your device *could* work with OpenBSD's driver, but that would require
 adding quirks to deal with your out-of-spec device.  to add insult to
 injury, one of the quirks for your device in the linux driver does
 something which is disallowed by the HDA spec.

 that said, if you can get it working with some quirks, I would be ok to
 commit it to our driver.  but I don't have time or desire to try to figure
 out how to make it work, sorry.  and unfortunately for you, I'm probably
 the only one who can help you ...

 well, ok, I'll try and give a return

  
 I have done all sorts of changes in controls, and no sound effect
 'll find which way do I change the codec, thanks
   
have you tried -current yet?  it's not clear if you have or
haven't.
  
   still wondering about this ...
  
  nops, not tried it, I'm using the 4.7, 'll do it now
 
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-11-03 Thread Shazaum
a little test in freebsd 6.2 audio worked
--

Renato dos Santos
shazaum.wordpress.com



On 3 November 2010 09:26, Shazaum shaz...@gmail.com wrote:

  yes, this is a laptop, and both outputs..

  ok then, your device is broken at the hardware/BIOS level.  it's saying
  there is no speaker, but obviously there is one, right?


 right


  it works on linux because instead of having a driver based on the HDA
 spec,
  they have a driver based on knowing specific detail about most devices.


 [...]


  that said, if you can get it working with some quirks, I would be ok to
  commit it to our driver.  but I don't have time or desire to try to
 figure
  out how to make it work, sorry.  and unfortunately for you, I'm probably
  the only one who can help you ...


 well, ok, I'll try and give a return


  --

 Renato dos Santos
 shazaum.wordpress.com



 On 3 November 2010 08:49, Shazaum shaz...@gmail.com wrote:



 --

 Renato dos Santos
 shazaum.wordpress.com



 On 31 October 2010 20:01, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Sun, Oct 31, 2010 at 06:54:47PM -0200, Shazaum wrote:
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 30 October 2010 16:07, Jacob Meuser jake...@sdf.lonestar.org
 wrote:
 
   On Fri, Oct 29, 2010 at 09:53:33PM +, Jacob Meuser wrote:
On Fri, Oct 29, 2010 at 09:22:12AM -0200, Shazaum wrote:
 well, with Linux I have no problem ...
   
linux support for realtek codecs alone is 5x as large as our
driver for all of azalia.  likely they have some quirk for
your specific bios/codec combo.
  
  the bios has no options for audio

 that's not what I'm saying/asking.  I'm saying your BIOS/device is
 broken.

  
   alsa has 2 different sets of quirks that match your bio/codec, one
   is commented out.  so, when you say Linux, what does that mean?
   a vanilla kernel from kernel.org?  which version?  some distros
   version?
  
  kernel: 2.6.32.25 ... distro any...debian, ubuntu, fedora, slackware
 
  *
  *
 
  
   it seems this is a laptop?  if so, are you not getting sound on the
   speaker, or not getting sound on the output jack, or both?
  
  yes, this is a laptop, and both outputs..

 ok then, your device is broken at the hardware/BIOS level.  it's saying
 there is no speaker, but obviously there is one, right?

 right


 it works on linux because instead of having a driver based on the HDA
 spec,
 they have a driver based on knowing specific detail about most devices.

 this is simply not practical to maintain, especially when people who have
 problems can't be bothered to test the latest code or provide
 descriptions
 of their machines without a long back and forth of emails.

 your device *could* work with OpenBSD's driver, but that would require
 adding quirks to deal with your out-of-spec device.  to add insult to
 injury, one of the quirks for your device in the linux driver does
 something which is disallowed by the HDA spec.

 that said, if you can get it working with some quirks, I would be ok to
 commit it to our driver.  but I don't have time or desire to try to
 figure
 out how to make it work, sorry.  and unfortunately for you, I'm probably
 the only one who can help you ...

 well, ok, I'll try and give a return

  
 I have done all sorts of changes in controls, and no sound effect
 'll find which way do I change the codec, thanks
   
have you tried -current yet?  it's not clear if you have or
haven't.
  
   still wondering about this ...
  
  nops, not tried it, I'm using the 4.7, 'll do it now
 
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-31 Thread Shazaum
I say, trying to 48

--

Renato dos Santos
shazaum.wordpress.com



On 31 October 2010 18:54, Shazaum shaz...@gmail.com wrote:



 --

 Renato dos Santos
 shazaum.wordpress.com



 On 30 October 2010 16:07, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Fri, Oct 29, 2010 at 09:53:33PM +, Jacob Meuser wrote:
  On Fri, Oct 29, 2010 at 09:22:12AM -0200, Shazaum wrote:
   well, with Linux I have no problem ...
 
  linux support for realtek codecs alone is 5x as large as our
  driver for all of azalia.  likely they have some quirk for
  your specific bios/codec combo.

 the bios has no options for audio


 alsa has 2 different sets of quirks that match your bio/codec, one
 is commented out.  so, when you say Linux, what does that mean?
 a vanilla kernel from kernel.org?  which version?  some distros
 version?

 kernel: 2.6.32.25 ... distro any...debian, ubuntu, fedora, slackware

 *
 *


 it seems this is a laptop?  if so, are you not getting sound on the
 speaker, or not getting sound on the output jack, or both?

 yes, this is a laptop, and both outputs..


   I have done all sorts of changes in controls, and no sound effect
   'll find which way do I change the codec, thanks
 
  have you tried -current yet?  it's not clear if you have or
  haven't.

 still wondering about this ...

 nops, not tried it, I'm using the 4.7, 'll do it now


 --

 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-31 Thread Shazaum
--

Renato dos Santos
shazaum.wordpress.com



On 30 October 2010 16:07, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Fri, Oct 29, 2010 at 09:53:33PM +, Jacob Meuser wrote:
  On Fri, Oct 29, 2010 at 09:22:12AM -0200, Shazaum wrote:
   well, with Linux I have no problem ...
 
  linux support for realtek codecs alone is 5x as large as our
  driver for all of azalia.  likely they have some quirk for
  your specific bios/codec combo.

the bios has no options for audio


 alsa has 2 different sets of quirks that match your bio/codec, one
 is commented out.  so, when you say Linux, what does that mean?
 a vanilla kernel from kernel.org?  which version?  some distros
 version?

kernel: 2.6.32.25 ... distro any...debian, ubuntu, fedora, slackware

*
*


 it seems this is a laptop?  if so, are you not getting sound on the
 speaker, or not getting sound on the output jack, or both?

yes, this is a laptop, and both outputs..


   I have done all sorts of changes in controls, and no sound effect
   'll find which way do I change the codec, thanks
 
  have you tried -current yet?  it's not clear if you have or
  haven't.

 still wondering about this ...

nops, not tried it, I'm using the 4.7, 'll do it now


 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-31 Thread Jacob Meuser
On Sun, Oct 31, 2010 at 06:54:47PM -0200, Shazaum wrote:
 --
 
 Renato dos Santos
 shazaum.wordpress.com
 
 
 
 On 30 October 2010 16:07, Jacob Meuser jake...@sdf.lonestar.org wrote:
 
  On Fri, Oct 29, 2010 at 09:53:33PM +, Jacob Meuser wrote:
   On Fri, Oct 29, 2010 at 09:22:12AM -0200, Shazaum wrote:
well, with Linux I have no problem ...
  
   linux support for realtek codecs alone is 5x as large as our
   driver for all of azalia.  likely they have some quirk for
   your specific bios/codec combo.
 
 the bios has no options for audio

that's not what I'm saying/asking.  I'm saying your BIOS/device is broken.

 
  alsa has 2 different sets of quirks that match your bio/codec, one
  is commented out.  so, when you say Linux, what does that mean?
  a vanilla kernel from kernel.org?  which version?  some distros
  version?
 
 kernel: 2.6.32.25 ... distro any...debian, ubuntu, fedora, slackware
 
 *
 *
 
 
  it seems this is a laptop?  if so, are you not getting sound on the
  speaker, or not getting sound on the output jack, or both?
 
 yes, this is a laptop, and both outputs..

ok then, your device is broken at the hardware/BIOS level.  it's saying
there is no speaker, but obviously there is one, right?

it works on linux because instead of having a driver based on the HDA spec,
they have a driver based on knowing specific detail about most devices.

this is simply not practical to maintain, especially when people who have
problems can't be bothered to test the latest code or provide descriptions
of their machines without a long back and forth of emails.

your device *could* work with OpenBSD's driver, but that would require
adding quirks to deal with your out-of-spec device.  to add insult to
injury, one of the quirks for your device in the linux driver does
something which is disallowed by the HDA spec.

that said, if you can get it working with some quirks, I would be ok to
commit it to our driver.  but I don't have time or desire to try to figure
out how to make it work, sorry.  and unfortunately for you, I'm probably
the only one who can help you ...

 
I have done all sorts of changes in controls, and no sound effect
'll find which way do I change the codec, thanks
  
   have you tried -current yet?  it's not clear if you have or
   haven't.
 
  still wondering about this ...
 
 nops, not tried it, I'm using the 4.7, 'll do it now
 
 
  --
  jake...@sdf.lonestar.org
  SDF Public Access UNIX System - http://sdf.lonestar.org

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-30 Thread Jacob Meuser
On Fri, Oct 29, 2010 at 09:53:33PM +, Jacob Meuser wrote:
 On Fri, Oct 29, 2010 at 09:22:12AM -0200, Shazaum wrote:
  well, with Linux I have no problem ...
 
 linux support for realtek codecs alone is 5x as large as our
 driver for all of azalia.  likely they have some quirk for
 your specific bios/codec combo.

alsa has 2 different sets of quirks that match your bio/codec, one
is commented out.  so, when you say Linux, what does that mean?
a vanilla kernel from kernel.org?  which version?  some distros
version?

it seems this is a laptop?  if so, are you not getting sound on the
speaker, or not getting sound on the output jack, or both?

  I have done all sorts of changes in controls, and no sound effect
  'll find which way do I change the codec, thanks
 
 have you tried -current yet?  it's not clear if you have or
 haven't.

still wondering about this ...

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-29 Thread Shazaum
well, with Linux I have no problem ...
I have done all sorts of changes in controls, and no sound effect
'll find which way do I change the codec, thanks

--

Renato dos Santos
shazaum.wordpress.com



On 28 October 2010 19:37, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Thu, Oct 28, 2010 at 09:07:14AM -0200, Shazaum wrote:
  this:
 
  inputs.dac-0:1_mute=off  [ off on ]
  inputs.dac-2:3_mute=off  [ off on ]
  inputs.dig-dac-0:1_mut=off  [ off on ]
  record.adc-0:1_source=mic  [ mic cd mix2 ]
  record.adc-0:1_mute=off  [ off on ]
  record.adc-0:1=114,114
  outputs.line_boost=off  [ off on ]
  outputs.mic_source=mix5  [ mix5 ]
  outputs.mic_dir=input-vr50  [ none output input input-vr50 ]
  outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
  inputs.mix_source=mic  { mic }
  outputs.mix2_mute=off  [ off on ]
  outputs.mix2=126,126
  inputs.mix2_source=cd,mix  { cd mix }
  inputs.mix2_cd=121,121
  inputs.mix2_mix=121,121
  inputs.line_source=dac-0:1,mix2  { dac-0:1 mix2 }
  inputs.mix5_source=dac-2:3,mix2  { dac-2:3 mix2 }
  inputs.mix6_source=mix2  { mix2 }
  inputs.beep_mute=off  [ off on ]
  inputs.beep=119
  outputs.master=0,0
  outputs.master.mute=off  [ off on ]
  outputs.master.slaves=dac-0:1  { dac-0:1 dac-2:3 dig-dac-0:1 mix2 beep }
  record.volume=114,114
  record.volume.mute=off  [ off on ]
  record.volume.slaves=adc-0:1  { adc-0:1 }
  outputs.mode=analog  [ analog digital ]

 so,

  inputs.dac-0:1_mute=off  [ off on ]
  inputs.line_source=dac-0:1,mix2  { dac-0:1 mix2 }

 your line-out is connected directly to your first dac, and you don't
 have any volume control for the dac.

  outputs.line_boost=off  [ off on ]

 maybe you need to set this to on?  sometimes it has an effect, sometimes
 it doesn't.

 if that doesn't work, either you're playing something that is simply
 not loud enough to hear, or your codec nodes aren't correctly labeled.
 if the latter, maybe a bios update would fix it, maybe not.

 
  or
  this
 
  outputs.line_boost=off  [ off on ]
  outputs.mic_source=mix5  [ mix5 ]
  outputs.mic_dir=input-vr50  [ none output input input-vr50 ]
  outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
  outputs.mix2_mute=off  [ off on ]
  outputs.mix2=126,126
  outputs.master=0,0
  outputs.master.mute=off  [ off on ]
  outputs.master.slaves=dac-0:1  { dac-0:1 dac-2:3 dig-dac-0:1 mix2 beep }
  outputs.mode=analog  [ analog digital ]

 since both the controls that affect your dac output are labeled 'inputs',
 this is a great example of why only looking at 'outputs' is simply wrong.



 
 
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 27 October 2010 14:33, Jacob Meuser jake...@sdf.lonestar.org wrote:
 
   On Wed, Oct 27, 2010 at 01:20:20PM -0200, Shazaum wrote:
but this is the GENERIC, debug the azalia was active in the prime
--
   
Renato dos Santos
shazaum.wordpress.com
   
   
   
On 27 October 2010 11:10, Jacob Meuser jake...@sdf.lonestar.org
 wrote:
   
 I would prefer to just see mixerctl -v output from -current
 GENERIC.
  
  
   things have changed since 4.7, and the problem may have already been
 fixed.
  
   also, I want to see mixerctl -v output as it is a boot, before you do
   anything else with mixerctl.
  

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org
  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-29 Thread Jacob Meuser
On Fri, Oct 29, 2010 at 09:22:12AM -0200, Shazaum wrote:
 well, with Linux I have no problem ...

linux support for realtek codecs alone is 5x as large as our
driver for all of azalia.  likely they have some quirk for
your specific bios/codec combo.

 I have done all sorts of changes in controls, and no sound effect
 'll find which way do I change the codec, thanks

have you tried -current yet?  it's not clear if you have or
haven't.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-28 Thread Shazaum
this:

inputs.dac-0:1_mute=off  [ off on ]
inputs.dac-2:3_mute=off  [ off on ]
inputs.dig-dac-0:1_mut=off  [ off on ]
record.adc-0:1_source=mic  [ mic cd mix2 ]
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=114,114
outputs.line_boost=off  [ off on ]
outputs.mic_source=mix5  [ mix5 ]
outputs.mic_dir=input-vr50  [ none output input input-vr50 ]
outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
inputs.mix_source=mic  { mic }
outputs.mix2_mute=off  [ off on ]
outputs.mix2=126,126
inputs.mix2_source=cd,mix  { cd mix }
inputs.mix2_cd=121,121
inputs.mix2_mix=121,121
inputs.line_source=dac-0:1,mix2  { dac-0:1 mix2 }
inputs.mix5_source=dac-2:3,mix2  { dac-2:3 mix2 }
inputs.mix6_source=mix2  { mix2 }
inputs.beep_mute=off  [ off on ]
inputs.beep=119
outputs.master=0,0
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-0:1  { dac-0:1 dac-2:3 dig-dac-0:1 mix2 beep }
record.volume=114,114
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-0:1  { adc-0:1 }
outputs.mode=analog  [ analog digital ]

or
this

outputs.line_boost=off  [ off on ]
outputs.mic_source=mix5  [ mix5 ]
outputs.mic_dir=input-vr50  [ none output input input-vr50 ]
outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
outputs.mix2_mute=off  [ off on ]
outputs.mix2=126,126
outputs.master=0,0
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-0:1  { dac-0:1 dac-2:3 dig-dac-0:1 mix2 beep }
outputs.mode=analog  [ analog digital ]


--

Renato dos Santos
shazaum.wordpress.com



On 27 October 2010 14:33, Jacob Meuser jake...@sdf.lonestar.org wrote:

 On Wed, Oct 27, 2010 at 01:20:20PM -0200, Shazaum wrote:
  but this is the GENERIC, debug the azalia was active in the prime
  --
 
  Renato dos Santos
  shazaum.wordpress.com
 
 
 
  On 27 October 2010 11:10, Jacob Meuser jake...@sdf.lonestar.org wrote:
 
   I would prefer to just see mixerctl -v output from -current GENERIC.


 things have changed since 4.7, and the problem may have already been fixed.

 also, I want to see mixerctl -v output as it is a boot, before you do
 anything else with mixerctl.

  
   --
   jake...@sdf.lonestar.org
   SDF Public Access UNIX System - http://sdf.lonestar.org

 --
 jake...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-28 Thread Jacob Meuser
On Thu, Oct 28, 2010 at 09:07:14AM -0200, Shazaum wrote:
 this:
 
 inputs.dac-0:1_mute=off  [ off on ]
 inputs.dac-2:3_mute=off  [ off on ]
 inputs.dig-dac-0:1_mut=off  [ off on ]
 record.adc-0:1_source=mic  [ mic cd mix2 ]
 record.adc-0:1_mute=off  [ off on ]
 record.adc-0:1=114,114
 outputs.line_boost=off  [ off on ]
 outputs.mic_source=mix5  [ mix5 ]
 outputs.mic_dir=input-vr50  [ none output input input-vr50 ]
 outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
 inputs.mix_source=mic  { mic }
 outputs.mix2_mute=off  [ off on ]
 outputs.mix2=126,126
 inputs.mix2_source=cd,mix  { cd mix }
 inputs.mix2_cd=121,121
 inputs.mix2_mix=121,121
 inputs.line_source=dac-0:1,mix2  { dac-0:1 mix2 }
 inputs.mix5_source=dac-2:3,mix2  { dac-2:3 mix2 }
 inputs.mix6_source=mix2  { mix2 }
 inputs.beep_mute=off  [ off on ]
 inputs.beep=119
 outputs.master=0,0
 outputs.master.mute=off  [ off on ]
 outputs.master.slaves=dac-0:1  { dac-0:1 dac-2:3 dig-dac-0:1 mix2 beep }
 record.volume=114,114
 record.volume.mute=off  [ off on ]
 record.volume.slaves=adc-0:1  { adc-0:1 }
 outputs.mode=analog  [ analog digital ]

so, 

 inputs.dac-0:1_mute=off  [ off on ]
 inputs.line_source=dac-0:1,mix2  { dac-0:1 mix2 }

your line-out is connected directly to your first dac, and you don't
have any volume control for the dac.

 outputs.line_boost=off  [ off on ]

maybe you need to set this to on?  sometimes it has an effect, sometimes
it doesn't.

if that doesn't work, either you're playing something that is simply
not loud enough to hear, or your codec nodes aren't correctly labeled.
if the latter, maybe a bios update would fix it, maybe not.

 
 or
 this
 
 outputs.line_boost=off  [ off on ]
 outputs.mic_source=mix5  [ mix5 ]
 outputs.mic_dir=input-vr50  [ none output input input-vr50 ]
 outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
 outputs.mix2_mute=off  [ off on ]
 outputs.mix2=126,126
 outputs.master=0,0
 outputs.master.mute=off  [ off on ]
 outputs.master.slaves=dac-0:1  { dac-0:1 dac-2:3 dig-dac-0:1 mix2 beep }
 outputs.mode=analog  [ analog digital ]

since both the controls that affect your dac output are labeled 'inputs',
this is a great example of why only looking at 'outputs' is simply wrong.



 
 
 --
 
 Renato dos Santos
 shazaum.wordpress.com
 
 
 
 On 27 October 2010 14:33, Jacob Meuser jake...@sdf.lonestar.org wrote:
 
  On Wed, Oct 27, 2010 at 01:20:20PM -0200, Shazaum wrote:
   but this is the GENERIC, debug the azalia was active in the prime
   --
  
   Renato dos Santos
   shazaum.wordpress.com
  
  
  
   On 27 October 2010 11:10, Jacob Meuser jake...@sdf.lonestar.org wrote:
  
I would prefer to just see mixerctl -v output from -current GENERIC.
 
 
  things have changed since 4.7, and the problem may have already been fixed.
 
  also, I want to see mixerctl -v output as it is a boot, before you do
  anything else with mixerctl.
 
   
--
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
 
  --
  jake...@sdf.lonestar.org
  SDF Public Access UNIX System - http://sdf.lonestar.org

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Re: Azalia No Problem but no Audio

2010-10-27 Thread Jacob Meuser
I would prefer to just see mixerctl -v output from -current GENERIC.

-- 
jake...@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org



Azalia No Problem but no Audio

2010-10-26 Thread Shazaum
attach dmesg with debug azalia.

when I run an audio, no sound..

in audioctl:

play.seek=57600
play.samples=1152000

I see faqs of www.openbsd.org/faq/

Im exhausting my ideas... :)

a tips?

--

Renato dos Santos
shazaum.wordpress.com

[demime 1.01d removed an attachment of type application/octet-stream which had 
a name of dmesg]



Re: Azalia No Problem but no Audio

2010-10-26 Thread roberth
On Tue, 26 Oct 2010 18:05:51 -0200
Shazaum shaz...@gmail.com wrote:

 a tips?

how about actually sending some info instead of basicly just stateing
that it doesn't work? :)

supplying full 'mixerctl -v' and 'audioctl' output would be a start.

also a dmesg can help to determine what card and issues like if
you have installed two soundcards and maybe using the wrong one.



Re: Azalia No Problem but no Audio

2010-10-26 Thread Dmitrij Czarkoff
On Tue, Oct 26, 2010 at 10:05 PM, Shazaum shaz...@gmail.com wrote:
 attach dmesg with debug azalia.

 when I run an audio, no sound..

 in audioctl:

 play.seek=57600
 play.samples=1152000

 I see faqs of www.openbsd.org/faq/

 Im exhausting my ideas... :)

 a tips?

Tips:
1. post full audioctl output;
2. post dmesg.

Both inline, attachments are stripped on this list.

-- 
Dmitrij D. Czarkoff



Re: Azalia No Problem but no Audio

2010-10-26 Thread Shazaum
dmesg:

OpenBSD 4.7 (prime) #4: Tue Oct 26 17:41:31 BRST 2010
r...@opens.com.br:/usr/src/kernel/sys/arch/i386/compile/prime
cpu0: Genuine Intel(R) CPU T2080 @ 1.73GHz (GenuineIntel 686-class) 1.73
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR
real mem  = 1064726528 (1015MB)
avail mem = 1022910464 (975MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/07/07, BIOS32 rev. 0 @ 0xf0010,
SMBIOS rev. 2.3 @ 0xfacf0 (51 entries)
bios0: vendor American Megatrends Inc. version 1.07 date 02/07/2007
bios0: CCE X20II Series
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG SLIC OEMB
acpi0: wakeup devices P0P5(S4) P0P1(S4) MC97(S4) AZC_(S4) P0P2(S4) LAN1(S4)
P0P3(S4) P0P4(S4) P0P6(S4) P0P7(S4) P0P8(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 6 (P0P2)
acpiprt3 at acpi0: bus 3 (P0P3)
acpiprt4 at acpi0: bus -1 (P0P4)
acpiprt5 at acpi0: bus -1 (P0P6)
acpiprt6 at acpi0: bus -1 (P0P7)
acpiprt7 at acpi0: bus -1 (P0P8)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 100 degC
acpibat0 at acpi0: BAT0 model X20IA serial 1 type LiON oem OEM
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: PWRB
acpivideo0 at acpi0: IGD_
acpivout0 at acpivideo0: CRT_
acpivout1 at acpivideo0: TV__
acpivout2 at acpivideo0: LCD_
bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000
cpu0: unknown Enhanced SpeedStep CPU, msr 0x061d0d280600061d
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1730 MHz: speeds: 1733, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
bridge io address conflict 0xd000/0x1000
pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd000, size 0x1000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2
int 16 (irq 11)
azalia_reset: resetting
azalia_reset: reset counter = 5000
azalia_reset: reset counter = 4984
azalia0: host: High Definition Audio rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia0: found a codec at #0
azalia0: found a codec at #1
azalia_init_corb: CORB allocation succeeded.
azalia_init_corb: CORBWP=0; size=256
azalia_init_rirb: RIRB allocation succeeded.
azalia_init_rirb: RIRBRP=0, size=256
azalia0: codec[0] vid 0x10ec0861, subid 0x90751584, rev. 3.0, HDA version
1.0
azalia0: nidstart=1 #functions=1
azalia_codec_init: FTYPE result = 0x0001
azalia_codec_init: There are 33 widgets in the audio function.
encodings=1PCM
PCM formats=e014024bit,20bit,16bit,96kHz,48kHz
inamp: mute=0 size=0 steps=0 offset=0
outamp: mute=1 size=0 steps=0 offset=0
gpio: wake=0 unsol=0 gpis=0 gpos=0 gpios=0
azalia0: dac03 wcap=405POWER,OUTAMP,STEREO
azalia0: dac04 wcap=405POWER,OUTAMP,STEREO
azalia0: dac05 wcap=405POWER,OUTAMP,STEREO
azalia0: dac06 wcap=405POWER,OUTAMP,STEREO
azalia0: dac07 wcap=605POWER,DIGITAL,OUTAMP,STEREO
azalia0: adc08 wcap=10051bPOWER,CONNLIST,FORMATOV,AMPOV,INAMP,STEREO
encodings=1PCM
PCM formats=2014016bit,96kHz,48kHz
inamp: mute=1 size=11 steps=13 offset=2
connections=0xd,0xc,0xf,0x10,0x11,0x15; selected=0xd
azalia0: vendor09 wcap=f0
azalia0: vendor0a wcap=f0
azalia0: green0b wcap=400581POWER,CONNLIST,UNSOL,STEREO
cap=1fOUTPUT,HEADPHONE,PRESENCE,TRIGGER,IMPEDANCE
[01/00] color=green device=line conn=jack conntype=1/8
location=rear chassis=external special=none
connections=0x16; selected=0x16
azalia0: black0c wcap=400581POWER,CONNLIST,UNSOL,STEREO
cap=37INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE
[15/00] color=black device=spkr conn=none conntype=1/8
location=rear chassis=external special=none
connections=0x19; selected=0x19
azalia0: pink0d wcap=400581POWER,CONNLIST,UNSOL,STEREO
cap=337VREF50,VREFHIZ,INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE
[03/00] color=pink device=mic conn=jack conntype=1/8
location=rear chassis=external special=none
connections=0x18; selected=0x18
azalia0: black0e wcap=400581POWER,CONNLIST,UNSOL,STEREO
cap=17OUTPUT,PRESENCE,TRIGGER,IMPEDANCE
[15/00] color=black device=spkr conn=none conntype=1/8
location=rear chassis=external special=none
connections=0x19; selected=0x19
azalia0: black0f wcap=400581POWER,CONNLIST,UNSOL,STEREO


Re: Azalia No Problem but no Audio

2010-10-26 Thread Shazaum
outputs.master=0,0  outputs.master=100,100

about it, I had already changed to another value

--

Renato dos Santos
shazaum.wordpress.com



On 26 October 2010 19:49, Shazaum shaz...@gmail.com wrote:



 dmesg:

 OpenBSD 4.7 (prime) #4: Tue Oct 26 17:41:31 BRST 2010
 r...@opens.com.br:/usr/src/kernel/sys/arch/i386/compile/prime
 cpu0: Genuine Intel(R) CPU T2080 @ 1.73GHz (GenuineIntel 686-class) 1.73
 GHz
 cpu0:
 FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,EST,TM2,xTPR
 real mem  = 1064726528 (1015MB)
 avail mem = 1022910464 (975MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 02/07/07, BIOS32 rev. 0 @ 0xf0010,
 SMBIOS rev. 2.3 @ 0xfacf0 (51 entries)
 bios0: vendor American Megatrends Inc. version 1.07 date 02/07/2007
 bios0: CCE X20II Series
 acpi0 at bios0: rev 0
 acpi0: tables DSDT FACP APIC MCFG SLIC OEMB
 acpi0: wakeup devices P0P5(S4) P0P1(S4) MC97(S4) AZC_(S4) P0P2(S4) LAN1(S4)
 P0P3(S4) P0P4(S4) P0P6(S4) P0P7(S4) P0P8(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 132MHz
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (P0P1)
 acpiprt2 at acpi0: bus 6 (P0P2)
 acpiprt3 at acpi0: bus 3 (P0P3)
 acpiprt4 at acpi0: bus -1 (P0P4)
 acpiprt5 at acpi0: bus -1 (P0P6)
 acpiprt6 at acpi0: bus -1 (P0P7)
 acpiprt7 at acpi0: bus -1 (P0P8)
 acpiec0 at acpi0
 acpicpu0 at acpi0: C3, C2
 acpitz0 at acpi0: critical temperature 100 degC
 acpibat0 at acpi0: BAT0 model X20IA serial 1 type LiON oem OEM
 acpiac0 at acpi0: AC unit online
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibtn2 at acpi0: PWRB
 acpivideo0 at acpi0: IGD_
 acpivout0 at acpivideo0: CRT_
 acpivout1 at acpivideo0: TV__
 acpivout2 at acpivideo0: LCD_
 bios0: ROM list: 0xc/0xea00! 0xcf000/0x1000
 cpu0: unknown Enhanced SpeedStep CPU, msr 0x061d0d280600061d
 cpu0: using only highest and lowest power states
 cpu0: Enhanced SpeedStep 1730 MHz: speeds: 1733, 800 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 bridge io address conflict 0xd000/0x1000
 pchb0 at pci0 dev 0 function 0 Intel 82945GM Host rev 0x03
 vga1 at pci0 dev 2 function 0 Intel 82945GM Video rev 0x03
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xd000, size 0x1000
 inteldrm0 at vga1: apic 2 int 16 (irq 11)
 drm0 at inteldrm0
 Intel 82945GM Video rev 0x03 at pci0 dev 2 function 1 not configured
 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: apic 2
 int 16 (irq 11)
 azalia_reset: resetting
 azalia_reset: reset counter = 5000
 azalia_reset: reset counter = 4984
 azalia0: host: High Definition Audio rev. 1.0
 azalia0: host: 4 output, 4 input, and 0 bidi streams
 azalia0: found a codec at #0
 azalia0: found a codec at #1
 azalia_init_corb: CORB allocation succeeded.
 azalia_init_corb: CORBWP=0; size=256
 azalia_init_rirb: RIRB allocation succeeded.
 azalia_init_rirb: RIRBRP=0, size=256
 azalia0: codec[0] vid 0x10ec0861, subid 0x90751584, rev. 3.0, HDA version
 1.0
 azalia0: nidstart=1 #functions=1
 azalia_codec_init: FTYPE result = 0x0001
 azalia_codec_init: There are 33 widgets in the audio function.
 encodings=1PCM
 PCM formats=e014024bit,20bit,16bit,96kHz,48kHz
 inamp: mute=0 size=0 steps=0 offset=0
 outamp: mute=1 size=0 steps=0 offset=0
 gpio: wake=0 unsol=0 gpis=0 gpos=0 gpios=0
 azalia0: dac03 wcap=405POWER,OUTAMP,STEREO
 azalia0: dac04 wcap=405POWER,OUTAMP,STEREO
 azalia0: dac05 wcap=405POWER,OUTAMP,STEREO
 azalia0: dac06 wcap=405POWER,OUTAMP,STEREO
 azalia0: dac07 wcap=605POWER,DIGITAL,OUTAMP,STEREO
 azalia0: adc08 wcap=10051bPOWER,CONNLIST,FORMATOV,AMPOV,INAMP,STEREO
 encodings=1PCM
 PCM formats=2014016bit,96kHz,48kHz
 inamp: mute=1 size=11 steps=13 offset=2
 connections=0xd,0xc,0xf,0x10,0x11,0x15; selected=0xd
 azalia0: vendor09 wcap=f0
 azalia0: vendor0a wcap=f0
 azalia0: green0b wcap=400581POWER,CONNLIST,UNSOL,STEREO
 cap=1fOUTPUT,HEADPHONE,PRESENCE,TRIGGER,IMPEDANCE
 [01/00] color=green device=line conn=jack conntype=1/8
 location=rear chassis=external special=none
 connections=0x16; selected=0x16
 azalia0: black0c wcap=400581POWER,CONNLIST,UNSOL,STEREO
 cap=37INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE
 [15/00] color=black device=spkr conn=none conntype=1/8
 location=rear chassis=external special=none
 connections=0x19; selected=0x19
 azalia0: pink0d wcap=400581POWER,CONNLIST,UNSOL,STEREO
 cap=337VREF50,VREFHIZ,INPUT,OUTPUT,PRESENCE,TRIGGER,IMPEDANCE
 [03/00] color=pink device=mic conn=jack conntype=1/8
 location=rear chassis=external special=none
 connections=0x18; selected=0x18
 azalia0: black0e