Sound output fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-allwinner (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I am running Ubuntu Lunar on the LicheeRV dock with a loudspeaker connected.
The 'aplay -l' command shows that a playback device exists:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sun20icodec [sun20i-codec], device 0: sun20i-codec snd-soc-dummy-dai-0 [sun20i-codec snd-soc-
Subdevices: 1/1
Subdevice #0: subdevice #0
But playback fails:
$ sudo aplay PinkPanther30.wav
Playing WAVE 'PinkPanther30.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
aplay: pcm_write:2127: write error: Input/output error
Best regards
Heinrich
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.19.0-
ApportVersion: 2.26.1-0ubuntu2
Architecture: riscv64
CasperMD5CheckR
CloudArchitecture: riscv64
CloudBuildName: server
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSerial: 20230415.1
CloudSubPlatform: seed-dir (/var/lib/
Date: Sat May 6 18:37:23 2023
ProcCpuinfoMinimal:
processor : 0
hart : 0
isa : rv64imafdc
mmu : sv39
uarch : thead,c906
ProcEnviron:
LANG=C.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=vt220
SourcePackage: linux-allwinner
UpgradeStatus: No upgrade log present (probably fresh install)
After several successful calls in file alsa-lib/ src/pcm/ pcm.c, function snd_pcm_hw_writei()
ioctl(fd, SNDRV_PCM_ IOCTL_WRITEI_ FRAMES, &xferi)
returns an error EIO with fd pointing to /dev/snd/pcmC0D0p.