{"id":22694767,"url":"https://github.com/kiosion/alsa-motu-m2","last_synced_at":"2025-04-13T01:24:00.827Z","repository":{"id":53298838,"uuid":"521364220","full_name":"kiosion/alsa-motu-m2","owner":"kiosion","description":"Information about using the MOTU M2 under Alsa on Linux","archived":false,"fork":false,"pushed_at":"2023-07-13T22:04:22.000Z","size":8,"stargazers_count":14,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-30T19:53:46.765Z","etag":null,"topics":["alsa","alsa-pcm","audio","linux","linux-audio","motu","motu-m2","motu-soundcard","pipewire"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kiosion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-04T17:51:30.000Z","updated_at":"2024-03-20T15:37:00.000Z","dependencies_parsed_at":"2023-01-30T01:45:55.950Z","dependency_job_id":null,"html_url":"https://github.com/kiosion/alsa-motu-m2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiosion%2Falsa-motu-m2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiosion%2Falsa-motu-m2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiosion%2Falsa-motu-m2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiosion%2Falsa-motu-m2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiosion","download_url":"https://codeload.github.com/kiosion/alsa-motu-m2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228996052,"owners_count":18003633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alsa","alsa-pcm","audio","linux","linux-audio","motu","motu-m2","motu-soundcard","pipewire"],"created_at":"2024-12-10T03:09:50.197Z","updated_at":"2024-12-10T03:09:50.762Z","avatar_url":"https://github.com/kiosion.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# alsa-motu-m2\nSome info about using the MOTU M2 audio interface with alsa on Linux.\n\n## Info\nIssues with the M2 / M4 seem to be caused by a couple different issues -\n- `alsa-lib` / `lib32-alsa-lib` / `alsa-ucm-conf` / `alsa-utils` \u003e 1.27.1-1\n- ~~A [kernel bug](https://bugzilla.kernel.org/show_bug.cgi?id=216500) present in verisons 5.19.8 and newer~~ ([now fixed](https://bugzilla.kernel.org/attachment.cgi?id=301839\u0026action=edit))\n- Another kernel bug, affecting card detection at boot, requiring a power-cycle to fix (I've had luck [increasing msleep from 2000 to 4000](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb/quirks.c?h=v5.15-rc1#n1128) to fix this)\n\nThese monkey-patch confs fix MOTU M2 / M4 audio issues specifically relating to the first point. \n\n## Install\n\n\u003cdetails\u003e\u003csummary\u003eDowngrade alsa-lib, lib32-alsa-lib, \u0026 alsa-ucm-conf to 1.2.7.1-1\u003c/code\u003e\u003c/summary\u003e\n\u003cbr /\u003e\n\n- downgrade ([github](https://github.com/archlinux-downgrade/downgrade) / [AUR](https://aur.archlinux.org/packages/downgrade))\n\u003cbr /\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\u003csummary\u003eMove \u003ca href=\"src/MOTU\"\u003e\u003ccode\u003esrc/MOTU/*\u003c/code\u003e\u003c/a\u003e to \u003ccode\u003e/usr/share/alsa/ucm2/USB-Audio/MOTU/*\u003c/code\u003e\u003c/summary\u003e\n\u003cp\u003e\n\n```diff\n/usr/share/alsa/ucm2/USB-Audio/MOTU/M4.conf\n/usr/share/alsa/ucm2/USB-Audio/MOTU/M4-HiFi.conf\n+/usr/share/alsa/ucm2/USB-Audio/MOTU/M2.conf\n+/usr/share/alsa/ucm2/USB-Audio/MOTU/M2-HiFi.conf\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\u003cdetails\u003e\u003csummary\u003eReplace the existing \u003ccode\u003e/usr/share/alsa/ucm2/USB-Audio/USB-Audio.conf\u003c/code\u003e's MOTU M4 config with the updated config from \u003ca href=\"src/USB-Audio.conf\"\u003e\u003ccode\u003esrc/USB-Audio.conf\u003c/code\u003e\u003c/a\u003e\u003c/summary\u003e\n\u003cp\u003e\n\n```diff\n@@ -67,1 +83,1 @@\n-If.M4 {\n-\tCondition {\n-\t\tType String\n-\t\tHaystack \"${CardComponents}\"\n-\t\tNeedle \"USB07fd:000b\"\n-\t}\n-\tTrue.Define.ProfileName \"MOTU/M4\"\n+If.Motu {\n+  Condition {\n+    Type String\n+    Haystack \"${CardComponents}\"\n+    Needle \"USB07fd:000b\"\n+  }\n+  True.If.M4 {\n+    Condition {\n+      Type String\n+      Haystack \"${CardLongName}\"\n+      Needle \"MOTU M4\"\n+    }\n+    True.Define.ProfileName \"MOTU/M4\"\n+    False.Define.ProfileName \"MOTU/M2\"\n+  }\n}\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiosion%2Falsa-motu-m2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiosion%2Falsa-motu-m2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiosion%2Falsa-motu-m2/lists"}