{"id":15197120,"url":"https://github.com/honechko/ser1wm","last_synced_at":"2026-03-06T02:04:00.636Z","repository":{"id":253258936,"uuid":"842961890","full_name":"honechko/ser1wm","owner":"honechko","description":"1-wire bus master driver","archived":false,"fork":false,"pushed_at":"2024-09-13T11:49:06.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T08:11:58.054Z","etag":null,"topics":["1-wire","1-wire-master","drivers","home-automation","kernel-driver","kernel-module","linux","onewire","raspberry","raspberry-pi","raspberrypi","rpi"],"latest_commit_sha":null,"homepage":"","language":"C","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/honechko.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-15T13:36:44.000Z","updated_at":"2024-09-14T04:36:40.000Z","dependencies_parsed_at":"2024-09-05T20:48:01.623Z","dependency_job_id":"3df16fbd-7c4d-4370-9488-57de57fa3877","html_url":"https://github.com/honechko/ser1wm","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"68100b36b853bf66c7ca294026fa7c5219eb4984"},"previous_names":["honechko/ser1wm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honechko%2Fser1wm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honechko%2Fser1wm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honechko%2Fser1wm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honechko%2Fser1wm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honechko","download_url":"https://codeload.github.com/honechko/ser1wm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241570921,"owners_count":19984002,"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":["1-wire","1-wire-master","drivers","home-automation","kernel-driver","kernel-module","linux","onewire","raspberry","raspberry-pi","raspberrypi","rpi"],"created_at":"2024-09-28T00:42:51.888Z","updated_at":"2026-03-06T02:04:00.574Z","avatar_url":"https://github.com/honechko.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serial 1-wire bus master driver for Linux\n\n## Build Out-of-Tree (fast way)\n\n* To build the module, you may need to install kernel headers and makefiles if you have not done so already:\n\n    ```$ sudo yum install -y kernel-devel```  \n    or  \n    ```$ sudo apt-get install -y linux-headers-$(uname -r)```  \n\n* Build module:\n\n    ```$ cd kernel/module```  \n    ```$ make```  \n\n* Load module:\n\n    ```$ sudo modprobe wire```  \n    ```$ sudo insmod ./ser1wm.ko```  \n\n## Build In-Tree (preferred way)\n\n* Download and unpack [kernel source](http://kernel.org/) ([rpi kernel source](https://github.com/raspberrypi/linux/))\n\n* Optionally apply patches from [patches directory](https://github.com/honechko/ser1wm/tree/main/kernel/patches/):\n\n    ```$ patch -p1 \u003c /path/to/enhancement_w1_touchblock.patch```  \n    ```$ patch -p1 \u003c /path/to/enhancement_w1_resetcounter.patch```  \n    ```$ patch -p1 \u003c /path/to/fix_w1_slavecount.patch```  \n    ```$ patch -p1 \u003c /path/to/fix_w1_loadmodule.patch```  \n    ```$ patch -p1 \u003c /path/to/fix_w1_thermpullup.patch```  \n\n* Add driver to kernel source tree:\n\n    ```$ cp /path/to/ser1wm.c drivers/w1/masters```  \n    ```$ patch -p1 \u003c /path/to/intree-ser1wm.patch```  \n\n* Configure, make and install modules as usual:\n\n    ```$ make menuconfig```  \n    ```$ make modules```  \n    ```$ sudo make modules_install```  \n\n## Usage\n\n* Build ```ser1wm_attach```\n\n    ```$ cd user/attach```  \n    ```$ make```  \n\n* Attach driver to serial line to which serial 1-wire bus master is connected:\n\n    ```$ sudo ./ser1wm_attach /dev/ttyUSB0```  \n\n    or attach driver to TCP-port on which network 1-wire bus master is listening:\n\n    ```$ sudo ./ser1wm_attach 10.0.0.2:4232```  \n\n* Optionally create udev rules to automatically attach driver when serial devices appear as shown in [this example](https://github.com/honechko/ser1wm/blob/main/user/udev/85-owmasters.rules).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonechko%2Fser1wm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonechko%2Fser1wm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonechko%2Fser1wm/lists"}