gfto / oscam

OSCam is an Open Source Conditional Access Module software. This repo is mirror of oscam SVN and my development area. The repo is synced with Oscam SVN every six hours.
http://www.streamboard.tv/oscam/
GNU General Public License v3.0
103 stars 67 forks source link

dvbapi: Check at least 8 adapters when detecting api. #7

Closed ljalves closed 10 years ago

ljalves commented 10 years ago

Hi, I have removed one (dual tuner) adapter from my pc. Since I use fixed adapter numbers, I ended up with: /dev/dvb/adapter2 /dev/dvb/adapter3

Then dvbapi stopped working because when detecting the api, it was only search for /dev/dvb/adapter0

This patch make the detection search at least the presence of 8 adapters. (tested and working)

gfto commented 10 years ago

Commited in 45b8675b965f9bc9dfde446669cb0763ef285512.

gfto commented 10 years ago

This commit breaks STAPI. See http://www.streamboard.tv/oscam/ticket/3489

ljalves commented 10 years ago

I'm sorry. Messed up when cleaning the code. I'll fix it soon.

ljalves commented 10 years ago

Fixed. Please pull. Thanks.

gfto commented 10 years ago

Commited in 1ff11a85ef5fb1f5a92a1abb8ff59524e689cdef.