]> oss.titaniummirror.com Git - cp210x.git/log
cp210x.git
14 years agoFix linux-header dependencies 0.11.1-3tmi
smckown [Thu, 26 Nov 2009 00:13:35 +0000 (00:13 +0000)]
Fix linux-header dependencies

dkms pulls in linux-headers, which right now brings in linux-headers-2.6.24-16,
which doesn't relate to the current kernel.  By changing the depends for
cp210x-module-dkms to use linux-headers-generic, it pulls in the correct
headers, 2.6.24-25, and sets the proper symlinks for the build of cp210x to
work correctly.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@100 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoThis module for all arches. Also have build set version in cp210x.c.
smckown [Wed, 25 Nov 2009 20:38:05 +0000 (20:38 +0000)]
This module for all arches.  Also have build set version in cp210x.c.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@99 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoModify package so the resultant module is named cp210x instead of cp2101.
smckown [Wed, 25 Nov 2009 20:10:53 +0000 (20:10 +0000)]
Modify package so the resultant module is named cp210x instead of cp2101.

This removes the ambiguity associated with the native kernel driver module
name of cp2101.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@98 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agodkms support in pre/post scripts. Ensure module is rmmod'ed on removal of pkg.
smckown [Wed, 25 Nov 2009 20:10:52 +0000 (20:10 +0000)]
dkms support in pre/post scripts.  Ensure module is rmmod'ed on removal of pkg.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@97 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoTop level make is now working, and dpkg-buildpackage works on the result.
smckown [Wed, 25 Nov 2009 20:10:51 +0000 (20:10 +0000)]
Top level make is now working, and dpkg-buildpackage works on the result.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@96 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoFirst pass at building a dkms package.
smckown [Wed, 25 Nov 2009 20:10:50 +0000 (20:10 +0000)]
First pass at building a dkms package.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@95 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoWe can build cp210x-module without kernel source. We only need headers.
smckown [Wed, 25 Nov 2009 20:10:50 +0000 (20:10 +0000)]
We can build cp210x-module without kernel source.  We only need headers.

This was tested by moving /usr/src/linux-source-2.6.24 to a different name.
Why this wasn't caught when we first packaged is unclear.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@94 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoThis source works with dkms manually.
smckown [Wed, 25 Nov 2009 20:10:49 +0000 (20:10 +0000)]
This source works with dkms manually.

* sudo cp -a ./ /usr/src/cp210x-module-0.11-0tmi81
* sudo dkms add -m cp210x-module -v 0.11-0tmi81
* sudo dkms build -m cp210x-module -v 0.11-0tmi81
* sudo dkms install -m cp210x-module -v 0.11-0tmi81

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@93 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoClean up bit definitions in port configuration.
smckown [Wed, 25 Nov 2009 04:12:19 +0000 (04:12 +0000)]
Clean up bit definitions in port configuration.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@92 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoMake CP2103 weak pullups the default configuration.
smckown [Mon, 2 Nov 2009 21:18:57 +0000 (21:18 +0000)]
Make CP2103 weak pullups the default configuration.

Also, remove the requirement for GPIO_3 to be non-default.  This is the best
configuration, it seems.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@81 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoNew features for cpmfg and cpio.
smckown [Mon, 2 Nov 2009 20:21:31 +0000 (20:21 +0000)]
New features for cpmfg and cpio.

* cpio is now a proper subset of cpmfg.
* Both utilities accept the --pullups arg if the target needs weak pullups on.
* GPIO_3 is set to push-pull, as required by the latest RWS.  MAY CHANGE.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@80 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agocptwiddle now accepts a device argument on its command line.
smckown [Mon, 2 Nov 2009 20:21:31 +0000 (20:21 +0000)]
cptwiddle now accepts a device argument on its command line.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@79 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoIgnore .o files.
smckown [Mon, 2 Nov 2009 20:21:30 +0000 (20:21 +0000)]
Ignore .o files.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@78 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoAdd a new utility, cpfactory.
smckown [Mon, 2 Nov 2009 20:21:29 +0000 (20:21 +0000)]
Add a new utility, cpfactory.

cpfactory sets the cp2103 port configuration back to factory defaults.  Note
that these defaults have not been verified by talking to a factory fresh cp2103
part.  I suppose this code will work for any cp210x part.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@77 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoAdd mfg name to cpmfg command line input.
smckown [Mon, 2 Nov 2009 20:21:28 +0000 (20:21 +0000)]
Add mfg name to cpmfg command line input.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@76 986fd584-583e-0410-b54d-b9fe63dff8e5

14 years agoUpdate cpio (cp210x io test program) to accept device on command line like cpmfg
smckown [Mon, 2 Nov 2009 20:21:28 +0000 (20:21 +0000)]
Update cpio (cp210x io test program) to accept device on command line like cpmfg

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@75 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoAdd .gitignore
smckown [Wed, 15 Apr 2009 16:55:41 +0000 (16:55 +0000)]
Add .gitignore

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@69 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoExclude .git directory in build results.
smckown [Wed, 15 Apr 2009 16:55:40 +0000 (16:55 +0000)]
Exclude .git directory in build results.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@68 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoSet svn:ignore for build directory
smckown [Wed, 15 Apr 2009 16:53:34 +0000 (16:53 +0000)]
Set svn:ignore for build directory

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@67 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoAllow building from git checkout.
smckown [Wed, 15 Apr 2009 16:40:41 +0000 (16:40 +0000)]
Allow building from git checkout.

Update Makefile so that it can properly build packages using either an svn
checkout or a git checkout.  The code has to still have been checked out
from svn.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@66 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoUpdate README file.
smckown [Wed, 15 Apr 2009 16:40:40 +0000 (16:40 +0000)]
Update README file.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@65 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoReorganize code in cp2101.c
smckown [Wed, 15 Apr 2009 16:40:39 +0000 (16:40 +0000)]
Reorganize code in cp2101.c

Now cp2101.c looks like it would if the minimal patch were applied to cp2101.c
from the plain vanilla linux 2.6.24 code.  We did also add some newer usb
device id's from 2.6.30's cp2101.c.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@64 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoFix type in the call to cp2101_ctlmsg in cp2101_setu16. The value argument
smckown [Wed, 15 Apr 2009 16:40:38 +0000 (16:40 +0000)]
Fix type in the call to cp2101_ctlmsg in cp2101_setu16.  The value argument
should be ORed with 0x3700 and not 3700.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@63 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoTurn on weak pull-ups in the examples/cpmfg program. These aren't needed for pre2.6.24
smckown [Wed, 1 Apr 2009 02:55:05 +0000 (02:55 +0000)]
Turn on weak pull-ups in the examples/cpmfg program.  These aren't needed for
the RWS board, but it shouldn't hurt and should be a more general config.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@52 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoAdd the cpread utility
smckown [Tue, 31 Mar 2009 17:20:49 +0000 (17:20 +0000)]
Add the cpread utility

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@51 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoMake the debian version extension 'tmi' and not 'rsm'.
smckown [Thu, 28 Aug 2008 21:58:42 +0000 (21:58 +0000)]
Make the debian version extension 'tmi' and not 'rsm'.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@50 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoThis project's new upper-level Makefile will build a debian source package that can...
smckown [Thu, 28 Aug 2008 19:53:29 +0000 (19:53 +0000)]
This project's new upper-level Makefile will build a debian source package that can be used to build a debian
package that installs and uninstalls correctly.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@49 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoChanges in progress to support debian (ubuntu) integration
smckown [Thu, 28 Aug 2008 17:59:00 +0000 (17:59 +0000)]
Changes in progress to support debian (ubuntu) integration

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@48 986fd584-583e-0410-b54d-b9fe63dff8e5

15 years agoFix for linux 2.4.24.
smckown [Mon, 25 Aug 2008 20:01:38 +0000 (20:01 +0000)]
Fix for linux 2.4.24.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@47 986fd584-583e-0410-b54d-b9fe63dff8e5

16 years agoThese were changes incorporated that I sent to Walt Zarnoch, 0.2
smckown [Wed, 7 Nov 2007 15:55:01 +0000 (15:55 +0000)]
These were changes incorporated that I sent to Walt Zarnoch,
zarnochwf1@gmail.com.  Minor at best.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@4 986fd584-583e-0410-b54d-b9fe63dff8e5

16 years agoThis is the version of the driver modified by TMI to support setting of the
smckown [Wed, 7 Nov 2007 15:52:45 +0000 (15:52 +0000)]
This is the version of the driver modified by TMI to support setting of the
USB descriptors, configure GPIO, and read/write GPIO pins.  Some examples are
included, as well as a README.txt to build the code.  The rpm construction
tools have not been updated.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@3 986fd584-583e-0410-b54d-b9fe63dff8e5

16 years agoThis is the original version as sent by Silicon Labs. It was an older version
smckown [Wed, 7 Nov 2007 15:47:46 +0000 (15:47 +0000)]
This is the original version as sent by Silicon Labs.  It was an older version
than was already included in the linux kernel at the time.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@2 986fd584-583e-0410-b54d-b9fe63dff8e5

16 years agoAdd a tree structure for the cp210x project.
smckown [Wed, 7 Nov 2007 15:39:17 +0000 (15:39 +0000)]
Add a tree structure for the cp210x project.

git-svn-id: svn+ssh://repo/projects/cp210x/trunk@1 986fd584-583e-0410-b54d-b9fe63dff8e5