diff -ruN device/device.c device.mod//device.c
--- device/device.c 2012-04-29 19:00:52.000000000 +0200
+++ device.mod//device.c 2012-05-03 20:43:52.000000000 +0200
@@ -287,7 +287,7 @@
void cScDevices::DvbName(const char *Name, int a, int f, char *buffer, int len)
{
- snprintf(buffer,len,"%s%d/%s%d",DEV_DVB_ADAPTER,a,Name,f);
+ snprintf(buffer,len,"%s/%s%d/%s%d", DEV_DVB_BASE, DEV_DVB_ADAPTER,a,Name,f);
}
int cScDevices::DvbOpen(const char *Name, int a, int f, int Mode, bool ReportError)
diff -ruN device/device.h device.mod//device.h
--- device/device.h 2012-04-29 19:00:52.000000000 +0200
+++ device.mod//device.h 2012-05-03 20:42:06.000000000 +0200
@@ -30,7 +30,8 @@
// ----------------------------------------------------------------
#ifndef DEV_DVB_ADAPTER
-#define DEV_DVB_ADAPTER "/dev/dvb/adapter"
+#define DEV_DVB_BASE "/dev/dvb"
+#define DEV_DVB_ADAPTER "adapter"
#endif
#define DEV_DVB_FRONTEND "frontend"
#define DEV_DVB_DVR "dvr"