%.html: %.html.pl $(top_srcdir)/My/Web.pm $(top_srcdir)/WebConfig.pm
perl -I$(top_srcdir) >$@ $<
+%.ppm: %.fig Makefile
+ fig2dev -L ppm -S4 -b10 $< $@
+
+%.png: %.ppm
+ pnmtopng $< >$@
+
./INSTALL
./project/Nokia61/Nokia61
./project/Nokia61/Nokia61_23.cache
+ ./project/line9k/line9k.png
*.html
)],
);
./project/cvsbranchdiff/Makefile
./project/ppp9k/Makefile
./project/LaceMail/Makefile
+./project/line9k/Makefile
])
echo done.
cvsutil \
cvsbranchdiff \
ppp9k \
- LaceMail
+ LaceMail \
+ line9k
EXTRA_DIST+= \
list.cgi.pl
--- /dev/null
+#! /usr/bin/perl
+#
+# $Id$
+# Definition of 'My::Project::line9k' for list.cgi.pl
+# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; exactly version 2 of June 1991 is required
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+package My::Project::line9k;
+require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
+use vars qw($VERSION $CVS_ID);
+$VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+$CVS_ID=q$Id$;
+use strict;
+use warnings;
+
+
+our %ListItem=(
+ "name"=>"Modem / Nokia 9110 GSM data gate",
+ "priority"=>7,
+ "download"=>"http://cvs.jankratochvil.net/viewcvs/*checkout*/nethome/usr/local/sbin/line9k?rev=HEAD",
+ "summary"=>"pppd(8) script, charger scheme",
+ "license"=>"PD",
+ "maintenance"=>"finished",
+ "language"=>"bash, hardware",
+ "description"=>""
+ .'<p>Waits for incoming PPP data connection, authorizes it and answers it.</p>'
+ .'<p>Scheme of computer controllde hardware charger for Nokia Communicator 9110 is supplied.'
+ .'It keeps the Nokia battery fit by automatically controlled battery charging cycles.</p>'
+ );
+
+1;
--- /dev/null
+# $Id$
+# automake source for the Makefile of project/line9k/ subdir
+# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; exactly version 2 of June 1991 is required
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+include $(top_srcdir)/Makefile-head.am
+
+EXTRA_DIST+= \
+ ListItem.pm \
+ index.html.pl \
+ line9k.fig
+
+noinst_DATA+= \
+ index.html \
+ line9k.png
+
+CLEANFILES+= \
+ line9k.fig.bak
--- /dev/null
+#! /usr/bin/perl
+#
+# $Id$
+# Main page of 'My::Project::line9k'
+# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; exactly version 2 of June 1991 is required
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
+use vars qw($VERSION $CVS_ID);
+$VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+$CVS_ID=q$Id$;
+use strict;
+use warnings;
+
+use My::Web;
+use project::line9k::ListItem;
+
+
+My::Web->init_project(
+ "ListItem"=>\%My::Project::line9k::ListItem,
+ );
+
+print <<'HERE';
+<p>Scheme for battery charger. Review/fixes by the courtesy of <a href="http://www.pavouk.org/">Pavouk</a>.
+Connect serial port (such as <code>/dev/ttyS0</code>) to <code>RS232</code> pins,
+your original mobile phone charge to <code>AC</code> pins. <code>PS/2</code> keyboard
+fork of <code>+5V</code>/<code>GND</code> pins are required to power this hardware switch.</p>
+HERE
+
+print '<table border="0"><tr><td align="center">'.My::Web::img("line9k.png","AC Switch Scheme").'</td></tr></table>'."\n";
+
+My::Web->footer();
--- /dev/null
+#FIG 3.2
+Landscape
+Center
+Inches
+Letter
+100.00
+Single
+-2
+1200 2
+6 2250 1125 2550 1875
+5 1 0 1 0 7 50 0 -1 0.000 0 0 0 0 2250.000 1275.000 2250 1200 2325 1275 2250 1350
+5 1 0 1 0 7 50 0 -1 0.000 0 0 0 0 2250.000 1425.000 2250 1350 2325 1425 2250 1500
+5 1 0 1 0 7 50 0 -1 0.000 0 0 0 0 2250.000 1575.000 2250 1500 2325 1575 2250 1650
+5 1 0 1 0 7 50 0 -1 0.000 0 0 0 0 2250.000 1725.000 2250 1650 2325 1725 2250 1800
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 2550 1275 2400 1725
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 2250 1125 2250 1200
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 2250 1800 2250 1875
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 3
+ 2550 1875 2550 1725 2475 1725
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 2550 1275 2550 1125
+-6
+6 1575 750 1875 1050
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 4
+ 1575 750 1575 1050 1875 900 1575 750
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 1875 750 1875 1050
+-6
+6 4350 1125 4650 1875
+5 1 0 1 0 7 50 0 -1 0.000 0 0 0 0 4350.000 1275.000 4350 1200 4425 1275 4350 1350
+5 1 0 1 0 7 50 0 -1 0.000 0 0 0 0 4350.000 1425.000 4350 1350 4425 1425 4350 1500
+5 1 0 1 0 7 50 0 -1 0.000 0 0 0 0 4350.000 1575.000 4350 1500 4425 1575 4350 1650
+5 1 0 1 0 7 50 0 -1 0.000 0 0 0 0 4350.000 1725.000 4350 1650 4425 1725 4350 1800
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 4650 1275 4500 1725
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 4350 1125 4350 1200
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 4350 1800 4350 1875
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 3
+ 4650 1875 4650 1725 4575 1725
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 4650 1275 4650 1125
+-6
+6 3750 1350 4050 1650
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 3750 1650 4050 1650
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 4
+ 3750 1350 4050 1350 3900 1650 3750 1350
+-6
+1 3 0 1 0 7 50 0 -1 0.000 1 0.0000 2925 2100 75 75 2925 2100 3000 2100
+1 3 0 1 0 7 50 0 -1 0.000 1 0.0000 900 2100 75 75 900 2100 975 2100
+1 3 0 1 0 7 50 0 -1 0.000 1 0.0000 900 900 75 75 900 900 975 900
+1 3 0 1 0 7 50 0 -1 0.000 1 0.0000 3525 2100 75 75 3525 2100 3600 2100
+1 3 0 1 0 7 50 0 -1 0.000 1 0.0000 5025 900 75 75 5025 900 5100 900
+1 3 0 1 0 7 50 0 -1 0.000 1 0.0000 5025 2100 75 75 5025 2100 5025 2175
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 3
+ 1875 900 2250 900 2250 1125
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 3
+ 1950 2100 2250 2100 2250 1875
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 3
+ 2550 1875 2550 2100 2850 2100
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 975 900 1575 900
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 975 2100 1500 2100
+2 2 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 5
+ 1500 2025 1950 2025 1950 2175 1500 2175 1500 2025
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 4
+ 4350 1125 4350 900 2550 900 2550 1125
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 3
+ 3600 2100 4350 2100 4350 1875
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 3
+ 4650 1875 4650 2100 4950 2100
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 3
+ 4650 1125 4650 900 4950 900
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 3900 2100 3900 1650
+2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2
+ 3900 1350 3900 900
+4 0 0 50 0 0 12 0.0000 4 135 585 1425 1275 1N4148\001
+4 0 0 50 0 0 12 0.0000 4 135 900 450 750 RS232 DTR\001
+4 0 0 50 0 0 12 0.0000 4 135 720 2400 2400 PS/2 +5V\001
+4 0 0 50 0 0 12 0.0000 4 135 795 3375 2400 PS/2 GND\001
+4 0 0 50 0 0 12 0.0000 4 135 585 3150 1575 1N4148\001
+4 0 0 50 0 0 12 0.0000 4 135 1155 1050 1575 RELSIA05-500\001
+4 0 0 50 0 0 12 0.0000 4 135 945 450 2400 RS232 GND\001
+4 0 0 50 0 0 12 0.0000 4 135 780 4725 1575 RAS-0515\001
+4 0 0 50 0 0 12 0.0000 4 135 390 1541 1950 680R\001
+4 0 0 50 0 0 12 0.0000 4 135 255 4893 2400 AC\001
+4 0 0 50 0 0 12 0.0000 4 135 255 4901 750 AC\001
+4 0 0 50 0 16 12 0.0000 4 180 3525 2100 2850 http://www.jankratochvil.net/project/line9k/\001