Re: Gammu cannot open device (DEVICEOPENERROR[2])
gilberto dos santos alves <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAP9G-N+5r1EMPwYN1z8NypYAvib1=jszGP=kX4+Hy=kzKSvX7w@mail.gmail.com> |
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