{"id":21081793,"url":"https://github.com/openvoiceos/ovos-i2csound","last_synced_at":"2025-06-13T05:37:45.107Z","repository":{"id":214632096,"uuid":"734119149","full_name":"OpenVoiceOS/ovos-i2csound","owner":"OpenVoiceOS","description":"Script for i2c HAT detection","archived":false,"fork":false,"pushed_at":"2025-05-04T17:27:02.000Z","size":99,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"dev","last_synced_at":"2025-05-16T09:42:08.525Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenVoiceOS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["OpenVoiceOS"],"patreon":"openvoiceos","liberapay":"OpenVoiceOS-Foundation","custom":"https://paypal.me/openvoiceos"}},"created_at":"2023-12-20T23:12:10.000Z","updated_at":"2025-05-04T17:27:00.000Z","dependencies_parsed_at":"2024-01-22T14:44:42.598Z","dependency_job_id":"2839b9ed-89c9-4fd8-9923-c0e812cb84ff","html_url":"https://github.com/OpenVoiceOS/ovos-i2csound","commit_stats":null,"previous_names":["openvoiceos/ovos-i2csound"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OpenVoiceOS/ovos-i2csound","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-i2csound","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-i2csound/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-i2csound/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-i2csound/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenVoiceOS","download_url":"https://codeload.github.com/OpenVoiceOS/ovos-i2csound/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenVoiceOS%2Fovos-i2csound/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259590703,"owners_count":22881216,"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":[],"created_at":"2024-11-19T20:11:00.276Z","updated_at":"2025-06-13T05:37:45.041Z","avatar_url":"https://github.com/OpenVoiceOS.png","language":"Shell","funding_links":["https://github.com/sponsors/OpenVoiceOS","https://patreon.com/openvoiceos","https://liberapay.com/OpenVoiceOS-Foundation","https://paypal.me/openvoiceos"],"categories":[],"sub_categories":[],"readme":"# ovos-i2csound\nScript for i2c HAT detection and configuration on a Raspberry Pi\n\n**Scripts in this repo require sudo access to use and install**\n\n## Simple Installation\n*currently only apt based OS*\n\nClone this repository.\n`git clone https://github.com/OpenVoiceOS/ovos-i2csound`\nChange into the `ovos-i2csound` directory.\n`cd ovos-i2csound`\nRun the install script.\n`sudo ./install.sh`\nReboot for the changes to take effect.\n\n## Installation Explained\nThis script does several things to enable auto detection of a variety of `i2c` sound cards for the Raspberry Pi. (A list of supported devices, or soon to be supported devices can be found in the `ovos-i2csound` script) [PR's are always welcome](https://github.com/OpenVoiceOS/ovos-i2csound/pulls/) to support more devices.\n\n### install.sh\nThe `install.sh` script is an auto installer for `ovos-i2csound`.  It will check for the required apt packages and install them if needed.  It then copies the rest of the scripts used to the required directories on the host system.  After installation, it is safe to delete this directory.\n\n### Manual Installation\nPlace the following files in the respective directory, and reboot your system.\n\n`i2c.conf` -\u003e `/etc/modules-load.d/i2c.conf`\n`bcm2835-alsa.conf` -\u003e `/etc/modules-load.d/bcm2835-alsa.conf`\n`i2csound.service` -\u003e `/etc/systemd/system/i2csound.service`\n`ovos-i2csound` -\u003e `/usr/libexec/ovos-i2csound`\n`99-i2c.rules` -\u003e `/usr/lib/udev/rules.d/99-i2c.rules`\n\nCreate the directory for ovos-i2csound to store a variable in\n`sudo mkdir /etc/OpenVoiceOS`\n\n## Usage\n\nWhen installed and enabled, this script will run at boot time and try to detect the attached card if any.  If a supported card is detected, ovos-i2csound will setup Alsa to the correct values for that card.\n\nAlso, as an added feature, when a card is detected, a file will be created at `/etc/OpenVoiceOS/i2c_platform`.  It contains a single line with the name of the card detected.\n\nThis file can be read and used as validation for plugins, or any other use you may find.\n\nIf the file does not exist, ovos-i2csound ran, but did not find a supported card.\n\nIssues can be made [here](https://github.com/OpenVoiceOS/ovos-i2csound/issues/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenvoiceos%2Fovos-i2csound","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenvoiceos%2Fovos-i2csound","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenvoiceos%2Fovos-i2csound/lists"}