3401 User Guide: Difference between revisions
No edit summary |
|||
Line 13: | Line 13: | ||
2. Plug the Audio Adapter into an open USB port on the SBC. The SBC should automatically recognize the converter. | 2. Plug the Audio Adapter into an open USB port on the SBC. The SBC should automatically recognize the converter. | ||
Type <code>dmesg | tail –n 5<code> on the SBC to view the last 5 lines of the kernel’s message buffer. You should see something similar to the lines below (this is output from a PhidgetSBC2): | Type <code>dmesg | tail –n 5</code> on the SBC to view the last 5 lines of the kernel’s message buffer. You should see something similar to the lines below (this is output from a PhidgetSBC2): | ||
<div class="source"> | <div class="source"> | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Line 23: | Line 23: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</div> | </div> | ||
This tells you that the USB to Audio adapter was properly recognized. | This tells you that the USB to Audio adapter was properly recognized. | ||
==API== | ==API== | ||
{{UGapih}} | {{UGapih}} |
Revision as of 19:18, 19 July 2012
Getting Started
The USB to Audio adapter provides sound capabilities to the PhidgetSBC. The audio adapter offers two integrated channels - one for speakers or headphones, and one for a microphone. The Audio Adapter plugs into any of the PhidgetSBC USB ports. The USB to Audio Adapter is not a Phidget device and is not controlled using Phidgets APIs.
Using this product requires a working knowledge of Linux.
Technical Details
Connect the Sound Adapter to the PhidgetSBC
1. Log onto the SBC via SSH. :PhidgetSBC (1070):
- Your SBC may be running an older version of firmware that does not support the USB Audio Adapter, requiring you to update your SBC firmware to the latest version - update to the full version.
:PhidgetSBC2 (1072):
- You must install libasound2, and optionally mpg123: apt-get install libasound2 mpg123 Make sure to set “Include full Debian Package Repository” to true on the System->Packages web interface page and save changes first, or the packages won’t be available.
2. Plug the Audio Adapter into an open USB port on the SBC. The SBC should automatically recognize the converter.
Type dmesg | tail –n 5
on the SBC to view the last 5 lines of the kernel’s message buffer. You should see something similar to the lines below (this is output from a PhidgetSBC2):
usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 1-1.1: Product: USB Headphone Set
input: USB Headphone Set as /devices/platform/s3c2410-ohci/usb1/1-1/1-1.1/1-1.1:1.3/
input/input0
usbcore: registered new interface driver snd-usb-audio
This tells you that the USB to Audio adapter was properly recognized.