Skip to contentSkip to conversation

Trivial hdsp.c patch to support rev 50 cards

DISCUSSION Dan Nyborg 3 participants 3 messages Jul 31, 2003 – Aug 2, 2003

lore
Share & tools
lore

Dan Nyborg

author
#0 lore raw

hello,

tried playback of a mono file, to the same ends. yesterday in one instance, i got around 45min of stereo playback before a lock up.

also experienced a lock up in ardour yesterday, monitoring a single channel and outputing it on another channel.

haven't tried recording anything to see if the same problem exists there. it's tough to test these things as i'm guaranteed a lock-up, ie: my drives have to be fsck'd each time.

does anyone know of a way to safely debug this? can i catch the playback thread before it pees on the floor, "NO! Geez hdsp, stream goes out the urinal! ...hold that thing, damnit!!!" ?

dan.

Quoted 26 lines · Mark Knecht
Quoted 5 lines

however, when i try to play something with alsaplayer or aplay, my system freezes after 2 sec to 2 min of playback... sometimes i can get through a whole file, sometimes only partial, but an eventual lock-up is inevitable. i
have not tried sending anything other than stereo, 44100kHz, 16bit files.

Dan,
I'm using a 'similar' driver from Thomas, but not the identical driver,
and with the HDSP 9652, not the MultiFace. Using aplay and MONO wave files I'm fine. Using anything in stereo results in all sorts of problems, including hard locks or at the minimum no further sound. Only a reboot fixes this for me.

Could you try a mono file and see what results you get?

alsaplayer sometimes works for me. For about 30 seconds I'll get sound,
and then the sound stops and doesn't work until a reboot.

- Mark

Quoted 11 lines

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

--
Open WebMail Project (http://openwebmail.org)

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

#1 lore raw
Quoted 11 lines

haven't tried recording anything to see if the same problem exists there. it's tough to test these things as i'm guaranteed a lock-up, ie: my drives have to be fsck'd each time.

does anyone know of a way to safely debug this? can i catch the playback thread before it pees on the floor, "NO! Geez hdsp, stream goes out the urinal! ...hold that thing, damnit!!!" ?

dan.

The only safe way to debug this is to let someone else do it. ;-)

Use ext3/reiserfs and at least the time delays won't be as bad.

Do not have any other applications (email, etc.) open at the same time to protect those databases.

Have a big, cold beer handy.....

(Sorry the mono thing didn't work. I can play Penguin-Command with lots of sound and my HDSP 9652 driver works fine. Attempt alsaplayer for 1 second and I lose all sound. Go figure...) ;-)

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

#2 lore raw
In reply to Dan Nyborg
Quoted 12 lines

hello,

tried playback of a mono file, to the same ends. yesterday in one instance, i got around 45min of stereo playback before a lock up.

also experienced a lock up in ardour yesterday, monitoring a single channel and outputing it on another channel.

haven't tried recording anything to see if the same problem exists there. it's tough to test these things as i'm guaranteed a lock-up, ie:
my drives have to be fsck'd each time.

Quoted 6 lines

does anyone know of a way to safely debug this? can i catch the playback thread before it pees on the floor, "NO! Geez hdsp, stream goes out the urinal! ...hold that thing, damnit!!!" ?

dan.

Can you please give us more informations about your system ?

* hardware (x86, PowerPC, SMP, laptop, cardbus or pci version of the hdsp ?)
* linux kernel version and patches applied
* alsa packages versions
* gcc version used to compile kernel and alsa modules

Thomas

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01