{"action":"created","issue":{"url":"https://api.github.com/repos/andrewhodel/grblweb/issues/2","repository_url":"https://api.github.com/repos/andrewhodel/grblweb","labels_url":"https://api.github.com/repos/andrewhodel/grblweb/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/andrewhodel/grblweb/issues/2/comments","events_url":"https://api.github.com/repos/andrewhodel/grblweb/issues/2/events","html_url":"https://github.com/andrewhodel/grblweb/issues/2","id":37202938,"number":2,"title":"/dev/ttyAMA0 not showing up in Serial port list after making available","user":{"login":"peter6960","id":1300664,"avatar_url":"https://avatars.githubusercontent.com/u/1300664?v=3","gravatar_id":"","url":"https://api.github.com/users/peter6960","html_url":"https://github.com/peter6960","followers_url":"https://api.github.com/users/peter6960/followers","following_url":"https://api.github.com/users/peter6960/following{/other_user}","gists_url":"https://api.github.com/users/peter6960/gists{/gist_id}","starred_url":"https://api.github.com/users/peter6960/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter6960/subscriptions","organizations_url":"https://api.github.com/users/peter6960/orgs","repos_url":"https://api.github.com/users/peter6960/repos","events_url":"https://api.github.com/users/peter6960/events{/privacy}","received_events_url":"https://api.github.com/users/peter6960/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2014-07-05T17:37:40Z","updated_at":"2016-08-11T10:05:01Z","closed_at":"2014-07-06T17:43:07Z","body":"===Procedure to replicate issue===\r\nFollow standard process to free up Raspberry pi serial port on your Pi Image (Procedure below)\r\nReboot to take effect\r\n\r\n===Expected outcome:  ===\r\n/dev/ttyAMA0 (Broadcom UART) available in list\r\n\r\n===Actual Outcome:===\r\nSerial port dropdown only shows \"Select a Serial port\"\r\n\r\n\r\nProcedure to make /dev/AMA0 available:   Tested by using screen /dev/ttyAMA0 9600 and can communicate fine with Grbl on the GrblPi Shield, send commands, list settings etc from Screen.  Node is just not detecting it\r\n\r\n\r\n\r\nFirstly, the kernel will use the port as controlled by kernel command line contained in /boot/cmdline.txt. The file will look something like this:\r\n\r\ndwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait\r\n\r\nThe console keyword outputs messages during boot, and the kgdboc keyword enables kernel debugging. You will need to remove all references to ttyAMA0. So, for the example above /boot/cmdline.txt, should contain:\r\n\r\ndwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait\r\n\r\nYou must be root to edit this (e.g. use sudo nano /boot/cmdline.txt). Be careful doing this, as a faulty command line can prevent the system booting.\r\n\r\n    Secondly, after booting, a login prompt appears on the serial port. This is controlled by the following lines in /etc/inittab:\r\n\r\n#Spawn a getty on Raspberry Pi serial line\r\nT0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100\r\n\r\nYou will need to edit this file to comment out the second line, i.e.\r\n\r\n#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100\r\n\r\nFinally you will need to reboot the Pi for the new settings to take effect. Once this is done, you can use /dev/ttyAMA0 like any normal linux serial port, and you wont get any unwanted traffic confusing the attached devices. )"},"comment":{"url":"https://api.github.com/repos/andrewhodel/grblweb/issues/comments/239120582","html_url":"https://github.com/andrewhodel/grblweb/issues/2#issuecomment-239120582","issue_url":"https://api.github.com/repos/andrewhodel/grblweb/issues/2","id":239120582,"user":{"login":"deverejohn","id":12957019,"avatar_url":"https://avatars.githubusercontent.com/u/12957019?v=3","gravatar_id":"","url":"https://api.github.com/users/deverejohn","html_url":"https://github.com/deverejohn","followers_url":"https://api.github.com/users/deverejohn/followers","following_url":"https://api.github.com/users/deverejohn/following{/other_user}","gists_url":"https://api.github.com/users/deverejohn/gists{/gist_id}","starred_url":"https://api.github.com/users/deverejohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deverejohn/subscriptions","organizations_url":"https://api.github.com/users/deverejohn/orgs","repos_url":"https://api.github.com/users/deverejohn/repos","events_url":"https://api.github.com/users/deverejohn/events{/privacy}","received_events_url":"https://api.github.com/users/deverejohn/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T10:05:01Z","updated_at":"2016-08-11T10:05:01Z","body":"thanks, josua, EXACTLY what brought me here."}}
{"actor":{"display_login":"deverejohn"}}