All of lore.kernel.org
 help / color / mirror / Atom feed
* problem with alsa on Sony UX-90s
@ 2006-11-09 15:28 Matthias Lemke
  2006-11-10 11:36 ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Lemke @ 2006-11-09 15:28 UTC (permalink / raw)
  To: alsa-devel

Hello,

i tried the last days linux on a sony UX90.
It is a very small notebook computer.

Sound works perfekt with headphones, but the internal speaker does not
his job.
I use als 1.0.13.

from dmesg:
[17179590.068000] hda_codec: Unknown model for ALC262, trying auto-probe
from BIOS...

loaded modules:

snd_seq_midi            9984  0
snd_rawmidi            27136  1 snd_seq_midi
snd_seq_midi_event      8960  2 snd_seq_oss,snd_seq_midi
snd_seq                59632  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24964  2 snd_pcm,snd_seq
snd_seq_device          9868  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
shpchp                 42144  0
pci_hotplug            32828  1 shpchp
snd                    60548  14
snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              11232  1 snd
snd_page_alloc         11656  2 snd_hda_intel,snd_pcm

cat /proc/asound/cards

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xd4340000 irq 66

head -3 /proc/asound/card0/codec*
Codec: Realtek ALC262
Address: 0
Vendor Id: 0x10ec0262
sina@ux90s:/proc/asound$

any ideas?

regards

matthias


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-09 15:28 problem with alsa on Sony UX-90s Matthias Lemke
@ 2006-11-10 11:36 ` Takashi Iwai
  2006-11-10 12:19   ` Matthias Lemke
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2006-11-10 11:36 UTC (permalink / raw)
  To: Matthias Lemke; +Cc: alsa-devel

At Thu, 09 Nov 2006 16:28:57 +0100,
Matthias Lemke wrote:
> 
> Hello,
> 
> i tried the last days linux on a sony UX90.
> It is a very small notebook computer.
> 
> Sound works perfekt with headphones, but the internal speaker does not
> his job.
> I use als 1.0.13.
> 
> from dmesg:
> [17179590.068000] hda_codec: Unknown model for ALC262, trying auto-probe
> from BIOS...

First of all, try the latest ALSA version from HG tree, especially for
HD-audio.  If it doesn't work, try to choose different model option
found in ALSA-Configuration.txt.  Some model might match with your
device. 

If none of the existing model matches with yours, we'd need to create
a new model.  Load the driver without model option, and show the
content of /proc/asound/card0/codec#* file.  If we have luck, the BIOS
sets up a speaker pin...


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-10 11:36 ` Takashi Iwai
@ 2006-11-10 12:19   ` Matthias Lemke
  2006-11-10 13:22     ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Lemke @ 2006-11-10 12:19 UTC (permalink / raw)
  To: alsa-devel



Takashi Iwai schrieb:
> At Thu, 09 Nov 2006 16:28:57 +0100,
> Matthias Lemke wrote:
>> Hello,
>>
>> i tried the last days linux on a sony UX90.
>> It is a very small notebook computer.
>>
>> Sound works perfekt with headphones, but the internal speaker does not
>> his job.
>> I use als 1.0.13.
>>
>> from dmesg:
>> [17179590.068000] hda_codec: Unknown model for ALC262, trying auto-probe
>> from BIOS...
> 
> First of all, try the latest ALSA version from HG tree, especially for
> HD-audio.  If it doesn't work, try to choose different model option
> found in ALSA-Configuration.txt.  Some model might match with your
> device. 
> 
I updated to 1.0.13...
is it not "latest" enough?
So please give me (non developer) some hints how to get the latest code
please. which components (driver, utils, lib?) I have to update?

> If none of the existing model matches with yours, we'd need to create
> a new model.  Load the driver without model option, and show the
> content of /proc/asound/card0/codec#* file.  If we have luck, the BIOS
> sets up a speaker pin...

I added this output to my bug:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2605

After upgrading I can try the different models...

thanks

math

> 
> 
> Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-10 12:19   ` Matthias Lemke
@ 2006-11-10 13:22     ` Takashi Iwai
  2006-11-11 13:30       ` Matthias Lemke
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2006-11-10 13:22 UTC (permalink / raw)
  To: Matthias Lemke; +Cc: alsa-devel

At Fri, 10 Nov 2006 13:19:41 +0100,
Matthias Lemke wrote:
> 
> 
> 
> Takashi Iwai schrieb:
> > At Thu, 09 Nov 2006 16:28:57 +0100,
> > Matthias Lemke wrote:
> >> Hello,
> >>
> >> i tried the last days linux on a sony UX90.
> >> It is a very small notebook computer.
> >>
> >> Sound works perfekt with headphones, but the internal speaker does not
> >> his job.
> >> I use als 1.0.13.
> >>
> >> from dmesg:
> >> [17179590.068000] hda_codec: Unknown model for ALC262, trying auto-probe
> >> from BIOS...
> > 
> > First of all, try the latest ALSA version from HG tree, especially for
> > HD-audio.  If it doesn't work, try to choose different model option
> > found in ALSA-Configuration.txt.  Some model might match with your
> > device. 
> > 
> I updated to 1.0.13...
> is it not "latest" enough?

No.  Try HG (mercurial) version.  The daily snapshot tarballs are
available at below, too.
	ftp://ftp.suse.com/pub/projects/alsa/snapshot/

> So please give me (non developer) some hints how to get the latest code
> please. which components (driver, utils, lib?) I have to update?

Updating all driver, utils and lib is recommended.  Not always
mandatory, though.

> > If none of the existing model matches with yours, we'd need to create
> > a new model.  Load the driver without model option, and show the
> > content of /proc/asound/card0/codec#* file.  If we have luck, the BIOS
> > sets up a speaker pin...
> 
> I added this output to my bug:
> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2605

Please post it to here, too.  (Honestly I hate debugging on BTS with a
bad interface :)


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-10 13:22     ` Takashi Iwai
@ 2006-11-11 13:30       ` Matthias Lemke
  2006-11-13 11:21         ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Lemke @ 2006-11-11 13:30 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai



Takashi Iwai schrieb:
> At Fri, 10 Nov 2006 13:19:41 +0100,
> Matthias Lemke wrote:
>>
>>
>> Takashi Iwai schrieb:
>>> At Thu, 09 Nov 2006 16:28:57 +0100,
>>> Matthias Lemke wrote:
>>>> Hello,
>>>>
>>>> i tried the last days linux on a sony UX90.
>>>> It is a very small notebook computer.
>>>>
>>>> Sound works perfekt with headphones, but the internal speaker does not
>>>> his job.
>>>>
>> I updated to 1.0.13...
>> is it not "latest" enough?
> 
> No.  Try HG (mercurial) version.  The daily snapshot tarballs are
> available at below, too.
> 	ftp://ftp.suse.com/pub/projects/alsa/snapshot/

ok, done

> 
>> So please give me (non developer) some hints how to get the latest code
>> please. which components (driver, utils, lib?) I have to update?
> 
> Updating all driver, utils and lib is recommended.  Not always
> mandatory, though.

utils... done

> 
>>> If none of the existing model matches with yours, we'd need to create
>>> a new model.  Load the driver without model option, and show the
>>> content of /proc/asound/card0/codec#* file.  If we have luck, the BIOS
>>> sets up a speaker pin...
>> I added this output to my bug:
>> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2605
> 
> Please post it to here, too.  (Honestly I hate debugging on BTS with a
> bad interface :)

ok, some models working!
for instance basic, hippo.
I assume I have a mono speaker. So every model with a "mono" channel
works. Auto has no Mono channel.
Also the internal Mic works. I cant check line in at the moment...
auto doesnt work correctly.

should we do some´additions in the code for autoconfig?
if not: thanks for support!

regards

if yes:
here we have the file...

Codec: Realtek ALC262
Address: 0
Vendor Id: 0x10ec0262
Subsystem Id: 0x104d1100
Revision Id: 0x100100
Default PCM: rates 0x560, bits 0x0e, types 0x1
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
Node 0x02 [Audio Output] wcaps 0x11: Stereo
  PCM: rates 0x560, bits 0x0e, types 0x1
Node 0x03 [Audio Output] wcaps 0x11: Stereo
  PCM: rates 0x560, bits 0x0e, types 0x1
Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
  PCM: rates 0x560, bits 0x1e, types 0x1
Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x04 0x04]
  PCM: rates 0x160, bits 0x06, types 0x1
  Connection: 1
     0x24
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x04 0x04]
  PCM: rates 0x160, bits 0x06, types 0x1
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Amp-In caps: ofs=0x08, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x05 0x05]
  PCM: rates 0x160, bits 0x06, types 0x1
  Connection: 1
     0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
  PCM: rates 0x560, bits 0x1e, types 0x1
  Connection: 1
     0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x88 0x88] [0x0d 0x0d] [0x00 0x00] [0x00 0x00] [0x00
0x00] [0x8
0 0x80] [0x97 0x97] [0x97 0x97]
  Connection: 8
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x19 0x19]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00 0x00]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010e: Mono Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00] [0x00]
  Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0
  Amp-Out vals:  [0x00]
  Connection: 2
     0x02 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083e: IN OUT HP Detect
  Pin Default 0x01017110: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Yellow
  Pin-ctls: 0x40: OUT
  Connection: 2
     0x0c* 0x0d
Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x083e: IN OUT HP Detect
  Pin Default 0x0121101f: [Jack] HP Out at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0xc0: OUT HP
  Connection: 2
     0x0c* 0x0d
Node 0x16 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80]
  Pincap 0x0810: OUT
  Pin Default 0x99030120: [Fixed] Line Out at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x40: OUT
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x01a15830: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Red
  Pin-ctls: 0x24: IN
  Connection: 2
     0x0c* 0x0d
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x99a3013f: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
  Pin-ctls: 0x24: IN
  Connection: 2
     0x0c* 0x0d
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00] [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x08173e: IN OUT HP Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x20: IN
  Connection: 2
     0x0c* 0x0d
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
Node 0x1e [Pin Complex] wcaps 0x400380: Mono Digital
  Pincap 0x0810: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
  Connection: 1
     0x06
Node 0x1f [Pin Complex] wcaps 0x400280: Mono Digital
  Pincap 0x0820: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
  Pin-ctls: 0x00:
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
0x80] [0x8
0 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
0x80] [0x8
0 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b
Node 0x24 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
0x80] [0x8
0 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Amp-Out caps: N/A
  Amp-Out vals:  [0x00 0x00]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b



> 
> 
> Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-11 13:30       ` Matthias Lemke
@ 2006-11-13 11:21         ` Takashi Iwai
  2006-11-13 12:47           ` Matthias Lemke
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2006-11-13 11:21 UTC (permalink / raw)
  To: Matthias Lemke; +Cc: alsa-devel

At Sat, 11 Nov 2006 14:30:45 +0100,
Matthias Lemke wrote:
> 
> >>> If none of the existing model matches with yours, we'd need to create
> >>> a new model.  Load the driver without model option, and show the
> >>> content of /proc/asound/card0/codec#* file.  If we have luck, the BIOS
> >>> sets up a speaker pin...
> >> I added this output to my bug:
> >> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2605
> > 
> > Please post it to here, too.  (Honestly I hate debugging on BTS with a
> > bad interface :)
> 
> ok, some models working!
> for instance basic, hippo.
> I assume I have a mono speaker. So every model with a "mono" channel
> works. Auto has no Mono channel.
> Also the internal Mic works. I cant check line in at the moment...
> auto doesnt work correctly.

The difference between basic and hippo models is that hippo supports
the HP-jack detection and mutes the speaker automatically.  Does the
auto-mute work on your machine?

Also hippo adds the digital output support, but it would be harmless
anyway even if the device has no SPDIF output.

> should we do some´additions in the code for autoconfig?

If the auto-mute is working and there is no obvious missing function,
we can add the entry for your device to the driver code so that
model=hippo will be chosen automatically in future.  Then let me know
the output of "lspci -nv" (only for class 0403 entry) to add the
corresponding PCI SSID.


thanks,

Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-13 11:21         ` Takashi Iwai
@ 2006-11-13 12:47           ` Matthias Lemke
  2006-11-13 13:26             ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Lemke @ 2006-11-13 12:47 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai



Takashi Iwai schrieb:
> At Sat, 11 Nov 2006 14:30:45 +0100,
> Matthias Lemke wrote:
>>>>> If none of the existing model matches with yours, we'd need to create
>>>>> a new model.  Load the driver without model option, and show the
>>>>> content of /proc/asound/card0/codec#* file.  If we have luck, the BIOS
>>>>> sets up a speaker pin...
>>>> I added this output to my bug:
>>>> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2605
>>> Please post it to here, too.  (Honestly I hate debugging on BTS with a
>>> bad interface :)
>> ok, some models working!
>> for instance basic, hippo.
>> I assume I have a mono speaker. So every model with a "mono" channel
>> works. Auto has no Mono channel.
>> Also the internal Mic works. I cant check line in at the moment...
>> auto doesnt work correctly.
> 
> The difference between basic and hippo models is that hippo supports
> the HP-jack detection and mutes the speaker automatically.  Does the
> auto-mute work on your machine?

what do You mean?

with hippo and with basic i have the following behaviour:

- speaker switches off while inserting headphones
- alsamixer shows no muting automatically while inserting

should I check some other things?

> 
> Also hippo adds the digital output support, but it would be harmless
> anyway even if the device has no SPDIF output.

ok, no SPDIF here...

> 
>> should we do some´additions in the code for autoconfig?
> 
> If the auto-mute is working and there is no obvious missing function,
> we can add the entry for your device to the driver code so that
> model=hippo will be chosen automatically in future.  Then let me know
> the output of "lspci -nv" (only for class 0403 entry) to add the
> corresponding PCI SSID.

00:1b.0 0403: 8086:27d8 (rev 02)
        Subsystem: 104d:8203
        Flags: bus master, fast devsel, latency 0, IRQ 66
        Memory at d4340000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+
Queue=0/0 Enable+
        Capabilities: [70] Express Unknown type IRQ 0
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Unknown (5)


regards

math


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-13 12:47           ` Matthias Lemke
@ 2006-11-13 13:26             ` Takashi Iwai
  2006-11-14 11:20               ` Matthias Lemke
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Iwai @ 2006-11-13 13:26 UTC (permalink / raw)
  To: Matthias Lemke; +Cc: alsa-devel

At Mon, 13 Nov 2006 13:47:59 +0100,
Matthias Lemke wrote:
> 
> Takashi Iwai schrieb:
> > At Sat, 11 Nov 2006 14:30:45 +0100,
> > Matthias Lemke wrote:
> >>>>> If none of the existing model matches with yours, we'd need to create
> >>>>> a new model.  Load the driver without model option, and show the
> >>>>> content of /proc/asound/card0/codec#* file.  If we have luck, the BIOS
> >>>>> sets up a speaker pin...
> >>>> I added this output to my bug:
> >>>> https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2605
> >>> Please post it to here, too.  (Honestly I hate debugging on BTS with a
> >>> bad interface :)
> >> ok, some models working!
> >> for instance basic, hippo.
> >> I assume I have a mono speaker. So every model with a "mono" channel
> >> works. Auto has no Mono channel.
> >> Also the internal Mic works. I cant check line in at the moment...
> >> auto doesnt work correctly.
> > 
> > The difference between basic and hippo models is that hippo supports
> > the HP-jack detection and mutes the speaker automatically.  Does the
> > auto-mute work on your machine?
> 
> what do You mean?
> 
> with hippo and with basic i have the following behaviour:
> 
> - speaker switches off while inserting headphones
> - alsamixer shows no muting automatically while inserting
> 
> should I check some other things?

I meant the former.  It seems that the auto-mute is working well.


> > Also hippo adds the digital output support, but it would be harmless
> > anyway even if the device has no SPDIF output.
> 
> ok, no SPDIF here...
> 
> > 
> >> should we do some´additions in the code for autoconfig?
> > 
> > If the auto-mute is working and there is no obvious missing function,
> > we can add the entry for your device to the driver code so that
> > model=hippo will be chosen automatically in future.  Then let me know
> > the output of "lspci -nv" (only for class 0403 entry) to add the
> > corresponding PCI SSID.
> 
> 00:1b.0 0403: 8086:27d8 (rev 02)
>         Subsystem: 104d:8203
>         Flags: bus master, fast devsel, latency 0, IRQ 66
>         Memory at d4340000 (64-bit, non-prefetchable) [size=16K]
>         Capabilities: [50] Power Management version 2
>         Capabilities: [60] Message Signalled Interrupts: 64bit+
> Queue=0/0 Enable+
>         Capabilities: [70] Express Unknown type IRQ 0
>         Capabilities: [100] Virtual Channel
>         Capabilities: [130] Unknown (5)

Thanks.  Please try the patch below and remove model=* option from
modprobe config file.


Takashi

diff -r 2c5aac411cf6 pci/hda/patch_realtek.c
--- a/pci/hda/patch_realtek.c	Thu Nov 09 16:47:26 2006 +0100
+++ b/pci/hda/patch_realtek.c	Mon Nov 13 14:25:03 2006 +0100
@@ -6438,6 +6438,9 @@ static struct hda_board_config alc262_cf
 	{ .modelname = "hippo",
 	  .pci_subvendor =0x1002, .pci_subdevice = 0x437b,
 	  .config = ALC262_HIPPO},
+	{ .modelname = "hippo",
+	  .pci_subvendor = 0x104d, .pci_subdevice = 0x8203,
+	  .config = ALC262_HIPPO }, /* Sony UX-90s */
 	{ .modelname = "hippo_1",
 	  .pci_subvendor =0x17ff, .pci_subdevice = 0x058f,
 	  .config = ALC262_HIPPO_1},

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-13 13:26             ` Takashi Iwai
@ 2006-11-14 11:20               ` Matthias Lemke
  2006-11-14 11:31                 ` Takashi Iwai
  0 siblings, 1 reply; 10+ messages in thread
From: Matthias Lemke @ 2006-11-14 11:20 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel



Takashi Iwai schrieb:
> 
> 
>>> Also hippo adds the digital output support, but it would be harmless
>>> anyway even if the device has no SPDIF output.
>> ok, no SPDIF here...
>>
>>>> should we do some´additions in the code for autoconfig?
>>> If the auto-mute is working and there is no obvious missing function,
>>> we can add the entry for your device to the driver code so that
>>> model=hippo will be chosen automatically in future.  Then let me know
>>> the output of "lspci -nv" (only for class 0403 entry) to add the
>>> corresponding PCI SSID.
>> 00:1b.0 0403: 8086:27d8 (rev 02)
>>         Subsystem: 104d:8203
>>         Flags: bus master, fast devsel, latency 0, IRQ 66
>>         Memory at d4340000 (64-bit, non-prefetchable) [size=16K]
>>         Capabilities: [50] Power Management version 2
>>         Capabilities: [60] Message Signalled Interrupts: 64bit+
>> Queue=0/0 Enable+
>>         Capabilities: [70] Express Unknown type IRQ 0
>>         Capabilities: [100] Virtual Channel
>>         Capabilities: [130] Unknown (5)
> 
> Thanks.  Please try the patch below and remove model=* option from
> modprobe config file.

patched works perfect.

thanks

math

> 
> 
> Takashi
> 
> diff -r 2c5aac411cf6 pci/hda/patch_realtek.c
> --- a/pci/hda/patch_realtek.c	Thu Nov 09 16:47:26 2006 +0100
> +++ b/pci/hda/patch_realtek.c	Mon Nov 13 14:25:03 2006 +0100
> @@ -6438,6 +6438,9 @@ static struct hda_board_config alc262_cf
>  	{ .modelname = "hippo",
>  	  .pci_subvendor =0x1002, .pci_subdevice = 0x437b,
>  	  .config = ALC262_HIPPO},
> +	{ .modelname = "hippo",
> +	  .pci_subvendor = 0x104d, .pci_subdevice = 0x8203,
> +	  .config = ALC262_HIPPO }, /* Sony UX-90s */
>  	{ .modelname = "hippo_1",
>  	  .pci_subvendor =0x17ff, .pci_subdevice = 0x058f,
>  	  .config = ALC262_HIPPO_1},

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: problem with alsa on Sony UX-90s
  2006-11-14 11:20               ` Matthias Lemke
@ 2006-11-14 11:31                 ` Takashi Iwai
  0 siblings, 0 replies; 10+ messages in thread
From: Takashi Iwai @ 2006-11-14 11:31 UTC (permalink / raw)
  To: Matthias Lemke; +Cc: Takashi Iwai, alsa-devel

At Tue, 14 Nov 2006 12:20:37 +0100,
Matthias Lemke wrote:
> 
> Takashi Iwai schrieb:
> > 
> > 
> >>> Also hippo adds the digital output support, but it would be harmless
> >>> anyway even if the device has no SPDIF output.
> >> ok, no SPDIF here...
> >>
> >>>> should we do some´additions in the code for autoconfig?
> >>> If the auto-mute is working and there is no obvious missing function,
> >>> we can add the entry for your device to the driver code so that
> >>> model=hippo will be chosen automatically in future.  Then let me know
> >>> the output of "lspci -nv" (only for class 0403 entry) to add the
> >>> corresponding PCI SSID.
> >> 00:1b.0 0403: 8086:27d8 (rev 02)
> >>         Subsystem: 104d:8203
> >>         Flags: bus master, fast devsel, latency 0, IRQ 66
> >>         Memory at d4340000 (64-bit, non-prefetchable) [size=16K]
> >>         Capabilities: [50] Power Management version 2
> >>         Capabilities: [60] Message Signalled Interrupts: 64bit+
> >> Queue=0/0 Enable+
> >>         Capabilities: [70] Express Unknown type IRQ 0
> >>         Capabilities: [100] Virtual Channel
> >>         Capabilities: [130] Unknown (5)
> > 
> > Thanks.  Please try the patch below and remove model=* option from
> > modprobe config file.
> 
> patched works perfect.

Thanks for confirmation.  Now the patch is merged to HG tree.


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-11-14 11:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09 15:28 problem with alsa on Sony UX-90s Matthias Lemke
2006-11-10 11:36 ` Takashi Iwai
2006-11-10 12:19   ` Matthias Lemke
2006-11-10 13:22     ` Takashi Iwai
2006-11-11 13:30       ` Matthias Lemke
2006-11-13 11:21         ` Takashi Iwai
2006-11-13 12:47           ` Matthias Lemke
2006-11-13 13:26             ` Takashi Iwai
2006-11-14 11:20               ` Matthias Lemke
2006-11-14 11:31                 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.