I’m trying to run the respeaker on a raspberry pi zero 2 but after some minutes with an active microphone input the USB connection crashes.
On a fresh installed Raspberry OS Bookworm 64 Bit lite, without installing anything else and just running arecord -D plughw:CARD=Lite,DEV=0 -r 16000 -c 1 -f S16_LE -t wav /dev/null, at some point, after pressing strg-c and re run the command I get:
Sep 10 14:07:32 pi-1 kernel: usb 1-1: 2:0: usb_set_interface failed (-110)
Sep 10 14:07:39 pi-1 kernel: usb 1-1: 2:0: usb_set_interface failed (-71)
Sep 10 14:07:39 pi-1 kernel: usb 1-1: uac_clock_source_is_valid(): cannot get clock validity for id 1
Sep 10 14:07:39 pi-1 kernel: usb 1-1: clock source 1 is not valid, cannot use
Sep 10 14:07:39 pi-1 kernel: usb 1-1: 2:1: cannot get freq (v2/v3): err -71
Sep 10 14:07:39 pi-1 kernel: usb 1-1: uac_clock_source_is_valid(): cannot get clock validity for id 1
Sep 10 14:07:39 pi-1 kernel: usb 1-1: 2:0: usb_set_interface failed (-71)
At this moment a lsusb still shows the respeaker but after a reboot it does not show up anymore.
Only way to reset the respeaker is to shutdown and power cycle the Pi.
It does work for some time as excepted but then it fail. I’ve got the feeling I can trigger it with some load on the cpu for example after an apt update but it does not trigger the event every time.
I’ve the got same behavior when using pulseaudio.
I tried using different DC Plugs and currently I am using an official Pi Plug with 2.5A.
Hi thanks for testing.
How long did you let it run?
After a lot of tests, I am not sure cpu load will trigger it. Sometimes it was running for 3-4 hours and other times it stopped working after 30 Minutes.
It wouldn’t be a big problem for my application if the microphone just crashes but the main problem is I either have to unplug it or have to power cycle the pi…
Hi Ray,
After running “arecord” and “aplay” 3 hours, I meet the same issue as yours.
I will try the following commands when I encounter a USB crash next time.
sudo sh -c "echo 0 > /sys/bus/usb/devices/1-1/authorized"
sudo sh -c "echo 1 > /sys/bus/usb/devices/1-1/authorized"
Hi i have the same problem i let it working for a few day and stops… after that it didn’t work i try also the Respeaker OS but i have the same problem…
I had the respeaker put away a couple of months ago but then I noticed there is a new firmware so today I tried again with 2.0.7 but unfortunately, the issue is still there.
@jiewei.ye
Thanks for your suggestions to de-authorize and authorize the device, could have been a workaround, but it doesn’t work, I still have to power cycle the respeaker.
I also open a ticket back in September and the Ticket was routed to the SenseCAP team but I never received any help or solutions…