HDSP + multiface "freezing" patch
We were searching a vicious bug, but it was a trivial one... Applies on top of Paul's patch version II.
Thomas
hdsp.c renamed from hdsp.c.orig +1 -1
@@ -3002,9 +3002,9 @@case 0xa :case 0x64 : firmware_ptr = (u32 *) multiface_firmware; +break ;default : firmware_ptr = (u32 *) multiface_firmware_rev11; -break ; } }
Quoted 5 lines · Thomas Charbonnel
We were searching a vicious bug, but it was a trivial one... Applies on top of Paul's patch version II.
Thomas
ok, I am trying to test Paul's patch on the HDSP9652, but I cant get it to play anything. I applied it to 0.9.0rc8b, but aplay just returns
laying WAVE '/home/justin/sound/track_3.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ALSA lib pcm_params.c:2094:(snd_pcm_hw_refine_slave) Slave PCM not
usable
aplay: set_params:782: Broken configuration for this PCM: no
configurations available
The tail of strace is
pen("/home/justin/sound/track_3.wav", O_RDONLY) = 3read(3, "RIFF4\276\250\1WAVEfmt \20\0\0\0\1\0\2\0", 24) = 24read(3, "D\254", 2) = 2read(3, "\0\0\20\261\2\0\4\0\20\0", 10) = 10read(3, "data\20\276\250\1", 8) = 8write(2, "Playing WAVE \'/home/justin/sound"..., 48Playing WAVE '/home/justin/sound/track_3.wav' : ) = 48write(2, "Signed 16 bit Little Endian, ", 29Signed 16 bit Little Endian, ) = 29write(2, "Rate 44100 Hz, ", 15Rate 44100 Hz, ) = 15write(2, "Stereo", 6Stereo) = 6
write(2, "\n", 1
) = 1ioctl(4, 0xc25c4110, 0xbffff260) = -1 EINVAL (Invalid argument)
write(2, "ALSA lib pcm_params.c:2094:(snd_"..., 53ALSA lib pcm_params.c:2094:(snd_pcm_hw_refine_slave) ) = 53write(2, "Slave PCM not usable", 20Slave PCM not usable) = 20
write(2, "\n", 1
) = 1write(2, "aplay: set_params:782: ", 23aplay: set_params:782: ) = 23 write(2, "Broken configuration for this PC"..., 62Broken configuration for this
PCM: no configurations available) = 62
write(2, "\n", 1
) = 1_exit(1) = ?
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
Quoted 8 lines
Quoted 5 lines
We were searching a vicious bug, but it was a trivial one... Applies on top of Paul's patch version II.
Thomas
ok, I am trying to test Paul's patch on the HDSP9652, but I cant get it to play anything. I applied it to 0.9.0rc8b, but aplay just returns
which PCM device are you using?
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com