Skip to contentSkip to conversation

No headphones on STAC7661

DISCUSSION Franck Routier 3 participants 9 messages Aug 30, 2006 – Aug 31, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I have problems with headphones on my Sony Viao VGN-SZ1M using alsa.

Main speakers work fine, but as soon as I plug a headphone set, main speakers mute (as expected), but I get no sound on headphones either...

Here is my environment :

Sony SZ1M
alsamixer says :
Card: HDA Intel
Chip: SigmaTel STAC7661
two items : Master and PCM.

$ cat /proc/asound/modules
0 snd_hda_intel

I use Ubuntu Dapper with ubuntu kernel 2.6.15-26-686.

Well, I don't know what information would be interesting to track down the problem...

Thanks,
Franck

-------------------------------------------------------------------------
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

#1 lore raw

At Wed, 30 Aug 2006 11:14:13 +0200,

Quoted 16 lines · Franck Routier

Hi,

I have problems with headphones on my Sony Viao VGN-SZ1M using alsa.

Main speakers work fine, but as soon as I plug a headphone set, main speakers mute (as expected), but I get no sound on headphones either...

Here is my environment :

Sony SZ1M
alsamixer says :
Card: HDA Intel
Chip: SigmaTel STAC7661
two items : Master and PCM.

Quoted 7 lines
$ cat /proc/asound/modules
0 snd_hda_intel

I use Ubuntu Dapper with ubuntu kernel 2.6.15-26-686.

Well, I don't know what information would be interesting to track down the problem...

Which version of ALSA did you try?
At best, you should try the latest ALSA HG version.

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

#2 lore raw

Hi,

thanks for replying.

I don't how to tell which alsa version I use !..
"alsa-base" package version is : 10.0.10-4ubuntu4, so it might indicate 10.0.10-4 version of alsa ?

Anyway, I have found the solution for my problem, by finding a bug report at ubuntu bugtracker (bug #33719)
see https://launchpad.net/distros/ubuntu/+source/alsa-driver/+bug/33719

What I had to do is to add "options snd-hda-intel model=vaio" for the module,
namely in /etc/modprobe.d/snd-hda-intel on an Ubuntu box.

With this option, everything works fine.

However, it would be easier if the option could be avoided (not easy for a beginner to find the trick).

Thanks,
Franck

Quoted 6 lines · Takashi Iwai

Which version of ALSA did you try?
At best, you should try the latest ALSA HG version.

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

#3 lore raw

At Wed, 30 Aug 2006 14:32:02 +0200,

Quoted 8 lines · Franck Routier

Hi,

thanks for replying.

I don't how to tell which alsa version I use !..
"alsa-base" package version is : 10.0.10-4ubuntu4, so it might indicate 10.0.10-4 version of alsa ?

No idea about ubuntu. It sounds irrelevant, though.

Quoted 4 lines

Anyway, I have found the solution for my problem, by finding a bug report at ubuntu bugtracker (bug #33719)
see https://launchpad.net/distros/ubuntu/+source/alsa-driver/+bug/33719

Quoted 8 lines

What I had to do is to add "options snd-hda-intel model=vaio" for the module,
namely in /etc/modprobe.d/snd-hda-intel on an Ubuntu box.

With this option, everything works fine.

However, it would be easier if the option could be avoided (not easy for a beginner to find the trick).

Yes, and the driver should work without module options if you used the latest ALSA version :)

For checking it, please show your PCI SSID, the output of "lspci -nv" for class 0403 entry.

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

#4 lore raw
Quoted 4 lines · Takashi Iwai

Yes, and the driver should work without module options if you used the latest ALSA version :)

Great...

Quoted 3 lines

For checking it, please show your PCI SSID, the output of "lspci -nv" for class 0403 entry.

$ lspci -nv | grep 0403
0000:00:1b.0 0403: 8086:27d8 (rev 02)

What does this mean ??!

-------------------------------------------------------------------------
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

#5 lore raw

At Wed, 30 Aug 2006 15:35:33 +0200,

Quoted 6 lines · Franck Routier
Quoted 4 lines · Takashi Iwai

Yes, and the driver should work without module options if you used the latest ALSA version :)

Quoted 8 lines

Great...

Quoted 3 lines

For checking it, please show your PCI SSID, the output of "lspci -nv" for class 0403 entry.

$ lspci -nv | grep 0403
0000:00:1b.0 0403: 8086:27d8 (rev 02)

What does this mean ??!

No, the next line is important.

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

#6 lore raw
Quoted 18 lines · Takashi Iwai

At Wed, 30 Aug 2006 15:35:33 +0200,

Quoted 15 lines · Franck Routier
Quoted 4 lines · Takashi Iwai

Yes, and the driver should work without module options if you used the latest ALSA version :)

Great...

Quoted 4 lines

For checking it, please show your PCI SSID, the output of "lspci -nv" for class 0403 entry.

$ lspci -nv | grep 0403
0000:00:1b.0 0403: 8086:27d8 (rev 02)
Quoted 8 lines
Quoted 2 lines

What does this mean ??!

No, the next line is important.

Takashi

This ?

0000:00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 104d:81e6
Flags: bus master, fast devsel, latency 0, IRQ 74 Memory at de400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-

     Capabilities: [70] #10 [0091]

-------------------------------------------------------------------------
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

#7 lore raw

At Wed, 30 Aug 2006 16:02:33 +0200,

Quoted 30 lines · Franck Routier
Quoted 18 lines · Takashi Iwai

At Wed, 30 Aug 2006 15:35:33 +0200,

Quoted 15 lines · Franck Routier
Quoted 4 lines · Takashi Iwai

Yes, and the driver should work without module options if you used the latest ALSA version :)

Great...

Quoted 4 lines

For checking it, please show your PCI SSID, the output of "lspci -nv" for class 0403 entry.

$ lspci -nv | grep 0403
0000:00:1b.0 0403: 8086:27d8 (rev 02)
Quoted 8 lines
Quoted 2 lines

What does this mean ??!

No, the next line is important.

Takashi

This ?

Quoted 8 lines

0000:00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 104d:81e6
Flags: bus master, fast devsel, latency 0, IRQ 74 Memory at de400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-

     Capabilities: [70] #10 [0091]

Yes. Confirmed that your device is already included in the latest ALSA HG tree.

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

#8 lore raw

Re: what about STAC92xx (was: No headphones on STAC7661)

Quoted 15 lines · Takashi Iwai

At Wed, 30 Aug 2006 16:02:33 +0200,

Quoted 11 lines · Franck Routier

This ?

0000:00:1b.0 0403: 8086:27d8 (rev 02)
Subsystem: 104d:81e6
Flags: bus master, fast devsel, latency 0, IRQ 74 Memory at de400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0
Enable-

     Capabilities: [70] #10 [0091]
Quoted 3 lines

Yes. Confirmed that your device is already included in the latest ALSA HG tree.

Ah, as we are here, I just want to ask about this one:
<quote>
00:1b.0 0403: 8086:27d8 (rev 01)
Subsystem: 1028:01bd
Flags: bus master, fast devsel, latency 0, IRQ 233 Memory at dfebc000 (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)
</quote>

aplay -l tells that this device is:
<quote>
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
</quote>

I know I should just try it instead of asking, but I'm dramatically out of time and won't be able to compile it before next week :(

Thanks,
J

PS. Just want to add that before last kernel update (FC5 distro-kernel) aplay -l showed _two_ "cards". One 'Analog' and the other 'Digital'. Now as you see I've got one (which still works ocassionally - this hasn't changed).

Regards,

Signature · 10 lines
Jaroslaw Gorny
[email protected]


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GMU/E/CS d+/-- s+: a- c++ UL++/US P+>++ L+++>++++
E>++ W N++ o? K w--- !O M V- PS+++ PE++ Y PGP>++ t 5
X- R- tv--/!tv b++ DI-- D G- e++>+++ h-- r+++ z+++
-----END GEEK CODE BLOCK-----

-------------------------------------------------------------------------
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

_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel