1. 11 Nov, 2021 1 commit
    • Takashi Sakamoto's avatar
      ALSA: fireworks: add support for Loud Onyx 1200f quirk · 0ca37273
      Takashi Sakamoto authored
      Loud Technologies shipped Onyx 1200f 2008 in its Mackie brand and
      already discontinued. The model uses component of Fireworks board
      module as its communication and DSP function.
      
      The latest firmware (v4.6.0) has a quirk that tx packet includes wrong
      value (0x1f) in its dbs field at middle and higher sampling transfer
      frequency. It brings ALSA fireworks driver discontinuity of data block
      counter.
      
      This commit fixes it by assuming it as a quirk of firmware version
      4.6.0.
      
      $ cd linux-firewire-tools/src
      $ python crpp < /sys/bus/firewire/devices/fw1/config_rom
                     ROM header and bus information block
                     -----------------------------------------------------------------
      400  0404b9ef  bus_info_length 4, crc_length 4, crc 47599
      404  31333934  bus_name "1394"
      408  e064a212  irmc 1, cmc 1, isc 1, bmc 0, pmc 0, cyc_clk_acc 100,
                     max_rec 10 (2048), max_rom 2, gen 1, spd 2 (S400)
      40c  000ff209  company_id 000ff2     |
      410  62550ce0  device_id 0962550ce0  | EUI-64 000ff20962550ce0
      
                     root directory
                     -----------------------------------------------------------------
      414  0008088e  directory_length 8, crc 2190
      418  03000ff2  vendor
      41c  8100000f  --> descriptor leaf at 458
      420  1701200f  model
      424  81000018  --> descriptor leaf at 484
      428  0c008380  node capabilities
      42c  8d000003  --> eui-64 leaf at 438
      430  d1000005  --> unit directory at 444
      434  08000ff2  (immediate value)
      
                     eui-64 leaf at 438
                     -----------------------------------------------------------------
      438  000281ae  leaf_length 2, crc 33198
      43c  000ff209  company_id 000ff2     |
      440  62550ce0  device_id 0962550ce0  | EUI-64 000ff20962550ce0
      
                     unit directory at 444
                     -----------------------------------------------------------------
      444  00045d94  directory_length 4, crc 23956
      448  1200a02d  specifier id: 1394 TA
      44c  13010000  version
      450  1701200f  model
      454  8100000c  --> descriptor leaf at 484
      
                     descriptor leaf at 458
                     -----------------------------------------------------------------
      458  000a199d  leaf_length 10, crc 6557
      45c  00000000  textual descriptor
      460  00000000  minimal ASCII
      464  4d61636b  "Mack"
      468  69650000  "ie"
      46c  00000000
      470  00000000
      474  00000000
      478  00000000
      47c  00000000
      480  00000000
      
                     descriptor leaf at 484
                     -----------------------------------------------------------------
      484  000a0964  leaf_length 10, crc 2404
      488  00000000  textual descriptor
      48c  00000000  minimal ASCII
      490  4f6e7978  "Onyx"
      494  20313230  " 120"
      498  30460000  "0F"
      49c  00000000
      4a0  00000000
      4a4  00000000
      4a8  00000000
      4ac  00000000
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Link: https://lore.kernel.org/r/20211111103015.7498-1-o-takashi@sakamocchi.jpSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      0ca37273
  2. 10 Nov, 2021 4 commits
  3. 09 Nov, 2021 2 commits
  4. 08 Nov, 2021 2 commits
    • Takashi Iwai's avatar
      ALSA: pci: rme: Fix unaligned buffer addresses · 43d35ccc
      Takashi Iwai authored
      The recent fix for setting up the DMA buffer type on RME drivers tried
      to address the non-standard memory managements and changed the DMA
      buffer information to the standard snd_dma_buffer object that is
      allocated at the probe time.  However, I overlooked that the RME
      drivers handle the buffer addresses based on 64k alignment, and the
      previous conversion broke that silently.
      
      This patch is an attempt to fix the regression.  The snd_dma_buffer
      objects are copied to the original data with the correction to the
      aligned accesses, and those are passed to snd_pcm_set_runtime_buffer()
      helpers instead.  The original snd_dma_buffer objects are managed by
      devres, hence they'll be released automagically.
      
      Fixes: 0899a7a2 ("ALSA: pci: rme: Set up buffer type properly")
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20211108145752.30572-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      43d35ccc
    • Takashi Sakamoto's avatar
      ALSA: firewire-motu: add support for MOTU Track 16 · 411ac298
      Takashi Sakamoto authored
      Mark of the Unicorn designed Track 16 2011 as one of models in third
      generation of its FireWire series. The model is already discontinued.
      It consists of below ICs:
      
       * Texas Instruments TSB41AB1
       * Microchip (SMSC) USB3300
       * Xilinx Spartan-3A FPGA, XC3S700A
       * Texas Instruments TMS320C6722
       * Microchip (Atmel) AT91SAM SAM7S512
      
      It supports sampling transfer frequency up to 192.0 kHz. The packet
      format differs depending on both of current sampling transfer frequency
      and the type of signal in optical interfaces. The model supports
      transmission of PCM frames as well as MIDI messages.
      
      The model supports command mechanism to configure internal DSP. Hardware
      meter information is available in the first 2 chunks of each data block
      of tx packet.
      
      This commit adds support for it.
      
      $ cd linux-firewire-tools/src
      $ python crpp < /sys/bus/firewire/devices/fw1/config_rom
                     ROM header and bus information block
                     -----------------------------------------------------------------
      400  04107d95  bus_info_length 4, crc_length 16, crc 32149
      404  31333934  bus_name "1394"
      408  20ff7000  irmc 0, cmc 0, isc 1, bmc 0, cyc_clk_acc 255, max_rec 7 (256)
      40c  0001f200  company_id 0001f2     |
      410  000a83c4  device_id 00000a83c4  | EUI-64 0001f200000a83c4
      
                     root directory
                     -----------------------------------------------------------------
      414  0004ef04  directory_length 4, crc 61188
      418  030001f2  vendor
      41c  0c0083c0  node capabilities per IEEE 1394
      420  d1000002  --> unit directory at 428
      424  8d000005  --> eui-64 leaf at 438
      
                     unit directory at 428
                     -----------------------------------------------------------------
      428  00035b04  directory_length 3, crc 23300
      42c  120001f2  specifier id
      430  13000039  version
      434  17102800  model
      
                     eui-64 leaf at 438
                     -----------------------------------------------------------------
      438  0002b25f  leaf_length 2, crc 45663
      43c  0001f200  company_id 0001f2     |
      440  000a83c4  device_id 00000a83c4  | EUI-64 0001f200000a83c4
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Link: https://lore.kernel.org/r/20211107110644.23511-1-o-takashi@sakamocchi.jpSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      411ac298
  5. 07 Nov, 2021 2 commits
  6. 05 Nov, 2021 2 commits
  7. 04 Nov, 2021 3 commits
  8. 03 Nov, 2021 2 commits
  9. 02 Nov, 2021 2 commits
  10. 01 Nov, 2021 4 commits
  11. 29 Oct, 2021 16 commits