pwc
[Top] [All Lists]

Re: [pwc] Audio on SPC530NC

To: Alan Brown <>
Subject: Re: [pwc] Audio on SPC530NC
From: "Arlindo F. Neto" <>
Date: Sun, 21 Jun 2009 09:10:13 -0300
Hello Alan,

Thanks for you attention!

I think just that this webcam. Hardware for each function. The microphone works fine, see the results below:

I think there is a particular way to initiate this webcam microphone, and this particular form is used in windows and later on Linux. If I start windows and use a webcam, when I restart the computer in the microphone Linux it works perfectly!

lsusb
Bus 002 Device 003: ID 0471:2034 Philips

cat /proc/asound/cards
Â0 [IntelÂÂÂÂÂÂÂÂÂ ]: HDA-Intel - HDA Intel
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ HDA Intel at 0xf0500000 irq 22
Â1 [CameraÂÂÂÂÂÂÂÂ ]: USB-Audio - USB Video Camera
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ USB Video Camera at usb-0000:00:1d.7-2, high speed
amixer -c 1
Simple mixer control 'Mic',0
 Capabilities: cvolume cvolume-joined cswitch cswitch-joined
 Capture channels: Mono
 Limits: Capture 0 - 65535
 Mono: Capture 61602 [94%] [-128.00dB] [on]
Simple mixer control 'Auto Gain Control',0
 Capabilities: pswitch pswitch-joined
 Playback channels: Mono
 Mono: Playback [off]

lshal (only part)
udi = '/org/freedesktop/Hal/devices/usb_device_471_2034_noserial_if1'
 info.linux.driver = 'uvcvideo' (string)
 info.parent = '/org/freedesktop/Hal/devices/usb_device_471_2034_noserial' (string)
 info.product = 'USB Video Interface' (string)
 info.subsystem = 'usb' (string)
 info.udi = '/org/freedesktop/Hal/devices/usb_device_471_2034_noserial_if1' (string)
 linux.hotplug_type = 2 (0x2) (int)
 linux.subsystem = 'usb' (string)
 linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1' (string)
 usb.bus_number = 2 (0x2) (int)
 usb.can_wake_up = false (bool)
 usb.configuration_value = 1 (0x1) (int)
 usb.device_class = 239 (0xef) (int)
 usb.device_protocol = 1 (0x1) (int)
 usb.device_revision_bcd = 0 (0x0) (int)
 usb.device_subclass = 2 (0x2) (int)
 usb.interface.class = 14 (0xe) (int)
 usb.interface.number = 1 (0x1) (int)
 usb.interface.protocol = 0 (0x0) (int)
 usb.interface.subclass = 2 (0x2) (int)
 usb.is_self_powered = false (bool)
 usb.linux.device_number = 3 (0x3) (int)
 usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1' (string)
 usb.max_power = 98 (0x62) (int)
 usb.num_configurations = 1 (0x1) (int)
 usb.num_interfaces = 4 (0x4) (int)
 usb.num_ports = 0 (0x0) (int)
 usb.product = 'USB Video Interface' (string)
 usb.product_id = 8244 (0x2034) (int)
 usb.speed = 480.0 (480) (double)
 usb.vendor = 'Philips' (string)
 usb.vendor_id = 1137 (0x471) (int)
 usb.version = 2.0 (2) (double)

udi = '/org/freedesktop/Hal/devices/usb_device_471_2034_noserial_if2_alsa_capture_0'
 alsa.card = 1 (0x1) (int)
 alsa.card_id = 'USB Video Camera' (string)
 alsa.device = 0 (0x0) (int)
 alsa.device_file = '/dev/snd/pcmC1D0c' (string)
 alsa.device_id = 'USB Audio' (string)
 alsa.originating_device = '/org/freedesktop/Hal/devices/usb_device_471_2034_noserial_if2' (string)
 alsa.pcm_class = 'generic' (string)
 alsa.type = 'capture' (string)
 info.capabilities = {'alsa'} (string list)
 info.category = 'alsa' (string)
 info.parent = '/org/freedesktop/Hal/devices/usb_device_471_2034_noserial_if2' (string)
 info.product = 'USB Audio ALSA Capture Device' (string)
 info.subsystem = 'sound' (string)
 info.udi = '/org/freedesktop/Hal/devices/usb_device_471_2034_noserial_if2_alsa_capture_0' (string)
 linux.device_file = '/dev/snd/pcmC1D0c' (string)
 linux.hotplug_type = 2 (0x2) (int)
 linux.subsystem = 'sound' (string)
 linux.sysfs_path = '/sys/class/sound/pcmC1D0c' (string)


Thanks for you help!

Regards,

Arlindo F. Neto


2009/6/20 Alan Brown <>

A USB camera with audio is 2 separate devices - the USB camera and a USB
microphone - effectively attached via a hub internal to the camera case.

Each needs to be initialised separately and microphone issues are
completely separate to the camera driver as it doesn't attempt to touch
audio devices.

Is HAL showing 2 devices when you plug the camera in?

Is your Linux audio/hardware manager attempting to initialise the
microphone?


On Fri, 19 Jun 2009, Arlindo F. Neto wrote:

> Dear,
>
> After much searching on this problem resolved post it here. I think maybe
> you have idea how can fix this.
>
> The Philips SPC530NC webcam does not capture audio. Used the solution
> proposed in (http://openfacts.berlios.de/index-en.phtml?title=Linux_UVC) and
> still not working.
>
> I have seen that when the webcam is used primarily in the windows after you
> restart the computer in the linux audio works perfectly. But if the computer
> is switched off in Linux and the webcam does not capture the audio further.
>
> I am posting the descriptors of the webcam when it works (after use in
> windows) and when it does not work (only with the use on Linux). You can see
> that there is no difference in descriptors. Still I sure that the webcam
> works with Linux after using Windows (dual-boot).
>
> After plug webcam on windows and reboot to linux (webcam's audio working).
> http://pastebin.com/f31d5cd41
>
> Use only Linux to initialize and plug the webcam (webcam's audio does not
> work more).
> http://pastebin.com/f6873b895
>
> I think the webcam has a method for startup of your firmware that oo
> usb_audio is not given.
>
> Thanks for any help.
>
> Best regards,
>

--
  ÂIf a person, or organisation, starts to play on your fears
  Âit may be that person or organisation that you should fear.


_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU