Title: getActiveUsbConfiguration() is null in macOS. · Issue #84 · usb4java/usb4java · GitHub
Open Graph Title: getActiveUsbConfiguration() is null in macOS. · Issue #84 · usb4java/usb4java
X Title: getActiveUsbConfiguration() is null in macOS. · Issue #84 · usb4java/usb4java
Description: Hi, I implement java application in OS X platform. I found usb4java that I need to communicate with USB device. Then I followed Quick Start to port USB function. But it failed in UsbConfiguration configuration = device.getActiveUsbConfig...
Open Graph Description: Hi, I implement java application in OS X platform. I found usb4java that I need to communicate with USB device. Then I followed Quick Start to port USB function. But it failed in UsbConfiguration c...
X Description: Hi, I implement java application in OS X platform. I found usb4java that I need to communicate with USB device. Then I followed Quick Start to port USB function. But it failed in UsbConfiguration c...
Opengraph URL: https://github.com/usb4java/usb4java/issues/84
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getActiveUsbConfiguration() is null in macOS.","articleBody":"Hi,\r\n I implement java application in OS X platform. I found usb4java that I need to communicate with USB device. Then I followed Quick Start to port USB function. But it failed in \r\nUsbConfiguration configuration = device.getActiveUsbConfiguration();\r\nThe variable of configuration is null. Cloud you please help me to fix it?\r\n\r\n Another strange point is I included usb4java with 1.3.0 in pom.xml. But the result showed Implementation version is 1.2.0. Is that right?\r\nThe code as below:\r\nfinal UsbServices services = UsbHostManager.getUsbServices();\r\n System.out.println(\"USB Service Implementation: \"\r\n + services.getImpDescription());\r\n System.out.println(\"Implementation version: \"\r\n + services.getImpVersion());\r\n System.out.println(\"Service API version: \" + services.getApiVersion());\r\n\r\n\r\n\r\n**Environment:**\r\n - OS: macOS 10.15.7\r\n - Java version 15.0.2\r\n - usb4java version 1.3.0\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/KevinCWKevin","@type":"Person","name":"KevinCWKevin"},"datePublished":"2021-02-24T10:08:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/84/usb4java/issues/84"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2a23f946-b91d-6232-fed6-0e9ad5335237 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 965E:267E4D:A1E006C:D38ECF1:6975F611 |
| html-safe-nonce | 849362d78524d29508fad73bb6d3454a4209bfd7b486c8db23a78d5a83abc1ed |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjVFOjI2N0U0RDpBMUUwMDZDOkQzOEVDRjE6Njk3NUY2MTEiLCJ2aXNpdG9yX2lkIjoiMzM4MDIzNjI4MjczNzU4NzcyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 033d65a5180eb2071e823cd116295af28d5c9b5fa4ffbb0e0f57e246c9447d19 |
| hovercard-subject-tag | issue:815324291 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/usb4java/usb4java/84/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c971c3aa9ca457fbba4752384f55b1cf61c88aeab867e77bc084821915094813/usb4java/usb4java/issues/84 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c971c3aa9ca457fbba4752384f55b1cf61c88aeab867e77bc084821915094813/usb4java/usb4java/issues/84 |
| og:image:alt | Hi, I implement java application in OS X platform. I found usb4java that I need to communicate with USB device. Then I followed Quick Start to port USB function. But it failed in UsbConfiguration c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KevinCWKevin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2bce766e7450b03e00b2fc5badd417927ce33a860e78cda3e4ecb9bbd1374cc6 |
| turbo-cache-control | no-preview |
| go-import | github.com/usb4java/usb4java git https://github.com/usb4java/usb4java.git |
| octolytics-dimension-user_id | 5460495 |
| octolytics-dimension-user_login | usb4java |
| octolytics-dimension-repository_id | 1528861 |
| octolytics-dimension-repository_nwo | usb4java/usb4java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1528861 |
| octolytics-dimension-repository_network_root_nwo | usb4java/usb4java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fcca2b8ef702b5f7f91427a6e920fa44446fe312 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width