Raspberri Pi 4 4mb
freemware 04.21 stable
SB X-Fi Surround 5.1 Pro USB - Problem for sound
drivers for card - ok
if you start the video, specifying in the settings 2.0 - the sound goes through the sound card
if you start the video, specifying in the settings 5.1 - the sound goes through HDMI
detailed logging for the audio component:
probably a problem in the kernel with USB support
LibreELEC:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Pro [SB X-Fi Surround 5.1 Pro], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Pro [SB X-Fi Surround 5.1 Pro], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
LibreELEC:~ # speaker-test -c6 -Dsurround51:CARD=Pro,DEV=0 -t wav -l 3
speaker-test 1.2.4
Playback device is surround51:CARD=Pro,DEV=0
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 87381
Period size range from 48 to 43690
Using max buffer size 87380
Periods = 4
Unable to set hw params for playback: Input/output error
Setting of hwparams failed: Input/output error
LibreELEC:~ # speaker-test -c2 -Dfront:CARD=Pro,DEV=0 -t wav -l 3
speaker-test 1.2.4
Playback device is front:CARD=Pro,DEV=0
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 262144
Period size range from 48 to 131072
Using max buffer size 262144
Periods = 4
was set period_size = 65536
was set buffer_size = 262144
Cannot open WAV file /usr/share/sounds/alsa/Front_Left.wav
LibreELEC:~ # amixer -c1 contents
numid=4,iface=PCM,name='ELD'
; type=BYTES,access=r--v----,values=128
: values=0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
numid=3,iface=PCM,name='IEC958 Playback Default'
; type=IEC958,access=rw------,values=1
: values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x01]
numid=2,iface=PCM,name='IEC958 Playback Mask'
; type=IEC958,access=r-------,values=1
: values=[AES0=0xff AES1=0xff AES2=0xff AES3=0xff]
numid=1,iface=PCM,name='Playback Channel Map'
; type=INTEGER,access=r----R--,values=8,min=0,max=36,step=0
: values=0,0,0,0,0,0,0,0
| container
| chmap-fixed=FL,FR
[ 2.442487] usb 1-1.4: new full-speed USB device number 4 using xhci_hcd
[ 2.488409] fsck: CP437: Invalid argument
[ 2.488702] fsck: fsck.fat 4.1 (2017-01-24)
[ 2.489156] fsck: /dev/mmcblk0p1: 263 files, 18155/65501 clusters
[ 2.489666] fsck: STORAGE: clean, 1625/7499776 files, 1919734/29995008 blocks
[ 2.540148] usb 1-1.4: New USB device found, idVendor=041e, idProduct=3263, b cdDevice= 1.00
[ 2.540163] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber =3
[ 2.540171] usb 1-1.4: Product: SB X-Fi Surround 5.1 Pro
[ 2.540178] usb 1-1.4: Manufacturer: Creative Technology Ltd
[ 2.540186] usb 1-1.4: SerialNumber: 000000M5
[ 2.719566] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O pts: (null)
[ 17.919961] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_ dai_startup on i2s-hifi: -19
[ 17.920547] hdmi-audio-codec hdmi-audio-codec.1.auto: ASoC: error at snd_soc_ dai_startup on i2s-hifi: -19
[ 282.946029] usb 1-1.4: Not enough bandwidth for new device state.
[ 282.946062] usb 1-1.4: Not enough bandwidth for altsetting 3
[ 282.946074] usb 1-1.4: 1:3: usb_set_interface failed (-28)
I continued testing and installed ubuntu-mate-20.04.1-desktop-arm64+raspi for raspberri pi
results:
the sound card was correctly identified and passed tests in the operating system and through the console ,video files are played with 5.1 sound without freezing
logr@Logr-desktop:~$ speaker-test -c6 -Dsurround51:CARD=Pro,DEV=0 -t wav -l 3
speaker-test 1.2.2
Playback device is surround51:CARD=Pro,DEV=0
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 87381
Period size range from 48 to 43690
Using max buffer size 87380
Periods = 4
was set period_size = 21845
was set buffer_size = 87380
0 - Front Left
4 - Front Center
1 - Front Right
3 - Side Right
2 - Side Left
5 - LFE
Time per period = 6,851569
0 - Front Left
4 - Front Center
1 - Front Right
3 - Side Right
2 - Side Left
5 - LFE
Time per period = 9,100669
0 - Front Left
4 - Front Center
1 - Front Right
3 - Side Right
2 - Side Left
5 - LFE
Time per period = 8,190874
logr@Logr-desktop:~$
logr@Logr-desktop:~$ amixer -c1 contents
numid=2,iface=MIXER,name=‘Headphone Playback Switch’
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=1,iface=MIXER,name=‘Headphone Playback Volume’
; type=INTEGER,access=rw—R–,values=1,min=-10239,max=400,step=0
: values=400
| dBscale-min=-102.39dB,step=0.01dB,mute=1
logr@Logr-desktop:~$
Problem “Not enough bandwidth for altsetting” not detected
[ 1702.683005] usb 2-1: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 1702.704819] usb 2-1: New USB device found, idVendor=0951, idProduct=1666, bcdDevice= 1.10
[ 1702.704835] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1702.704847] usb 2-1: Product: DataTraveler 3.0
[ 1702.704858] usb 2-1: Manufacturer: Kingston
[ 1702.704868] usb 2-1: SerialNumber: 60A44C413D03B1B187292B7F
[ 1702.707569] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 1702.708180] scsi host0: usb-storage 2-1:1.0
[ 1703.090857] usb 1-1.2: new full-speed USB device number 7 using xhci_hcd
[ 1703.200571] usb 1-1.2: New USB device found, idVendor=041e, idProduct=3263, bcdDevice= 1.00
[ 1703.200589] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1703.200601] usb 1-1.2: Product: SB X-Fi Surround 5.1 Pro
[ 1703.200613] usb 1-1.2: Manufacturer: Creative Technology Ltd
[ 1703.200623] usb 1-1.2: SerialNumber: 000000M5