Re: gammu-detect on ARM
João M. S. Silva <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <[email protected]> |
Hi Michal, Here it is, the relevant part: $ gammu-detect --debug (...) ; ------------------------------------------------------ ; Name: ttyS4 ; Type: (null) ; Subsystem: tty ; Number: 4 ; Path: /sys/devices/platform/soc@01c00000/1c29c00.serial/tty/ttyS4 ; Driver: (null) ; Sequential Number: 0 ; Device File: /dev/ttyS4 ; ; Properties: ; DEVNAME: /dev/ttyS4 ; DEVPATH: /devices/platform/soc@01c00000/1c29c00.serial/tty/ttyS4 ; MAJOR: 4 ; MINOR: 68 ; SUBSYSTEM: tty ; ; ------------------------------------------------------ ; Name: 1c29c00.serial ; Type: (null) ; Subsystem: platform ; Number: (null) ; Path: /sys/devices/platform/soc@01c00000/1c29c00.serial ; Driver: dw-apb-uart ; Sequential Number: 0 ; Device File: (null) ; ; Properties: ; DEVPATH: /devices/platform/soc@01c00000/1c29c00.serial ; DRIVER: dw-apb-uart ; MODALIAS: of:NserialT<NULL>Csnps,dw-apb-uart ; OF_COMPATIBLE_0: snps,dw-apb-uart ; OF_COMPATIBLE_N: 1 ; OF_FULLNAME: /soc@01c00000/serial@01c29c00 ; OF_NAME: serial ; SUBSYSTEM: platform ; ; ------------------------------------------------------ ; Name: soc@01c00000 ; Type: (null) ; Subsystem: platform ; Number: 00000 ; Path: /sys/devices/platform/soc@01c00000 ; Driver: (null) ; Sequential Number: 0 ; Device File: (null) ; ; Properties: ; DEVPATH: /devices/platform/soc@01c00000 ; MODALIAS: of:NsocT<NULL>Csimple-bus ; OF_COMPATIBLE_0: simple-bus ; OF_COMPATIBLE_N: 1 ; OF_FULLNAME: /soc@01c00000 ; OF_NAME: soc ; SUBSYSTEM: platform ; ; ------------------------------------------------------ ; Name: platform ; Type: (null) ; Subsystem: (null) ; Number: (null) ; Path: /sys/devices/platform ; Driver: (null) ; Sequential Number: 0 ; Device File: (null) ; ; Properties: ; DEVPATH: /devices/platform ; ; ------------------------------------------------------ (...) João M. S. Silva On 11/06/2015 08:36 AM, Michal Čihař wrote: > Hi > > Dne Fri, 6 Nov 2015 00:42:31 +0000 > João M. S. Silva <[email protected]> napsal(a): > >> Anyone using gammu on an ARM platform? >> >> I'm now experimenting with the SIM800 module in Ubuntu 14.04.3 on an ARM >> platform with a serial connection (no USB adapter). gammu-detect does >> not detect the modem: >> >> $ gammu-detect >> ; Configuration file generated by gammu-detect. >> ; Please check The Gammu Manual for more information. >> >> [gammu] >> device = /dev/ttyS5 >> name = Phone on serial port 5 >> connection = at >> >> opening socket: No such device >> >> The result /dev/ttyS5 is wrong. The modem is in /dev/ttyS4. If I use the >> following configuration file, gammu works: > > That's quite strange - it just just scans udev database. Can you run it > with --debug to see more detailed output? > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users > ------------------------------------------------------------------------------ _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users