1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Set the default device group to "dialout".
By: Eduard Bloch <blade@debian.org>
Index: slmodem-2.9.11-20080817/modem/modem_cmdline.c
===================================================================
--- slmodem-2.9.11-20080817.orig/modem/modem_cmdline.c 2008-03-29 14:04:16.000000000 +0200
+++ slmodem-2.9.11-20080817/modem/modem_cmdline.c 2008-09-17 15:17:37.000000000 +0200
@@ -74,8 +74,8 @@
unsigned int ring_detector = 0;
#endif
unsigned int use_alsa = 0;
+const char *modem_group = "dialout";
unsigned int use_short_buffer = 0;
-const char *modem_group = "uucp";
mode_t modem_perm = 0660;
@@ -113,14 +113,14 @@
{'c',"country","default modem country name",MANDATORY,STRING,"USA"},
{ 0 ,"countrylist","show list of supported countries"},
{'a',"alsa","ALSA mode (see README for howto)"},
- {'g',"group","Modem TTY group",MANDATORY,STRING,"uucp"},
+ {'g',"group","Modem TTY group",MANDATORY,STRING,"dialout"},
{'p',"perm","Modem TTY permission",MANDATORY,INTEGER,"0660"},
#ifdef MODEM_CONFIG_RING_DETECTOR
{'r',"ringdetector","with internal ring detector (software)"},
#endif
{'n',"nortpriority","run with regular priority"},
{'s',"shortbuffer","use short buffer (4 periods length)"},
- {'d',"debug","debug level",OPTIONAL,INTEGER,"0"},
+ {'d',"debug","debug level (developers only, for ./sl...)",OPTIONAL,INTEGER,"0"},
{'l',"log","logging mode",OPTIONAL,INTEGER,"5"},
{}
};
|