{"id":24668873,"url":"https://github.com/linuxerwang/hg20f9","last_synced_at":"2025-10-08T05:31:54.147Z","repository":{"id":6444001,"uuid":"7683409","full_name":"linuxerwang/HG20F9","owner":"linuxerwang","description":"Linux driver for USB network adapters purchased from internet: http://www.ebay.com/itm/External-USB-to-Lan-RJ45-Ethernet-Network-Card-Adapter-10-100-Mbps-for-Laptop-PC-/170896745782?pt=US_USB_Wi_Fi_Adapters_Dongles\u0026hash=item27ca3d6536 and http://dx.com/p/usb-2-0-to-10-100m-rj45-ethernet-network-adapter-dongle-black-161542","archived":false,"fork":false,"pushed_at":"2013-01-23T03:44:22.000Z","size":274,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T00:35:05.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"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/linuxerwang.png","metadata":{"files":{"readme":"readme","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":"2013-01-18T08:46:32.000Z","updated_at":"2023-09-11T21:40:48.000Z","dependencies_parsed_at":"2022-08-28T00:00:28.369Z","dependency_job_id":null,"html_url":"https://github.com/linuxerwang/HG20F9","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/linuxerwang/HG20F9","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxerwang%2FHG20F9","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxerwang%2FHG20F9/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxerwang%2FHG20F9/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxerwang%2FHG20F9/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linuxerwang","download_url":"https://codeload.github.com/linuxerwang/HG20F9/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxerwang%2FHG20F9/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278892182,"owners_count":26063944,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-26T09:17:49.211Z","updated_at":"2025-10-08T05:31:53.818Z","avatar_url":"https://github.com/linuxerwang.png","language":"C","readme":"============================================================================\n\nDriver Compilation \u0026 Configuration on the Linux\n============================================================================\n\nThis driver has been verified on kernel versions from 2.6.14 to 3.2.0.\n\n\n================\nPrerequisites\n================\n\nPrepare to build the driver, you need the Linux kernel sources installed on the\nbuild machine, and make sure that the version of the running kernel must match\nthe installed kernel sources. If you don't have the kernel sources, you can get\nit from www.kernel.org or contact to your Linux distributor. If you don't know\nhow to do, please refer to KERNEL-HOWTO.\n\nNote: Please make sure the kernel is built with one of the \"Support for\n       Host-side, EHCI, OHCI, or UHCI\" option support.\n\n\n===========================\nConditional Compilation Flag\n===========================\n[AX_FORCE_BUFF_ALIGN]\nDescription:\n       There are alignment issues of USB buffer in some USB host controllers.\n       Turn on this flag if the implementation of your USB host controller\n       cannot handle non-double word aligned buffer.\n       When turn on this flag, driver will fixup egress packet aligned on double\n       word boundary before deliver to USB host controller.\nSetting:\n\t1 -\u003e Enable TX buffers forced on double word alignment.\n\t0 -\u003e Disable TX buffers forced on double word alignment.\nDefault:\n\t0\n\n\n================\nGetting Start\n================\n\n1. Extract the compressed driver source file to your template directory by the\n   following command:\n\n\t[root@localhost template]# tar -xf DRIVER_SOURCE_PACKAGE.tar.bz2\n\n2. Now, the driver source files should be extracted under the current directory.\n   Executing the following command to compile the driver:\n \n\t[root@localhost template]# make\n\t\t\t\n3. If the compilation is well, the HG20F9.ko will be created under the current\n   directory.\n \n4. If you want to use modprobe command to mount the driver, executing the\n   following command to install the driver into your Linux:\n\n\t[root@localhost template]# make install\n\n\n================\nUsage\n================\n\n1. If you want to load the driver manually, go to the driver directory and\n   execute the following commands:\n\n\t[root@localhost template]# insmod HG20F9.ko\n\n2. If you had installed the driver during driver compilation, then you can use\n   the following command to load the driver automatically.\n\n\t[root@localhost anywhere]# modprobe HG20F9\n\nIf you want to unload the driver, just executing the following command:\n\n\t[root@localhost anywhere]# rmmod HG20F9\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxerwang%2Fhg20f9","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuxerwang%2Fhg20f9","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxerwang%2Fhg20f9/lists"}