Hello,

to prove that the problem comes from the test in file
hplip-0.9.9/io/hpiod/device.cpp at line 919, I commented the code:


 /* Make sure uri model still matches device id model. */
 pSys->GetURIModel(URI, uriModel, sizeof(uriModel));
 pSys->GetModel(ID, model, sizeof(model));
 //    if (strcmp(uriModel, model) != 0)
 //    {
 //       *result = R_INVALID_DEVICE_NODE;  /* found different device
plugged in */  
 //       syslog(LOG_ERR, "invalid model %s != %s Device::Open %s %d\n",
uriModel, model, __FILE__, __LINE__);
 //       goto blackout;
 //    }

 blackout:
    pthread_mutex_unlock(&mutex);


and know, it works...

So, somewhere "model" is uppercased or misread but I don't know why and
where, or "model" should be lowercased...



Thanks,
Laurent.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to