Where is usbaudio.c ?

Archived topics about LMDE 1 and LMDE 2
Locked
GTBecker

Where is usbaudio.c ?

Post by GTBecker »

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.
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.
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Re: Where is usbaudio.c ?

Post by xenopeek »

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.
Image
GTBecker

Re: Where is usbaudio.c ?

Post by GTBecker »

There is no .c file in the kernel tree called usbaudio...
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?
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Re: Where is usbaudio.c ?

Post by xenopeek »

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
Image
GTBecker

Re: Where is usbaudio.c? Solved.

Post by GTBecker »

xenopeek wrote: .../sound/usb/ files: http://git.kernel.org/cgit/linux/kernel ... 0b687e5771
Excellent; that's a great lead. Thanks!
Locked

Return to “LMDE Archive”