Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2667 closed defect (duplicate)

#7230 Internal cardreader NEEDINIT (no entitlements)

Reported by: npj0808 Owned by: parasol
Priority: critical Component: Reader
Severity: high Keywords:
Cc: Sensitive: no

Description

Revision

<7230>

Issue Description

<no entitlements on et9000>

When the issue occurs

<after 7229>

Sorry i have no log file again !!

Change History (7)

comment:1 by theparasol, 12 years ago

We got this ticket before the same answer as before...: Clarketech needs to change their internal readercode.

Version 0, edited 12 years ago by theparasol (next)

comment:2 by theparasol, 12 years ago

Resolution: wontfix
Status: newclosed

comment:3 by npj0808, 12 years ago

Resolution: wontfix
Status: closedreopened

Sorry fix are not working !! and what i want to ask an Clarktech??

I become also no ATR !!!! anymore !!

comment:4 by theparasol, 12 years ago

Resolution: duplicate
Status: reopenedclosed

comment:5 by ajeeb, 12 years ago

yes also 7231 !!! I go back to 6xxxx ! plz fix that

comment:6 by Deas, 12 years ago

can you read? this is a driver issue. so use openpli 3.0 image as posted by kalehrl or open a bug report with the vendor. this is not an oscam issue. and no stop replying in closed tickets. if you want to discuss this issue open a thread in the forum!

comment:7 by littlesat, 12 years ago

This is not a driver issue... This is a Oscam bug...

Not having looked at the code, only browsing through the discussion in the ticket, the solution when EAGAIN occurs seems to be to go back into the poll/select loop, instead of having a tight loop around the read.

EAGAIN = EWOULDBLOCK, which indicates "I have no data, I would block if I were in blocking mode".

And "no data" could of course still be "no data" after an infinite number of retries.

Going back to the poll/select would probably show the filedescriptor is no longer readable.


Note that EAGAIN is not the same as EINTR.

EINTR requires just the interrupted call to be restarted.
For EAGAIN, when it occurs in a read, it would not be a very good idea to just keep restarting the system call.

Note: See TracTickets for help on using tickets.