Eurotech INT-1410

From EnneEnneWiki

Jump to: navigation, search
Eurotech's INT-1410


Contents


This driver implements the support for Linux 2.6.x (where x is greater than 22) of the Eurotech INT-1410.

This manual will show how to compile the driver and how to use it in normal operations or in test stages.

References

The board's main references are at Eurotech's site.

The stable driver's source code is available on my gitweb as unofficial site.

To download the code you need the GIT tools and then using the following command:

giometti@zaigor:~$ git clone git://git.enneenne.com/int1410

after the clone is finished into directory into1410 you can find the code.

Note that the driver is fully integrated into the kernel so, with the clone command you will download full kernel tree!

If your internet connection is slow and you wish to get only changes between an already kernel tree, you may read this page Merging an existent kernel tree with a remote one.

Compilation

To compile the driver you have to configure the kernel selecting the board "ICEnsemble ICE1712 (Envy24)" into menu Device Drivers ---> Sound ---> Advanced Linux Sound Architecture ---> PCI devices.

Then give the usual command make. When finished install the new kernel and modules on your system.

Loading the module

After compilation stage you'll end up with a file called snd-ice1712.ko so you have to load it into the kernel with the command line:

root@jeeg:~# modprobe snd-ice1712 model=int1410

if everything goes well on the console you should see the following kernel messages (or similar):

Aug 10 16:33:21 jeeg kernel: ice1712: Using board model Eurotech INT 1410
Aug 10 16:33:21 jeeg kernel: using the defined eeprom..
Aug 10 16:33:21 jeeg kernel: snd_ice1712_int1410_init
Aug 10 16:33:21 jeeg kernel: snd_ice1712_int1410_add_controls

Using the driver

In order to use the driver you can use standard ALSA tools. I use alsamixer, here an ASCII screenshot of the top of the screen:

                   [AlsaMixer v1.0.13 (Press Escape to quit)]                      
Card: Eurotech INT 1410                                                         
Chip: National Semiconductor id 49,National Semiconductor id 49                 
View: [Playback] Capture  All                                                   
Item: Master [dB gain=-7.50, -7.50]   

Using the internal audio matrix

The audio matrix is used to switch audio between several input channels to 8 outputs (named "H/W n" by alsamixer):

  • PCM Out - select the PCM data.
  • H/W In n - select analog input n.
  • IEC958 I - untested on INT-1410.

So, if you set into your alsamixer the following for the first two channels:

PCM Out     H/W In 0
   ^            ^
   |            |
   v            v                                                                                                                                                                                                                                                                                        
  H/W         H/W 1

you get on output 0 the PCM data and on output channel 1 the input channel 0.

Note: be sure that capture flags for all "LINE" lines are enabled, otherwise you'll get no sound from analog input channels.

Note: In order to disable audio signal loopback for analog input channels you must disable playback for all "MIC" and "LINE" lines.

Play & Record audio

To play and record audio data you can use aplay and arecord utilities.

To record data just use the command:

giometti@jeeg:~$ arecord test
Recording WAVE 'test' : Unsigned 8 bit, Rate 8000 Hz, Mono

Hit CTRL-C to stop. Again, be sure you have checked the capture flags for all "LINE" lines.

The to play just recorded data give:

giometti@jeeg:~$ aplay test 
Playing WAVE 'test' : Unsigned 8 bit, Rate 8000 Hz, Mono

This time be sure that you select "PCM Out" for output channels into audio matrix above.

Personal tools
Google AdSense