Skip to contentSkip to conversation

clicking noise with Sigmatel STAC9202

DISCUSSION Christian Steffen 2 participants 4 messages Jul 29, 2009 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hello to all subscribers,

I'm new to this list and will start directly with my problem:

I'm running some ubuntu linux on a device called "o2 Joggler", which is a digital picture frame with touchscreen control.
Its chipsets are from intel, the cpu is an intel atom, and the other hardware devices are controlled by an Intel System Controller Hub "Poulsbo".

I'm running kernel 2.6.30 and the newest alsa version 1.0.20.

This is lscpi output:

Quoted 1 line
Quoted 1 line

00:1b.0 Audio Device: Intel Corporation System Controller Hub (SCH

Poulsbo) HD Audio Controller (rev 07)

cat proc/asound/cards:

Quoted 2 lines
Quoted 2 lines

0 [MID ]: HDA-Intel - HDA Intel MID

             HDA Intel MID at 0xd01c000 irq 16

The Codec is a

Quoted 1 line
Quoted 1 line

Sigmatel STAC9202

My problem is, that sound is working, but has constant clicking noise in the background, also if the sound is completely muted.
First I thought this sound would come from some hdd or whatever, but the device has no mechanical parts. But this is what it sounds like - Irregular clicking noise.

This noise immediately starts during boot up as soon as the module is loaded and before X11 has started.
I already tried options like "position_fix=1 or 2" and different "model="-options with no success.
"position_fix" didn't do anything at all and different model-options have muted the device completely.

Has someone any idea to get this working?
The device comes with an own (hardly) closed linux which runs a 2.6.24 kernel - here sound is working with no problems at all.

If you need further info, let me know.

Thanks in advance, best!
Christian

#1 lore raw

At Wed, 29 Jul 2009 15:06:02 +0200,

Quoted 39 lines · Christian Steffen

Hello to all subscribers,

I'm new to this list and will start directly with my problem:

I'm running some ubuntu linux on a device called "o2 Joggler", which is a digital picture frame with touchscreen control.
Its chipsets are from intel, the cpu is an intel atom, and the other hardware devices are controlled by an Intel System Controller Hub "Poulsbo".

I'm running kernel 2.6.30 and the newest alsa version 1.0.20.

This is lscpi output:

Quoted 1 line
Quoted 1 line

00:1b.0 Audio Device: Intel Corporation System Controller Hub (SCH

Poulsbo) HD Audio Controller (rev 07)

cat proc/asound/cards:

Quoted 2 lines
Quoted 2 lines

0 [MID ]: HDA-Intel - HDA Intel MID

             HDA Intel MID at 0xd01c000 irq 16

The Codec is a

Quoted 1 line
Quoted 1 line

Sigmatel STAC9202

My problem is, that sound is working, but has constant clicking noise in the background, also if the sound is completely muted.
First I thought this sound would come from some hdd or whatever, but the device has no mechanical parts. But this is what it sounds like - Irregular clicking noise.

This noise immediately starts during boot up as soon as the module is loaded and before X11 has started.
I already tried options like "position_fix=1 or 2" and different "model="-options with no success.
"position_fix" didn't do anything at all and different model-options have muted the device completely.

Quoted 3 lines

Has someone any idea to get this working?
The device comes with an own (hardly) closed linux which runs a 2.6.24 kernel - here sound is working with no problems at all.

Is the older kernel as is even with the same user-space stuff? If so, run alsa-info.sh (with --no-upload option) and save the content. Then run with the newer kernel and save the content. Attach both files to compare.

thanks,

Takashi

A message that is not in the archive (sent off-list or not yet received): 001301ca105b$5ec704d0$1c550e70$@de

#3 lore raw

At Wed, 29 Jul 2009 16:46:34 +0200,

Quoted 8 lines · Christian Steffen
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Is the older kernel as is even with the same user-space stuff?

Probaly yes, I mean I can start the on-device linux with the newer kernel and also get clicking noise.
But this way I can't run alsa-info.sh as this system has not all the apps it needs.

Quoted 5 lines

So I started another ubuntu linux on the device to run alsa-info.sh on the 2.6.30 kernel.

I've uploaded the result to:
http://pastebin.com/m5baeca9a

Please run it with --no-upload on both kernels, and attach both generated files.

Quoted 3 lines

Does this already help?
It's difficult to install apps to the linux which is on the device as it is very very limited.

Well, then at least, the contents of /proc/asound/card0/codec#*, /sys/class/sound/hwC0D*/*_pin_configs files (if present), and the file generated via "alsactl -f somefile store". These are the most important information.

Takashi

A message that is not in the archive (sent off-list or not yet received): 000301ca105e$d355b460$7a011d20$@de

A message that is not in the archive (sent off-list or not yet received): s5hd47jbj48.wl%[email protected]

#6 lore raw

Here I send the two also-info files as attachments.

Initial problem was:
Under kernel 2.6.30, Sound is working, but has constant clicking noise in the background, also if the sound is completely muted.
First I thought this sound would come from some hdd or whatever, but the device has no mechanical parts. But this is what it sounds like - Irregular clicking noise.

This noise immediately starts during boot up as soon as the module is loaded and before X11 has started.
I already tried options like "position_fix=1 or 2" and different "model="-options with no success.
"position_fix" didn't do anything at all and different model-options have muted the device completely.

Kernel 2.6.24 with the same files has no issues.

Quoted 3 lines
Quoted 3 lines

Then give as attachments later (and don't forget Cc to alsa-devel ML) these two files, not URL. It's important because ML is archived while pastebin can be removed at any time.

Thanks,
Christian Steffen

-----Ursprüngliche Nachricht-----
Von: Takashi Iwai [mailto:[email protected]]
Gesendet: Mittwoch, 29. Juli 2009 17:32
An: Christian Steffen
Cc: 'Takashi Iwai'
Betreff: Re: AW: [alsa-devel] clicking noise with Sigmatel STAC9202

At Wed, 29 Jul 2009 17:11:18 +0200,

Quoted 8 lines · Christian Steffen

Thanks,

Quoted 4 lines
Quoted 4 lines

Well, then at least, the contents of /proc/asound/card0/codec#*, /sys/class/sound/hwC0D*/*_pin_configs files (if present), and the file generated via "alsactl -f somefile store". These are the most important information.

Quoted 8 lines

There is no pinconfig file and there is also no alsactl tool present. I could obtain the output from the codec stuff:

http://pastebin.com/m1b81f47d (old kernel 2.6.24, only the codec info)
http://pastebin.com/m5baeca9a (new 2.6.30)

that's all I could get for the older kernel as I only have access using telnet.

Then give as attachments later (and don't forget Cc to alsa-devel ML) these two files, not URL. It's important because ML is archived while pastebin can be removed at any time.

Takashi

#
!!HDA-Intel Codec information
#
!!---------------------------
#

Codec: SigmaTel STAC9202
Address: 0
Vendor Id: 0x83847632
Subsystem Id: 0x100
Revision Id: 0x100101
No Modem Function Group found
Default PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Node 0x02 [Audio Output] wcaps 0xd0401: Stereo
Power: 0x0
Node 0x03 [Audio Input] wcaps 0x1d0541: Stereo
Power: 0x0
Connection: 1

     0x14
Node 0x04 [Audio Input] wcaps 0x140311: Stereo Digital
  PCM:
    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Connection: 1
     0x07
Node 0x05 [Audio Output] wcaps 0x40211: Stereo Digital
  PCM:
    rates [0x1e0]: 44100 48000 88200 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
Node 0x06 [Audio Selector] wcaps 0x300901: Stereo
  Connection: 3
     0x02* 0x07 0x14

Node 0x07 [Pin Complex] wcaps 0x430681: Stereo Digital
Pincap 0x0810024: IN EAPD Detect
Pin Default 0x01110014: [Jack] Speaker at Ext Rear
Conn = 1/8, Color = Unknown
Pin-ctls: 0x00:
Power: 0x0
Node 0x08 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x0810: OUT
Pin Default 0x01410013: [Jack] SPDIF Out at Ext Rear
Conn = 1/8, Color = Unknown
Pin-ctls: 0x40: OUT
Connection: 2

     0x05* 0x14

Node 0x09 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=0 Amp-Out vals: [0x07 0x07]
Connection: 1

     0x0f

Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x083f: IN OUT HP Detect
Pin Default 0x02111011: [Jack] Speaker at Ext Front
Conn = 1/8, Color = Black
Pin-ctls: 0x40: OUT
Connection: 1

     0x0e

Node 0x0b [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x081737: IN OUT Detect
Pin Default 0x01a10021: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Unknown
Pin-ctls: 0x24: IN
Connection: 1

     0x0e

Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x081737: IN OUT Detect
Pin Default 0x01810022: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Unknown
Pin-ctls: 0x20: IN
Connection: 1

     0x0e

Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x083f: IN OUT HP Detect
Pin Default 0x02214012: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
Pin-ctls: 0xc0: OUT HP
Connection: 1

     0x0e

Node 0x0e [Audio Selector] wcaps 0x300105: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x0d 0x0d]
Connection: 1

     0x06

Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00]
Connection: 5

     0x0b* 0x0c 0x0d 0x0a 0x11

Node 0x10 [Pin Complex] wcaps 0x400104: Mono Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x00]
Pincap 0x0810: OUT
Pin Default 0x01010031: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Unknown
Pin-ctls: 0x40: OUT
Connection: 1

     0x12

Node 0x11 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x01310023: [Jack] CD at Ext Rear
Conn = 1/8, Color = Unknown
Pin-ctls: 0x20: IN
Node 0x12 [Audio Mixer] wcaps 0x200100: Mono
Connection: 1

     0x06

Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1 Amp-Out vals: [0x00]
Node 0x14 [Audio Selector] wcaps 0x30090d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Connection: 2

     0x09* 0x15

Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x0820: IN
Pin Default 0x01d10024: [Jack] Digitial In at Ext Rear
Conn = 1/8, Color = Unknown
Pin-ctls: 0x20: IN

name=user&type=33&description=/tmp/alsa-info.txt&expiry=&s=Submit+Post&content= !!################################
!!ALSA Information Script v 0.4.57 !!################################

!!Script ran on: Sun May 7 11:54:21 UTC 1905

!!Linux Distribution
!!------------------

!!DMI Information
!!---------------

Manufacturer:
Product Name:

!!Kernel Information
!!------------------

Kernel release:    2.6.30
Operating System:  GNU/Linux
Architecture:      i686
Processor:         unknown
SMP Enabled:       No

!!ALSA Version
!!------------

Driver version:     1.0.20
Library version:    1.0.18
Utilities version:  1.0.18

!!Loaded ALSA modules
!!-------------------

snd_hda_intel

!!Sound Servers on this system
!!----------------------------

!!Soundcards recognised by ALSA
!!-----------------------------

0 [MID ]: HDA-Intel - HDA Intel MID

                      HDA Intel MID at 0xd01c0000 irq 16

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller (rev 07)

!!Advanced information - PCI Vendor/Device/Susbsystem ID's !!--------------------------------------------------------

00:1b.0 0403: 8086:811b (rev 07)

	Subsystem: 8086:8119

!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-usb-audio: index=-2
snd-usb-us122l: index=-2
snd-usb-usx2y: index=-2
snd-usb-caiaq: index=-2
snd-cmipci: mpu_port=0x330 fm_port=0x388
snd-pcsp: index=-2
snd-hda-intel: position_fix=1

!!Loaded sound module options
!!--------------------------

!!Module: snd_hda_intel
-ne
bdl_pos_adj : 32,-1,-1,-1,-1,-1,-1,-1
-ne
enable : Y,Y,Y,Y,Y,Y,Y,Y
-ne
enable_msi : 0
-ne
id : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> -ne
index : -1,-1,-1,-1,-1,-1,-1,-1
-ne
model : <NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL>,<NULL> -ne
position_fix : 1,0,0,0,0,0,0,0
-ne
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
-ne
probe_only : N,N,N,N,N,N,N,N
-ne
single_cmd : N

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: SigmaTel STAC9202
Address: 0
Function Id: 0x1
Vendor Id: 0x83847632
Subsystem Id: 0x00000100
Revision Id: 0x100101
No Modem Function Group found
Default PCM:

    rates [0x7e0]: 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1
GPIO: io=4, o=0, i=0, unsolicited=1, wake=1
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0xd0401: Stereo
Converter: stream=0, channel=0
Power: setting=D0, actual=D0
Delay: 13 samples
Node 0x03 [Audio Input] wcaps 0x1d0541: Stereo
Converter: stream=0, channel=0
SDI-Select: 0
Power: setting=D0, actual=D0
Delay: 13 samples
Connection: 1

     0x14

Processing caps: benign=0, ncoeff=0
Node 0x04 [Audio Input] wcaps 0x140311: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital:
Digital category: 0x0
PCM:

    rates [0x160]: 44100 48000 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
  Connection: 1
     0x07

Node 0x05 [Audio Output] wcaps 0x40211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:

    rates [0x1e0]: 44100 48000 88200 96000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
  Delay: 4 samples
Node 0x06 [Audio Selector] wcaps 0x300901: Stereo R/L
  Connection: 3
     0x02* 0x07 0x14

Node 0x07 [Pin Complex] wcaps 0x430681: Stereo Digital
Pincap 0x00010024: IN EAPD Detect
EAPD 0x0:
Pin Default 0x01c5e150: [Jack] SPDIF In at Ext Rear
Conn = Optical, Color = White DefAssociation = 0x5, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Power: setting=D0, actual=D0
Delay: 3 samples
Node 0x08 [Pin Complex] wcaps 0x400301: Stereo Digital
Pincap 0x00000010: OUT
Pin Default 0x01451130: [Jack] SPDIF Out at Ext Rear
Conn = Optical, Color = Black DefAssociation = 0x3, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 2

     0x05* 0x14

Node 0x09 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=0 Amp-Out vals: [0x00 0x00]
Connection: 1

     0x0f

Node 0x0a [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense Pin Default 0x0221401f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0x00:
Unsolicited: tag=01, enabled=1
Connection: 1

     0x0e

Node 0x0b [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x00001737: IN OUT Detect Trigger ImpSense
Vref caps: HIZ 50 GRD 80
Pin Default 0x02a19020: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=02, enabled=1
Connection: 1

     0x0e

Node 0x0c [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x00001737: IN OUT Detect Trigger ImpSense
Vref caps: HIZ 50 GRD 80
Pin Default 0x01813021: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x2, Sequence = 0x1
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=03, enabled=1
Connection: 1

     0x0e

Node 0x0d [Pin Complex] wcaps 0x400181: Stereo
Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1

     0x0e

Node 0x0e [Audio Selector] wcaps 0x300105: Stereo Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x95 0x95]
Connection: 1

     0x06

Node 0x0f [Audio Selector] wcaps 0x30010d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00]
Connection: 5

     0x0b 0x0c 0x0d 0x0a 0x11*

Node 0x10 [Pin Complex] wcaps 0x400104: Mono Amp-Out
Amp-Out caps: N/A
Amp-Out vals: [0x00]
Pincap 0x00000010: OUT
Pin Default 0x500701f0: [N/A] Line Out at Int N/A
Conn = Analog, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x12

Node 0x11 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x90330122: [Fixed] CD at Int N/A
Conn = ATAPI, Color = Unknown
DefAssociation = 0x2, Sequence = 0x2
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x12 [Audio Mixer] wcaps 0x200100: Mono
Connection: 1

     0x06

Node 0x13 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out
Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1 Amp-Out vals: [0x00]
Node 0x14 [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Connection: 2

     0x09* 0x15

Node 0x15 [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x50a001f1: [N/A] Mic at Int N/A
Conn = Unknown, Color = Unknown
DefAssociation = 0xf, Sequence = 0x1
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
--endcollapse--

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel