Moderator Control Panel ]

Installing 6984 in Fedora 18

Installing 6984 in Fedora 18

Postby pff » Tue Feb 12, 2013 2:45 am

I followed the README_TBS6981 for installing a TBS6984 because it seemed the closest one, after restart the card did not show up in dmesg.
Code: Select All Code
[root@luigi atbs]# ls
astra_scan-s2.conf  linux-tbs-drivers.tar.bz2  v4l-cx23885-avcore-01.fw
astra_szap-s2.conf  scan-s2.tar.bz2
linux-tbs-drivers   szap-s2.tar.bz2
[root@luigi atbs]# cd linux-tbs-drivers/
[root@luigi linux-tbs-drivers]# uname -a
Linux luigi.sharpyweb 3.7.6-201.fc18.x86_64 #1 SMP Mon Feb 4 15:54:08 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@luigi linux-tbs-drivers]# ./v4l/tbs-x86_64.sh
TBS drivers configured for x86_64 platform.
[root@luigi linux-tbs-drivers]# make && make install
make -C /home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l
make[1]: Entering directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l'
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l/firmware'
make[2]: Leaving directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l/firmware'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l/firmware'
Kernel build directory is /lib/modules/3.7.6-201.fc18.x86_64/build
make -C /lib/modules/3.7.6-201.fc18.x86_64/build SUBDIRS=/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l  modules
make[2]: Entering directory `/usr/src/kernels/3.7.6-201.fc18.x86_64'
  Building modules, stage 2.
  MODPOST 1 modules
make[2]: Leaving directory `/usr/src/kernels/3.7.6-201.fc18.x86_64'
./scripts/rmmod.pl check
found 1 modules
make[1]: Leaving directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l'
make -C /home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l install
make[1]: Entering directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l'
\nRemoving obsolete files from /lib/modules/3.7.6-201.fc18.x86_64/kernel/drivers/media/IR/keymaps:

\nRemoving obsolete files from /lib/modules/3.7.6-201.fc18.x86_64/kernel/drivers/media/video:

\nRemoving obsolete files from /lib/modules/3.7.6-201.fc18.x86_64/kernel/drivers/media/dvb/cinergyT2:

\nRemoving obsolete files from /lib/modules/3.7.6-201.fc18.x86_64/kernel/drivers/media/common:

\nRemoving obsolete files from /lib/modules/3.7.6-201.fc18.x86_64/kernel/drivers/media/dvb/frontends:

\nRemoving obsolete files from /lib/modules/3.7.6-201.fc18.x86_64/kernel/drivers/media/IR:

Installing kernel modules under /lib/modules/3.7.6-201.fc18.x86_64/kernel/drivers/media/:
/sbin/depmod -a 3.7.6-201.fc18.x86_64
make -C firmware install
make[2]: Entering directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l/firmware'
Installing firmwares at /lib/firmware: vicam/firmware.fw dabusb/firmware.fw dabusb/bitstream.bin ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin
make[2]: Leaving directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l/firmware'
make[1]: Leaving directory `/home/pff/Downloads/tbs-linux-drivers_v130127/atbs/linux-tbs-drivers/v4l'
[root@luigi linux-tbs-drivers]#


Code: Select All Code
after restarting:
[root@luigi linux-tbs-drivers]# dmesg | grep frontend
[root@luigi linux-tbs-drivers]# dmesg | grep DVB
[root@luigi linux-tbs-drivers]# lspci -v
04:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 02)
   Subsystem: Device 6984:0013
   Flags: bus master, fast devsel, latency 0, IRQ 15
   Memory at ff700000 (64-bit, non-prefetchable) [size=1M]
   Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
   Capabilities: [50] Express Endpoint, MSI 00
   Capabilities: [74] Power Management version 2
   Capabilities: [80] Vendor Specific Information: Len=50 <?>
   Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0 Len=088 <?>


is there a step that i'm missing out?
i cant see any errors during the make but the drivers obviously are not being loaded
thanks

also i found in the FAQ a suggestion to rm -rf and redo make && make install.
I tried that with a make clean as well and it still does not show up

i have dmesg / lspci log files but i cannot find an extension thats allowed to be posted....
pff
 
Posts: 5
Joined: Mon Feb 11, 2013 5:56 am

Re: Installing 6984 in Fedora 18

Postby updatelee » Tue Feb 12, 2013 3:03 am

Do you have the right TBS card selected in make menuconfig?

show the entire dmesg, pastebin.com works well for posting large logs.

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Installing 6984 in Fedora 18

Postby pff » Tue Feb 12, 2013 3:10 am

when am i supposed to do a make menuconfig?

this is the readme i have that i followed

Code: Select All Code
NOTE: this document assumes that all prerequisite packages like kerner headers
and build tools are already installed in your Linux system.

Most of the steps require root access to and basic knowledge of Linux system.

Create directory, for example /root/tbs and copy the following file to it:

- linux-tbs-drivers.tar.bz2 (S2API Linix driver for TurboSight TBS 6981)
- szap-s2.tar.bz2 (szap tool compatible with new DVB-S2 aware S2 API for Linux)
- scan-s2.tar.bz2 (scan tool compatible with new DVB-S2 aware S2 API for Linux)
- astra_szap-s2.conf (example configuration file for szap-s2)
- astra_scan-s2.conf (example configuration file for scan-s2)
- v4l-cx23885-avcore-01.fw (CX23885 AV core firmware, optional)

I.1 extract linux-tbs-drivers.tar.bz2 archive:

# tar xjvf linux-tbs-drivers.tar.bz2

I.2 go to driver package directory:

# cd linux-tbs-drivers

I.3 depending on your kernel version and if the kernel is x86 or
x86_64 (check output of 'uname -a') do:

- for x86 kernel 3.x (x86 32 bit installations of kernel 3.x):

# ./v4l/tbs-x86_r3.sh

- for x86 kernel 2.6.x (x86 32 bit installations of kernel 2.6.x):

# ./v4l/tbs-x86.sh

- for any x86_64 kernel (x86 64 bit installations of Linux):

# ./v4l/tbs-x86_64.sh

I.4 build and install the driver:

# make && make install

I.5 reboot in order to load the newly installed driver:

# shutdown -r now
pff
 
Posts: 5
Joined: Mon Feb 11, 2013 5:56 am

Re: Installing 6984 in Fedora 18

Postby pff » Tue Feb 12, 2013 3:37 am

pff
 
Posts: 5
Joined: Mon Feb 11, 2013 5:56 am

Re: Installing 6984 in Fedora 18

Postby pff » Tue Feb 12, 2013 8:14 am

ok, I was just doing

Code: Select All Code
make clean


between attempts. instead of an apparently necessary distclean.

the following worked if anyone is interested:

Code: Select All Code
make distclean
./v4l/tbs-x86_64.sh
make release
make menuconfig
make
make install


in the menuconfig i didn't bother doing anything, just exited and saved changes.

was i following the wrong readme file or something? the ones in the driver download dont seem to give very much away.

result:
Code: Select All Code
[root@luigi pff]# dmesg | grep dvb
[   12.912392] DVB: registering new adapter (SAA716x dvb adapter)
[   14.361733] DVB: registering new adapter (SAA716x dvb adapter)
[   14.413445] DVB: registering new adapter (SAA716x dvb adapter)
[   14.462360] DVB: registering new adapter (SAA716x dvb adapter)
[root@luigi pff]# dmesg | grep frontend
[   14.361474] DVB: registering adapter 0 frontend 0 (TurboSight TBS 6984 DVBS/S2 frontend)...
[   14.413235] DVB: registering adapter 1 frontend 0 (TurboSight TBS 6984 DVBS/S2 frontend)...
[   14.462067] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6984 DVBS/S2 frontend)...
[   14.512147] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6984 DVBS/S2 frontend)...
[root@luigi pff]#


thanks.
pff
 
Posts: 5
Joined: Mon Feb 11, 2013 5:56 am

Re: Installing 6984 in Fedora 18

Postby updatelee » Tue Feb 12, 2013 12:22 pm

So judging by your log its working now?
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Installing 6984 in Fedora 18

Postby cody » Tue Feb 12, 2013 8:00 pm

hmm, i don't see any mistake even in the first driver installation attempt - i mean you follow the READMEs by the letter and everything is properly done and that's why i have no idea why it failed, but reinstalling it second time seems to help - please, note that i doubt "make distclean" and "make release" made any difference - i believe just reinstalling it second time helped, but have no idea what caused the problem the first time.
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: Installing 6984 in Fedora 18

Postby pff » Tue Feb 12, 2013 11:16 pm

Hi guys,

I'm not sure about the real problem the first time around, the very first time i tried to run a make i think i had some permissions problems with the unzipped files.

I did a make clean, changed the permissions and redid the make.

To get a successful install i had to do a make distclean to properly restart the process.

I'm not sure if it was the permissions error or missing out the make menuconfig that was the issue in the first place.

Anyway it became obvious after seeing the make run sucessfully that previous attempts were not actually building any modules at all.
make install was running but it wasn't copying any files because none had been made.
pff
 
Posts: 5
Joined: Mon Feb 11, 2013 5:56 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest