{"id":13464,"date":"2024-04-02T14:52:16","date_gmt":"2024-04-02T06:52:16","guid":{"rendered":"https:\/\/aiportek.com\/?p=13464"},"modified":"2025-11-17T14:50:10","modified_gmt":"2025-11-17T06:50:10","slug":"new-pcan-driver-for-linux-environments-released","status":"publish","type":"post","link":"https:\/\/aiportek.com\/en\/new-pcan-driver-for-linux-environments-released\/","title":{"rendered":"HONGKE Solutions] New PCAN driver for Linux environment is released! CAN\/CAN FD communication experience is fully upgraded!"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"13464\" class=\"elementor elementor-13464\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f1a0069 e-flex e-con-boxed e-con e-parent\" data-id=\"f1a0069\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-98083f4 elementor-widget elementor-widget-heading\" data-id=\"98083f4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-xxl\">Hongke Articles<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-324a5705 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"324a5705\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-25ace4c5\" data-id=\"25ace4c5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-5b67c944 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5b67c944\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-9b8ebea elementor-invisible\" data-id=\"9b8ebea\" data-element_type=\"column\" data-settings=\"{&quot;animation&quot;:&quot;fadeInLeft&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-24594af7 elementor-widget elementor-widget-heading\" data-id=\"24594af7\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">New PCAN driver for Linux environment is released!<br>The CAN\/CAN FD communication experience is fully upgraded!<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-022b10b elementor-widget elementor-widget-post-info\" data-id=\"022b10b\" data-element_type=\"widget\" data-widget_type=\"post-info.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ul class=\"elementor-inline-items elementor-icon-list-items elementor-post-info\">\n\t\t\t\t\t\t\t\t<li class=\"elementor-icon-list-item elementor-repeater-item-2358f4d elementor-inline-item\" itemprop=\"author\">\n\t\t\t\t\t\t<a href=\"https:\/\/aiportek.com\/en\/author\/hongketechnology\/\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-far-user-circle\" viewbox=\"0 0 496 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M248 104c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96zm0 144c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-240C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-49.7 0-95.1-18.3-130.1-48.4 14.9-23 40.4-38.6 69.6-39.5 20.8 6.4 40.6 9.6 60.5 9.6s39.7-3.1 60.5-9.6c29.2 1 54.7 16.5 69.6 39.5-35 30.1-80.4 48.4-130.1 48.4zm162.7-84.1c-24.4-31.4-62.1-51.9-105.1-51.9-10.2 0-26 9.6-57.6 9.6-31.5 0-47.4-9.6-57.6-9.6-42.9 0-80.6 20.5-105.1 51.9C61.9 339.2 48 299.2 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 43.2-13.9 83.2-37.3 115.9z\"><\/path><\/svg>\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text elementor-post-info__item elementor-post-info__item--type-author\">\n\t\t\t\t\t\t\t\t\t\tHongKeTechnology\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t<\/li>\n\t\t\t\t<li class=\"elementor-icon-list-item elementor-repeater-item-a689c23 elementor-inline-item\" itemprop=\"datePublished\">\n\t\t\t\t\t\t<a href=\"https:\/\/aiportek.com\/en\/2024\/04\/02\/\">\n\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-icon\">\n\t\t\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-calendar\" viewbox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm436-44v-36c0-26.5-21.5-48-48-48h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v36c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12z\"><\/path><\/svg>\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-icon-list-text elementor-post-info__item elementor-post-info__item--type-date\">\n\t\t\t\t\t\t\t\t\t\t<time>April 2, 2024<\/time>\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t<\/li>\n\t\t\t\t<\/ul>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-92518dd elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"92518dd\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2f4e2450 elementor-widget elementor-widget-text-editor\" data-id=\"2f4e2450\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The new version 8.17.0 of the PCAN-Linux driver has been released, specifically designed for CAN and CAN FD interfaces. Both CAN 2.0 a\/b and CAN FD PCAN hardware products are \"at home\" with our new driver. Do you want to experience the convenience of a character mode device driver (chardev) or the efficiency of a socketCAN device driver (netdev)? It's up to you!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-4f3d4846 animated-fast elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-invisible\" data-id=\"4f3d4846\" data-element_type=\"section\" data-settings=\"{&quot;animation&quot;:&quot;fadeInUp&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-47e7af26\" data-id=\"47e7af26\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-34a2994b elementor-widget elementor-widget-heading\" data-id=\"34a2994b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-small\">New Version Driver Overview\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-779a6b82 elementor-widget elementor-widget-text-editor\" data-id=\"779a6b82\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p align=\"left\">1, device driver module source code and Makefile files, to ensure perfect compatibility between the driver and the system and efficient operation.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">2, the user library file source code and Makefile files, to provide users with a convenient API interface to simplify the development process.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">3, the test file source code and Makefile file, user-friendly driver for comprehensive functional testing and performance evaluation.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">4, Linux environment PCAN Basic sample source code and Makefile files, for beginners to provide intuitive learning and reference cases.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">5. Udev rules to ensure that devices are automatically recognized and configured in the Linux system.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">6\u3001Detailed product manuals provide users with comprehensive installation, configuration and usage guidelines.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-d155152 animated-fast elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-invisible\" data-id=\"d155152\" data-element_type=\"section\" data-settings=\"{&quot;animation&quot;:&quot;fadeInUp&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-eccd945\" data-id=\"eccd945\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0582867 elementor-widget elementor-widget-heading\" data-id=\"0582867\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-small\">Major improvements in the new version<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a0bef89 elementor-widget elementor-widget-text-editor\" data-id=\"a0bef89\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p align=\"left\">1. Improved support for PCAN-USB Pro FD hardware version v4 (firmware version &lt;3.4.6) to enhance driver compatibility and stability.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">2. Added a new protection mechanism for potential kernel message flooding, which effectively reduces system resource usage and improves system performance.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">3, support for kernel v6.4 and v6.5 compilation, to ensure that the driver in the new version of the Linux kernel runs smoothly.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">4. Repair potential kernel crash in netdev mode to further enhance system stability and reliability.<\/p><p align=\"left\">\u00a0<\/p><p align=\"left\">5. Upgraded PCAN-Basic API in Linux environment to version 4.8.0, which provides richer and more powerful functions for users.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-573ec77 animated-fast elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-invisible\" data-id=\"573ec77\" data-element_type=\"section\" data-settings=\"{&quot;animation&quot;:&quot;fadeInUp&quot;,&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-9166b91\" data-id=\"9166b91\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b9f4aaf elementor-widget elementor-widget-heading\" data-id=\"b9f4aaf\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-small\">New driver installation guide<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-042e145 elementor-widget elementor-widget-text-editor\" data-id=\"042e145\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>1\u3001Download the driver<br \/>\u00a0 \u00a0$ wget https:\/\/www.peak-system.com\/fileadmin\/media\/linux\/files\/peak-linux-driver-8.17.0.tar.gz<\/p><p>\u00a0<\/p><p>2. Unzip the file<br \/>\u00a0 \u00a0$ tar -xzf peak-linux-driver-8.17.0.tar.gz<\/p><p>\u00a0<\/p><p>3. Compiler driver (GCC version 12 or higher required)<br \/>\u00a0 \u00a0$ make clean all<\/p><p>\u00a0 \u00a0$ make<\/p><p>Here the driver is compiled to cahrdev mode, if you want to use SocketCAN, you need to compile the driver to netdev mode, the compile command is changed to: $ make netdev<\/p><p>\u00a0<\/p><p>4. Download the driver<br \/>\u00a0 \u00a0$ sudo make uninstall<\/p><p>\u00a0 \u00a0$ sudo make install<\/p><p>\u00a0<\/p><p>5. Load Module<br \/>\u00a0 \u00a0$ sudo modprobe pcan<\/p><p>\u00a0<\/p><p>6. Check if the driver is installed successfully.<br \/>\u00a0 \u00a0$ cat proc\/pcan<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-0879bf7 animated-fast elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-invisible\" data-id=\"0879bf7\" data-element_type=\"section\" data-settings=\"{&quot;animation&quot;:&quot;fadeInUp&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-c2ad30f\" data-id=\"c2ad30f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0051db9 elementor-widget elementor-widget-heading\" data-id=\"0051db9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-small\">Conclusion<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dfc5c03 elementor-widget elementor-widget-text-editor\" data-id=\"dfc5c03\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p align=\"left\">In the era of innovation and change, we realize that every improvement may bring unprecedented experience to users. The new version of PCAN-Linux driver (version 8.17.0) not only inherits the excellent features of the previous version, but also improves the compatibility, stability and performance. We sincerely invite all users to download and experience the new version, and look forward to receiving your valuable feedback to jointly promote the development of CAN communication technology.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>The new version 8.17.0 of the PCAN-Linux driver has been released, specifically designed for CAN and CAN FD interfaces. Both CAN 2.0 a\/b and CAN FD PCAN hardware products are \"at home\" with our new driver. Do you want to experience the convenience of a character mode device driver (chardev) or the efficiency of a socketCAN device driver (netdev)? It's up to you!<\/p>","protected":false},"author":1,"featured_media":13465,"comment_status":"closed","ping_status":"open","sticky":false,"template":"elementor_header_footer","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[55,38],"class_list":["post-13464","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-18","tag-peak","tag-38"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/posts\/13464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/comments?post=13464"}],"version-history":[{"count":10,"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/posts\/13464\/revisions"}],"predecessor-version":[{"id":26191,"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/posts\/13464\/revisions\/26191"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/media\/13465"}],"wp:attachment":[{"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/media?parent=13464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/categories?post=13464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aiportek.com\/en\/wp-json\/wp\/v2\/tags?post=13464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}