Author Topic: built-in mic XFCE 2010 32bit [SOLVED]  (Read 1816 times)

jozefk

  • Guest
built-in mic XFCE 2010 32bit [SOLVED]
« on: April 29, 2010, 11:03:29 PM »
Hello everyone,

I have a Logitech C200 USB webcam with built-in mic and I can't figure out how to set up the mic correctly to work with Pulseaudio and Alsa. This is PCLOS 2010 XFCE Phoenix 32bit.
I know how to do it in Gnome but XFCE is different it seems.
Also, I think I have both ALSA and OSS running together in the same time at the moment.
I have 5.1 PCI soundblaster and using pulseaudio coz it can distribute stereo sound on all speakers (5+1). If the same could be achieved without Pulse and if the Pulse is the cause of my mic not functioning properly, I'm willing to loose it.
Another thing is PulseAudio check mark in Control Center. It's always unchecked. I can check it but the check mark disappears always by itself.
I have few screenshots attached so please see them and let me know if you need any other information.

Thanks!

Best,
Jozsef
« Last Edit: May 01, 2010, 04:21:34 PM by jozefk »

jozefk

  • Guest
Re: built-in mic XFCE 2010 32bit
« Reply #1 on: April 29, 2010, 11:04:48 PM »
Third screenshot I was unable to attach in initial post so here it is.

Edit: was wrong attachment. replaced the image.
« Last Edit: April 29, 2010, 11:25:17 PM by jozefk »

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: built-in mic XFCE 2010 32bit
« Reply #2 on: April 30, 2010, 03:21:48 AM »
I can only make comment about a recent install of Pulse in KDE, so take it as you wish as it may differ from your situation .....

When Pulse is correctly installed with the various other packages, such as volume control and device chooser etc etc  the only option in the KDE multimedia section is Pulse.
The PCC tick box mentioned above does as you describe ......  seems redundant.

Pulse replaces OSS. I even went so far as to remove any OSS snd modules remaining ....  but that was going a bit further than needed, and I did it to see if any app I use complained.

Kmix was no longer doing anything so I removed that also.
Pulse Vol Ctrl is the only active one.

EDIT:    I figured out where I was going wrong and have Kmix operating again. Interesting .....  I Kmix vol control seems to control a portion of the full range .....  or something like that .....  I guess I had a misetting when I first tried it.

Alsamixer shows Pulse as the default sound card, with minimal adjustments.
It can display HDA Nvidia as another sound card .......  but I have not played with that at all. That has lots of adjusters.

My wecam Mic can also be displayed as another sound device

Anyway, I have not resorted to Alsamixer since installing Pulse.

***

I also have Xfce DE installed as an alternate to KDE4 and have no apparent problems there with Pulse. In fact it is even better as Xfce has a volume changing applet in the tray which I don't yet have in KDE4  :D
The same Pulse controls with the same devices etc etc are available in Xfce.
It would appear Pulse is DE agnostic ....... or seems so by what I see here ....

***

It appears to me you have an incomplete install of Pulse.
I don't know if it can be corrected by installing any missing packages.
 
I have no problem using
Webcam Mic
Wireless headset ... including Mic
Mic plugged into the sound card
Sound over BlueTooth ....  for the first time ever! I can even play music into the BT earpiece which is normally used with the phone!

My short experience - on only one PC - indicates to me that Pulse is an absolute marvel, but it does need to get installed properly, else things do not work as they should.

***

I know the above does not directly address your problem, but maybe something in there might give you some ideas.

As you are using Pulse then the more important (IMO) pics would be pics of the various tabs in Pulse Volume Control ......  particularly the Configuration Tab, which should show your Webcam Mic ....  is it even turned on?

regards.
« Last Edit: April 30, 2010, 06:55:58 AM by JohnBoy »

jozefk

  • Guest
Re: built-in mic XFCE 2010 32bit
« Reply #3 on: April 30, 2010, 07:04:46 AM »
Thanks for reply.

I have some info about hardware, might be useful to see as well:

Code: [Select]
-Computer-
Processor : 2x Intel(R) Pentium(R) 4 CPU 3.20GHz
Memory : 2064MB (296MB used)
Operating System : PCLinuxOS
User Name : jozefk
Date/Time : Fri 30 Apr 2010 01:10:50 PM CDT
-Display-
Resolution : 1280x1024 pixels
OpenGL Renderer : Mesa DRI Intel(R) 915G GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : CA0106 - CA0106
Audio Adapter : USB-Audio - USB Device 0x46d
-Input Devices-
 AT Translated Set 2 keyboard
 ImExPS/2 Logitech Explorer Mouse
 Power Button
 Power Button
 UVC Camera (046d:0802)
 PC Speaker
-Printers-
No printers found
-SCSI Disks-
HL-DT-ST DVD-RAM GH22NP20
ATA MAXTOR STM316021
ATA WDC WD800JD-55MU
WD 10EAVS External

-Version-
Kernel : Linux 2.6.32.11-pclos2.bfs (i686)
Compiled : #1 SMP PREEMPT Wed Apr 7 13:33:19 CDT 2010
C Library : GNU C Library version 2.10.1 (stable)
Default C Compiler : GNU C Compiler version 4.4.1 (GCC)
Distribution : PCLinuxOS
-Current Session-
Computer Name : localhost.localdomain
User Name : jozefk
Home Directory : /home/jozefk
Desktop Environment : XFCE 4
-Misc-
Uptime : 34 minutes
Load Average : 0.19, 0.28, 0.22

-PCI Devices-
Host bridge : Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub
VGA compatible controller : Intel Corporation 82915G/GV/910GL Integrated Graphics Controller
PCI bridge : Intel Corporation 82801FB/FBM/FR/FW/FRW
PCI bridge : Intel Corporation 82801FB/FBM/FR/FW/FRW
PCI bridge : Intel Corporation 82801FB/FBM/FR/FW/FRW
PCI bridge : Intel Corporation 82801FB/FBM/FR/FW/FRW
USB Controller : Intel Corporation 82801FB/FBM/FR/FW/FRW
USB Controller : Intel Corporation 82801FB/FBM/FR/FW/FRW
USB Controller : Intel Corporation 82801FB/FBM/FR/FW/FRW
USB Controller : Intel Corporation 82801FB/FBM/FR/FW/FRW
USB Controller : Intel Corporation 82801FB/FBM/FR/FW/FRW
PCI bridge : Intel Corporation 82801 PCI Bridge
ISA bridge : Intel Corporation 82801FB/FR
IDE interface : Intel Corporation 82801FB/FBM/FR/FW/FRW
IDE interface : Intel Corporation 82801FB/FW
SMBus : Intel Corporation 82801FB/FBM/FR/FW/FRW
Ethernet controller : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+
Network controller : RaLink RT2561/RT61 rev B 802.11g
Multimedia audio controller : Creative Labs CA0106 Soundblaster

-Loaded Modules-
ipt_IFWLOG : Interactive firewall logging and module
ipt_psd
xt_time : Xtables: time-based matching
xt_connlimit : Xtables: Number of connections matching
xt_realm : Xtables: Routing realm match
iptable_raw
xt_comment : Xtables: No-op match which can be tagged with a comment
xt_recent : Xtables: "recently-seen" host matching for IPv4
xt_policy : Xtables: IPsec policy match
ipt_ULOG : Xtables: packet logging to netlink using ULOG
ipt_REJECT : Xtables: packet "rejection" target for IPv4
ipt_REDIRECT : Xtables: Connection redirection to localhost
ipt_NETMAP : Xtables: 1:1 NAT mapping of IPv4 subnets
ipt_MASQUERADE : Xtables: automatic-address SNAT
ipt_LOG : Xtables: IPv4 packet logging to syslog
ipt_ECN : Xtables: Explicit Congestion Notification (ECN) flag modification
ipt_ecn : Xtables: Explicit Congestion Notification (ECN) flag match for IPv4
ipt_CLUSTERIP : Xtables: CLUSTERIP target
ipt_ah : Xtables: IPv4 IPsec-AH SPI match
ipt_addrtype : Xtables: address type match for IPv4
nf_nat_tftp : TFTP NAT helper
nf_nat_snmp_basic : Basic SNMP Application Layer Gateway
nf_nat_sip : SIP NAT helper
nf_nat_pptp : Netfilter NAT helper module for PPTP
nf_nat_proto_gre : Netfilter NAT protocol helper module for GRE
nf_nat_irc : IRC (DCC) NAT helper
nf_nat_h323 : H.323 NAT helper
nf_nat_ftp : ftp NAT helper
nf_nat_amanda : Amanda NAT helper
ts_kmp
nf_conntrack_amanda : Amanda connection tracking module
nf_conntrack_sane : SANE connection tracking helper
nf_conntrack_tftp : TFTP connection tracking helper
nf_conntrack_sip : SIP connection tracking helper
nf_conntrack_proto_sctp : Netfilter connection tracking protocol helper for SCTP
nf_conntrack_pptp : Netfilter connection tracking helper module for PPTP
nf_conntrack_proto_gre
nf_conntrack_netlink
nf_conntrack_netbios_ns : NetBIOS name service broadcast connection tracking helper
nf_conntrack_irc : IRC (DCC) connection tracking helper
nf_conntrack_h323 : H.323 connection tracking helper
nf_conntrack_ftp : ftp connection tracking helper
ipt_set : iptables IP set match module
ipt_SET : iptables IP set target module
ip_set_nethash : nethash type of IP sets
ip_set_iptreemap : iptreemap type of IP sets
ip_set_iptree : iptree type of IP sets
ip_set_ipporthash : ipporthash type of IP sets
ip_set_portmap : portmap type of IP sets
ip_set_macipmap : macipmap type of IP sets
ip_set_ipmap : ipmap type of IP sets
ip_set_iphash : iphash type of IP sets
ip_set : module implementing core IP set support
xt_tcpmss : Xtables: TCP MSS match
xt_pkttype : Xtables: link layer packet type match
xt_physdev : Xtables: Bridge physical device match
xt_owner : Xtables: socket owner matching
xt_NFQUEUE : Xtables: packet forwarding to netlink
xt_NFLOG : Xtables: packet logging to netlink using NFLOG
nfnetlink_log : netfilter userspace logging
xt_multiport : Xtables: multiple port matching for TCP, UDP, UDP-Lite, SCTP and DCCP
xt_MARK : Xtables: packet mark modification
xt_mark : Xtables: packet mark match
xt_mac : Xtables: MAC address match
xt_limit : Xtables: rate-limit match
xt_length : Xtables: Packet length (Layer3,4,5) match
xt_iprange : Xtables: arbitrary IPv4 range matching
xt_helper : Xtables: Related connection matching
xt_hashlimit : Xtables: per hash-bucket rate-limit match
xt_DSCP : Xtables: DSCP/TOS field modification
xt_dscp : Xtables: DSCP/TOS field match
xt_dccp : Xtables: DCCP protocol packet match
xt_conntrack : Xtables: connection tracking state match
xt_CONNMARK : Xtables: connection mark modification
xt_connmark : Xtables: connection mark match
xt_CLASSIFY : Xtables: Qdisc classification
xt_tcpudp : Xtables: TCP, UDP and UDP-Lite match
xt_state : ip[6]_tables connection tracking state match module
iptable_nat
nf_nat
nf_conntrack_ipv4
nf_defrag_ipv4
nf_conntrack
iptable_mangle : iptables mangle table
nfnetlink
iptable_filter : iptables filter table
ip_tables : IPv4 packet filter
x_tables : {ip,ip6,arp,eb}_tables backend module
af_packet
ipv6 : IPv6 protocol stack for Linux
snd_usb_audio : USB Audio
snd_usb_lib : USB Audio/MIDI helper module
snd_hwdep : Hardware dependent layer
vboxnetadp : VirtualBox Network Adapter Driver
vboxnetflt : VirtualBox Network Filter Driver
vboxdrv : VirtualBox Support Driver
snd_ca0106 : CA0106
snd_rawmidi : Midlevel RawMidi code for ALSA.
rfcomm : Bluetooth RFCOMM ver 1.11
snd_ac97_codec : Universal interface for Audio Codec '97
ac97_bus
snd_seq_dummy : ALSA sequencer MIDI-through client
arc4 : ARC4 Cipher Algorithm
snd_seq_oss : OSS-compatible sequencer module
ecb : ECB block cipher algorithm
snd_seq_midi_event : MIDI byte <-> sequencer event coder
rt61pci : Ralink RT61 PCI & PCMCIA Wireless LAN driver.
snd_seq : Advanced Linux Sound Architecture sequencer.
rt2x00pci : rt2x00 pci library
snd_seq_device : ALSA sequencer device management
rt2x00lib : rt2x00 library
snd_pcm_oss : PCM OSS emulation for ALSA.
sco : Bluetooth SCO ver 0.6
led_class : LED Class Interface
snd_pcm : Midlevel PCM code for ALSA.
mac80211 : IEEE 802.11 subsystem
snd_timer : ALSA timer interface
bridge
stp
bnep : Bluetooth BNEP ver 1.3
snd_mixer_oss : Mixer OSS emulation for ALSA.
rng_core : H/W Random Number Generator (RNG) driver
8139cp : RealTek RTL-8139C+ series 10/100 PCI Ethernet driver
cfg80211 : wireless configuration support
snd : Advanced Linux Sound Architecture driver for soundcards.
8139too : RealTek RTL-8139 Fast Ethernet driver
iTCO_wdt : Intel TCO WatchDog Timer Driver
sr_mod : SCSI cdrom (sr) driver
soundcore : Core sound module
mii : MII hardware support library
snd_page_alloc : Memory allocator for ALSA system.
eeprom_93cx6 : EEPROM 93cx6 chip driver
l2cap : Bluetooth L2CAP ver 2.14
cdrom
iTCO_vendor_support : Intel TCO Vendor Specific WatchDog Timer Driver Support
pcspkr : PC Speaker beeper driver
i2c_i801 : I801 SMBus driver
sg : SCSI generic (sg) driver
binfmt_misc
btusb : Generic Bluetooth USB driver ver 0.6
bluetooth : Bluetooth Core ver 2.15
rfkill : RF switch support
yenta_socket
rsrc_nonstatic
pcmcia_core : Linux Kernel Card Services
cpufreq_ondemand : 'cpufreq_ondemand' - A dynamic cpufreq governor for Low Latency Frequency Transition capable processors
cpufreq_conservative : 'cpufreq_conservative' - A dynamic cpufreq governor for Low Latency Frequency Transition capable processors optimised for use in a battery environment
cpufreq_powersave : CPUfreq policy governor 'powersave'
p4_clockmod : cpufreq driver for Pentium(TM) 4/Xeon(TM)
freq_table : CPUfreq frequency table helpers
speedstep_lib : Library for Intel SpeedStep 1 or 2 cpufreq drivers.
nvram
ohci1394 : Driver for PCI OHCI IEEE-1394 controllers
usb_storage : USB Mass Storage driver for Linux
sbp2 : IEEE-1394 SBP-2 protocol driver
uvcvideo : USB Video Class driver
videodev : Device registrar for Video4Linux drivers v2
v4l1_compat : v4l(1) compatibility layer for v4l2 drivers.
ieee1394
fuse : Filesystem in Userspace
dm_mod : device-mapper driver
ehci_hcd : USB 2.0 'Enhanced' Host Controller (EHCI) Driver
uhci_hcd : USB Universal Host Controller Interface driver
ppdev
parport_pc : PC-style parallel port driver
usbcore
evdev : Input driver event char devices
parport
rtc_cmos : Driver for PC-style 'CMOS' RTCs
floppy
processor : ACPI Processor Driver
thermal : ACPI Thermal Zone Driver
container : ACPI container driver
ata_generic : low-level driver for generic ATA
ide_pci_generic : PCI driver module for generic PCI IDE
ide_gd_mod : generic ATA/ATAPI disk driver
ide_core
pata_acpi : SCSI low-level driver for ATA in ACPI mode
ahci : AHCI SATA low-level driver
ata_piix : SCSI low-level driver for Intel PIIX/ICH ATA controllers
libata : Library module for ATA devices
sd_mod : SCSI disk (sd) driver
scsi_mod : SCSI core
crc_t10dif : T10 DIF CRC calculation
ext4 : Fourth Extended Filesystem
jbd2
crc16 : CRC16 calculations
i915 : Intel Graphics
drm_kms_helper : DRM KMS helper
drm : DRM shared core routines
i2c_algo_bit : I2C-Bus bit-banging algorithm
button : ACPI Button Driver
i2c_core : I2C-Bus main module
video : ACPI Video Driver
output : Display Output Switcher Lowlevel Control Abstraction


-Input Devices-
 AT Translated Set 2 keyboard
 ImExPS/2 Logitech Explorer Mouse
 Power Button
 Power Button
 UVC Camera (046d:0802)
 PC Speaker


-USB Devices-
-EHCI Host Controller-
Unknown USB 2.00 Device (class 239)
My Book
-UHCI Host Controller-
-UHCI Host Controller-
-Generic USB Hub-
ISSCBTA
-UHCI Host Controller-
-UHCI Host Controller-

In the mean time I was thinking what to do and got few ideas:
1) use Gnome if things can't be fixed in XFCE. but I'm not 100% sure things would be different in Gnome since the Gnome I used before was not with PCLOS
2) install virtualbox and see if webcam will work on windows inside virtualbox. I installed virtualbox but it won't start of course :) I guess it's not possible to use vbox in PCLOS. error message is this (same for both root and regular user):

Code: [Select]
[jozefk@localhost .pulse]$ VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQtCore.so.4: cannot open shared object file: No such file or directory
[jozefk@localhost .pulse]$

3) why not try e17 live version and see what's going on there. so I did that. boot live e17 PCLOS 2010 and didn't enable pulse. installed skype, go to options and there we go: a lot of options and choices for mic and speakers... did a test call and mic works fine.

So my conclusion was that I could stay with XFCE and to disable pulseaudio when I want to use mic on skype. Boot back to XFCE, disabled pulse, opened Skype but pulse is still there as only one option :)) On IRC channel clarjon1 said I have to killall pulseaudio and create ~/.pulse/client.conf file with only one line: autospawn = no
That's what I did, restarted Skype and there we go: same as with e17, a lot of otpions for audio. Chose my USB mic and did test call and it's working.
This is only solution I have for now. If someone else has some other idea please let me know. Thanks :)

Best,
Jozsef

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: built-in mic XFCE 2010 32bit
« Reply #4 on: April 30, 2010, 08:44:15 AM »
Quote
So my conclusion was that I could stay with XFCE and to disable pulseaudio when I want to use mic on skype. Boot back to XFCE, disabled pulse, opened Skype but pulse is still there as only one option Smiley) On IRC channel clarjon1 said I have to killall pulseaudio and create ~/.pulse/client.conf file with only one line: autospawn = no
That's what I did, restarted Skype and there we go: same as with e17, a lot of otpions for audio. Chose my USB mic and did test call and it's working.
This is only solution I have for now. If someone else has some other idea please let me know. Thanks Smiley

Best,
Jozsef

Well I can only comment on my installation in which the audio in now fully controlled by Pulse and in fact I do not have a means of 'switching it off'.
Skype has only one option as do all other audio apps and that is Pulse.

The Mics are then controlled by the pulse vol control and config manager as are all other devices.

Maybe you do not have Pulse Volume Control and or Pulse Device Chooser installed?
Without them you cannot control stuff through Pulse, from what I can see ......

jozefk

  • Guest
Re: built-in mic XFCE 2010 32bit
« Reply #5 on: April 30, 2010, 09:14:59 AM »
Yes that's what I'm missing: the Pulse Volume Control and Pulse Device Chooser. Those are installed by default in Gnome. Don't know how to get them in XFCE.
If I search for "pulse" in Synaptic, result is attached in two images.

jozefk

  • Guest
Re: built-in mic XFCE 2010 32bit
« Reply #6 on: April 30, 2010, 09:16:33 AM »
Second image. I must to upload images somewhere else in the future it seems :) It would be easier..

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: built-in mic XFCE 2010 32bit
« Reply #7 on: April 30, 2010, 09:22:13 AM »
They are in your first pic ...........  pavucontrol, padevchooser .......  install those at minimum, but you should look to see if anything else related to Pulse might be useful also - for instance vlc-plugin-pulse if you use VLC etc etc

jozefk

  • Guest
Re: built-in mic XFCE 2010 32bit
« Reply #8 on: April 30, 2010, 10:06:28 AM »
Now in Skype I don't have sound at all. No sound no mic no nothing. Other apps works with Pulse great now. Even better then before.







What is wrong with Skype now I have no idea :)

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: built-in mic XFCE 2010 32bit
« Reply #9 on: April 30, 2010, 12:43:57 PM »
Hold on a moment and see if I can find something ......


do this -- create the asound file as instructed

http://www.pclinuxos.com/forum/index.php/topic,71536.msg588873.html#msg588873
« Last Edit: April 30, 2010, 12:46:50 PM by JohnBoy »

jozefk

  • Guest
Re: built-in mic XFCE 2010 32bit
« Reply #10 on: April 30, 2010, 10:02:17 PM »
Did that, rebooted and still no difference with Skype. Other apps works the same as before creating asound.conf in /etc

jozefk

  • Guest
Re: built-in mic XFCE 2010 32bit
« Reply #11 on: May 01, 2010, 03:39:50 PM »
I tried to boot live 2010 gnome edition. Everything works out of the box. Pulse is enabled by default and I can select USB webcam as Input device, run skype which is there by default as well :) and no problem at all. So sad. Must be something is missing or it's wrong here. Maybe to remove Pulse Audio Device Chooser...
And that Sound manager in Gnome is different than this Pulse Sound Control I installed in XFCE. Might be that's also a reason. But I don't know if I can get that Sound manager installed in XFCE.

jozefk

  • Guest
Re: built-in mic XFCE 2010 32bit [SOLVED]
« Reply #12 on: May 01, 2010, 04:26:09 PM »
Solved!

I disabled pulse and killall pulseaudio. Renamed all conf and other files I made regarding sound and tried to create asound.conf and .asoundrc to have stereo on 5+1 but it didn't work. So I renamed those files as well and put Pulse back. After reboot Skype start working :) Have no idea why.
Thanks for everything.

Best,
Jozsef

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: built-in mic XFCE 2010 32bit [SOLVED]
« Reply #13 on: May 01, 2010, 04:38:15 PM »
Glad to hear things worked out for you   ;D