Where is usbaudio.c ?

Archived topics about LMDE 1
Forum rules
LMDE 2 support ends on 1-1-2019
Locked
GTBecker
Level 1
Level 1
Posts: 10
Joined: Thu May 03, 2012 2:58 pm

Where is usbaudio.c ?

Post by GTBecker » Thu Nov 26, 2015 1:29 pm

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.
Tom
http://78.46.38.217/vhf9 Cape Coral All-channel Marine VHF
http://78.46.38.217/amb9 Cape Coral Ambient Stereo

User avatar
xenopeek
Level 24
Level 24
Posts: 23099
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Where is usbaudio.c ?

Post by xenopeek » Thu Nov 26, 2015 3:31 pm

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
Level 1
Level 1
Posts: 10
Joined: Thu May 03, 2012 2:58 pm

Re: Where is usbaudio.c ?

Post by GTBecker » Thu Nov 26, 2015 8:31 pm

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?
Tom
http://78.46.38.217/vhf9 Cape Coral All-channel Marine VHF
http://78.46.38.217/amb9 Cape Coral Ambient Stereo

User avatar
xenopeek
Level 24
Level 24
Posts: 23099
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Where is usbaudio.c ?

Post by xenopeek » Fri Nov 27, 2015 3:51 am

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
Level 1
Level 1
Posts: 10
Joined: Thu May 03, 2012 2:58 pm

Re: Where is usbaudio.c? Solved.

Post by GTBecker » Fri Nov 27, 2015 8:24 am

xenopeek wrote: .../sound/usb/ files: http://git.kernel.org/cgit/linux/kernel ... 0b687e5771
Excellent; that's a great lead. Thanks!
Tom
http://78.46.38.217/vhf9 Cape Coral All-channel Marine VHF
http://78.46.38.217/amb9 Cape Coral Ambient Stereo

Locked

Return to “LMDE 1 Archive”