I'd like to try to tackle enabling 32kHz analog (Mic, Line In) sampling on CM106-like chips but, for the life of me, I can't find the source code file usbaudio.c for LMDE. Can someone please point me to it?
Thanks.
Where is usbaudio.c ?
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Where is usbaudio.c ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Where is usbaudio.c ?
Moved topic to the LMDE forums.
You can find which package has a file with the apt-file command. Unfortunately it appears this file is not in any package on LMDE. Looking at Google results, this file appears to have been in the Linux kernel tree 10 years ago. Getting the Debian Linux kernel source code only the file .../sound/usb/usbaudio.h is found. There is no .c file in the kernel tree called usbaudio. Whatever you're trying to do, you'll have to find some more recent information on how to do it. Possibly one of the .c files in .../sound/usb is where you can change what you want. In any case, it sounds like you'll have to patch and compile your own kernel for this.
You can find which package has a file with the apt-file command. Unfortunately it appears this file is not in any package on LMDE. Looking at Google results, this file appears to have been in the Linux kernel tree 10 years ago. Getting the Debian Linux kernel source code only the file .../sound/usb/usbaudio.h is found. There is no .c file in the kernel tree called usbaudio. Whatever you're trying to do, you'll have to find some more recent information on how to do it. Possibly one of the .c files in .../sound/usb is where you can change what you want. In any case, it sounds like you'll have to patch and compile your own kernel for this.
Re: Where is usbaudio.c ?
Thanks; I guess my frustration comes from looking for the wrong file. How, then, do I identify the module that handles "CM106-like" or CM6206-based sound cards - and locate its sources?There is no .c file in the kernel tree called usbaudio...
Re: Where is usbaudio.c ?
I have no idea. For kernel development questions you should probably use the kernel newbies site: http://kernelnewbies.org/
I did find a commit mentioning the latter device you mention, and it shows changes to code in .../sound/usb/ files: http://git.kernel.org/cgit/linux/kernel ... 0b687e5771
I did find a commit mentioning the latter device you mention, and it shows changes to code in .../sound/usb/ files: http://git.kernel.org/cgit/linux/kernel ... 0b687e5771
Re: Where is usbaudio.c? Solved.
Excellent; that's a great lead. Thanks!xenopeek wrote: .../sound/usb/ files: http://git.kernel.org/cgit/linux/kernel ... 0b687e5771