{"id":18152280,"url":"https://github.com/bsdelf/bsd-hdaps","last_synced_at":"2025-04-06T23:45:57.652Z","repository":{"id":141768757,"uuid":"38192432","full_name":"bsdelf/bsd-hdaps","owner":"bsdelf","description":"Hard Drive Active Protection System for FreeBSD","archived":false,"fork":false,"pushed_at":"2015-06-28T11:23:07.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T05:44:55.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bsdelf.png","metadata":{"files":{"readme":"README.FreeBSD","changelog":"CHANGES","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":"2015-06-28T08:49:52.000Z","updated_at":"2015-06-28T11:23:09.000Z","dependencies_parsed_at":"2023-03-12T23:45:15.479Z","dependency_job_id":null,"html_url":"https://github.com/bsdelf/bsd-hdaps","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/bsdelf%2Fbsd-hdaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsdelf%2Fbsd-hdaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsdelf%2Fbsd-hdaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsdelf%2Fbsd-hdaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsdelf","download_url":"https://codeload.github.com/bsdelf/bsd-hdaps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569130,"owners_count":20959758,"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-02T02:06:22.131Z","updated_at":"2025-04-06T23:45:57.631Z","avatar_url":"https://github.com/bsdelf.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"thinkpad_ec and hdaps ported to FreeBSD by Maik Ehinger \u003cm.ehinger@ltur.de\u003e\nsmapi not ported yet!\n\nINSTALL:\n\nTo build and install you must have kernel sources installed: \n# make install\n\nThis will build and install to modules\n\tthinkpad_ec.ko\tThinkpad Embedded Controller Driver\n\thdaps.ko\tAccelerometer Driver\n\nTo load both modules:\n# kldload hdaps\n\nThis will automatically load thinkpad_ec.ko\n\nTo display the sysctl's:\n# sysctl hw.sysctl\n\nThis will display the same hdaps values as the Linux version provides under sysfs plus\n\thw.hdaps.values\n\t\tAccelerometer \"X Y Temp1 MouseAct KeybAct\"\n\thw.hdaps.rest_position\n\t\tAccelerometer rest position\n\nYou can also compile \"hdapsmonitor\" needs ncurse \nor \"hdapsmonitor_vga\" needs svgalib in the hdaps directory.\n\n# cd hdaps\n# cc -lncurses -o hdapsmonitor hdapsmonitor.c\n# ./hdapsmonitor\n\n# cd hdaps\n# cc -lvga -I/usr/local/include -L/usr/local/lib -o hdapsmonitor_vga hdapsmonitor_vga.c\n# ./hdapsmonitor_vga\n\nThey will display the HDAPS values like an ossciloscope. \n\nYou also get two devices\n\t/dev/hdaps\tAccelerometer PS/2 Mouse device\n\t/dev/joy0\tJoystick device\n\nNot quite acurate at the time.\n\nYou can try playing \"neverball\" from the ports.\n\nPlease report BUGS to \u003cm.ehinger@ltur.de\u003e and inlcude as much information as\npossible.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsdelf%2Fbsd-hdaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsdelf%2Fbsd-hdaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsdelf%2Fbsd-hdaps/lists"}