Skip to content

Commit

Permalink
USB-Audio: Add 0582:01d8 BOSS Katana HEAD MkII support
Browse files Browse the repository at this point in the history
Closes: #430
Signed-off-by: Alejandro Domínguez <adomu4@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
aledomu authored and perexg committed Aug 2, 2024
1 parent f10c04e commit 27ee7e6
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 0 deletions.
100 changes: 100 additions & 0 deletions ucm2/USB-Audio/BOSS/Katana-HiFi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
Include.pcm_split.File "/common/pcm/split.conf"

Macro [
{
SplitPCM {
Name "katana_stereo_out"
Direction Playback
Channels 2
HWChannels 4
HWChannelPos0 FL
HWChannelPos1 FR
HWChannelPos2 FL
HWChannelPos3 FR
}
}
{
SplitPCM {
Name "katana_stereo_in"
Direction Capture
Channels 2
HWChannels 4
HWChannelPos0 FL
HWChannelPos1 FR
HWChannelPos2 FL
HWChannelPos3 FR
}
}
]

SectionDevice."PrimaryOut" {
Comment "Music Playback"

Value {
PlaybackPriority 200
}
Macro.pcm_split.SplitPCMDevice {
Name "katana_stereo_out"
Direction Playback
Channels 2
HWChannels 4
Channel0 0
Channel1 1
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."SecondaryOut" {
Comment "DI Playback"

Value {
PlaybackPriority 100
}
Macro.pcm_split.SplitPCMDevice {
Name "katana_stereo_out"
Direction Playback
Channels 2
HWChannels 4
Channel0 2
Channel1 3
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."PrimaryIn" {
Comment "Processed Signal"

Value {
CapturePriority 200
}
Macro.pcm_split.SplitPCMDevice {
Name "katana_stereo_in"
Direction Capture
Channels 2
HWChannels 4
Channel0 0
Channel1 1
ChannelPos0 FL
ChannelPos1 FR
}
}

SectionDevice."SecondaryIn" {
Comment "DI Capture"

Value {
CapturePriority 100
}
Macro.pcm_split.SplitPCMDevice {
Name "katana_stereo_in"
Direction Capture
Channels 2
HWChannels 4
Channel0 2
Channel1 3
ChannelPos0 FL
ChannelPos1 FR
}
}
6 changes: 6 additions & 0 deletions ucm2/USB-Audio/BOSS/Katana.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Comment "BOSS Katana USB-Audio"

SectionUseCase."HiFi" {
File "/USB-Audio/BOSS/Katana-HiFi.conf"
Comment "Default"
}
12 changes: 12 additions & 0 deletions ucm2/USB-Audio/USB-Audio.conf
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,18 @@ If.sony-inzone-h9-h7 {
True.Define.ProfileName "Sony/Inzone-H9-H7"
}

If.boss-katana {
Condition {
Type String
Haystack "${CardComponents}"
# 0582:01d8 BOSS Katana HEAD MkII
# Might work for other models
# and generations from the same series
Needle "USB0582:01d8"
}
True.Define.ProfileName "BOSS/Katana"
}

If.roland-bridgecast {
Condition {
Type String
Expand Down

0 comments on commit 27ee7e6

Please sign in to comment.