{"id":361,"date":"2025-10-18T07:59:08","date_gmt":"2025-10-18T07:59:08","guid":{"rendered":"https:\/\/blog.chaiyakul.com\/?p=361"},"modified":"2025-10-18T07:59:08","modified_gmt":"2025-10-18T07:59:08","slug":"virtualbox-usb-host-linux","status":"publish","type":"post","link":"https:\/\/blog.chaiyakul.com\/index.php\/2025\/10\/18\/virtualbox-usb-host-linux\/","title":{"rendered":"VirtualBox \u0e44\u0e21\u0e48\u0e21\u0e35\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c USB \u0e1a\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e23\u0e34\u0e07 (host) \u0e1a\u0e19 Linux"},"content":{"rendered":"\n<p>\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e19\u0e35\u0e49 \ud83d\udc47<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nFailed to enumerate host USB devices.\nVirtualBox is not currently allowed to access USB devices.\nYou can change this by adding your user to the &#039;vboxusers&#039; group.\n<\/pre><\/div>\n\n\n<p>\u0e2b\u0e21\u0e32\u0e22\u0e04\u0e27\u0e32\u0e21\u0e27\u0e48\u0e32 <strong>VirtualBox \u0e44\u0e21\u0e48\u0e21\u0e35\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c USB<\/strong> \u0e1a\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e23\u0e34\u0e07 (host) \ud83e\uddf0<br>\u0e0b\u0e36\u0e48\u0e07\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e19\u0e35\u0e49\u0e40\u0e01\u0e34\u0e14\u0e1a\u0e48\u0e2d\u0e22\u0e1a\u0e19 Linux Mint \/ Ubuntu \u0e41\u0e25\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e41\u0e01\u0e49\u0e44\u0e14\u0e49\u0e07\u0e48\u0e32\u0e22 \u2705<\/p>\n\n\n\n<p>\ud83e\ude9b \u0e27\u0e34\u0e18\u0e35\u0e41\u0e01\u0e49\u0e1b\u0e31\u0e0d\u0e2b\u0e32: \u0e43\u0e2b\u0e49\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c VirtualBox \u0e43\u0e0a\u0e49 USB<\/p>\n\n\n\n<p>\ud83e\uddcd 1. \u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e40\u0e02\u0e49\u0e32\u0e01\u0e25\u0e38\u0e48\u0e21 <code>vboxusers<\/code><\/p>\n\n\n\n<p>\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e19\u0e35\u0e49\u0e43\u0e19 Terminal (\u0e41\u0e17\u0e19 <code>USERNAME<\/code> \u0e14\u0e49\u0e27\u0e22\u0e0a\u0e37\u0e48\u0e2d\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo usermod -aG vboxusers $USER\n<\/pre><\/div>\n\n\n<p>\ud83d\udca1 <code>$USER<\/code> \u0e08\u0e30\u0e14\u0e36\u0e07\u0e0a\u0e37\u0e48\u0e2d\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\u0e43\u0e2b\u0e49\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34 \u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e40\u0e2d\u0e07<\/p>\n\n\n\n<p>\ud83d\udd01 2. Log out \/ \u0e23\u0e35\u0e1a\u0e39\u0e15\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07<\/p>\n\n\n\n<p>\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e01\u0e25\u0e38\u0e48\u0e21\u0e41\u0e25\u0e49\u0e27 <strong>\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e23\u0e30\u0e1a\u0e1a (log out)<\/strong> \u0e2b\u0e23\u0e37\u0e2d <strong>\u0e23\u0e35\u0e1a\u0e39\u0e15\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07<\/strong><br>\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e21\u0e35\u0e1c\u0e25<\/p>\n\n\n\n<p>\ud83e\udde9 3. \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01\u0e01\u0e25\u0e38\u0e48\u0e21\u0e41\u0e25\u0e49\u0e27<\/p>\n\n\n\n<p>\u0e2b\u0e25\u0e31\u0e07\u0e25\u0e47\u0e2d\u0e01\u0e2d\u0e34\u0e19\u0e43\u0e2b\u0e21\u0e48 \u0e43\u0e2b\u0e49\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e14\u0e49\u0e27\u0e22:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngroups\n<\/pre><\/div>\n\n\n<p>\u0e04\u0e27\u0e23\u0e40\u0e2b\u0e47\u0e19\u0e04\u0e33\u0e27\u0e48\u0e32:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n... vboxusers ...\n<\/pre><\/div>\n\n\n<p>\u0e16\u0e49\u0e32\u0e40\u0e2b\u0e47\u0e19 \u2705 VirtualBox \u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07 USB \u0e44\u0e14\u0e49\u0e41\u0e25\u0e49\u0e27<\/p>\n\n\n\n<p>\ud83e\uddf0 4. \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Extension Pack \u0e41\u0e25\u0e49\u0e27\u0e2b\u0e23\u0e37\u0e2d\u0e22\u0e31\u0e07 (\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e21\u0e32\u0e01)<\/p>\n\n\n\n<p>\u0e16\u0e49\u0e32\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 <strong>USB 2.0 \/ 3.0<\/strong><br>\u0e15\u0e49\u0e2d\u0e07\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 \u201cVirtualBox Extension Pack\u201d \u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e1a VirtualBox \u0e14\u0e49\u0e27\u0e22<\/p>\n\n\n\n<p>\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48 \ud83d\udc49 <a>https:\/\/www.virtualbox.org\/wiki\/Downloads<\/a><\/p>\n\n\n\n<p>\ud83e\udde0 5. \u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 USB \u0e43\u0e19 VM<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u0e40\u0e1b\u0e34\u0e14 <strong>VirtualBox Manager<\/strong><\/li>\n\n\n\n<li>\u0e04\u0e25\u0e34\u0e01\u0e02\u0e27\u0e32 VM \u2192 <strong>Settings<\/strong><\/li>\n\n\n\n<li>\u0e44\u0e1b\u0e17\u0e35\u0e48 <strong>USB<\/strong><\/li>\n\n\n\n<li>\u2705 \u0e15\u0e34\u0e4a\u0e01 <strong>Enable USB Controller<\/strong> \u2192 \u0e40\u0e25\u0e37\u0e2d\u0e01\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19 (\u0e40\u0e0a\u0e48\u0e19 USB 2.0 \u0e2b\u0e23\u0e37\u0e2d 3.0 \u0e16\u0e49\u0e32\u0e21\u0e35 Extension Pack)<\/li>\n\n\n\n<li>\u0e01\u0e14 <strong>Add ( + )<\/strong> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c USB \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d<\/li>\n<\/ol>\n\n\n\n<h5 class=\"wp-block-heading\">\u26a0\ufe0f \u0e2b\u0e21\u0e32\u0e22\u0e40\u0e2b\u0e15\u0e38<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e16\u0e49\u0e32\u0e43\u0e0a\u0e49 Linux \u0e1a\u0e32\u0e07 distro \u0e2d\u0e32\u0e08\u0e15\u0e49\u0e2d\u0e07\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e40\u0e2a\u0e23\u0e34\u0e21:<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt install virtualbox-ext-pack virtualbox-ext-oracle\n<\/pre><\/div>\n\n\n<p>\u0e15\u0e49\u0e2d\u0e07\u0e44\u0e21\u0e48\u0e40\u0e1b\u0e34\u0e14\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21\u0e2d\u0e37\u0e48\u0e19\u0e17\u0e35\u0e48\u0e14\u0e36\u0e07 USB \u0e2d\u0e22\u0e39\u0e48 (\u0e40\u0e0a\u0e48\u0e19 File Manager) \u0e01\u0e48\u0e2d\u0e19 VirtualBox \u0e08\u0e30\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d<\/p>\n\n\n\n<p>\u2705 <strong>\u0e2a\u0e23\u0e38\u0e1b\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e2a\u0e31\u0e49\u0e19 \u0e46<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>sudo usermod -aG vboxusers $USER<\/code><\/li>\n\n\n\n<li>Log out \/ Reboot<\/li>\n\n\n\n<li>\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 Extension Pack<\/li>\n\n\n\n<li>\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 USB \u0e43\u0e19 VM \u2192 Enable USB Controller<\/li>\n\n\n\n<li>\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c USB<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e19\u0e35\u0e49 \ud83d\udc47 \u0e2b\u0e21\u0e32\u0e22\u0e04\u0e27\u0e32\u0e21\u0e27\u0e48\u0e32 VirtualBox \u0e44\u0e21\u0e48\u0e21\u0e35\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c\u0e40 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","footnotes":""},"categories":[9,165,159],"tags":[],"class_list":["post-361","post","type-post","status-publish","format-standard","hentry","category-linux","category-linux-mint","category-virtualbox"],"_links":{"self":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/comments?post=361"}],"version-history":[{"count":1,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/361\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/361\/revisions\/362"}],"wp:attachment":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/categories?post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/tags?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}