Changeset 1653


Ignore:
Timestamp:
02/22/10 15:16:57 (11 years ago)
Author:
merek
Message:

Merge from UMP: dingo35 - Fix not found problem on Dbox2/multicam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/csctapi/icc_async.c

    r1601 r1653  
    7575
    7676    wr = 0;
    77     if (reader[ridx].typ <= R_MOUSE)   
    78         reader[ridx].handle = open (reader[ridx].device,  O_RDWR | O_NOCTTY| O_NONBLOCK);
    79         if (reader[ridx].handle < 0) {
    80             cs_log("ERROR opening device %s",reader[ridx].device);
    81             return ERROR;
    82         }
    8377
    8478    switch(reader[ridx].typ) {
    8579        case R_MOUSE:
     80            reader[ridx].handle = open (reader[ridx].device,  O_RDWR | O_NOCTTY| O_NONBLOCK);
     81            if (reader[ridx].handle < 0) {
     82                cs_log("ERROR opening device %s",reader[ridx].device);
     83                return ERROR;
     84            }
    8685            break;
    8786#if defined(TUXBOX) && defined(PPC)
    8887        case R_DB2COM1:
    8988        case R_DB2COM2:
     89            reader[ridx].handle = open (reader[ridx].device,  O_RDWR | O_NOCTTY| O_SYNC);
     90            if (reader[ridx].handle < 0) {
     91                cs_log("ERROR opening device %s",reader[ridx].device);
     92                return ERROR;
     93            }
    9094            if ((fdmc = open(DEV_MULTICAM, O_RDWR)) < 0) {
    9195                close(reader[ridx].handle);
Note: See TracChangeset for help on using the changeset viewer.