USB Audio device


4 posts
by ApurvPadole » Mon Jul 17, 2017 6:02 am
Hello All,

I am trying to use USB audio card CM108 with Raspberry pi. Raspbian and Current version of Linux kernel is 4.9.20+.

Pleas walk me trough changes required to be made in the kernel so that we can use USB audio card.

Thanks and Regards
Apurv
Posts: 1
Joined: Mon Jul 17, 2017 5:18 am
by DougieLawson » Fri Jul 21, 2017 11:35 am
Boot the system. Plug it in. See what happens with a dmesg command. Some devices should appear in /dev for your USB audio.

The kernel should have the support for that stuff built-in.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.
User avatar
Posts: 28429
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
by fruitoftheloom » Fri Jul 21, 2017 12:03 pm
ApurvPadole wrote:Hello All,

I am trying to use USB audio card CM108 with Raspberry pi. Raspbian and Current version of Linux kernel is 4.9.20+.

Pleas walk me trough changes required to be made in the kernel so that we can use USB audio card.

Thanks and Regards
Apurv


There is nothing to change it is fully supported in Raspbain jessie:

Code: Select all
uname -a
Linux raspberrypi 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux


Code: Select all
lsusb
Bus 001 Device 005: ID 248a:8367 
Bus 001 Device 004: ID 0d8c:013c C-Media Electronics, Inc. CM108 Audio Controller
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Code: Select all
cat /proc/asound/cards
 0 [ALSA           ]: bcm2835 - bcm2835 ALSA
                      bcm2835 ALSA
 1 [Device         ]: USB-Audio - USB PnP Sound Device
                      C-Media Electronics Inc. USB PnP Sound Device at usb-3f980000.usb-1.3, full spe
.
Ex Computer Repair & Service Technician.
RPi 3B, HP Envy 4500 Wireless Printer, Google Chromecast, Android Smart Phone, HD 1080p TV and 3/4G Mobile Internet make ideal companions.
Posts: 14156
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK
by DougieLawson » Fri Jul 21, 2017 2:59 pm
fruitoftheloom wrote:There is nothing to change it is fully supported in Raspbain jessie:

That's cheating. You've got the hardware to try out.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.
User avatar
Posts: 28429
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK