Package: sl-modem-source
Version: sl-modem-2.9.9d+e-pre2
Severity: normal

From: Damien BRUCKER <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>

Subject: sl-modem-source: log file is not saved under the /var/log directory

Package: sl-modem-source
Severity: normal

I am using sl-modem from the source package sl-modem-2.9.9d+e-pre2 to drive the 
SIL27 (Si 3036/8, rev7) AMR modem on my HP Pavilion DV4017 laptop.
I build the slmodemd file with the alsa option under the modem directory
(make ALSA_SUPPORT=1) as described in README.

I run the driver as follows:
#slmodemd -c FRANCE --alsa -l &

The modem works fine (with kppp and xtel applications), but the log file
slmodem.log.modem:1 created by slmodemd is saved under the root
directory, instead of the /var/log directory.

Solution:
In the source file modem/modem_debug.c replace the next line:

static const char *modem_debug_logfile = "slmodem.log";

with the line:

static const char *modem_debug_logfile = "/var/log/slmodem.log";

and build slmodemd again
Kill and run slmodemd again as described above.

Now, the log file is saved under the /var/log/directory


-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.18.2
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages sl-modem-source depends on:
ii  build-essential               10.1       informational list of build-essent
pn  debhelper                                Not found.
ii  module-assistant              0.9sarge1  tool to make module package creati


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to