View Single Post
Old Jan 21, 2007, 07:20 PM   #7 (permalink)
Eugene Gavrilov
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 2,927
Eugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of light

the code is quite complex and was retrieved by spying creative labs drivers' I/O
this code is 'black box' for me, since it just sets/clears the bits in some order, but I don't know what sequence is required and why

the main idea is to set/clear GPIO bits (hardware register 0x18 for 10k2, see 8010.h)
this register is accessible via kX API, so, you can write a sample application

please review ALSA drivers for details (they program GPIO bits in a very simplified manner)
let me know (by -e-mail-!) if you manage to figure out anything -- I don't browse the forums often, so my reply here won't be fast enough

sometimes disable/enable in the devman fixes the problem (don't forget to unload kxmixer)
sometimes you need to disconnect/reconnect the external module (don't forget to execute kxctrl -dbr to re-initialize the module)
sometimes just kxctrl -dbr solves the problem

at the moment, we have no reliable information about this topic...

E.
Eugene Gavrilov is offline   Reply With Quote