FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-30-2010, 01:52 PM
Volkan YAZICI
 
Default Samsung R540 Microphone Problem

Hi,

I'm having trouble to get mic working on this damn Samsung R540. I tried
using linux-image-2.6.26-2-686 (stable/lenny) and
linux-image-2.6.32-bpo.5-686 (backports) with no success. Then I
downloaded latest alsa-driver and tried to compile it against
linux-image-2.6.32-bpo.5-686, but this time I encountered missing files
in linux-headers-2.6.32-bpo.5-common. (Reported the issue to the
debian-kernel ml.) Then I downloaded a vanilla linux-2.6.32.5 and
followed below steps.

1) Copied config-2.6.32-bpo.5-686 to /usr/src/linux-2.6.32.5/.config.
Ran "make menuconfig" and loaded ".config". Later, "make oldconfig",
"make prepare", and "make scripts".

2) Issued

./configure
--with-cards=hda-intel
--with-kernel=/usr/src/linux-2.6.32.5"

in "/usr/local/src/alsa-driver-1.0.23" and then, "make && make
install" followed.

3) Manually copied below files to appropriate locations in
"/lib/modules/2.6.32-bpo.5-686".

/lib/modules/2.6.32.5/misc/
|-- acore
| |-- oss
| | |-- snd-mixer-oss.ko
| | `-- snd-pcm-oss.ko
| |-- seq
| | |-- oss
| | | `-- snd-seq-oss.ko
| | |-- snd-seq-device.ko
| | |-- snd-seq-midi-event.ko
| | `-- snd-seq.ko
| |-- snd-hwdep.ko
| |-- snd-page-alloc.ko
| |-- snd-pcm.ko
| |-- snd-timer.ko
| `-- snd.ko
`-- pci
`-- hda
|-- snd-hda-codec-analog.ko
|-- snd-hda-codec-atihdmi.ko
|-- snd-hda-codec-ca0110.ko
|-- snd-hda-codec-cirrus.ko
|-- snd-hda-codec-cmedia.ko
|-- snd-hda-codec-conexant.ko
|-- snd-hda-codec-idt.ko
|-- snd-hda-codec-intelhdmi.ko
|-- snd-hda-codec-nvhdmi.ko
|-- snd-hda-codec-realtek.ko
|-- snd-hda-codec-si3054.ko
|-- snd-hda-codec-via.ko
|-- snd-hda-codec.ko
`-- snd-hda-intel.ko

4) Issued a "depmod -a" in "/lib/modules/2.6.32-bpo.5-686" and then
restarted the system.

You see, I tried hard. :F Anyway, my mic still doesn't work. Any ideas?
("lspci -vnn" is attached.)


Regards.

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:0044] (rev 02)
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>

00:01.0 PCI bridge [0604]: Intel Corporation Device [8086:0045] (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: e0000000-f00fffff
Capabilities: [88] Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Capabilities: [80] Power Management version 3
Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel <?>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1a.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced Host Controller [8086:3b3c] (rev 05) (prog-if 20 [EHCI])
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f4c08000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCIe advanced features <?>
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:1b.0 Audio device [0403]: Intel Corporation Ibex Peak High Definition Audio [8086:3b56] (rev 05)
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at f4c00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 1 [8086:3b42] (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: f3800000-f4bfffff
Prefetchable memory behind bridge: 00000000f4d00000-00000000f4efffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.2 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 3 [8086:3b46] (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=05, sec-latency=0
I/O behind bridge: 00007000-0000afff
Memory behind bridge: f0200000-f23fffff
Prefetchable memory behind bridge: 00000000f4f00000-00000000f50fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.3 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port 4 [8086:3b48] (rev 05) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: f2400000-f37fffff
Prefetchable memory behind bridge: 00000000f5100000-00000000f52fffff
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [90] Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Capabilities: [a0] Power Management version 2
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced Host Controller [8086:3b34] (rev 05) (prog-if 20 [EHCI])
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at f4c07000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCIe advanced features <?>
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev a5) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=32
Capabilities: [50] Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]

00:1f.0 ISA bridge [0601]: Intel Corporation Ibex Peak LPC Interface Controller [8086:3b09] (rev 05)
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information <?>
Kernel modules: iTCO_wdt

00:1f.2 SATA controller [0106]: Intel Corporation Ibex Peak 4 port SATA AHCI Controller [8086:3b29] (rev 05) (prog-if 01 [AHCI 1.0])
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 34
I/O ports at e070 [size=8]
I/O ports at e060 [size=4]
I/O ports at e050 [size=8]
I/O ports at e040 [size=4]
I/O ports at e020 [size=32]
Memory at f4c06000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA <?>
Capabilities: [b0] PCIe advanced features <?>
Kernel driver in use: ahci
Kernel modules: ahci

00:1f.3 SMBus [0c05]: Intel Corporation Ibex Peak SMBus Controller [8086:3b30] (rev 05)
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: medium devsel, IRQ 18
Memory at f4c05000 (64-bit, non-prefetchable) [size=256]
I/O ports at e000 [size=32]
Kernel modules: i2c-i801

00:1f.6 Signal processing controller [1180]: Intel Corporation Ibex Peak Thermal Subsystem [8086:3b32] (rev 05)
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0, IRQ 4
Memory at f4c04000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Device [1002:9553] (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0, IRQ 35
Memory at e0000000 (32-bit, prefetchable) [size=256M]
I/O ports at d000 [size=256]
Memory at f0020000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at f0000000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Capabilities: [100] Vendor Specific Information <?>
Kernel driver in use: fglrx_pci
Kernel modules: radeon, fglrx

01:00.1 Audio device [0403]: ATI Technologies Inc Device [1002:aa38]
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f0030000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [100] Vendor Specific Information <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

02:00.0 Network controller [0280]: Broadcom Corporation Device [14e4:4727] (rev 01)
Subsystem: Askey Computer Corp. Device [144f:7179]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at f3800000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [48] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>
Capabilities: [160] Device Serial Number 39-e8-6a-ff-ff-df-00-00
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: brcm80211
Kernel modules: brcm80211

06:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354]
Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at f2400000 (64-bit, non-prefetchable) [size=16K]
I/O ports at b000 [size=256]
Capabilities: [48] Power Management version 3
Capabilities: [5c] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
Capabilities: [c0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [130] Device Serial Number 00-24-54-ff-ff-b9-1c-f8
Kernel driver in use: sky2
Kernel modules: sky2

3f:00.0 Host bridge [0600]: Intel Corporation Device [8086:2c62] (rev 02)
Subsystem: Intel Corporation Device [8086:8086]
Flags: bus master, fast devsel, latency 0

3f:00.1 Host bridge [0600]: Intel Corporation Device [8086:2d01] (rev 02)
Subsystem: Intel Corporation Device [8086:8086]
Flags: bus master, fast devsel, latency 0

3f:02.0 Host bridge [0600]: Intel Corporation Device [8086:2d10] (rev 02)
Subsystem: Intel Corporation Device [8086:8086]
Flags: bus master, fast devsel, latency 0

3f:02.1 Host bridge [0600]: Intel Corporation Device [8086:2d11] (rev 02)
Subsystem: Intel Corporation Device [8086:8086]
Flags: bus master, fast devsel, latency 0

3f:02.2 Host bridge [0600]: Intel Corporation Device [8086:2d12] (rev 02)
Subsystem: Intel Corporation Device [8086:8086]
Flags: bus master, fast devsel, latency 0

3f:02.3 Host bridge [0600]: Intel Corporation Device [8086:2d13] (rev 02)
Subsystem: Intel Corporation Device [8086:8086]
Flags: bus master, fast devsel, latency 0
 
Old 09-30-2010, 01:58 PM
Mihira Fernando
 
Default Samsung R540 Microphone Problem

On 09/30/2010 07:22 PM, Volkan YAZICI wrote:

Hi,

I'm having trouble to get mic working on this damn Samsung R540. I tried
using linux-image-2.6.26-2-686 (stable/lenny) and
linux-image-2.6.32-bpo.5-686 (backports) with no success. Then I
downloaded latest alsa-driver and tried to compile it against
linux-image-2.6.32-bpo.5-686, but this time I encountered missing files
in linux-headers-2.6.32-bpo.5-common. (Reported the issue to the
debian-kernel ml.) Then I downloaded a vanilla linux-2.6.32.5 and
followed below steps.
[snip]



00:1b.0 Audio device [0403]: Intel Corporation Ibex Peak High Definition Audio [8086:3b56] (rev 05)



Subsystem: Samsung Electronics Co Ltd Device [144d:c07f]
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at f4c00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel<?>
Capabilities: [130] Root Complex Link<?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel


Stupid question but did you select the sound capture source and set the
capture volume in the sound mixer application ?
I have a sound card that uses the snd-hda-intel driver as well and had
the same problem, only to find that in addition to the mic volume, I had
to set the Capture volume as well to get the mic working.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4CA4979A.8080407@gmail.com">http://lists.debian.org/4CA4979A.8080407@gmail.com
 
Old 09-30-2010, 02:10 PM
Volkan YAZICI
 
Default Samsung R540 Microphone Problem

On Thu, 30 Sep 2010, Mihira Fernando <mihiratheace@gmail.com> writes:
> Stupid question but did you select the sound capture source and set
> the capture volume in the sound mixer application ? I have a sound
> card that uses the snd-hda-intel driver as well and had the same
> problem, only to find that in addition to the mic volume, I had to set
> the Capture volume as well to get the mic working.

My bad, I should have given my alsamixer configurations. They are as
follows.

Master: 95
PCM: 100<>100
Front Mi: 100<>100
Mic Boos: 67<>67
Beep: Muted
Speaker: 90<>90
Capture: 100<>100
Digital: 100<>100


Regards.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87bp7fxqyd.fsf@ttmail.com">http://lists.debian.org/87bp7fxqyd.fsf@ttmail.com
 
Old 09-30-2010, 02:14 PM
Mihira Fernando
 
Default Samsung R540 Microphone Problem

On 09/30/2010 07:40 PM, Volkan YAZICI wrote:

On Thu, 30 Sep 2010, Mihira Fernando<mihiratheace@gmail.com> writes:

Stupid question but did you select the sound capture source and set
the capture volume in the sound mixer application ? I have a sound
card that uses the snd-hda-intel driver as well and had the same
problem, only to find that in addition to the mic volume, I had to set
the Capture volume as well to get the mic working.

My bad, I should have given my alsamixer configurations. They are as
follows.

Master: 95
PCM: 100<>100
Front Mi: 100<>100
Mic Boos: 67<>67
Beep: Muted
Speaker: 90<>90
Capture: 100<>100
Digital: 100<>100


Regards.


The setting i'm talking about is in the Input mixer settings.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4CA49B3F.8020706@gmail.com">http://lists.debian.org/4CA49B3F.8020706@gmail.com
 
Old 09-30-2010, 03:22 PM
Volkan YAZICI
 
Default Samsung R540 Microphone Problem

On Thu, 30 Sep 2010, Mihira Fernando <mihiratheace@gmail.com> writes:
> On 09/30/2010 07:40 PM, Volkan YAZICI wrote:
>> On Thu, 30 Sep 2010, Mihira Fernando<mihiratheace@gmail.com> writes:
>>> Stupid question but did you select the sound capture source and set
>>> the capture volume in the sound mixer application ? I have a sound
>>> card that uses the snd-hda-intel driver as well and had the same
>>> problem, only to find that in addition to the mic volume, I had to set
>>> the Capture volume as well to get the mic working.
>> My bad, I should have given my alsamixer configurations. They are as
>> follows.
>>
>> Master: 95
>> PCM: 100<>100
>> Front Mi: 100<>100
>> Mic Boos: 67<>67
>> Beep: Muted
>> Speaker: 90<>90
>> Capture: 100<>100
>> Digital: 100<>100
>>
> The setting i'm talking about is in the Input mixer settings.

Hrm... Where can I reach that configuration?

BTW, I made some progress. In the dmesg output (attached with the post)
I spotted below lines.

[ 7.948049] hda_codec: ALC269: BIOS auto-probing.
[ 7.948757] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input9
[ 7.951086] HDA Intel 0000:01:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 7.951126] HDA Intel 0000:01:00.1: setting latency timer to 64

And by looking at Documentation/sound/alsa/HD-Audio-Models.txt for
ALC269, I tried loading sound modules with "model" option set to one of
"basic", "quanta", "eeepc-p703", "eeepc-p901", "fujitsu", "lifebook"
values. Here are my observations: "basic", "lifebook", and "quanta"
managed to get that "ssshhh" noise from the speakers. I can hear the
sound of my fingers typing from the speakers. When I talk to the mic, I
can also hear my own voice. But arecord still doesn't record anything.
Among those working three combinations, "basic" and "lifebook" bring
much more configuration properties to the alsamixer screen compared to
"quanta". "basic" brings "Front Mic" configuration, and "lifebook"
brings "Dock Mick" configuration to the alsamixer screen. Still
scratching. Any ideas?


Regards.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87bp7f2r4h.fsf@ttmail.com">http://lists.debian.org/87bp7f2r4h.fsf@ttmail.com
 

Thread Tools




All times are GMT. The time now is 04:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org