Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2-Mic Hat doesn't work on Raspberry Pi 4 Model B #31

Closed
hongfeij opened this issue Apr 6, 2024 · 3 comments
Closed

2-Mic Hat doesn't work on Raspberry Pi 4 Model B #31

hongfeij opened this issue Apr 6, 2024 · 3 comments

Comments

@hongfeij
Copy link

hongfeij commented Apr 6, 2024

Hi:

I encountered such issue when running command from official document to test the recording function:

hongfeij@raspberrypi:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 3: seeed2micvoicec [seeed-2mic-voicecard], device 0: fe203000.i2s-wm8960-hifi wm8960-hifi-0 [fe203000.i2s-wm8960-hifi wm8960-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

hongfeij@raspberrypi:~ $ arecord -D "plughw:3,0" -f S16_LE -r 16000 -d 5 -t wav test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
**arecord: set_params:1416: Unable to install hw params:**
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 16
CHANNELS: 1
RATE: 16000
PERIOD_TIME: 125000
PERIOD_SIZE: 2000
PERIOD_BYTES: 4000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 8000
BUFFER_BYTES: 16000
TICK_TIME: 0

Any clue about the reason and solution?

@willumpie82
Copy link

willumpie82 commented Apr 8, 2024

I run into exactly the same error,
tried different forks (started with the one from the getting started at seeed-studio wiki, but that one is really old)

planned to create a small kiosk on rpi4B with wyoming satallite, waveshare display 4.3" DSI display, respeak 2mic and custom case

EDIT:
fixed by

  1. uninstalling+reboot
  2. git checkout v6.6
  3. sudo ./install.sh

@beitong95
Copy link

sudo rpi-update 1440b3e0b52075a9ec244216cddcf56099c28dfa to downgrade your kernel to 6.1.21 works for me. also I use the v6.6 branch. I don't know why

@HinTak
Copy link
Owner

HinTak commented May 23, 2024

Yes, use the right branch.

@HinTak HinTak closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants