Alert.png

Notice: This page contains information for the legacy Phidget21 Library.

Phidget21 is out of support. Bugfixes may be considered on a case by case basis.

Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21.

We recommend that new projects be developed against the Phidget22 Library.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

3401 User Guide

From Phidgets Legacy Support
Revision as of 19:18, 19 July 2012 by Burley (talk | contribs)

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.

API

We document API Calls specific to this product in this section. Functions common to all Phidgets and functions not applicable to this device are not covered here. This section is deliberately generic. For calling conventions under a specific language, refer to the associated API manual in the Quick Downloads section for that language. For exact values, refer to the device specifications.

Data Structures

Functions

Events

Product History

Date Board Revision Device Version Comment