diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2011-03-03 16:09:07 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2011-03-03 16:09:07 +0100 |
| commit | d0380b44396cbcd497f42eb0047b58b309596007 (patch) | |
| tree | 151ef6eac784a3fb26b1090daa93cd84d330917c /lib/dvb/frontend.cpp | |
| parent | 4a3df90cd255278dc238f6bf15040f02e0fec8f3 (diff) | |
| parent | ebc557a0311087e573d497fb454e3a94d24cdbe0 (diff) | |
| download | enigma2-d0380b44396cbcd497f42eb0047b58b309596007.tar.gz enigma2-d0380b44396cbcd497f42eb0047b58b309596007.zip | |
Merge branch 'obi/master'
Diffstat (limited to 'lib/dvb/frontend.cpp')
| -rw-r--r-- | lib/dvb/frontend.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp index ea9e7385..b5de46c9 100644 --- a/lib/dvb/frontend.cpp +++ b/lib/dvb/frontend.cpp @@ -1860,11 +1860,11 @@ int eDVBFrontend::tuneLoopInt() // called by m_tuneTimer int slotid = sec_fe->m_slotid; // FIXMEEEEEE hardcoded i2c devices for dm7025 and dm8000 if (slotid < 2) - sprintf(dev, "/dev/i2c/%d", slotid); + sprintf(dev, "/dev/i2c-%d", slotid); else if (slotid == 2) - sprintf(dev, "/dev/i2c/2"); // first nim socket on DM8000 use /dev/i2c/2 + sprintf(dev, "/dev/i2c-2"); // first nim socket on DM8000 use /dev/i2c-2 else if (slotid == 3) - sprintf(dev, "/dev/i2c/4"); // second nim socket on DM8000 use /dev/i2c/4 + sprintf(dev, "/dev/i2c-4"); // second nim socket on DM8000 use /dev/i2c-4 int fd = ::open(dev, O_RDWR); unsigned char data[2]; |
