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

Playback not working, getting input/output error #2

Open
SlowFamily opened this issue Nov 1, 2020 · 4 comments
Open

Playback not working, getting input/output error #2

SlowFamily opened this issue Nov 1, 2020 · 4 comments
Assignees

Comments

@SlowFamily
Copy link

SlowFamily commented Nov 1, 2020

I have acquired a Raspberry Pi 3 Model B+ in order to test. Unfortunately, I am still having no success getting audiosense-pi to work. :-(

I am trying to use Linux raspberrypi 4.19.118-v7+ #1311

If I have headphones plugged in when I power it up, I hear a pop, and power light is on, so it is at least getting power.

Following settings are in config.txt:

dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on

# Additional overlays and parameters are documented /boot/overlays/README
dtoverlay=audiosense-pi
# Enable audio (loads snd_bcm2835)
dtparam=audio=on

I see devices like so:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: audiosensepi [audiosense-pi], device 0: TLV320AIC3204 Hifi Audio tlv320aic32x4-hifi-0 [TLV320AIC3204 Hifi Audio tlv320aic32x4-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0

When attempting to play audio file, I hear nothing in headphones and get error eventually:

$ aplay -D hw:1 archer-theme-song-16bit-pcm.wav
Playing WAVE 'archer-theme-song-16bit-pcm.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
aplay: pcm_write:2053: write error: Input/output error

Any suggestions what issue could be or how to troubleshoot?

@SlowFamily
Copy link
Author

Are there any particular settings in alsamixer that need to be enabled? There are a lot of items in there that I do not understand what they do. I have tried to ensure nothing is muted, but maybe something needs to be turned up?

@b-ak
Copy link
Owner

b-ak commented Jan 29, 2021

I will upload my image over the weekend. Please give it a try. Seems to be something basic that you are missing..

@b-ak b-ak self-assigned this Jan 29, 2021
@SlowFamily
Copy link
Author

I will upload my image over the weekend. Please give it a try. Seems to be something basic that you are missing..

Where is image uploaded to? I attempted to click link to Google Drive in the README but seems to still not exist on that link.

@b-ak
Copy link
Owner

b-ak commented Feb 9, 2021

Here's the image
https://drive.google.com/file/d/10sPdlaTlowZFA2HO4iOQT1hiyIX3uXNR/view?usp=sharing

Hope it works now, do let me know (also helps for closure of this issue)

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

2 participants