Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Dave Platt <dplatt@radagast.org>
To: linux-hams@vger.kernel.org, a.errington@lancaster.ac.uk
Subject: Re: USB sound adapter for use with Tom's soundmodem?
Date: Mon, 15 Dec 2008 15:47:00 -0800	[thread overview]
Message-ID: <courier.4946EC74.00003B45@radagast.org> (raw)
In-Reply-To: <2916.219.89.148.235.1229158504.squirrel@webmail02.lancs.ac.uk>

> How exciting!  Of course, it's hit and miss as to whether you get this
> chip in any particular adaptor, but it's possible that the LEDs are hooked
> up to some fixed function (as you have discovered) but that the GPIO pins
> are free.  It's also possible that the vendor has chosen to disable this
> function as the chips are highly customisable.
>
> Wishful thinking perhaps, especially as I haven't looked for a datasheet
> yet (more to the point, I don't actually have one of these doodads
> either.)
>
> Actually, reading your email again, are these the GPIO endpoints that you
> can't yet work out how to write to?

Yup.  Those are the ones.

There may be some light a'glimmering, though.  In another discussion
today I ran across an open-source project for a general-purpose
programmer board for PIC and AVR and I2C and SPI devices, which uses a
USB-enabled PIC as its basis.  The PIC presents a 64-byte HID packet
interface, and the developer has provided source code for the
Linux software needed to communicate with it and send the packets that
its firmware expects.

By studying this I hope to be able to figure out the magic involved in
accessing one of the CMedia chips' HID endpoints and twizzling its
GPIOs.

If that succeeeds, then it might be possible to gut one of these cheap
dongles. hook it up to a couple of isolation transformers and an
optocoupler, and drive a transceiver with it... a homebrew near-
equivalent to the SignaLink USB.

Doing so would require that the packet software (or whatever) know how
to tell the GPIOs to go up and down.  I'm not sure that the usual
approach of opening a kernel device and using ioctl() calls would be
appropriate... a change to the software to run an external application
to assert and deassert PTT might be preferable.


  reply	other threads:[~2008-12-15 23:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-13  2:53 USB sound adapter for use with Tom's soundmodem? Alan Crosswell
2008-12-13  3:59 ` Dave Platt
2008-12-13  4:19   ` Andrew Errington
2008-12-13  5:08     ` Dave Platt
2008-12-13  8:55       ` Andrew Errington
2008-12-15 23:47         ` Dave Platt [this message]
2008-12-16  1:42           ` don
2008-12-16 20:14         ` Dave Platt
2011-06-21 10:58         ` Andrew Errington
2008-12-13 22:55     ` Alan Crosswell
2008-12-15 19:00       ` Dave Platt
2008-12-14 21:20   ` don
2009-06-01 13:35   ` ICOM PCR1000 Geoff Bagley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=courier.4946EC74.00003B45@radagast.org \
    --to=dplatt@radagast.org \
    --cc=a.errington@lancaster.ac.uk \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox