Opened 13 years ago
Closed 13 years ago
#1929 closed enhancement (fixed)
add "sleep" before activating reader
Reported by: | RoboSK | Owned by: | |
---|---|---|---|
Priority: | Please fill in | Component: | Reader |
Severity: | Please fill in | Keywords: | |
Cc: | robo.info.mail@… | Sensitive: | no |
Description
Reason for enhancement
into my configuration if oscam init two reader (same type) into "same" (init second reader short time after first) time then one fail - add config for "sleep" to every reader (default 0) fix this problem...
start oscam
sleep 0
init reader A (reader A have sleep 0)
sleep 5
init reader B (reader B have sleep 5)
http://oscam.ump2002.net/board/thread.php?threadid=8035
Possible impacts on other features
none
Attachments (1)
Change History (10)
comment:1 by , 13 years ago
Cc: | added |
---|
comment:2 by , 13 years ago
Cc: | removed |
---|
comment:3 by , 13 years ago
Cc: | added |
---|
comment:4 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 by , 13 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
i make "patch" for this, it works perfect (for me) but i im not "coder"...
comment:6 by , 13 years ago
Does it also happen if you have one reader in mouse mode and the other in smartreader mode or if you have both in mouse mode? I expect, that there's some thread locking missing in smartreader init code and so this sleep is only a workaround and not the correct solution.
comment:7 by , 13 years ago
hi, both is smargo in smartreader
[reader]
protocol = smartreader
device = 006:003
[reader]
protocol = smartreader
device = 007:002
and i not expected that it is oscam problem, if i make extra config for smargo-001 reader (dir 001) and for smargo-002 reader (dir 002) and start two oscam (with -c .../001/ & .../002/) into same time then one fail, if run with sleep then it is all ok...
edit: next weekend i try 1x smartmouse and 1x mouse mode...
invalid .. make correct startup script for start more oscams...