{"action":"created","issue":{"url":"https://api.github.com/repos/scream3r/java-simple-serial-connector/issues/25","labels_url":"https://api.github.com/repos/scream3r/java-simple-serial-connector/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/scream3r/java-simple-serial-connector/issues/25/comments","events_url":"https://api.github.com/repos/scream3r/java-simple-serial-connector/issues/25/events","html_url":"https://github.com/scream3r/java-simple-serial-connector/issues/25","id":17520006,"number":25,"title":"Serial port detection","user":{"login":"miguelcobain","id":631691,"avatar_url":"https://avatars.githubusercontent.com/u/631691?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcobain","html_url":"https://github.com/miguelcobain","followers_url":"https://api.github.com/users/miguelcobain/followers","following_url":"https://api.github.com/users/miguelcobain/following{/other_user}","gists_url":"https://api.github.com/users/miguelcobain/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcobain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcobain/subscriptions","organizations_url":"https://api.github.com/users/miguelcobain/orgs","repos_url":"https://api.github.com/users/miguelcobain/repos","events_url":"https://api.github.com/users/miguelcobain/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcobain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-08-01T17:31:06Z","updated_at":"2015-11-17T01:38:28Z","closed_at":null,"body":"I'm also using a USB barcode printer on Linux.\r\n\r\nIn the system, the port ends up on `/dev/usb/lp0`. Using the jSSC terminal, for example, it doesn't get detected.\r\nChecking `getUnixBasedPortNames` code I can see you're only searching in `/dev` directory.\r\n\r\nIs this the desired behavior? Meanwhile, can I tell jSSC to look in another directory?"},"comment":{"url":"https://api.github.com/repos/scream3r/java-simple-serial-connector/issues/comments/157233577","html_url":"https://github.com/scream3r/java-simple-serial-connector/issues/25#issuecomment-157233577","issue_url":"https://api.github.com/repos/scream3r/java-simple-serial-connector/issues/25","id":157233577,"user":{"login":"odbol","id":550985,"avatar_url":"https://avatars.githubusercontent.com/u/550985?v=3","gravatar_id":"","url":"https://api.github.com/users/odbol","html_url":"https://github.com/odbol","followers_url":"https://api.github.com/users/odbol/followers","following_url":"https://api.github.com/users/odbol/following{/other_user}","gists_url":"https://api.github.com/users/odbol/gists{/gist_id}","starred_url":"https://api.github.com/users/odbol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odbol/subscriptions","organizations_url":"https://api.github.com/users/odbol/orgs","repos_url":"https://api.github.com/users/odbol/repos","events_url":"https://api.github.com/users/odbol/events{/privacy}","received_events_url":"https://api.github.com/users/odbol/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T01:38:28Z","updated_at":"2015-11-17T01:38:28Z","body":"@ril3y you are missing the dot in your Pattern. Perhaps this would help:\r\n\r\n`Pattern.compile(\"tty.(ACM[0-9]{1,2})\")`\r\n\r\nOr it could be too restrictive of a pattern? On OS X at least, you *need* the dot."}}