{"action":"created","issue":{"url":"https://api.github.com/repos/Rtone/cmux/issues/1","repository_url":"https://api.github.com/repos/Rtone/cmux","labels_url":"https://api.github.com/repos/Rtone/cmux/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Rtone/cmux/issues/1/comments","events_url":"https://api.github.com/repos/Rtone/cmux/issues/1/events","html_url":"https://github.com/Rtone/cmux/issues/1","id":43760913,"number":1,"title":"Could not open port /dev/ttyGSM","user":{"login":"damgot","id":4757987,"avatar_url":"https://avatars.githubusercontent.com/u/4757987?v=3","gravatar_id":"","url":"https://api.github.com/users/damgot","html_url":"https://github.com/damgot","followers_url":"https://api.github.com/users/damgot/followers","following_url":"https://api.github.com/users/damgot/following{/other_user}","gists_url":"https://api.github.com/users/damgot/gists{/gist_id}","starred_url":"https://api.github.com/users/damgot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damgot/subscriptions","organizations_url":"https://api.github.com/users/damgot/orgs","repos_url":"https://api.github.com/users/damgot/repos","events_url":"https://api.github.com/users/damgot/events{/privacy}","received_events_url":"https://api.github.com/users/damgot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-09-24T12:51:45Z","updated_at":"2016-02-18T16:33:39Z","closed_at":null,"body":"Hello,\r\n\r\nI try your code for a project where I need to mux my GSM serial line.\r\nWhen I run cmux, it create 4 tty : ttyGSM1 to 4.\r\nBut I can't use them.\r\n\r\nWith python I do : \r\nimport serial\r\ncom=serial.Serial('/dev/ttyGSM1',115200)\r\n\r\nand I have the following error : \r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/lib/python2.7/site-packages/serial/serialutil.py\", line 171, in __init__\r\n    self.open()\r\n  File \"/usr/lib/python2.7/site-packages/serial/serialposix.py\", line 179, in open\r\n    raise SerialException(\"could not open port %s: %s\" % (self._port, msg))\r\nserial.serialutil.SerialException: could not open port /dev/ttyGSM1: [Errno 51] Level 2 halted: '/dev/ttyGSM1'\r\n\r\n\r\nDo you have any idea ?\r\n\r\nMany thanks"},"comment":{"url":"https://api.github.com/repos/Rtone/cmux/issues/comments/185804053","html_url":"https://github.com/Rtone/cmux/issues/1#issuecomment-185804053","issue_url":"https://api.github.com/repos/Rtone/cmux/issues/1","id":185804053,"user":{"login":"CurtisReedy","id":13461299,"avatar_url":"https://avatars.githubusercontent.com/u/13461299?v=3","gravatar_id":"","url":"https://api.github.com/users/CurtisReedy","html_url":"https://github.com/CurtisReedy","followers_url":"https://api.github.com/users/CurtisReedy/followers","following_url":"https://api.github.com/users/CurtisReedy/following{/other_user}","gists_url":"https://api.github.com/users/CurtisReedy/gists{/gist_id}","starred_url":"https://api.github.com/users/CurtisReedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CurtisReedy/subscriptions","organizations_url":"https://api.github.com/users/CurtisReedy/orgs","repos_url":"https://api.github.com/users/CurtisReedy/repos","events_url":"https://api.github.com/users/CurtisReedy/events{/privacy}","received_events_url":"https://api.github.com/users/CurtisReedy/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T16:33:39Z","updated_at":"2016-02-18T16:33:39Z","body":"Hi, I have run into the same issue as damgot. I also tried konstunn's suggestion which failed (I don't think it would help in my case because my modem must be reset in order to leave cmux mode). I have installed the n_gsm kernel module through modprobe. I run the cmux program and it talks with the modem and places it into cmux mode successfully. The program creates all 4 /dev/ttyGSM*'s. When I run lsmod I can see that n_gsm is now being used by one PID, I run \"fuser /dev/ttyMFD1\" and I can see the PID of the cmux program, but when I run \"fuser /dev/ttyGSM1\" there is no PID returned. So it appears cmux is doing everything but failing on the connection to the virtual serial port? Any help with this would be appreciated. Also as a side note, I have tried ldattach.c and run into the same issue where I cannot connect to the /dev/gsmtty1 port."}}