]> oss.titaniummirror.com Git - cp210x.git/log
cp210x.git
9 years agoRevamp build strategy master debian/0.11.4-1tmi
R. Steve McKown [Mon, 18 Aug 2014 17:45:44 +0000 (11:45 -0600)]
Revamp build strategy

* Use git-buildpackage (see debian/gbp.conf)
* Move examples to /usr/share/doc/cp210x-module-dkms...
* Source files in binary aren't under src/ as this is kinda redundant
* Don't package some things into the binary image that are in the source

9 years agoSupport Ubuntu 14.04 Trusty Tahr
R. Steve McKown [Mon, 18 Aug 2014 16:33:43 +0000 (10:33 -0600)]
Support Ubuntu 14.04 Trusty Tahr

* Merge cp210x.c changes for trusty from kernel 3.13 source
* Update build for 3.13 kernels

11 years agomodprobe.d files now ends in .conf
R. Steve McKown [Tue, 3 Jul 2012 06:28:38 +0000 (00:28 -0600)]
modprobe.d files now ends in .conf

11 years agoMerge cp210x.c changes for precise from kernel 3.2.0 source
R. Steve McKown [Tue, 3 Jul 2012 04:40:51 +0000 (22:40 -0600)]
Merge cp210x.c changes for precise from kernel 3.2.0 source

11 years agoForce hardy distribution for dkms, for now
R. Steve McKown [Tue, 3 Jul 2012 03:40:38 +0000 (21:40 -0600)]
Force hardy distribution for dkms, for now

The package will still work on all the newer tested distributions

11 years agoThe default cp210x.c is now good for natty-precise
R. Steve McKown [Tue, 3 Jul 2012 03:19:08 +0000 (21:19 -0600)]
The default cp210x.c is now good for natty-precise

12 years agoSupport for natty
R. Steve McKown [Thu, 8 Sep 2011 15:25:02 +0000 (09:25 -0600)]
Support for natty

There's no change, but to ensure that the same module code used in Maverick
is used in natty.

12 years agoMakefile use of git log OK if decorate is default
R. Steve McKown [Thu, 8 Sep 2011 15:24:16 +0000 (09:24 -0600)]
Makefile use of git log OK if decorate is default

13 years agoUpdate cp210x for Ubuntu 10.10 Maverick Meerkat debian/0.11.3-5tmi
R. Steve McKown [Mon, 29 Nov 2010 22:26:52 +0000 (15:26 -0700)]
Update cp210x for Ubuntu 10.10 Maverick Meerkat

13 years agoFix version information for karmic and lucid sources broken in last commit. debian/0.11.3-4tmi
R. Steve McKown [Wed, 26 May 2010 19:22:31 +0000 (13:22 -0600)]
Fix version information for karmic and lucid sources broken in last commit.

13 years agoLucid, clean, version debian/0.11.3-3tmi
R. Steve McKown [Wed, 26 May 2010 18:30:38 +0000 (12:30 -0600)]
Lucid, clean, version

* Ubuntu Lucid (aka kernel version 2.6.32) support
* Clean up Module.symvers, a generated file
* Update version information: cp210x-module-dkms_0.11.3-3tmi
* Replace incorrect usage of PKGVER with DEBVER

13 years agoMore generic unicode support, no redefinitions of USB headers, no USBSTRLEN.
R. Steve McKown [Tue, 18 May 2010 18:27:13 +0000 (12:27 -0600)]
More generic unicode support, no redefinitions of USB headers, no USBSTRLEN.

13 years agoVarious fixes proposed by Greg KH.
R. Steve McKown [Tue, 18 May 2010 15:03:15 +0000 (09:03 -0600)]
Various fixes proposed by Greg KH.

13 years agoRemove set functionality for Manufacturer descriptor.
R. Steve McKown [Tue, 18 May 2010 14:48:48 +0000 (08:48 -0600)]
Remove set functionality for Manufacturer descriptor.

Current cp210x firmware doesn't allow it to be set anyway.

13 years agoUse usb definitions for bmRequestType.
R. Steve McKown [Mon, 17 May 2010 22:57:25 +0000 (16:57 -0600)]
Use usb definitions for bmRequestType.

13 years agoRemove unnecessary #if's
R. Steve McKown [Mon, 17 May 2010 21:48:31 +0000 (15:48 -0600)]
Remove unnecessary #if's

13 years agoStyle cleanups
R. Steve McKown [Mon, 17 May 2010 21:27:27 +0000 (15:27 -0600)]
Style cleanups

13 years agoRemove unnecessary file.
R. Steve McKown [Mon, 17 May 2010 21:08:17 +0000 (15:08 -0600)]
Remove unnecessary file.

13 years agoNo kernel compile-time visibility to userspace only stuff in cp210x.h
R. Steve McKown [Mon, 17 May 2010 21:07:03 +0000 (15:07 -0600)]
No kernel compile-time visibility to userspace only stuff in cp210x.h

13 years agoAll example programs updated to fit new cp210x.h.
R. Steve McKown [Mon, 17 May 2010 21:05:09 +0000 (15:05 -0600)]
All example programs updated to fit new cp210x.h.

13 years agoAdd defines for mode, latch and enhanced function bits, with documentation.
R. Steve McKown [Mon, 17 May 2010 21:04:35 +0000 (15:04 -0600)]
Add defines for mode, latch and enhanced function  bits, with documentation.

13 years agoSeveral fixes.
R. Steve McKown [Mon, 17 May 2010 20:39:52 +0000 (14:39 -0600)]
Several fixes.

* cp210x.h serves kernel module and userspace apps
* IOCTL_ -> CP210x_IOCTL_ to prevent collisions in userspace
* Fix defect in cp210x_usbstr_from_user
* cpmfg working with new changes

13 years agoCombine buffer copy and usb string creation into a single operation.
R. Steve McKown [Mon, 17 May 2010 17:34:35 +0000 (11:34 -0600)]
Combine buffer copy and usb string creation into a single operation.

Also, struct cp210x_buffer need not be packed.

13 years agoMove userspace/kernel shared defs to cp210x.h; no new typedefs; other cleanups.
R. Steve McKown [Mon, 17 May 2010 15:55:48 +0000 (09:55 -0600)]
Move userspace/kernel shared defs to cp210x.h; no new typedefs; other cleanups.

13 years agoFix warnings generated by sparse tool.
R. Steve McKown [Fri, 14 May 2010 20:07:16 +0000 (14:07 -0600)]
Fix warnings generated by sparse tool.

13 years agoMerge updates from 2.6.34-rc7 in-kernel driver.
R. Steve McKown [Thu, 13 May 2010 23:22:20 +0000 (17:22 -0600)]
Merge updates from 2.6.34-rc7 in-kernel driver.

14 years agoAdd karmic support. debian/0.11.2-6.1tmi
R. Steve McKown [Thu, 10 Dec 2009 21:22:25 +0000 (14:22 -0700)]
Add karmic support.

The karmic version of the source, cp210x.c.karmic, is different from the hardy
one for two reasons:
* Karmic's kernel call interface used is slightly different than Hardy's
* We want cp210x.c.karmic to be the smallest diff as possible from the in-
  kernel driver source.

14 years agoSign the debian apt package files and add new makefile targets. debian/0.11.2-5.2tmi
R. Steve McKown [Tue, 8 Dec 2009 20:17:00 +0000 (13:17 -0700)]
Sign the debian apt package files and add new makefile targets.

* Change the maintainer to 'TMI Packages <pgks@titaniummirror.com>'.
* Sign the packages with the maintainer key.  The current user must have the
  secret key for the maintainer.
* Add a pbuilder makefile target that builds the package via pbuilder, pulls
  the results files to the build dir, and signs them.
* Add a release makefile target that, with a properly configured ~/.dput.cf,
  will release the built package to the apt repository.

14 years agoFix source version as seen by DKMS.
R. Steve McKown [Tue, 8 Dec 2009 20:10:04 +0000 (13:10 -0700)]
Fix source version as seen by DKMS.

The DKMS scripts assume that a package update will install software to build
at /usr/src but in a different directory.  So, an update to a package that
is just a change in the debian build stuff but not the source proper will
cause a problem, since DKMS will remove the old source dir after the new
source dir is already unpacked.  If they are the same, it breaks.  We fix this
problem by simply informing DKMS that the source version include the debian
version info as well.  So for example, instead of 0.11.2, DKMS would see
0.11.2-5.2tmi.

14 years agoPull updates from 2.6.31 in-kernel driver
smckown [Thu, 26 Nov 2009 04:13:51 +0000 (04:13 +0000)]
Pull updates from 2.6.31 in-kernel driver

* Aesthetic changes to reduce diff; no functionality changes.
* Backport usb device ids.

14 years agoDon't hardcode the distribution codeword (aka hardy), but get from lsb_release.
smckown [Thu, 26 Nov 2009 04:13:50 +0000 (04:13 +0000)]
Don't hardcode the distribution codeword (aka hardy), but get from lsb_release.

14 years agoFix linux-header dependencies
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.

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.

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.

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.

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.

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.

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.

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

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.

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.

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.

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.

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

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.

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.

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

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

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.

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

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.

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

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.

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.

15 years agoTurn on weak pull-ups in the examples/cpmfg program. These aren't needed for
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.

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

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'.

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.

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

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.

16 years agoThese were changes incorporated that I sent to Walt Zarnoch,
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.

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.

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.

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.