[alsa-devel] Microphone array (playstation eye) unsupported rates by driver

Michael Brentson michael.brentson at gmail.com
Sun Jun 12 14:58:22 CEST 2011


I am trying to use the microphone array of an Playstation Eye usb device.
The problem is that the only valid sample rate seems to be 16kHz, even
though the usb device(according to the vendor's site) should support
sampling rates up to 48kHz.

I would have two questions:

1. I would like to try to modify the driver to make 48kHz as a supported
rate. Could this be dangerous for the hardware, or if I will add an
unsupported rate in the driver, the device will simply not work?

2. I'm not familiar with the "under the hood" aspects of ALSA, and I've
started reading* Writing an ALSA Driver by Takashi Iwai.* From what I can
tell, I would have to modify the snd-usb-audio driver, is this a correct
assumption?(The data on which this assumption is made is presented below)*

arecord --list-devices
**** List of CAPTURE Hardware Devices ****
card 2: CameraB409241 [USB Camera-B4.09.24.1], device 0: USB Audio [USB
  Subdevices: 1/1
  Subdevice #0: subdevice #0

lsusb -s 1:3
Bus 001 Device 003: ID 1415:2000 Nam Tai E&E Products Ltd. or OmniVision
Technologies, Inc. Sony Playstation Eye

lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/6p, 480M
    |__ Port 4: Dev 3, If 0, Class=vend., Driver=ov534, 480M
    |__ Port 4: Dev 3, If 1, Class=audio, Driver=snd-usb-audio, 480M
    |__ Port 4: Dev 3, If 2, Class=audio, Driver=snd-usb-audio, 480M

Best Regards,

More information about the Alsa-devel mailing list