<div dir="ltr"><div><div><div>There are no such actual bits, per the CM108/CM119 datasheets.<br><br>Button states, and hence LEDs, are <i>read-only</i> to the USB host. The only lines that are writable, and hence usable for PTT control, are the GPIO lines, which of course are inaccessible with a potted chip. The interface to both is through USB HID reports.<br>
<br></div>I'd like to be wrong about it, but the datasheets (section 7.4 in each) seem pretty clear.<br><br>$0.02,<br></div>Eric<br></div>K5BFC<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 23, 2014 at 10:59 AM, Doug Crompton <span dir="ltr"><<a href="mailto:doug@crompton.com" target="_blank">doug@crompton.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><font face="Tahoma">If there are some other than standard bits that are available on these encased FOBs and you can identify what they are it can be customized in the SW.<br><br> else if(o->hdwtype==3) // custom version<br>
{<br> o->hid_gpio_ctl = 0x0c; /* set GPIO 3 & 4 to output mode */<br> o->hid_gpio_ctl_loc = 2; /* For CTL of GPIO */<br> o->hid_io_cor = 2; /* VOLD DN is COR */<br>
o->hid_io_cor_loc = 0; /* VOL DN COR */<br> o->hid_io_ctcss = 2; /* GPIO 2 is External CTCSS */<br> o->hid_io_ctcss_loc = 1; /* is GPIO 2 */<br>
o->hid_io_ptt = 4; /* GPIO 3 is PTT */<br> o->hid_gpio_loc = 1; /* For ALL GPIO */<br> o->valid_gpios = 1; /* for GPIO 1 */<br> }</font><br>
</div></div></blockquote></div></div></div>