Trivial hdsp.c patch to support rev 50 cards
A message that is not in the archive (sent off-list or not yet received): [email protected]
hello mark,
sorry i did not reply sooner, i've been bogged down with work as well as preparation for a show.
i am in the same state that i was earlier. paul had suggested that it was a mid-level alsa problem... so i found an ancient (ie: small) hard drive and now have a reasonably fsckable system to "debug" with. i dove into the code and littered it with "printk" statements to try and catch something, but i haven't alotted sufficient time to this brutish attempt.
i am thinking that somewhere in the pcm open or capture callbacks, a pointer gets lost and some mem write process goes way out of range, hosing memory reserved for something else... uh, that's what i think atleast. it's bad, as i get no (hee hee hee)oops, whatsoever. however, my kernel programming knowledge consists of what i have crammed in over the last few weeks, so it is miniscule and confused ;).
by the end of next week, i'll be able to get back at it.
best of luck all around,
dan.
Quoted 42 lines · Mark Knecht
Dan,
I was revisiting the Alsa-Dev archives looking for information and came
across this email from you. I had suggested you look at mono files. It didn't work for you.Thomas Charbonnel and I have been working on the HDSP 9652 driver. He
does coding then I do testing. I am now consistently in pretty much the state you described below. However, for me, I don't really have to reboot. If I just start a CD playing using alsaplayer, then I will get between 1 second and maybe 45 seconds of audio, followed by a dead time with no audio, but if I wait, I'll again get more audio for a few seconds. On, off on, off.I am on Alsa 0.9.6 with a bunch of patches that Thomas has done, but my
results sound pretty similar to your. (I was not in as good a state earlier when we first talked!)Have you made any headway solving this on your system?
Thanks,
Markhello,
i modified
hdsp.cto support my rev. 50 card last week (the trivial way), and
have been experimenting with it for the past three days. everything seems to work - midi, spdif lock... - i even downloaded Charbonnel's mixer app, and it
works great! i use a multiface.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.
has anyone seen such behavior with this driver?
i am assuming it may have something to do with my setup: linux 2.4.20, alsa 0.9.5 (with trivial patch to
hdsp.c), devfs, recent multiface/pci card with rev. 50 firmware.
Quoted 11 lines
there's atleast one other person with the same hammerfall set who will be trying it out in linux later this week...
any comments appreciated,
dan.
-------------------------------------------------------
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
Dan,
Actually, I misread your description until Thomas pointed out that your
complete system is freezing, or al least that's what I read now. In my case it's only the audio freezing and coming back. The system itself is fine.
Sorry you haven't managed to get this working. We'll be around to help
when you do get back to it, and Thomas has made lots of headway with his tools recently (hdspconf, hdspmixer) so maybe they'll help you get to the bottom of this.
Best of luck,
Mark
Quoted 77 lines
-----Original Message-----
From: Dan Nyborg [mailto:[email protected]]
Sent: Thursday, August 14, 2003 7:06 PM
To: Mark Knecht
Cc: [email protected]
Subject: Re: [Alsa-devel] Trivialhdsp.cpatch to support rev 50 cardshello mark,
sorry i did not reply sooner, i've been bogged down with work as well as preparation for a show.
i am in the same state that i was earlier. paul had suggested that it was a mid-level alsa problem... so i found an ancient (ie: small) hard drive and now have a reasonably fsckable system to "debug" with. i dove into the code and littered it with "printk" statements to try and catch something, but i haven't alotted sufficient time to this brutish attempt.
i am thinking that somewhere in the pcm open or capture callbacks, a pointer gets lost and some mem write process goes way out of range, hosing memory reserved for something else... uh, that's what i think atleast. it's bad, as i get no (hee hee hee)oops, whatsoever. however, my kernel programming knowledge consists of what i have crammed in over the last few weeks, so it is miniscule and confused ;).
by the end of next week, i'll be able to get back at it.
best of luck all around,
dan.
Quoted 2 lines · Mark Knecht
Dan,
I was revisiting the Alsa-Dev archives looking forinformation and came
Quoted 6 lines
across this email from you. I had suggested you look at mono files. It didn't work for you.
Thomas Charbonnel and I have been working on the HDSP 9652 driver. He
does coding then I do testing. I am now consistently in pretty much the state you described below. However, for me, I don't really haveto reboot.
Quoted 2 lines
If I just start a CD playing using alsaplayer, then I will get between 1 second and maybe 45 seconds of audio, followed by a dead time
with no audio,
Quoted 1 line
but if I wait, I'll again get more audio for a few seconds. On,
off on, off.
Quoted 2 lines
I am on Alsa 0.9.6 with a bunch of patches that Thomas has
done, but my
Quoted 1 line
results sound pretty similar to your. (I was not in as good a
state earlier
Quoted 8 lines
when we first talked!)
Have you made any headway solving this on your system?
Thanks,
MarkQuoted 5 lines
hello,
i modified
hdsp.cto support my rev. 50 card last week (the trivial way), and
have been experimenting with it for the past three days.everything seems to
Quoted 1 line
work - midi, spdif lock... - i even downloaded Charbonnel's
mixer app, and
Quoted 6 lines
it
works great! i use a multiface.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
Quoted 24 lines
Quoted 5 lines
have not tried sending anything other than stereo, 44100kHz, 16bit files.
has anyone seen such behavior with this driver?
i am assuming it may have something to do with my setup: linux
2.4.20, alsa
Quoted 1 line
0.9.5 (with trivial patch to
hdsp.c), devfs, recentmultiface/pci card with
Quoted 13 lines
rev. 50 firmware.
there's atleast one other person with the same hammerfall set who will be trying it out in linux later this week...
any comments appreciated,
dan.
-------------------------------------------------------
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