{"action":"created","issue":{"url":"https://api.github.com/repos/chilipeppr/serial-port-json-server/issues/7","repository_url":"https://api.github.com/repos/chilipeppr/serial-port-json-server","labels_url":"https://api.github.com/repos/chilipeppr/serial-port-json-server/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/chilipeppr/serial-port-json-server/issues/7/comments","events_url":"https://api.github.com/repos/chilipeppr/serial-port-json-server/issues/7/events","html_url":"https://github.com/chilipeppr/serial-port-json-server/issues/7","id":148897157,"number":7,"title":"Gets confused about /dev/ttyUSB0 under linux","user":{"login":"dgtlmoon","id":275001,"avatar_url":"https://avatars.githubusercontent.com/u/275001?v=3","gravatar_id":"","url":"https://api.github.com/users/dgtlmoon","html_url":"https://github.com/dgtlmoon","followers_url":"https://api.github.com/users/dgtlmoon/followers","following_url":"https://api.github.com/users/dgtlmoon/following{/other_user}","gists_url":"https://api.github.com/users/dgtlmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/dgtlmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgtlmoon/subscriptions","organizations_url":"https://api.github.com/users/dgtlmoon/orgs","repos_url":"https://api.github.com/users/dgtlmoon/repos","events_url":"https://api.github.com/users/dgtlmoon/events{/privacy}","received_events_url":"https://api.github.com/users/dgtlmoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-16T22:01:50Z","updated_at":"2016-04-16T22:34:39Z","closed_at":null,"body":"So when I click on the device in `port list` from chilipepper I get the error\r\n\r\n```2016/04/16 23:47:05 serial.go:606: Sending err back:  We could not find the serial port /dev/ttyUSB0 that you were trying to apply the feedrate override to.```\r\n\r\nFull debug with -v here\r\n\r\n```\r\n2016/04/16 23:47:04 seriallist_linux.go:227: \t.\r\n2016/04/16 23:47:04 seriallist_linux.go:275: Final port list: [{/dev/ttyUSB0 FTDI FT230X Basic UART (ttyUSB0) [] DN010NRM 00 FTDI FT230X Basic UART 6015 0403}]\r\n2016/04/16 23:47:04 serial.go:489: Got metadata on ports:[{/dev/ttyUSB0 FTDI FT230X Basic UART (ttyUSB0) [] DN010NRM 00 FTDI FT230X Basic UART 6015 0403}]\r\n2016/04/16 23:47:04 serial.go:546: About to marshal the serial port list. spl:{[{/dev/ttyUSB0 FTDI FT230X Basic UART (ttyUSB0) DN010NRM 00 false false [] 0  [default timed nodemcu tinyg tinyg_old tinyg_linemode tinyg_tidmode tinygg2 grbl marlin] 1.88 0403 6015 0}]}\r\n2016/04/16 23:47:05 hub.go:122: fro /dev/ttyUSB0 \r\n2016/04/16 23:47:05 feedrateoverride.go:34: Inside spFeedRateOverride arg: fro /dev/ttyUSB0 \\n\r\n2016/04/16 23:47:05 feedrateoverride.go:39: [fro /dev/ttyUSB0]\r\n2016/04/16 23:47:05 feedrateoverride.go:48: The port to write to is:/dev/ttyUSB0---\r\n2016/04/16 23:47:05 serial.go:606: Sending err back:  We could not find the serial port /dev/ttyUSB0 that you were trying to apply the feedrate override to.\r\n2016/04/16 23:47:05 feedrateoverride.go:34: Inside spFeedRateOverride arg: fro /dev/ttyUSB0\\n\r\n2016/04/16 23:47:05 feedrateoverride.go:39: [fro /dev/ttyUSB0]\r\n2016/04/16 23:47:05 feedrateoverride.go:48: The port to write to is:/dev/ttyUSB0---\r\n2016/04/16 23:47:05 serial.go:606: Sending err back:  We could not find the serial port /dev/ttyUSB0 that you were trying to apply the feedrate override to.\r\n2016/04/16 23:47:05 bufferflow_tinyg_v2.go:141: Just forcibly asked for the fro status\r\n```\r\n\r\nbut the device is alive..\r\n\r\n```\r\n[29957.666620] usb 1-2: new full-speed USB device number 6 using xhci_hcd\r\n[29957.802160] usb 1-2: New USB device found, idVendor=0403, idProduct=6015\r\n[29957.802167] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3\r\n[29957.802171] usb 1-2: Product: FT230X Basic UART\r\n[29957.802174] usb 1-2: Manufacturer: FTDI\r\n[29957.802177] usb 1-2: SerialNumber: DN010NRM\r\n[29957.805766] ftdi_sio 1-2:1.0: FTDI USB Serial Device converter detected\r\n[29957.805840] usb 1-2: Detected FT-X\r\n[29957.806406] usb 1-2: FTDI USB Serial Device converter now attached to ttyUSB0\r\n```\r\n\r\nI've tried running the program as root, same deal.\r\n\r\nWorks totally fine with a serial program (minicom) at /dev/ttyUSB) 115200. never had a problem sending commands\r\n\r\nNot sure where to go from here\r\n"},"comment":{"url":"https://api.github.com/repos/chilipeppr/serial-port-json-server/issues/comments/210919516","html_url":"https://github.com/chilipeppr/serial-port-json-server/issues/7#issuecomment-210919516","issue_url":"https://api.github.com/repos/chilipeppr/serial-port-json-server/issues/7","id":210919516,"user":{"login":"chilipeppr","id":7904621,"avatar_url":"https://avatars.githubusercontent.com/u/7904621?v=3","gravatar_id":"","url":"https://api.github.com/users/chilipeppr","html_url":"https://github.com/chilipeppr","followers_url":"https://api.github.com/users/chilipeppr/followers","following_url":"https://api.github.com/users/chilipeppr/following{/other_user}","gists_url":"https://api.github.com/users/chilipeppr/gists{/gist_id}","starred_url":"https://api.github.com/users/chilipeppr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chilipeppr/subscriptions","organizations_url":"https://api.github.com/users/chilipeppr/orgs","repos_url":"https://api.github.com/users/chilipeppr/repos","events_url":"https://api.github.com/users/chilipeppr/events{/privacy}","received_events_url":"https://api.github.com/users/chilipeppr/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T22:34:39Z","updated_at":"2016-04-16T22:34:39Z","body":"When it opens your serial port it gets an EOF. That's why it's closing.\n\n2016/04/17 00:29:32 serialport.go:373: Inside spHandler\n2016/04/17 00:29:32 serialport.go:388: Opening serial port /dev/ttyUSB0 at\n115200 baud\n2016/04/17 00:29:32 serialport.go:433: Just tried to open port\n2016/04/17 00:29:32 serialport.go:442: Opened port successfully\n2016/04/17 00:29:32 serialport.go:187: Hit end of file on serial port\n2016/04/17 00:29:32 serial.go:132: Registering a port: /dev/ttyUSB0\n2016/04/17 00:29:32 serialport.go:193: EOF\n2016/04/17 00:29:32 serial.go:141: Unregistering a port: /dev/ttyUSB0\n2016/04/17 00:29:32 serialport.go:363: Shutting down writer on /dev/ttyUSB0\n2016/04/17 00:29:32 serialport.go:257: writerBuffered just got closed. make\nsure you make a new one. port:/dev/ttyUSB0\n\nOn Sat, Apr 16, 2016 at 3:31 PM, Leigh <notifications@github.com> wrote:\n\n> Attached here\n>\n> log.txt\n> <https://github.com/chilipeppr/serial-port-json-server/files/222436/log.txt>\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/chilipeppr/serial-port-json-server/issues/7#issuecomment-210919383>\n>\n"}}