So i managed to get the camera to be recognized by editing the JSON file, So the version of PKtriggercord is 0.85, I downloaded the git from github.com/asalamon74/pktriggercord and had a look at plsr.c and got the hex address for the K30, once I updated this the camera was recognized and the settings showed values for the bulb configuration where as before it was unknowns.
See attached


If i started up the camera on U1 or U2 I was able to configure these to any mode I wanted, except Bulb. Every time I switched to Bulb mode or tried to start up in Bulb mode I got the error posted in my last post on referring to line 2240, which in looking at pktriggercord.c on github is actually referring to line
2304 and this function
G_MODULE_EXPORT void user_mode_combo_changed_cb(GtkAction *action, gpointer user_data) {
    DPRINT("user_mode_combo_changed_cb\n");
    pslr_gui_exposure_mode_t val = gtk_combo_box_get_active(GTK_COMBO_BOX(GW("user_mode_combo")));
    if (!status_new) {
        return;
    }
    assert(val >= 0);
    assert(val < PSLR_GUI_EXPOSURE_MODE_MAX);
    if (status_new == NULL || val != status_new->exposure_mode ) {
        pslr_set_exposure_mode(camhandle, val);
    }
}


So i think the problem is in plsr.c where it dosent determine the camera has actually been put into bulb mode.
pslr_gui_exposure_mode_t exposure_mode_conversion( pslr_exposure_mode_t exp ) {
    switch ( exp ) {

        case PSLR_EXPOSURE_MODE_GREEN:
            return PSLR_GUI_EXPOSURE_MODE_GREEN;
        case PSLR_EXPOSURE_MODE_P:
            return PSLR_GUI_EXPOSURE_MODE_P;
        case PSLR_EXPOSURE_MODE_SV:
            return PSLR_GUI_EXPOSURE_MODE_SV;
        case PSLR_EXPOSURE_MODE_TV:
            return PSLR_GUI_EXPOSURE_MODE_TV;
        case PSLR_EXPOSURE_MODE_AV:
        case PSLR_EXPOSURE_MODE_AV_OFFAUTO:
            return PSLR_GUI_EXPOSURE_MODE_AV;
        case PSLR_EXPOSURE_MODE_TAV:
            return PSLR_GUI_EXPOSURE_MODE_TAV;
        case PSLR_EXPOSURE_MODE_M:
        case PSLR_EXPOSURE_MODE_M_OFFAUTO:
            return PSLR_GUI_EXPOSURE_MODE_M;
        case PSLR_EXPOSURE_MODE_B:
        case PSLR_EXPOSURE_MODE_B_OFFAUTO:
            return PSLR_GUI_EXPOSURE_MODE_B;
        case PSLR_EXPOSURE_MODE_X:
            return PSLR_GUI_EXPOSURE_MODE_X;
        case PSLR_EXPOSURE_MODE_MAX:
            return PSLR_GUI_EXPOSURE_MODE_MAX;
    }
    return 0;
}


Read More...