[PATCH] Added support for Creative SoundBlaster Omni Surround 5.1 USB sound card. Mic and Line in inputs were not working at all.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 0.098|   0.000) D: [pulseaudio] alsa-util.c: 
> snd_pcm_hw_params_set_channels(4) failed: Invalid argument
>
>    0.098|   0.000) D: [pulseaudio] alsa-mixer.c: Skipping profile 
> output:analog-surround-40+input:analog-stereo-input - will not be able 
> to open output:analog-surround-40
>
> Seem not support 4 channels playback which is different from your claim
>
> But 41 is supported
I remember it worked once, but since 5.0 can replace 4.0 without any 
difference I've removed it now from config.
> 0.098|   0.000) D: [pulseaudio] alsa-mixer.c: Looking at profile 
> output:analog-surround-41
> (   0.098|   0.000) D: [pulseaudio] alsa-mixer.c: Checking for 
> playback on Analog Surround 4.1 (analog-surround-41)
> (   0.098|   0.000) D: [pulseaudio] alsa-util.c: Trying surround41:1 
> with SND_PCM_NO_AUTO_FORMAT ...
> (   0.098|   0.000) D: [pulseaudio] alsa-util.c: Managed to open 
> surround41:1
> (   0.098|   0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode 
> since BATCH flag is set
> (   0.098|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer 
> size is 1213 ms
> (   0.099|   0.000) D: [pulseaudio] alsa-util.c: Set buffer size first 
> (to 4797 samples), period size second (to 1199 samples).
> (   0.099|   0.000) I: [pulseaudio] alsa-util.c: Device surround41:1 
> doesn't support 44100 Hz, changed to 48000 Hz.
> (   0.099|   0.000) D: [pulseaudio] alsa-mixer.c: Profile 
> output:analog-surround-41 supported.
>
> Your capture device 1 seem support S24_3LE
>
> 0.101|   0.000) D: [pulseaudio] alsa-util.c: Managed to open hw:1,1,0
> (   0.101|   0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode 
> since BATCH flag is set
> (   0.101|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer 
> size is 3640 ms
> (   0.101|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.101|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.102|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.102|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.102|   0.000) D: [pulseaudio] alsa-util.c: Set neither period 
> nor buffer size.
> (   0.103|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.103|   0.000) I: [pulseaudio] alsa-util.c: snd_pcm_hw_params 
> failed: Input/output error
>
> (   0.103|   0.000) D: [pulseaudio] alsa-util.c: Trying hw:1,1,0 
> without SND_PCM_NO_AUTO_FORMAT ...
> (   0.103|   0.000) D: [pulseaudio] alsa-util.c: Managed to open hw:1,1,0
> (   0.103|   0.000) I: [pulseaudio] alsa-util.c: Disabling tsched mode 
> since BATCH flag is set
> (   0.103|   0.000) D: [pulseaudio] alsa-util.c: Maximum hw buffer 
> size is 3640 ms
> (   0.104|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.104|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.104|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.105|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.105|   0.000) D: [pulseaudio] alsa-util.c: Set neither period 
> nor buffer size.
> (   0.105|   0.000) I: [pulseaudio] (alsa-lib)pcm_hw.c: 
> SNDRV_PCM_IOCTL_HW_PARAMS failed (-5)
> (   0.105|   0.000) I: [pulseaudio] alsa-util.c: snd_pcm_hw_params 
> failed: Input/output error
>
> Not sure why it fail with Input/output error
Me either.
> (   0.105|   0.000) D: [pulseaudio] alsa-util.c: Trying plug:hw:1,1,0 
> with SND_PCM_NO_AUTO_FORMAT ...
>
> Seem default format change to S24_3LE
>
> 0.065|   0.000) D: [pulseaudio] alsa-util.c: 
> snd_pcm_hw_params_set_format(Signed 24 bit Little Endian in 3bytes) 
> failed: Invalid argument
> (   0.065|   0.000) D: [pulseaudio] alsa-util.c: 
> snd_pcm_hw_params_set_format(Signed 24 bit Big Endian in 3bytes) 
> failed: Invalid argument
> (   0.065|   0.000) D: [pulseaudio] alsa-util.c: 
> snd_pcm_hw_params_set_format(Float 32 bit Little Endian) failed: 
> Invalid argument
> (   0.065|   0.000) D: [pulseaudio] alsa-util.c: 
> snd_pcm_hw_params_set_format(Float 32 bit Big Endian) failed: Invalid 
> argument
>
> pactl list sinks
Ð?Ñ?иймаÑ? даниÑ? â??1
     СÑ?ан: RUNNING
     Ð?азва: 
alsa_output.usb-Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00-S51.analog-stereo
     Ð?пиÑ?: SB Omni Surround 5.1 Ð?налогове Ñ?Ñ?еÑ?ео
     Ð?Ñ?айвеÑ?: module-alsa-card.c
     ЧаÑ?Ñ?оÑ?на Ñ?пеÑ?иÑ?Ñ?каÑ?Ñ?Ñ?: s24le 2кан. 48000Ð?Ñ?
     Ð?аÑ?Ñ?а каналÑ?в: front-left,front-right
     Ð?одÑ?лÑ?-влаÑ?ник: 7
     СÑ?ан вимиканнÑ?: no
     Ð?Ñ?Ñ?нÑ?Ñ?Ñ?Ñ?: front-left: 27588 /  42% / -22,55 dB,   front-right: 
27588 /  42% / -22,55 dB
             баланÑ? 0,00
     Ð?азова гÑ?Ñ?нÑ?Ñ?Ñ?Ñ?: 65536 / 100% / 0,00 dB
     Ð?жеÑ?ело Ñ?поÑ?Ñ?еÑ?еженнÑ?: 
alsa_output.usb-Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00-S51.analog-stereo.monitor
     Ð?аÑ?енÑ?нÑ?Ñ?Ñ?Ñ?: 108660 мкÑ?, налаÑ?Ñ?овано 99937 мкÑ?
     Ð?Ñ?апоÑ?Ñ?Ñ?: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
     Ð?лаÑ?Ñ?ивоÑ?Ñ?Ñ?:
         alsa.resolution_bits = "24"
         device.api = "alsa"
         device.class = "sound"
         alsa.class = "generic"
         alsa.subclass = "generic-mix"
         alsa.name = "USB Audio"
         alsa.id = "USB Audio"
         alsa.subdevice = "0"
         alsa.subdevice_name = "subdevice #0"
         alsa.device = "0"
         alsa.card = "2"
         alsa.card_name = "SB Omni Surround 5.1"
         alsa.long_card_name = "Creative Technology Ltd SB Omni Surround 
5.1 at usb-0000:00:14.0-6, full speed"
         alsa.driver_name = "snd_usb_audio"
         device.bus_path = "pci-0000:00:14.0-usb-0:6:1.0"
         sysfs.path = 
"/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/sound/card2"
         udev.id = 
"usb-Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6-00-S51"
         device.bus = "usb"
         device.vendor.id = "041e"
         device.vendor.name = "Creative Technology, Ltd"
         device.product.id = "322c"
         device.product.name = "SB Omni Surround 5.1"
         device.serial = 
"Creative_Technology_Ltd_SB_Omni_Surround_5.1_000000Q6"
         device.string = "front:2"
         device.buffering.buffer_size = "28782"
         device.buffering.fragment_size = "7194"
         device.access_mode = "mmap"
         device.profile.name = "analog-stereo"
         device.profile.description = "Ð?налогове Ñ?Ñ?еÑ?ео"
         device.description = "SB Omni Surround 5.1 Ð?налогове Ñ?Ñ?еÑ?ео"
         alsa.mixer_name = "USB Mixer"
         alsa.components = "USB041e:322c"
         module-udev-detect.discovered = "1"
         device.icon_name = "audio-card-usb"
     Ð?оÑ?Ñ?и:
         analog-output: Ð?налогове вÑ?дÑ?воÑ?еннÑ? (priority: 9900)
     Ð?кÑ?ивний поÑ?Ñ?: analog-output
     ФоÑ?маÑ?и:
         pcm

> How many profiles supported by omni ?
I've tried to find something already and didn't succeed. Currently in 
sound settings I can choose between Stereo, 2.1, 4.1, 5.0 and 5.1, 
Stereo on S/PDIF (surround was not supported here, however images on 
official website show that is should). There was 4.0 in past, but 
currently it is not present.
Funny thing is that even when S/PDIF chosen it still play sound through 
Front/Headphones, can't check how it will work with real S/PDIF, also 
S/PDIF volume is actually not absolute, but fraction from Analog Stereo, 
not sure how it happens, but I had the same with other USB sound card 
even without S/PDIF (Plantronics GameCom 777), it is like phantom output 
on every card and works in similar way. I can remove S/PDIF, but there 
is a chance that it may work for others.

Sincerely, Nazar Mokrynskyi
github.com/nazar-pc
Skype: nazar-pc
Diaspora: nazarpc at diaspora.mokrynskyi.com
Tox: A9D95C9AA5F7A3ED75D83D0292E22ACE84BA40E912185939414475AF28FD2B2A5C8EF5261249



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: Ð?Ñ?Ñ?пÑ?огÑ?аÑ?Ñ?Ñ?ний пÑ?дпиÑ? S/MIME
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150604/2ca64bcb/attachment-0001.bin>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux