[arm-allstar] CM108 USB sound FOB

Daniel Bernhardt daniel at dbernhardt.com
Mon Aug 22 10:23:46 EST 2016


Hi David,

I just read the email thread from December 2015 [1] where the chip identifier 
was first mentioned. In the attached source code of chan_simpleusb.c the 
product id is identified as C108AI and further down the code GPIO bits are set 
specifically for this chip. 
Looking up the only datasheet I could find there are no GPIOs on that chip. Or 
am I not reading the datasheet correctly? Also the pinout is slightly 
different than that of the cm108. You can find the HS-100 datasheet here: 
https://be2cloud.de/index.php/s/25mQq1Vx8aGjdAR

I'm just confused whats happening in the code compared to what I see in the 
datasheet. If it is no trouble to you (or anyone else) I would really 
appreciate if you could help me out here. 

Other than that I'll wait for the next public beta (or my cm108 chipment from 
china, whatever comes first). 

Thanks for your support.

Regards,
Daniel, DK1DB

[1] http://lists.hamvoip.org/pipermail/arm-allstar/2015-December/002393.html


On Monday 22 August 2016 05:19:59 David McGough via arm-allstar wrote:
> Hi Daniel,
> 
> Thanks for the info about the C-media device. We already have support for
> this VID:PID in our recent builds, starting as of V1.02beta for the
> RPi2/3. Lito, KI9H, was the first to report this device and sent a patch
> in late 2015.
> 
> Once formally released, previously we've included all customized source
> code in the /usr/src/utils folder. As of the upcoming new releases, the
> source code has been moved to ArchLinux style packages, since it adds to
> the initial download size and isn't immediately needed to get "up and
> running."
> 
> We also use SVN for source code management.  Access to SVN is currently
> restricted to a handful of developers, since this code is in constant
> development and just downloading a snapshot frequently won't yield a
> working application!
> 
> The latest alpha code included many, many nifty enhancements and new
> features!  It fixes numerous long-standing annoyances and is currently
> being run by a small group of devoted testers.
> 
> Another public beta release is coming soon.
> 
> 73, David KB4FXC
> 
> On Mon, 22 Aug 2016, Daniel Bernhardt via arm-allstar wrote:
> > Hi Doug,
> > 
> > I am back at work and as promised I have more information about the
> > HS-100B chip for you. First the link to the amazon page:
> > 
> > https://www.amazon.de/Sabrent-External-Aluminum-erforderlich-AU-EMAC/dp/B0
> > 0OJ5AV8I/ie=UTF8
> > 
> > Although the page is in German you can clearly see from the product name
> > how I got fooled. The name is: "Sabrent USB External Aluminum Stereo
> > Sound Adapter für Windows und Mac. Plug and play. Inkl. USB Kabel. keine
> > Treiber erforderlich. (Silber) [C-Media CM108 Chipset] (AU-EMAC)"
> > 
> > Attached to this email you get the complete "lsusb -v" output from the
> > device. Its device ID is: "ID 0d8c:0014 C-Media Electronics, Inc."
> > 
> > I will keep the module for future use when you have completed the code for
> > external I/O. I guess you're going to write a library as a wrapper to
> > have a unified way to act on COS/PTT from asterisk and use plugins in
> > that library to trigger GPIOs for every supported platform like one for
> > RPi and one for BBB and so on. Do you have a git repository so we can
> > play with or review the code or will it be closed source?
> > 
> > Kind regards,
> > Daniel, DK1DB
> > 
> > On Monday 15 August 2016 15:09:01 Doug Crompton via arm-allstar wrote:
> > 
> > 
> > Daniel,
> > 
> >    That makes more sense. Interestingly that chip will probably work for
> >    audio if setup with> 
> > the code and then would work in the near future with our code and external
> > I/O for COS/PTT. So don't throw it in the trash. You might be a beta test
> > case.
> > 
> > If you have the amazon link please forward and also when you can the
> > 'lsusb' data.
> > 
> > *73 DougWA3DSPhttp://www.crompton.com/hamradio*
> > 
> > 
> > To: arm-allstar at hamvoip.orgDate: Mon, 15 Aug 2016 20:01:25 +0200Subject:
> > Re: [arm-allstar] CM108 USB sound FOBFrom: arm-allstar at hamvoip.orgCC:
> > daniel at dbernhardt.com
> > 
> > 
> > 
> > Hi Doug, I must have been really obsessed with the term  "CM108" to get
> > the name of the other chip that wrong. The chip I mean is named HS100B.
> > It is also produced by C-Media but lacks a lot of features. Here is a
> > link to the chip:
> > 
> > http://www.cmedia.com.tw/products/USB20_FULL_SPEED/HS100B[1]
> > http://www.crompton.com/hamradio[2]
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar[3]
> > http://hamvoip.org[4]
> > 
> > 
> > 
> > 
> > 
> > 
> > --------
> > [1] http://www.cmedia.com.tw/products/USB20_FULL_SPEED/HS100B
> > [2] http://www.crompton.com/hamradio
> > [3] http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> > [4] http://hamvoip.org
> 
> _______________________________________________
> 
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2 web page - http://hamvoip.org



More information about the arm-allstar mailing list