GAMMU-DETECT(1)
π gammu-detect(1) β the Gammu manual, bestie edition π
okay so picture this: you've got a phone, you've got a cable, you've got vibes, and absolutely no idea which of the eleven thousand possible device paths is the one. that's literally what gammu-detect is for, and it's from the Gammu manual, so you know it's the real deal. β¨
πΈ NAME πΈ
gammu-detect β Gammu device detection
Added in version 1.28.95. (iykyk, it's been iconic for a minute. π)
π¦ SYNOPSIS π¦
gammu-detect [OPTIONS]
π DESCRIPTION π
it's a script that detects the devices you have available β the ones that might be suitable for the Gammu Utility <#gammu>. that's it. that's the whole job. she's a scout, not a detective. π
Note: this program lists all the devices that might be suitable. it does not do any probing on the devices themselves. no poking, no prodding, no vibe check of the actual hardware. it just tells you what's out there. π
Currently it supports the following devices:
- USB devices using udev
- Serial ports using udev
- Serial ports on Windows
- Bluetooth devices using Bluez
Note: which devices it actually supports depends on your platform and the features that were compiled in. want to know what's actually baked into your build? run gammu-detect -v and she'll tell you. π«Ά
This program follows the usual GNU command line syntax, with long options starting with two dashes (--). A summary of options is included below. no cap, here they are:
β¨ OPTIONS β¨
-h,--helpβ shows a summary of the options. the classic "help me help you" move. π-d,--debugβ shows debugging output for detecting devices. turn this on when you want to see everything she's looking at, main character energy only. π₯-v,--versionβ shows version information and the compiled in features. this is the one that answers "wait, what can this build even do?" π-u,--no-udevβ disables scanning of udev. bye udev. π-b,--no-bluezβ disables scanning using Bluez. bluetooth, but make it off. π¦-w,--no-win32-serialβ disables scanning of Windows serial ports. windows serial? not today. π
π OUTPUT π
the output of gammu-detect is a configuration file for Gammu (see Gammu Configuration File <#gammurc>), with a configuration section for every device that might be used with the Gammu Utility <#gammu>. so like, she hands you a ready-to-go config. slay. π
Note: you get to choose which section the Gammu Utility <#gammu> uses by passing gammu -s <#cmdoption-gammu-s>. pick your fave. β
and when you invoke it as gammu-detect -d, all the examined devices are also listed as comments in the output β so you can see exactly what she looked at before deciding. receipts, basically. π§Ύ
π EXAMPLE π
; Configuration file generated by gammu-detect.
; Please check The Gammu Manual for more information.
[gammu]
device = /dev/ttyACM0
name = Nokia E52
connection = at
[gammu1]
device = /dev/ttyACM1
name = Nokia E52
connection = at
[gammu2]
device = /dev/ttyS0
name = Phone on serial port 0
connection = at
[gammu3]
device = /dev/ttyS1
name = Phone on serial port 1
connection = at
[gammu4]
device = /dev/ttyS2
name = Phone on serial port 2
connection = at
[gammu5]
device = /dev/ttyS3
name = Phone on serial port 3
connection = at
[gammu6]
device = 5C:57:C8:BB:BB:BB
name = Nokia E52
connection = bluephonet
look at that. six devices, all sectioned up, all cute. Nokia E52 girlies rise. π±π
π Author π
Michal ΔihaΕ <michal@cihar.com> β the icon behind all of this. π«‘
π Copyright π
2009-2015, Michal ΔihaΕ <michal@cihar.com>
and that's the whole page, bestie β she's 1.45.0, dated Sep 16, 2026, and she ate. periodt. π
β¨π¦
π¦ where this page comes from
- arch rolling: gammu 1.45.0-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms