libsigrok/hardware
Alexandru Gagniuc 6944b2d02f alsa: Scan all soundcards and create a sigrok device per input
The alsa driver only works with device "default". This limits the driver's
scope to whatever device ALSA deems to be "default". It is desirable to have
access to all ALSA devices from sigrok.

Change the alsa device scan so that:
Each alsa device (not alsa card) gets its own sigrok device
For example,
    hw:1,0 == sigrok device 0
    hw:1,1 == sigrok device 1
    hw:2,0 == sigrok device 2
    hw:2,1 == sigrok device 3
    hw:2,2 == sigrok device 4
    [...]

We don't currently look at alsa subdevices. We only use subdevice 0.
Every input device will have its own channels (left, right, etc). Each of
those channels gets mapped to a different sigrok probe. A device with 4
channels will have 4 probes from sigrok's perspective.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2013-01-01 00:37:17 +01:00
..
agilent-dmm Fix limit_samples check in various drivers. 2012-12-26 02:11:00 +01:00
alsa alsa: Scan all soundcards and create a sigrok device per input 2013-01-01 00:37:17 +01:00
asix-sigma asix-sigma: Fix two compiler warnings. 2012-12-31 21:21:39 +01:00
chronovu-la8 Shorten probe_names[] arrays everywhere. 2012-12-26 00:16:07 +01:00
colead-slm hw_init(): Save struct sr_context * parameter in struct drv_context 2012-12-03 12:07:40 +01:00
common rs9lcd: Add missing 'break;' 2012-12-31 22:26:43 +01:00
demo Fix limit_samples check in various drivers. 2012-12-26 02:11:00 +01:00
fluke-dmm fluke-dmm: Properly handle continuous mode 2012-12-24 20:27:45 +01:00
fx2lafw Shorten probe_names[] arrays everywhere. 2012-12-26 00:16:07 +01:00
hantek-dso Shorten probe_names[] arrays everywhere. 2012-12-26 00:16:07 +01:00
lascar-el-usb Shorten probe_names[] arrays everywhere. 2012-12-26 00:16:07 +01:00
link-mso19 Shorten probe_names[] arrays everywhere. 2012-12-26 00:16:07 +01:00
nexus-osciprime nexus-osciprime: Fix compiler warning. 2012-12-31 21:02:14 +01:00
openbench-logic-sniffer ols: Add missing 'extern'. 2012-12-28 17:13:20 +01:00
serial-dmm serial-dmm: Rename VOLTCRAFT_VC820 to VOLTCRAFT_VC820_SER. 2012-12-26 02:11:00 +01:00
tondaj-sl-814 tondaj-sl-814: remove unneeded debugging 2012-12-29 11:19:19 +01:00
uni-t-dmm uni-t-dmm: Fix compiler warning. 2012-12-31 21:01:53 +01:00
victor-dmm victor-dmm: Fix compiler warning. 2012-12-31 21:03:45 +01:00
zeroplus-logic-cube Shorten probe_names[] arrays everywhere. 2012-12-26 00:16:07 +01:00
Makefile.am nexus-osciprime: Initial driver skeleton. 2012-12-24 20:55:23 +01:00