BPS dialogues seem to stop working after the initialization of the OpenGL

In the following example (the main.c to GLES20Template), if the call to show_alert (taken from the example of the dialog box) is performed before the call to bbutil_init_egl, we see a dialog box.  Otherwise, we do not see a dialog box (or an error message explaining what we did wrong).  That passed?

OpenGL is not compatible with BPS?

Anyone know how to get the dialogs BPS works in an application that uses OpenGL?

/*
 * Copyright (c) 2011-2012 Research In Motion Limited.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

#include 
#include 

#include 

#include "bbutil.h"

#include "pthread.h"
#include 

dialog_instance_t alert_dialog;

static GLfloat vertices[8];
static GLfloat colors[16];

static GLuint program;

static GLuint transformLoc;
static GLuint positionLoc;
static GLuint colorLoc;

static GLfloat matrix[16] = {1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1};

static GLuint vertexID;
static GLuint colorID;

static screen_context_t screen_cxt;

EGLContext derived_ctx;

void handleScreenEvent(bps_event_t *event) {
    screen_event_t screen_event = screen_event_get_event(event);

    int screen_val;
    screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_TYPE, &screen_val);

    switch (screen_val) {
    case SCREEN_EVENT_MTOUCH_TOUCH:
    case SCREEN_EVENT_MTOUCH_MOVE:
    case SCREEN_EVENT_MTOUCH_RELEASE:
        break;
    }
}

int initialize() {
    //Initialize vertex and color data
    vertices[0] = -0.25f;
    vertices[1] = -0.25f;

    vertices[2] = 0.25f;
    vertices[3] = -0.25f;

    vertices[4] = -0.25f;
    vertices[5] = 0.25f;

    vertices[6] = 0.25f;
    vertices[7] = 0.25f;

    colors[0] = 1.0f;
    colors[1] = 0.0f;
    colors[2] = 1.0f;
    colors[3] = 1.0f;

    colors[4] = 1.0f;
    colors[5] = 1.0f;
    colors[6] = 0.0f;
    colors[7] = 1.0f;

    colors[8] = 0.0f;
    colors[9] = 1.0f;
    colors[10] = 1.0f;
    colors[11] = 1.0f;

    colors[12] = 0.0f;
    colors[13] = 1.0f;
    colors[14] = 1.0f;
    colors[15] = 1.0f;

    //Query width and height of the window surface created by utility code
    EGLint surface_width, surface_height;

    eglQuerySurface(egl_disp, egl_surf, EGL_WIDTH, &surface_width);
    eglQuerySurface(egl_disp, egl_surf, EGL_HEIGHT, &surface_height);

    // Create shaders
    const char* vSource =
            "precision mediump float;"
            "uniform mat4 u_projection;"
            "uniform mat4 u_transform;"
            "attribute vec4 a_position;"
            "attribute vec4 a_color;"
            "varying vec4 v_color;"
            "void main()"
            "{"
            "    gl_Position = u_projection * u_transform * a_position;"
            "    v_color = a_color;"
            "}";

    const char* fSource =
            "varying lowp vec4 v_color;"
            "void main()"
            "{"
            "    gl_FragColor = v_color;"
            "}";

    GLint status;

    // Compile the vertex shader
    GLuint vs = glCreateShader(GL_VERTEX_SHADER);
    if (!vs) {
        fprintf(stderr, "Failed to create vertex shader: %d\n", glGetError());
        return EXIT_FAILURE;
    } else {
        glShaderSource(vs, 1, &vSource, 0);
        glCompileShader(vs);
        glGetShaderiv(vs, GL_COMPILE_STATUS, &status);
        if (GL_FALSE == status) {
            GLchar log[256];
            glGetShaderInfoLog(vs, 256, NULL, log);

            fprintf(stderr, "Failed to compile vertex shader: %s\n", log);

            glDeleteShader(vs);
        }
    }

    // Compile the fragment shader
    GLuint fs = glCreateShader(GL_FRAGMENT_SHADER);
    if (!fs) {
        fprintf(stderr, "Failed to create fragment shader: %d\n", glGetError());
        return EXIT_FAILURE;
    } else {
        glShaderSource(fs, 1, &fSource, 0);
        glCompileShader(fs);
        glGetShaderiv(fs, GL_COMPILE_STATUS, &status);
        if (GL_FALSE == status) {
            GLchar log[256];
            glGetShaderInfoLog(fs, 256, NULL, log);

            fprintf(stderr, "Failed to compile fragment shader: %s\n", log);

            glDeleteShader(vs);
            glDeleteShader(fs);

            return EXIT_FAILURE;
        }
    }

    // Create and link the program
    program = glCreateProgram();
    if (program)
    {
        glAttachShader(program, vs);
        glAttachShader(program, fs);
        glLinkProgram(program);

        glGetProgramiv(program, GL_LINK_STATUS, &status);
        if (status == GL_FALSE)    {
            GLchar log[256];
            glGetProgramInfoLog(fs, 256, NULL, log);

            fprintf(stderr, "Failed to link shader program: %s\n", log);

            glDeleteProgram(program);
            program = 0;

            return EXIT_FAILURE;
        }
    } else {
        fprintf(stderr, "Failed to create a shader program\n");

        glDeleteShader(vs);
        glDeleteShader(fs);
        return EXIT_FAILURE;
    }

    glUseProgram(program);

    // Set up the orthographic projection - equivalent to glOrtho in GLES1
    GLuint projectionLoc = glGetUniformLocation(program, "u_projection");
    {
        GLfloat left = 0.0f;
        GLfloat right = (float)(surface_width) / (float)(surface_height);
        GLfloat bottom = 0.0f;
        GLfloat top = 1.0f;
        GLfloat zNear = -1.0f;
        GLfloat zFar = 1.0f;
        GLfloat ortho[16] = {2.0 / (right-left), 0, 0, 0,
                            0, 2.0 / (top-bottom), 0, 0,
                            0, 0, -2.0 / (zFar - zNear), 0,
                            -(right+left)/(right-left), -(top+bottom)/(top-bottom), -(zFar+zNear)/(zFar-zNear), 1};
        glUniformMatrix4fv(projectionLoc, 1, false, ortho);
    }

    // Store the locations of the shader variables we need later
    transformLoc = glGetUniformLocation(program, "u_transform");
    positionLoc = glGetAttribLocation(program, "a_position");
    colorLoc = glGetAttribLocation(program, "a_color");

    // We don't need the shaders anymore - the program is enough
    glDeleteShader(fs);
    glDeleteShader(vs);

    // Generate vertex and color buffers and fill with data
    glGenBuffers(1, &vertexID);
    glBindBuffer(GL_ARRAY_BUFFER, vertexID);
    glBufferData(GL_ARRAY_BUFFER, sizeof(vertices), vertices, GL_STATIC_DRAW);

    glGenBuffers(1, &colorID);
    glBindBuffer(GL_ARRAY_BUFFER, colorID);
    glBufferData(GL_ARRAY_BUFFER, sizeof(colors), colors, GL_STATIC_DRAW);

    // Perform the same translation as the GLES1 version
    matrix[12] = (float)(surface_width) / (float)(surface_height) / 2;
    matrix[13] = 0.5;
    glUniformMatrix4fv(transformLoc, 1, false, matrix);

    //////////////////////////////////////////////////////////////
    // Test code to stimulate multi-threading bug:

    EGLint contextAttribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE, EGL_NONE };

    // Create a shared context:
    derived_ctx = eglCreateContext(egl_disp, egl_conf, egl_ctx, contextAttribs);

    return EXIT_SUCCESS;
}

/*void* aThread(void *not_used) {

    EGLint numConfigs;
    EGLConfig auxConfig;
    EGLSurface auxSurface;

    const EGLint auxConfigAttribs[] =
        {
            EGL_SURFACE_TYPE, EGL_PBUFFER_BIT,
            EGL_BLUE_SIZE, 8,
            EGL_GREEN_SIZE, 8,
            EGL_RED_SIZE, 8,
            EGL_ALPHA_SIZE, 0,
            EGL_DEPTH_SIZE, 0,
            EGL_STENCIL_SIZE, 0,
            EGL_NONE
        };

    EGLint pbufferAttribs[] =
        {
            EGL_WIDTH, 1,
            EGL_HEIGHT, 1,
            EGL_TEXTURE_TARGET, EGL_NO_TEXTURE,
            EGL_TEXTURE_FORMAT, EGL_NO_TEXTURE,
            EGL_NONE
        };

    eglChooseConfig(egl_disp, auxConfigAttribs, &auxConfig, 1, &numConfigs);
    auxSurface = eglCreatePbufferSurface(egl_disp, auxConfig, pbufferAttribs);

    EGLBoolean  result = eglMakeCurrent(egl_disp, auxSurface, auxSurface, derived_ctx);
    if (result == EGL_FALSE){
        fprintf(stderr, "UNABLE TO MAKE CONTEXT CURRENT\n");
        //int err = glGetError();
        bbutil_terminate();
    } else {
        fprintf(stderr, "made shared context current!\n");
    }
    return NULL;
}*/

void render() {
    // Increment the angle by 0.5 degrees
    static float angle = 0.0f;
    angle += 0.5f * M_PI / 180.0f;

    //Typical render pass
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

    // Enable and bind the vertex information
    glEnableVertexAttribArray(positionLoc);
    glBindBuffer(GL_ARRAY_BUFFER, vertexID);
    glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 2 * sizeof(GLfloat), 0);

    // Enable and bind the color information
    glEnableVertexAttribArray(colorLoc);
    glBindBuffer(GL_ARRAY_BUFFER, colorID);
    glVertexAttribPointer(colorLoc, 4, GL_FLOAT, GL_FALSE, 4 * sizeof(GLfloat), 0);

    // Effectively apply a rotation of angle about the y-axis.
    matrix[0] = cos(angle);
    matrix[2] = -sin(angle);
    matrix[8] = sin(angle);
    matrix[10] = cos(angle);
    glUniformMatrix4fv(transformLoc, 1, false, matrix);

    // Same draw call as in GLES1.
    glDrawArrays(GL_TRIANGLE_STRIP, 0 , 4);

    // Disable attribute arrays
    glDisableVertexAttribArray(positionLoc);
    glDisableVertexAttribArray(colorLoc);

    bbutil_swap();
}
/**
 * Show an alert dialog that has two buttons: a "Cancel" button, and a "Submit" button.
 */
static void
show_alert()
{
    if (alert_dialog) {
        return;
    }

    if (dialog_create_alert(&alert_dialog) != BPS_SUCCESS) {
        fprintf(stderr, "Failed to create alert dialog.");
        return;
    }

    if (dialog_set_alert_message_text(alert_dialog, "Hello World!") != BPS_SUCCESS) {
        fprintf(stderr, "Failed to set alert dialog message text.");
        dialog_destroy(alert_dialog);
        alert_dialog = 0;
        return;
    }

    /*
     * Create a context to attach to the cancel button
     */
    char* cancel_button_context = "Cancelled";

    /*
     * Use a button label defined in bps/dialog.h. Attach a context to the button.
     */
    if (dialog_add_button(alert_dialog, DIALOG_CANCEL_LABEL, true, cancel_button_context, true) != BPS_SUCCESS) {
        fprintf(stderr, "Failed to add button to alert dialog.");
        dialog_destroy(alert_dialog);
        alert_dialog = 0;
        return;
    }

    /*
     * Use a button label of our own. Don't attach a context to the button.
     */
    if (dialog_add_button(alert_dialog, "Submit", true, 0, true) != BPS_SUCCESS) {
        fprintf(stderr, "Failed to add button to alert dialog.");
        dialog_destroy(alert_dialog);
        alert_dialog = 0;
        return;
    }

    if (dialog_show(alert_dialog) != BPS_SUCCESS) {
        fprintf(stderr, "Failed to show alert dialog.");
        dialog_destroy(alert_dialog);
        alert_dialog = 0;
        return;
    }
}

int main(int argc, char *argv[]) {
    int rc;
    int exit_application = 0;

    //glGetError();
    //Initialize BPS library
    bps_initialize();

    //Create a screen context that will be used to create an EGL surface to to receive libscreen events
    screen_create_context(&screen_cxt, 0);

    //Signal BPS library that navigator and screen events will be requested
    if (BPS_SUCCESS != screen_request_events(screen_cxt)) {
        fprintf(stderr, "screen_request_events failed\n");
        bbutil_terminate();
        screen_destroy_context(screen_cxt);
        bps_shutdown();
        return 0;
    }

    if (BPS_SUCCESS != navigator_request_events(0)) {
        fprintf(stderr, "navigator_request_events failed\n");
        bbutil_terminate();
        screen_destroy_context(screen_cxt);
        bps_shutdown();
        return 0;
    }

    //Signal BPS library that navigator orientation is not to be locked
    if (BPS_SUCCESS != navigator_rotation_lock(false)) {
        fprintf(stderr, "navigator_rotation_lock failed\n");
        bbutil_terminate();
        screen_destroy_context(screen_cxt);
        bps_shutdown();
        return 0;
    }

    //Use utility code to initialize EGL for rendering with GL ES 2.0
    if (EXIT_SUCCESS != bbutil_init_egl(screen_cxt)) {
        fprintf(stderr, "bbutil_init_egl failed\n");
        bbutil_terminate();
        screen_destroy_context(screen_cxt);
        return 0;
    }

    //Initialize application logic
    if (EXIT_SUCCESS != initialize()) {
        fprintf(stderr, "initialize failed\n");
        bbutil_terminate();
        screen_destroy_context(screen_cxt);
        bps_shutdown();
        return 0;
    }

    dialog_request_events(0);

    /*
     * start the application with a dialog.
     */
    show_alert();

    // start a thread:
    //pthread_t  _t, _t2;
    //pthread_create(&_t, NULL, aThread, NULL);
    //pthread_create(&_t2, NULL, aThread, NULL);

    while (!exit_application) {
        //Request and process all available BPS events
        bps_event_t *event = NULL;

        for(;;) {
            rc = bps_get_event(&event, 0);
            assert(rc == BPS_SUCCESS);

            if (event) {
                int domain = bps_event_get_domain(event);

                if (domain == screen_get_domain()) {
                    handleScreenEvent(event);
                } else if ((domain == navigator_get_domain())
                        && (NAVIGATOR_EXIT == bps_event_get_code(event))) {
                    exit_application = 1;
                }
            } else {
                break;
            }
        }
        render();
    }

    //Stop requesting events from libscreen
    screen_stop_events(screen_cxt);

    //Shut down BPS library for this process
    bps_shutdown();

    //Use utility code to terminate EGL setup
    bbutil_terminate();

    //Destroy libscreen context
    screen_destroy_context(screen_cxt);
    return 0;
}

Try this: Edit bbutil.c to create a group of windows with screen_create_window_group() immediately after creating the window with screen_create_window().

Tags: BlackBerry Developers

Similar Questions

  • Firefox extension: 'TrueSuite 5.2.500.16' stopped working after the last update of firefox (30.0), although subject: said plugin activated. No difficulty to make it work?

    Firefox extension: 'TrueSuite 5.2.500.16' stopped working after the last update of firefox (30.0), although subject: said plugin activated.

    I tried to reset firefox and search for similar problems, unfortunately found nothing.

    It is also weird empty space before the address in the address bar

    other extensions and addons seems to work very well.

    Firefox 30 spent some less commonly used "Always turned on" plugins "asking to activate. To check and change this to TrueSuite, you can use the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click on Plugins. Then on the right, check the setting on the right side of TrueSuite.

    Any difference?

    Note to other readers: the original poster had to leave Firefox and start it again until it is actually entered into force.

  • USB mouse & keyboard stop working after the upgrade of Intel generic drivers drivers!

    Original Post: USB mouse & keyboard stop working after upgrade to generic drivers

    After you install Windows, the Generic USB controller drivers are installed. My mouse & keyboard as planned work & that are each recognized as "compatible mouse/keyboard HID."

    After I installed the Intel drivers for root USB controller, the mouse & keyboard stop working and are classified as unknown. Shortly after, they are considered HP USB Optical Mouse & HP USB Standard keyboard, however the drivers never properly install and they remain under unknown devices with a yellow exclamation point.

    I have searched high & low for these device drivers, they do not exist. I installed the drivers for all of the materials appearing on the site of the seller. This has happened on several computers, laptops and desktop computers.

    I've done all the troubleshooting I can think. Uninstalled all the controllers/USB hubs & restarted. Switched USB ports, I tried new mouse & keyboard, wanted Windows updates.

    The only way I can make it work is if I use the generic Windows drivers, who then recognized the mouse & KB "HID compliant". It seems that if I install Intel drivers, it recognizes the mouse & keyboard more in detail and he wants specific drivers to continue.

    Any help / suggestions would be greatly appreciated.

    Thanks for the reply.

    Because your computer is on a domain network, it would be better to be posted on the TECHNET forums. They are experts in your field of investigation and would be in a better position to answer your concerns.

    https://social.technet.Microsoft.com/forums/en-us/home?Forum=w8itprogeneral&filter=AllTypes&sort=lastpostdesc

    In the future if you have problems with Windows. Not to contact us. We will be happy to help you.

  • All browsers stop working after the automatic updates

    * Original title: Windows 8 - all browsers stop working after update

    Hi, I have a Dell 14R with Windows 8, standard configuration.  After the automatic updates pushed on 06-04-14, computer laptop start behaving strange - not able to connect to any external website.  Home page only on a browser worked.  Troubleshooting auto did not find any problems. I restored the computer to the last point saved, generated an error "cannot restore', perhaps due to MacAfee, but solved the problem.   Then I disabled the updates for windows, just in case.  Did you anyone has a similar experience lately and was able to locate and solved the problem?

    I've updated for Windows 8.1 over the weekend, it seems to work great so far.

  • HP ENVY laptop - 15-ae178ca: Second monitor stopped working after the automatic update of HP

    I use my laptop with a second monitor (HP Pavillion 22xw) connected by HDMI. It was working fine until yesterday (including yesterday it worked), when a message from automatic upgrade HP was shown to informing him that the system needs to be restarted. After that, my second monitor stopped working. The system will not identify it more. I tried another cable, I rebooted several times, I tried to update the specific Intel graphics driver, I tried to uninstall and install manually another (I can't get this one done, because when I run manually downloaded driver there is a message saying that I need to contact the manufacturer). Please notify that I need my second monitor is fully functional!

    Hello @MAlex_B,

    Thank you for visiting the Forums from the HP Support! The forums are a great place where you can find solutions for your problems, with the help of the community!

    I understand that you have a problem with the display and wanted to help you!  I see only after an update, the external monitor no longer works.

    Given that this problem happened recently, have you tried to perform a System Restore, to define the notebook to its previous working state?  If this does not work, have you tried to update the drivers of graphics Chipset and BIOS on the HP website directly?  You can find the drivers for you product here: drivers - HP's ENVY for laptop - 15-ae178ca

    Please post back with the results.  Let me know if this information helps you solve the problem by marking this message as 'accept as Solution', this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Have a great day!

  • Some keys stop working after the update of the Sierra (only for a specific profile)

    After update to Sierra my keyboard worked well for a while.  But at random, U I O P J K L keys stopped working.

    The bug only shows 1 profile. If I create another profile new profile keyboard works very well.

    Anyone know what that sometimes caused that and with the fix is?

    Hello ExcelsiorPath,

    After reviewing your post, it seems that several keys do not work on a single profile. This looks like an option that may have been changed.  I recommend you to read this article, it may be able to help solve the problem.

    If the other keys do not work

    You may have accidentally set an option that changes your keyboard works.

    • Choose the Apple menu > System Preferences, click Accessibility, and then click keyboard. Make sure that slow keys is turned off. If slow keys is enabled, you will need to keep a key longer than usually before it is recognized.

    • Choose the Apple menu > System Preferences, click Accessibility, and then click mouse and Trackpad. Make sure that the mouse keys is turned off. If the mouse keys is enabled, pressing the keys in the numeric keypad moves the pointer instead of entering the numbers.

    • Choose the Apple menu > System Preferences, click keyboard, and then click input methods. Select "Show the menu in the menu bar." Open the menu entry, then make sure that the correct keyboard layout is selected.

      To display the keyboard layout, click keyboard, and then choose "See the viewers for emoji keyboard symbols in the menu bar."

    macOS Sierra: If your keyboard does not work

    Thank you for using communities of Apple Support. Good day.

  • DVD player stopped working after the installation of 12 items

    First, I loaded the disc DVD in the drive and tried several times to install 12 elements.  Whenever the program has been installed the computer would start flashing and the dvd drive may stop working. Every time I had to use a PIN to eject the DVD because it would not eject.  It worked well before its installation to 12 items. After that the program was finally installed dvd player worked.  But the program would be closed when you use it too often.  I finally just deleted the program of 12 items on my computer and install it on another system.  It's been a while since the abolition of the program from my computer. Tonight, I reinstalled the program Adobe 12 elements with the dvd drive works fine.  Trying to install the program, all loaded fine.  Then once more, the dvd drive eject nor does any work.  What happened several times with 12 elements of loading on my computer.  It is a real pain.  Now the DVD drive doesn't work, or eject.  Can someone help me out here?  It sucks. The other computer works fine.  It is a HP Pavilion, Windows 7 Home Premium system.

    Computer was off all night. Turned on this morning and the system works now.  I rebooted the system, at least six times last night with no result. I don't know what was different this morning, but everything seems to work.  So if it's not broken I will not try to fix it.  Thanks for posting. Dan

  • Illustrator CC has stopped working (after the last update)...

    Hello

    I get the following message "Illustrator CC has stopped working... "when I now try to run the program. It was only after the new update of the Illustrator. I uninstalled Wacom Cintiq HD 13 from the PC. Has no change.

    Any help please? Thank you.

    --

    Windows 8, Version 6.3 (Build 9600)

    Name of the failing application: Illustrator.exe, version: 18.1.0.430, time stamp: 0x54247b91

    Name of the failed module: Illustrator.exe, version: 18.1.0.430, time stamp: 0x54247b91

    Exception code: 0xc0000005

    Offset: 0x000000000013920a

    Process ID vulnerabilities: 0x3d8

    Start time of application vulnerabilities: 0x01cfe32da5a29313

    The failing application path: C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\Illustrator.exe

    Path of the failing module: C:\Program Files\Adobe\Adobe Illustrator CC 2014\Support Files\Contents\Windows\Illustrator.exe

    Report ID: e519a0fe-4f20-11e4-82a4-74d435809d3b

    Faulting full name of the package:

    Hi Sumit,

    Thanks for your quick response.

    No I have not any suitcase software installed. Does jogging but my memory and I got some trial graphic clever plug-ins installed, which had expired recently.

    Uninstalling all these now let Illustrator launch. Therefore, it seems to work.

    I'll install the Wacom tablet program later. I suspect that it will be fine.

    Thank you.

  • Network stops working after the installation of the VMware Tools on linux comments

    Hello

    I m facing problem after that, sometimes, sometimes not after a comment tools and vmware linux installation.

    If the installation of vmware Linux tools everything seems to work perfectly. No errors, nothing.

    The last thing to do after that tools installed will run successfully is to run the following commands (produced by the message from the installation program tools)

    /etc/init.d/network stop

    rmmod pcnet32

    rmmod vmxnet

    modprobe vmxnet

    /etc/init.d/network start

    This works fine as well, but after the next reboot the network stops working sometimes.

    The linux guest runs under VMware Server 2 using tools VMwareTools - 2.0.0 - 122956.i386

    The strange thing is that this happens all the time when install linux clients and tools.

    Guest operating system is RHEL40U5

    Any help how to avoid this is much appreciate.

    Better with respect to Agent.

    Why not add the commands above to the file etc/rc.d/rc.local. It will take a cae of the rest every time that you restart your virtual machine. I hope this helps...

    Concerning

    Anil

    Save the planet, go for green

    If you have found my reply to be useful, feel free to mark it as useful or Correct.

  • Time travel has stopped working after the upgrade to watch OS 3

    Hi all
    Since I upgraded to 3 watch OS stopped working time travel feature - by turning the digital Crown now does nothing.  The digital Crown works fine on the other screens, for example the notifications, but not on the dial of the watch itself.  I did a cycle power, but to no avail. Does anyone have information?

    Thank you
    Ray

    Come on, show on your iPhone in the app, then check the clock settings. There is an option to turn on or off; travel in time after the update to watch OS 3, it has been disabled by default for me.

  • HP Support Assistant stops working after the update

    message says:

    hpsf.exe has stopped working

    HP ENVY 17-2070nr PC windows 7 64 bit laptop

    Hello

    Try the following

    Firstly, uninstall your current version of HP Support Assistant using Microsoft 'Fixit' at the following link: this is particularly useful for correcting problems that may prevent resettlement on the machines running a 64 bit OS.

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    When this has completed, restart the laptop.

    Then download and install the latest version of HP Support Assistant of the page on the link below - the download links are to the bottom of the page.

    http://h18021.www1.HP.com/helpandsupport/HP-support-Assistant.html

    After installation, restart the computer again.

    Kind regards

    DP - K

  • Pavillion g6: my laptop audio stop working after the installation of window 10

    After the installation of window 10 my speakers to codec audio idt high definition stop working completely.please help me out of the this.thanks

    Try to update the drivers via windows update or hp support assistant. Headphones work?

  • HDTV display has stopped working after the installation of El Capitan

    After the upgrade to El Capitan, the already functional and unproblematic mirroring the display of my iMac OSX for Panasonic HD TV has stopped communicating and the TV screen is blank! There is no options available when you select Preferences / display. No settings have been changed for Mac or TV before too, or after the upgrade!

    Hello Macthewife,

    Thank you for using communities of Apple Support.

    I see after update to El Capitan, you have problems mirroring to a HD TV. I suggest the following article to ensure that it is configured correctly and in the "Get help" section, there are a few suggestions if this does not work properly after installation.

    Use AirPlay to view a video of your Mac on a HDTV

    Best regards.

  • Speakers have stopped working after the flash BIOS updated for Windows 8

    I had recently changed the OS of my HP Pavilion dm4t-2000 for Windows 8. After that an update of the BIOS flash me suggested by HP Support Assistant, speakers have stopped working. I tried to reinstall the Audio Codec, but it does not work. Could someone help me please?

    jaikvk,

    Go into Device Manager and uninstall the sound and restart the computer. This will reinstall the driver once more.

    Also, it could be a bad installation of the BIOS; You can go to HP.com and re download the update of the BIOS.

    Let me know if it helps.

  • My device audio stop working after the installation of update security for Windows 7 for x 64-based systems (KB2286198)

    Hi, since Windows Update automatically installed this patch my audio device stop working. It does not appear in Device Manager. I've restored the system to a previous point and works now. I have disabled the automatic updates of Windows, but I really appreciate if Microsoft Support could check this because at some point, I will need to continue the update of Windows (because of several security mistakes!).

    Thank you!

    I restore my system to an earlier point and did not work! After several hours of searching for a solution in the web I realized that (fortunately!) I had a copy of the registration precedent and do a comparison, I noticed that some missing case book lines:

    In

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HDAUDIO\FUNC_02 & VEN_14F1 & DEV_5051 & SUBSYS_103C30D6 & REV_1000\4 & 38993660 & 0 & 0002\

    The 'Control' key with a string value 'ActiveService "=' Modem' was absent.

    Also in

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HDAUDIO\FUNC_01 & VEN_14F1 & DEV_5051 & SUBSYS_103C30D6 & REV_1000\4 & 38993660 & 0 & 0001

    I added a 'Control' button with a string value "ActiveService" is"ksthunk".

    Finally, I restart my system and Windows again recognizes my camera and the driver installed!

    Of course this solution depends on the machine you have. I have a HP Pavilion dv2000 with Conexant High Definition SmartAudio 221.

    I hope this helps someone!

    NOW I'M GOING TO TURN OFF WINDOWS UPDATES!

Maybe you are looking for