Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 8 guests | Time: 09:33
mic recording: no sound (via 8235)
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
9 posts found.
 mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 16777215
Registered: 2008-12-03
Unfortunately I cannot record from the microphone using gnome-audio recorder or skype or arecord -f cd -D hw:0,0 -d 3 test.wav (playback with aplay test.wav). I use paldo stable (fresh 1.20 install)

. However playback of radio works fine.

I have an old via kt400 board, which does not work properly with pulseaudio. Therefore I have removed pulseaudio from the automatic run application folder and I have also run

sudo rm /etc/asound.conf
sudo rm /etc/.asoundrc



alsactl init
Unknown hardware: "VIA8233" "Analog Devices AD1980" "AC97a:41445370" "0x1043" "0x80a1"
Hardware is initialized using a guess method

This is weared, because I have a via 8235 soundchip (on board)


The recording settings (should) correspond to
http://www.alsa-project.org/main/index.php/SoundcardTesting

Edit: amixer of my working mic
Code[In neuem Fenster öffnen]

Simple mixer control 'Master',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 29 [94%] [-3.00dB] [on]
Front Right: Playback 29 [94%] [-3.00dB] [on]
Simple mixer control 'Master Mono',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-46.50dB] [off]
Simple mixer control 'Master Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-46.50dB] [off]
Front Right: Playback 0 [0%] [-46.50dB] [off]
Simple mixer control 'Headphone Jack Sense',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 23 [74%] [0.00dB] [on]
Front Right: Playback 23 [74%] [0.00dB] [on]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 31 [100%] [0.00dB] [on]
Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Surround Jack Mode',0
Capabilities: enum
Items: 'Shared' 'Independent'
Item0: 'Shared'
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 31
Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Simple mixer control 'Line Jack Sense',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 23 [74%] [0.00dB] [on] Capture [off]
Front Right: Playback 23 [74%] [0.00dB] [on] Capture [off]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-34.50dB] [off]
Front Left: Capture [on]
Front Right: Capture [on]
Simple mixer control 'Mic Boost (+20dB)',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Mic Select',0
Capabilities: enum
Items: 'Mic1' 'Mic2'
Item0: 'Mic1'
Simple mixer control 'Video',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Phone',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono: Playback 0 [0%] [-34.50dB] [off]
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Capabilities: volume volume-joined
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 3
Mono: 2 [67%]
Simple mixer control 'IEC958 Playback Source',0
Capabilities: enum
Items: 'AC-Link' 'A/D Converter'
Item0: 'AC-Link'
Simple mixer control 'Aux',0
Capabilities: pvolume pswitch cswitch cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 31
Front Left: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Front Right: Playback 0 [0%] [-34.50dB] [off] Capture [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 15
Front Left: Capture 13 [87%] [19.50dB] [on]
Front Right: Capture 13 [87%] [19.50dB] [on]
Simple mixer control 'Mix',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Mix Mono',0
Capabilities: cswitch cswitch-exclusive
Capture exclusive group: 0
Capture channels: Front Left - Front Right
Front Left: Capture [off]
Front Right: Capture [off]
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Downmix',0
Capabilities: enum
Items: 'Off' '6 -> 4' '6 -> 2'
Item0: 'Off'
Simple mixer control 'Exchange Front/Surround',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'External Amplifier',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'High Pass Filter Enable',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Input Source Select',0
Capabilities: enum
Items: 'Input1' 'Input2'
Item0: 'Input1'
Simple mixer control 'Input Source Select',1
Capabilities: enum
Items: 'Input1' 'Input2'
Item0: 'Input1'
Simple mixer control 'Spread Front to Surround and Center/LFE',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Stereo Mic',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'V_REFOUT Enable',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]





The recording settings (should) correspond to
http://www.alsa-project.org/main/index.php/SoundcardTesting

What is wrong with my setting?

Thanks and best regards

mumpf[
Profile   Private Message
Created: 2009-11-23 22:37 | Modified: 2009-11-25 17:32 by mumpf
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
Hi mumpf,

I had a problem with my mic on my system as well... but we have different cards, I'll report how I fixed the issue, and maybe it'll work for you

I have a HDA Intel audio card, which is well known of a little problematic on linux just because depending on the model it is not automatically detected.

I was also trying to record with the mic and I got nothing, then I found out that alsa was defaulting the input source to use the mic from the panel of the laptop and not the one on the webcam.

Now gnome-volume-control and pulseaudio allows you to select the input-source from GUI, but older releases you'd need to go to a terminal and do alsamixer -Dhw to see the options from the hardware

the weird thing is that dmesg shownd error messages like hardware incompability, just because of a software problem

Now I don't know if it applies to you, but maybe... I've seen a problem with via audo cards with pardus as well...
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-11-24 01:25
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 16777215
Registered: 2008-12-03
Hi diogo

Thanks for your hint: alsamixer -Dhw showed me the correct settings (capture enabled and set pretty hig, mic selected).
I'm not sure, whether or not it's related to pulseaudio, which I deactivated.

Unfortunately I could not uninstall pulseaudio (to be honest: I neved succeeded to uninstall anything with upkg-remove...)
sudo upkg-remove pulseaudio
Generating script...
ERROR: Package 'pulseaudio' not found in list of selected packages.
Could not generate script!
[user@apfel:~]$ sudo upkg-remove alsa-plugins
Generating script...
ERROR: Package 'alsa-plugins' not found in list of selected packages.
Could not generate script!
Profile   Private Message
Created: 2009-11-25 11:28
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
Hi mumpf,

Well first let's talk about your problem with upkg-remove

Upkg is a package manager that actually works differently, the error you're receiving means that pulseaudio is not explicitly installed, it means that this package is a dependency to another package, so removing this other package would automatically remove pulseaudio, packages called selected (in the selected packages list) are the packages explicitly installed (probably it is a paldo-* package which is a metapackage for the system)

The case is that everything on paldo is compiled against pulseaudio, so removing it will make things broken on your system.

Now to change the settings from pulseaudio you should use the files in /etc/pulse/*

I'll try google better, because I never mixed with pulseaudio
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-11-25 12:02
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
apparently there are other people on the linux world with your problem


Could you post the output of your lsmod? ( $ lsmod )
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-11-25 12:14
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
Hi mumpf,

Apparently your card is a AC97 codec which means your module is snd-via82xx

so the result of modinfo will tell us the options for this module:

Post Scriptum

[diogo@hp-laptop:~]$ modinfo snd-via82xx
filename: /lib/modules/2.6.31.6-paldo1-x86_64/kernel/sound/pci/snd-via82xx.ko
license: GPL
description: VIA VT82xx audio
author: Jaroslav Kysela <perex@perex.cz>
alias: pci:v00001106d00003059sv*sd*bc*sc*i*
alias: pci:v00001106d00003058sv*sd*bc*sc*i*
depends: snd-ac97-codec,snd-pcm,snd,snd-page-alloc,snd-mpu401-uart
vermagic: 2.6.31.6-paldo1-x86_64 SMP mod_unload modversions
parm: index:Index value for VIA 82xx bridge. (int)
parm: id:ID string for VIA 82xx bridge. (charp)
parm: mpu_port:MPU-401 port. (VT82C686x only) (long)
parm: ac97_clock:AC'97 codec clock (default 48000Hz). (int)
parm: ac97_quirk:AC'97 workaround for strange hardware. (charp)
parm: dxs_support:Support for DXS channels (0 = auto, 1 = enable, 2 = disable, 3 = 48k only, 4 = no VRA, 5 = enable any sample rate) (int)
parm: nodelayisable 500ms init delay (int)
parm: enable:bool


This means that cou can add these options to see if they work for example,

Write on your /etc/modprobe.d/sound.modprobe this line to use the "enable" option

Code[In neuem Fenster öffnen]
options snd-via82xx enable=true


Now the options that I think can make any changes are: ac97_quirk or dxs_support=$NUMBER , and maybe if there was a mistake on HAL on detecting your card you could try the mpu_port

So for example the code on /etc/modprobe.d/sound.modprobe for ac97_quirk would be:

Code[In neuem Fenster öffnen]
options snd-via82xx ac97_quirk


After adding the options you would want to test you should reboot so the system reenable the modules with these options
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-11-25 12:23
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
Hi again,

Found another thing... if you wish to disable pulseaudio you should just clean the lines of the file /etc/asound.conf

So it has these lines:

Post Scriptum

pcm.!default {
type pulse
}
ctl.!default {
type pulse
}


Remove it and then it seems pulseaudio should not be enabled even if installed
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-11-25 12:30
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 16777215
Registered: 2008-12-03
I'm really sorry, the mic-problem was caused by a mechanical switch (to switch between headset and speakers... wrong position of the switch. Now the reocrding works finde


/etc/asound.conf did not exist (probably I had removed this file). Do I have to create it?

I have added options snd-via82xx enable=true
using sudo gedit /etc/modprobe.d/sound.modprobe (this file did not exist). Hopefully after the reboot my mic still works.
Edit: I had to remove /etc/modprobe.d/sound.modprobe in order to make rec work.
By the way: in the gnome volume settings I have to select:

Analog Stereo Output + Analog Mono Input (for a mono microphone of a headset e.g.).


Thanks for your help diogo. I was allready afraid to have to use debian stable which is so slow compared to paldo (debian with lxde seems to me slower than paldo + gnome). Recording in debian did not work either any longer, so I have checked the headset on another computer until I found out that the headset works without the switch... Stupid error.
Profile   Private Message
Created: 2009-11-25 16:35 | Modified: 2009-11-25 17:29 by mumpf
Highlight selected Text   Edit   Delete   Quote Reply
 Re: mic recording: no sound (via 8235)
Senior Mitglied
 
 
 
Posts: 216
Registered: 2008-07-04
Hi mumpf,

I'm just glad that you found the problem, and that you'll be sticking around here...

Please, any bug you find please report in here and we shall find the solution as quick as we can



And yes, in my opinion, the way paldo is built makes it simple, fast and easy to understand the coding. It needs improvements, but what doesn't... we just need to take care of it
 
..............................
OSs: Paldo-testing x86_64 :: HP Pavilion dv9680ez
Profile   Private Message   E-Mail
Created: 2009-11-26 02:26
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a