<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/bc-sctl/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/bc-sctl/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Apr 2005 03:53:57 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/bc-sctl/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>sctl-0.2.3 doesn't check for SG bc245 compat</title><link>https://sourceforge.net/p/bc-sctl/bugs/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;sctl-0.2.3 doesn't check for SG bc245 compatability.&lt;/p&gt;
&lt;p&gt;$ sctl idreport&lt;br /&gt;
ID report mode enabled&lt;/p&gt;
&lt;p&gt;04/06 20:46:24 end   ID: 000002&lt;br /&gt;
*** Error: The command failed because an error&lt;br /&gt;
condition was returned.&lt;br /&gt;
Command: SG&lt;br /&gt;
Reply: ERR&lt;/p&gt;
&lt;p&gt;This command is not support for the bc245 scanners (as&lt;br /&gt;
well as radio shacks PRO-2052).&lt;/p&gt;
&lt;p&gt;Insert if/then or elseif code to check for these models&lt;br /&gt;
should surfice.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Thu, 07 Apr 2005 03:53:57 -0000</pubDate><guid>https://sourceforge.net518861d32dec64d8dfad4880442d396943d2bad5</guid></item><item><title>sctl-0.2.3 load/write hang</title><link>https://sourceforge.net/p/bc-sctl/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm getting a load/write hang while using sctl-0.2.3. &lt;br /&gt;
I've been able to repeat this bug over and over.&lt;/p&gt;
&lt;p&gt;dump.null file is a file with null conv freqs (ie. 0 F&lt;br /&gt;
F N F 0)&lt;br /&gt;
Hang at "read(4,"&lt;/p&gt;
&lt;p&gt;If I use a file loaded with conv frequencies, it will&lt;br /&gt;
sometimes fully upload itself (sometimes after a couple&lt;br /&gt;
of tries... but it finally goes).  But repeating to&lt;br /&gt;
upload the same file creates a hang such as this&lt;br /&gt;
"dump.null" file loaded with null frequencies.&lt;/p&gt;
&lt;p&gt;$ strace ./sctl load e dump.null&lt;/p&gt;
&lt;p&gt;write(4, "PM129 00000000\r", 15)        = 15&lt;br /&gt;
read(4, "C129 F00", 1024)               = 8&lt;br /&gt;
read(4, "000000 T", 1024)               = 8&lt;br /&gt;
read(4, "F DF LN ", 1024)               = 8&lt;br /&gt;
read(4, "AF RF N0", 1024)               = 8&lt;br /&gt;
read(4, "0\n", 1024)                    = 2&lt;br /&gt;
nanosleep({0, 100000}, {0, 0})          = 0&lt;br /&gt;
write(4, "DLF\r", 4)                    = 4&lt;br /&gt;
read(4, "OK\n", 1024)                   = 3&lt;br /&gt;
write(1, "Set delay OFF for this channel.\n", 32Set&lt;br /&gt;
delay OFF for this channel.&lt;br /&gt;
) = 32&lt;br /&gt;
nanosleep({0, 100000}, {0, 0})          = 0&lt;br /&gt;
write(4, "LON\r", 4)                    = 4&lt;br /&gt;
read(4, "OK\n", 1024)                   = 3&lt;br /&gt;
write(1, "Set lockout ON for this channel."..., 33Set&lt;br /&gt;
lockout ON for this channel.&lt;br /&gt;
) = 33&lt;br /&gt;
nanosleep({0, 100000}, {4222451713, 3221219440}) = 0&lt;br /&gt;
write(4, "MA121\r", 6)                  = 6&lt;br /&gt;
read(4, "C121 F00", 1024)               = 8&lt;br /&gt;
read(4, "000000 TF DF LN ", 1024)       = 16&lt;br /&gt;
read(4, "AF RF N00\n", 1024)            = 10&lt;br /&gt;
write(1, "130 00000000 F F N F 00\n", 24130 00000000 F&lt;br /&gt;
F N F 00&lt;br /&gt;
) = 24&lt;br /&gt;
nanosleep({0, 100000}, {4222451713, 3221219328}) = 0&lt;br /&gt;
write(4, "PM130 00000000\r", 15)        = 15&lt;br /&gt;
read(4, "C130 F00000000 T", 1024)       = 16&lt;br /&gt;
read(4, &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 02 Apr 2005 01:36:54 -0000</pubDate><guid>https://sourceforge.neta5072e5ec2098b314dcef6a0eb34a6d1439c09b0</guid></item><item><title>sctl-0.2.3 dump file incorrect header for load command</title><link>https://sourceforge.net/p/bc-sctl/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;sctl-0.2.3 dump file incorrect header for load&lt;br /&gt;
command/function.&lt;/p&gt;
&lt;p&gt;header of dump file:&lt;/p&gt;
&lt;p&gt;MD01&lt;/p&gt;
&lt;p&gt;raw mode: 1&lt;br /&gt;
version 1&lt;br /&gt;
1217500 F F F F 0&lt;br /&gt;
1264000 F F F F 0&lt;/p&gt;
&lt;p&gt;And will fail to be uploaded with the load command&lt;br /&gt;
because (as stated within the format.txt) that the&lt;br /&gt;
first line read "version 1".&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Instead, load sees "MD01" and "raw mode: 1" as the&lt;br /&gt;
version.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;So it looks like the dump function/command should be&lt;br /&gt;
writing the version at line number 1, but is instead&lt;br /&gt;
writing data before "version 1".&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Thu, 31 Mar 2005 20:46:45 -0000</pubDate><guid>https://sourceforge.net7c67f652284881174f11fa4f678caadee19bd8d3</guid></item><item><title>sctl-0.2.3 will WRITE/UPLOAD!</title><link>https://sourceforge.net/p/bc-sctl/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;sctl-0.2.3 will WRITE/UPLOAD to my BC245XLT&lt;br /&gt;
successfully with the following code uncommented within&lt;br /&gt;
commands.c line #648 to show:&lt;/p&gt;
&lt;p&gt;/* too bad we can't just upload them as easily as we&lt;br /&gt;
downloaded them! */&lt;br /&gt;
printf("%03d %08d %c %c %c %c&lt;br /&gt;
%02d\n", channel, r_freq, r_trunk, r_delay, r_lockout,&lt;br /&gt;
r_record, r_ctcss);&lt;/p&gt;
&lt;p&gt;I'll beit, a bit scary, but I just checked with&lt;br /&gt;
uploading the data file back to a diff bank and the&lt;br /&gt;
write was succesful but hung (probably because I'm&lt;br /&gt;
screwing around with my pcmcia modem at the same time&lt;br /&gt;
creating a resource conflict ;-)&lt;/p&gt;
&lt;p&gt;I'm reading the commands.c file now and am noting the&lt;br /&gt;
open commented areas where functions are yet to be&lt;br /&gt;
implemented. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Thu, 31 Mar 2005 20:42:11 -0000</pubDate><guid>https://sourceforge.neta76a098a1dd9dee7be1d29b1e325de897fb238a9</guid></item><item><title>strace of sctl-0.2.3 shows mmap DENIED</title><link>https://sourceforge.net/p/bc-sctl/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;strace of sctl-0.2.3 shows mmap DENIED&lt;br /&gt;
I think this is because I'm using a hardened kernel. &lt;br /&gt;
However, I'm seeing no mention of these mmap DENIED&lt;br /&gt;
within syslog.  (I also have yet to debug this by using&lt;br /&gt;
another standard kernel.)&lt;/p&gt;
&lt;p&gt;From what I'm seeing though, I can read the output from&lt;br /&gt;
the port as when the scanner activates on a frequency,&lt;br /&gt;
I will see a stream of "read" output from the active&lt;br /&gt;
strace of sctl.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;In breif, looks like my kernel is denying memory writes&lt;br /&gt;
to the tty device.&lt;/p&gt;
&lt;p&gt;(So, this data is just posted for other users to see&lt;br /&gt;
incase they run into a similar problem -- if I resolve&lt;br /&gt;
it by using my initial suspicions!)&lt;/p&gt;
&lt;p&gt;$ strace sctl light&lt;br /&gt;
... begin clipping ...&lt;br /&gt;
fstat64(3, {st_mode=S_IFREG|0755, st_size=1218960,&lt;br /&gt;
...}) = 0&lt;br /&gt;
mmap2(NULL, 1154348, PROT_READ|PROT_EXEC,&lt;br /&gt;
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401d3000&lt;br /&gt;
mprotect(0x402e6000, 27948, PROT_NONE)  = 0&lt;br /&gt;
mmap2(0x402e7000, 16384, PROT_READ|PROT_WRITE,&lt;br /&gt;
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x113) = 0x402e7000&lt;br /&gt;
mmap2(0x402eb000, 7468, PROT_READ|PROT_WRITE,&lt;br /&gt;
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402eb000&lt;br /&gt;
close(3)                                = 0&lt;br /&gt;
mmap2(NULL, 4096, PROT_READ|PROT_WRITE,&lt;br /&gt;
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e1d000&lt;br /&gt;
mprotect(0x402e7000, 4096, PROT_READ)   = 0&lt;br /&gt;
set_thread_area({entry_number:-1 -&amp;gt; 6,&lt;br /&gt;
base_addr:0xb7e1d8e0, limit:1048575, seg_32bit:1,&lt;br /&gt;
contents:0, read_exec_only:0, limit_in_pages:1,&lt;br /&gt;
seg_not_present:0, useable:1}) = 0&lt;br /&gt;
... end clipping ...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Sat, 26 Mar 2005 21:37:47 -0000</pubDate><guid>https://sourceforge.net4a5cfe0c3dd9ca975b9878002edfdacf420ca7f8</guid></item><item><title>sctl-0.2.3 dot config file denotes "unknown" for bc245xlt</title><link>https://sourceforge.net/p/bc-sctl/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;sctl-0.2.3 dot config file denotes "unknown" for bc245xlt.&lt;/p&gt;
&lt;p&gt;I'm guessing sctl cannot distinguish the bc245xlt&lt;br /&gt;
scanner automatically.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;As such, users need to edit the sctl dot config file&lt;br /&gt;
manually.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Sat, 26 Mar 2005 21:28:14 -0000</pubDate><guid>https://sourceforge.net1a634a147c0e43c92a3cbc635b34a01a0994d6bc</guid></item><item><title>&lt;=sctl-0.2.3 requires 9600 baud_base only</title><link>https://sourceforge.net/p/bc-sctl/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&amp;lt;=sctl-0.2.3 requires 9600 baud_base only&lt;/p&gt;
&lt;p&gt;Documentation should state this someplace and that one&lt;br /&gt;
needs to use setserial to set the port baud_base.&lt;/p&gt;
&lt;p&gt;ie.&lt;br /&gt;
# setserial /dev/ttyS0 baud_base 9600&lt;/p&gt;
&lt;p&gt;Also, set 9600 within the scanner by holding the "E"&lt;br /&gt;
remote key while turning on the scanner.  Press the "2"&lt;br /&gt;
key and then use the "down" (limit) &amp;amp; "up" (hold) keys&lt;br /&gt;
to toggle to "9600".&lt;/p&gt;
&lt;p&gt;The documentation should continue to state to set the&lt;br /&gt;
scanner remote mode by turning the scanner on and then&lt;br /&gt;
holding the "E" (remote) key down until it beeps.&lt;/p&gt;
&lt;p&gt;Now one can use sctl with the scanner.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Sat, 26 Mar 2005 21:22:42 -0000</pubDate><guid>https://sourceforge.netc087c38c1653b0e368c34e449c6edca2cbbc2503</guid></item><item><title>sctl-0.2.3 -m switch requires CAPITAL letters only</title><link>https://sourceforge.net/p/bc-sctl/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;sctl-0.2.3 -m switch requires CAPITAL letters only&lt;/p&gt;
&lt;p&gt;While this is true, the sctl dot config file requires&lt;br /&gt;
the model number to be specified in lower case letters&lt;br /&gt;
only.&lt;/p&gt;
&lt;p&gt;From my view, the -m switch should accept lowercase&lt;br /&gt;
letters (only).&lt;/p&gt;
&lt;p&gt;I will try to trace and track and submit a patch, seems&lt;br /&gt;
like a really easy one to fix.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Sat, 26 Mar 2005 21:16:15 -0000</pubDate><guid>https://sourceforge.net88bf33d00bbc813decaf7d122584ac0d6020b6a3</guid></item><item><title>sctl-0.2.0 segfaults</title><link>https://sourceforge.net/p/bc-sctl/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;segfaults while reading ~/.sctl config file on exectution.&lt;/p&gt;
&lt;p&gt;fstat64(3, {st_mode=S_IFREG|0755, st_size=1285480,&lt;br /&gt;
...}) = 0&lt;br /&gt;
old_mmap(NULL, 1301800, PROT_READ|PROT_EXEC,&lt;br /&gt;
MAP_PRIVATE, 3, 0) = 0x4003c000&lt;br /&gt;
mprotect(0x40171000, 36136, PROT_NONE)  = 0&lt;br /&gt;
old_mmap(0x40171000, 20480, PROT_READ|PROT_WRITE,&lt;br /&gt;
MAP_PRIVATE|MAP_FIXED, 3, 0x134000) = 0x40171000&lt;br /&gt;
old_mmap(0x40176000, 15656, PROT_READ|PROT_WRITE,&lt;br /&gt;
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40176000&lt;br /&gt;
close(3)                                = 0&lt;br /&gt;
munmap(0x40017000, 150320)              = 0&lt;br /&gt;
brk(0)                                  = 0x8054558&lt;br /&gt;
brk(0x80546d8)                          = 0x80546d8&lt;br /&gt;
brk(0x8055000)                          = 0x8055000&lt;br /&gt;
open(&amp;amp;quot;/home/roger/.sctl&amp;amp;quot;, O_RDONLY)     = 3&lt;br /&gt;
fstat64(3, {st_mode=S_IFREG|0666, st_size=30, ...}) = 0&lt;br /&gt;
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,&lt;br /&gt;
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000&lt;br /&gt;
read(3, &amp;amp;quot;port /dev/ttyS1\nmodel unknown\n&amp;amp;quot;, 4096) = 30&lt;br /&gt;
--- SIGSEGV (Segmentation fault) ---&lt;br /&gt;
+++ killed by SIGSEGV +++&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roger</dc:creator><pubDate>Tue, 29 Jan 2002 05:33:22 -0000</pubDate><guid>https://sourceforge.net04ee139f8c08e220d84a9de26fc38bb772779938</guid></item><item><title>Here's my $bash script to dump all banks</title><link>https://sourceforge.net/p/bc-sctl/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;pretty straight forward.&lt;/p&gt;
&lt;p&gt;Edit where your sctl binary is located &amp;amp;amp;&lt;/p&gt;
&lt;p&gt;$ chmod a+x dump-all&lt;/p&gt;
&lt;p&gt;$ ./dump-all&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 13 Oct 2001 20:17:45 -0000</pubDate><guid>https://sourceforge.net789bb7a08fcfe994a4fb4d34be27e32239de14db</guid></item></channel></rss>