BLS: Gammu cannot open device (DEVICEOPENERROR[2])
Angga Lisdiyanto <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <[email protected]> |
A time ago i gove multiple [gammu] devices in gammu's configuration (smsdrc & gammurc) with different PORTS & DEVICES because of my modem is detected to uaing two ports. -----Pesan Asli----- Dari: "Mübin İçyer" <[email protected]> Terkirim: 15/03/2016 3:45 Kepada: "Gammu and Wammu related discussions" <[email protected]> Subjek: Re: Gammu cannot open device (DEVICEOPENERROR[2]) Hello, There are three USB devices, ttyUSB0, ttyUSB1, ttyUSB2. It works with ttyUSB0 , but I don't want to use it because each time if a new device is plugged in USB port, the numbering may change, or even after every reboot. Because of this, I want to assign a name (/dev/phone) to it. How can I do it turely? 2016-03-11 14:37 GMT+01:00 gilberto dos santos alves <[email protected]>: hi. please look at dmesg file or type dmesg and see what is your config. 2016-03-11 7:59 GMT-03:00 Mübin İçyer <[email protected]>: Hello, I am using gammu-smsd 1.31.90, I made a udev rule for my USB 3g dongle but gammu-smsd can not connect to device. It says DEVICEOPENERROR[2]. How can I fix it? udev-rule in /etc/udev/rules.d/10-rules.local SUBSYSTEMS=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1001", SYMLINK+="phone", GROUP="dialout"Gammu log: Wed 2016/03/09 15:57:58 gammu-smsd[2466]: Starting phone communication... Wed 2016/03/09 15:57:58 gammu-smsd[2466]: gammu: [Gammu 1.31.90 built 08:54:06 May 23 2012 using GCC 4.6] Wed 2016/03/09 15:57:58 gammu-smsd[2466]: gammu: [Connection - "at"] Wed 2016/03/09 15:57:58 gammu-smsd[2466]: gammu: [Connection index - 0] Wed 2016/03/09 15:57:58 gammu-smsd[2466]: gammu: [Model type - ""] Wed 2016/03/09 15:57:58 gammu-smsd[2466]: gammu: [Device - "/dev/phone"] Wed 2016/03/09 15:57:58 gammu-smsd[2466]: gammu: [Running on - Linux, kernel 3.4.103 (#4 SMP PREEMPT Thu Dec 18 12:55:58 CST 2014)] Wed 2016/03/09 15:57:58 gammu-smsd[2466]: gammu: [System error - tcgetattr in serial_open, 25, "Inappropriate ioctl for device"] Wed 2016/03/09 15:57:58 gammu-smsd[2466]: gammu: Init:GSM_TryGetModel failed with error DEVICEOPENERROR[2]: Error opening device. Unknown, busy or no permissions. Wed 2016/03/09 15:57:58 gammu-smsd[2466]: Can't open device: Error opening device. Unknown, busy or no permissions. (DEVICEOPENERROR[2]) ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users -- gilberto dos santos alves +55(11)9-8646-5049 sao paulo - sp - brasil ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users