If you follow the link in that post there are instructions. TBH I don’t know and I don’t have a Pi4. there may be more recent firmware releases.
Blockquote
Could this be the problem? USB Sound Device not working · Issue #1327 · raspberrypi/firmware · GitHub
Blockquote
im update freemware 09.21 beta and 04.21 stable
nothing has changed, the problem remains
command dmesg confirmed that the problem USB Sound Device not working · Issue #1327 · raspberrypi/firmware · GitHub with usb from remained the same and the firmware upgrade did not help.
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
That’s useful, thanks. Must be something in our kernel. Which kernel is the Ubuntu image running? (uname -a
)
logr@Logr-desktop:~$ uname -a
Linux Logr-desktop 5.4.0-1050-raspi #56-Ubuntu SMP PREEMPT Thu Jan 13 13:09:35 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
logr@Logr-desktop:~$