1. 22 12月, 2015 3 次提交
  2. 15 12月, 2015 3 次提交
  3. 19 10月, 2015 1 次提交
    • T
      ALSA: oxfw: add an entry for TASCAM FireOne · 759a2f40
      Takashi Sakamoto 提交于
      TASCAM FireOne is based on OXFW971 and ALSA OXFW driver can support it.
      These are values of identical registers.
      
      $ ./firewire-request /dev/fw1 read 0xfffff0050000
      result: 97100105
      
      $ ./firewire-request /dev/fw1 read 0xfffff0090020
      result: 39373100
      
      This commit adds an entry for this model. This model has physical controls
      and its MIDI control messages are transferred to second MIDI data stream
      multiplexed in one MIDI conformant data channel.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      759a2f40
  4. 24 9月, 2015 1 次提交
    • T
      ALSA: oxfw: add Mackie Onyx Satellite quirk to inform wrong value in 'dbs' field in tx CIP header · 13f3a46d
      Takashi Sakamoto 提交于
      Mackie Onyx Satellite has two usage; standalone and with base station.
      
      These two modes has different stream formats. In standalone mode, rx data
      block includes 2 Multi Bit Linear Audio (MBLA) data channels and tx data
      block includes 2. With base station, they're 6 and 2.
      
      Although, with base station, the actual tx packet include wrong value in
      'dbs' field in its CIP header. This quirk causes packet streaming layer to
      detect packet discontinuity and to stop PCM substream.
      
      This is a response of 'single' subfunction 'extended stream format
      information' command in AV/C Stream Format Information Specification 1.1.
      It means that a data block in tx packets includes 2 MBLA data channels.
      
      $ ./firewire-request /dev/fw1 fcp 0x01ffbfc001000000ffffffff
      response: 000: 0c ff bf c0 01 00 00 00 ff 00 90 40 03 02 01 02
      response: 010: 06
      
      Current OXFW driver parses the response and detects stream formats
      correctly.
      
      $ cat /proc/asound/card1/firewire/formation
      ...
      Output Stream from device:
      	Rate	PCM	MIDI
      * 	48000	2	0
       	44100	2	0
       	88200	2	0
      	96000	2	0
      
      On the other hand, in actual tx CIP, the 'dbs' field has 6. But the number
      of quadlets in CIP payload is not multiple of 6. Seeing the subtraction of
      two successive payload quadlets, it should be multiple of 2.
      
      payload  CIP      CIP
      quadlets header0  header1
            24 00060052 9002ffff
            24 0006005e 9002ffff
            26 0006006a 9002ffff
            24 00060077 9002ffff
            24 00060083 9002ffff
            26 0006008f 9002ffff
            24 0006009c 9002ffff
            24 000600a8 9002ffff
            26 000600b4 9002ffff
            24 000600c1 9002ffff
      
      This commit adds support for this quirk to OXFW driver, by using
      CIP_WRONG_DBS flag. When this flag is set, packet streaming layer uses
      the value of its 'data_block_quadlets' member instead of the value in CIP
      header. This value is already set by OXFW driver and no discontinuity is
      detected.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      13f3a46d
  5. 23 2月, 2015 2 次提交
  6. 14 12月, 2014 1 次提交
  7. 10 12月, 2014 7 次提交
    • T
      ALSA: oxfw: Add hwdep interface · 8985f4ac
      Takashi Sakamoto 提交于
      This interface is designed for mixer/control application. By using this
      interface, an application can get information about firewire node, can
      lock/unlock kernel streaming and can get notification at starting/stopping
      kernel streaming.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8985f4ac
    • T
      ALSA: oxfw: Add support for capture/playback MIDI messages · 05588d34
      Takashi Sakamoto 提交于
      This commit adds MIDI functionality with an assumption of 'if the device
      has MIDI comformant data channels in its stream formation, the device has
      one MIDI port'.
      
      When no streams have already started, MIDI functionality starts stream
      with current sampling rate.
      
      When MIDI functionality has already starts some streams and PCM
      functionality is going to start streams at different sampling rate,
      this driver stops streams once and changes sampling rate, then restarts
      streams for both PCM/MIDI substreams.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      05588d34
    • T
      ALSA: oxfw: Add support AMDTP in-stream · b0ac0009
      Takashi Sakamoto 提交于
      Previous commit adds support for some devices which can capture PCM samples.
      These devices transmit AMDTP stream in non-blocking mode. This commit adds
      functionality to handle AMDTP incoming stream.
      
      OXFW seems to have two quirks:
       - Transmits packets with non-zero dbc in its beginning
       - Transmits packets with wrong values in syt field
      
      For the first quirk, this commit adds CIP_SKIP_INIT_DBC_CHECK flag for
      incoming stream to skip first check of dbc.
      
      For the second quirk, this commit doesn't add duplex stream which
      Fireworks/BeBoB drivers use. So OXFW driver generates syt value for outgoing
      stream.
      
      Here are examples of a sequence of packets transmitted by Behringer F-Control
      Audio 202. There are differences between sequences of syt value when OXFW
      driver transfers outgoing stream or not.
      
      When driver gives no outgoing stream:
      Index   Payload CIP_Header_0    CIP_Header_1
      38      14      00020092        900103D1
      39      12      00020098        900102FF
      40      12      0002009D        9001027F
      41      14      000200A2        90010396
      42      14      000200A8        900102E8
      43      12      000200AE        90010219
      44      14      000200B3        90010331
      45      12      000200B9        9001025F
      46      14      000200BE        90010376
      47      12      000200C4        900102A1
      00      12      000200C9        9001023E
      01      14      000200CE        90010358
      02      12      000200D4        90010289
      03      16      000200D9        900103A3
      04      12      000200E0        900102DD
      05      14      000200E5        900103F1
      06      12      000200EB        90010335
      07      12      000200F0        90010263
      08      14      000200F5        9001037C
      09      12      000200FB        900102AE
      
      When driver gives outgoing stream:
      Index   Payload CIP_Header_0    CIP_Header_1
      38      12      000200BD        900104A8
      39      14      000200C2        900104A8
      40      12      000200C8        900104AC
      41      14      000200CD        900104A9
      42      12      000200D3        900104B1
      43      14      000200D8        900104A8
      44      12      000200DE        900104AA
      45      14      000200E3        900104A9
      46      14      000200E9        900104AE
      47      12      000200EF        900104A8
      00      14      000200F4        900104AD
      01      12      000200FA        900104A7
      02      14      000200FF        900104A9
      03      12      00020005        900104A9
      04      14      0002000A        900104B1
      05      12      00020010        900104AA
      06      14      00020015        900104AD
      07      12      0002001B        900104A7
      08      14      00020020        900104AC
      09      12      00020026        900104A7
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b0ac0009
    • T
      ALSA: oxfw: Add support for Behringer/Mackie devices · ec4dba50
      Takashi Sakamoto 提交于
      Some devices produced by Behringer/Mackie are based on OXFW970/971. This
      commit adds support for them. Additionally, this commit changes the way to
      name card with some information in config rom.
      
      Ids of some Mackie(Loud) models are not identified, therefore this commit
      applies name detection for these models.
      
      The devices support capture/playback of PCM-samples and some of them
      supports capture/playback of MIDI messages. These functionalities are
      implemented by followed commits.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ec4dba50
    • T
      ALSA: oxfw: Add proc interface for debugging purpose · 3c96101f
      Takashi Sakamoto 提交于
      This commit adds proc interface to get information about stream
      formation. This commit also adds snd_oxfw_stream_get_current_formation()
      to get current stream formation.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3c96101f
    • T
      ALSA: oxfw: Change the way to make PCM rules/constraints · 5cd1d3f4
      Takashi Sakamoto 提交于
      In previous commit, this driver can get to know stream formations at
      each supported sampling rates. This commit uses it to make PCM
      rules/constraints and obsoletes hard-coded rules/constraints.
      
      For this purpose, this commit adds 'struct snd_oxfw_stream_formation' and
      snd_oxfw_stream_parse_format() to parse data channel formation of data
      block.
      
      According to datasheet of OXFW970/971, they support 32.0kHz to 196.0kHz.
      
      As long as developers investigate, some devices are confirmed to have
      several formats for the same sampling rate.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5cd1d3f4
    • T
      ALSA: oxfw: Change the way to name card · fec7b753
      Takashi Sakamoto 提交于
      This is a preparation for more models. In following commit, members
      of 'struct snd_card' related to name becomes to consists of vendor and
      model strings in device's config-rom.
      
      Current supported devices also has strings in their config rom, but the
      strings are too long to name sound card, thus this driver still keep
      hard-coded vendor and model names for them.
      Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Acked-by: NClemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      fec7b753
  8. 30 11月, 2014 5 次提交
  9. 26 5月, 2014 5 次提交
  10. 14 2月, 2014 1 次提交
  11. 21 10月, 2013 3 次提交
  12. 10 7月, 2013 1 次提交
  13. 10 6月, 2013 1 次提交
    • S
      firewire: introduce fw_driver.probe and .remove methods · 94a87157
      Stefan Richter 提交于
      FireWire upper layer drivers are converted from generic
          struct driver.probe() and .remove()
      to bus-specific
          struct fw_driver.probe() and .remove().
      
      The new .probe() adds a const struct ieee1394_device_id *id argument,
      indicating the entry in the driver's device identifiers table which
      matched the fw_unit to be probed.  This new argument is used by the
      snd-firewire-speakers driver to look up device-specific parameters and
      methods.  There is at least one other FireWire audio driver currently in
      development in which this will be useful too.
      
      The new .remove() drops the unused error return code.
      
      Although all in-tree drivers are being converted to the new methods,
      support for the old methods is left in place in this commit.  This
      allows public developer trees to merge this commit and then move to the
      new fw_driver methods.
      Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
      Acked-by: Clemens Ladisch <clemens@ladisch.de> (for sound/firewire/)
      Cc: Peter Hurley <peter@hurleysoftware.com> (for drivers/staging/fwserial/)
      94a87157
  14. 07 12月, 2012 1 次提交
  15. 16 1月, 2012 1 次提交
  16. 04 10月, 2011 1 次提交
  17. 17 6月, 2011 1 次提交
  18. 30 3月, 2011 1 次提交
  19. 15 3月, 2011 1 次提交