HDSP driver update
A message that is not in the archive (sent off-list or not yet received): E192VvZ-0000Px-00@dardilly
Quoted 6 lines
Quoted 3 lines
The card won't work until the firmware is uploaded with the hdspload tool.
am i right in thinking that this means that the driver will load, but the card won't actually work?
The driver will load but only the hwdep interface will be created. The only way to interact with the card is through the defined hwdep ioctls. After the firmware is uploaded, all the remaining interfaces are created (midi, pcm, ctl), and the card is fully functional.
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
Hi,
At 07 Apr 2003 15:07:13 +0200,
Quoted 5 lines · Thomas Charbonnel
Quoted 5 lines
Quoted 4 lines
The card won't work until the firmware is uploaded with the hdspload tool.
Quoted 7 lines
Quoted 2 lines
am i right in thinking that this means that the driver will load, but the card won't actually work?
The driver will load but only the hwdep interface will be created. The only way to interact with the card is through the defined hwdep ioctls. After the firmware is uploaded, all the remaining interfaces are created (midi, pcm, ctl), and the card is fully functional.
that's nice. so you succeeded dieting :)
i committed the new driver and hdsploader to cvs tree right now. i had to fix the compilation error in hdsp.c because of the last change of control interface (inside the kernel).
the two issues still pending:
1. hdspconf is still not merged yet to cvs, because it's written in C++ and fltk. i'm not sure whether we should put it into the same tree. IMO, it's ok - we already have envy24control with gtk.
so, if no one has objection, i'll try to put to alsa-tools, too.
2. the change of control interface above would make the access to a matrix mixer over the standard control API much easier without using the non-official indirect accessing.
could you try to port the driver to use that feature?
thanks,
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
Quoted 5 lines
i committed the new driver and hdsploader to cvs tree right now. i had to fix the compilation error in
hdsp.cbecause of the last change of control interface (inside the kernel).
Thanks
Quoted 8 lines
the two issues still pending:
1. hdspconf is still not merged yet to cvs, because it's written in C++ and fltk. i'm not sure whether we should put it into the same tree. IMO, it's ok - we already have envy24control with gtk.
so, if no one has objection, i'll try to put to alsa-tools, too.
Just FYI the upcoming hdspmixer you wanted to include too is also C++/fltk.
Quoted 8 lines
2. the change of control interface above would make the access to a matrix mixer over the standard control API much easier without using the non-official indirect accessing.
could you try to port the driver to use that feature?
Of course.
The attached patch fixes a problem with hwdep interface creation in the case a firmware is detected at boot time.
Thomas
hdsp.c renamed from hdsp.c.old +4 -0
@@ -4116,6 +4116,10 @@ hdsp->io_type = Digiface; } +if ((err =snd_hdsp_create_hwdep (card, hdsp)) <0 ) { +return err; + } +snd_hdsp_initialize_channels (hdsp);snd_hdsp_initialize_midi_flush (hdsp);
Takashi Iwai
AppliedHi Thomas,
At 08 Apr 2003 11:15:25 +0200,
Quoted 11 lines · Thomas Charbonnel
Quoted 9 lines
the two issues still pending:
1. hdspconf is still not merged yet to cvs, because it's written in C++ and fltk. i'm not sure whether we should put it into the same tree. IMO, it's ok - we already have envy24control with gtk.
so, if no one has objection, i'll try to put to alsa-tools, too.
Just FYI the upcoming hdspmixer you wanted to include too is also C++/fltk.
ok.
Quoted 6 lines
Quoted 6 lines
2. the change of control interface above would make the access to a matrix mixer over the standard control API much easier without using the non-official indirect accessing.
Quoted 7 lines
Quoted 3 lines
could you try to port the driver to use that feature?
Of course.
The attached patch fixes a problem with hwdep interface creation in the case a firmware is detected at boot time.
thanks, applied.
i also fixed the old style of initialization of structs in hdsp.c. please update your cvs tree.
ciao,
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/