Author Topic: Multimedia video controller: Techwell Inc. Device 6800 -- Solved  (Read 3564 times)

Offline macuira

  • Full Member
  • ***
  • Posts: 130
  • every bullet is lost
I need a hand on this
I have a video surveillance card which is recognized as "Multimedia video controller: Techwell Inc. Device 6800 (rev 11)"
Searching the web I found the driver needed in this page http://gitorious.org/tw68/tw68-v2/trees/master
But this is as far as I can get, don't know what I need to download from this page, and even worst how to compile the driver into the kernel as adviced here http://www.zoneminder.com/forums/viewtopic.php?t=14588&highlight=techwell+6800

Quote
Well, all the glory must go to Domenico Andreoli.
He developed the needed driver.
See: http://gitorious.org/~cavok/tw68/cavok-sandbox/trees/master

Caution, as far as I know, this works only with kernel 2.6.29 and 2.6.30

Hope it helps!


Hope someone could help me get this card work in PCLinuxOS 2010 fully updated

Quote
[rafa@localhost ~]$ uname -r
2.6.32.11-pclos2.bfs
« Last Edit: June 19, 2010, 01:08:10 PM by macuira »

Offline tj_fredo

  • Sr. Member
  • ****
  • Posts: 268
Re: Multimedia video controller: Techwell Inc. Device 6800
« Reply #1 on: June 16, 2010, 06:41:55 PM »
download the driver from here:http://gitorious.org/tw68/tw68-v2/trees/master
by clickin on ¨download master as tar.gz¨
untar the file(decompress)
from the uncompressed folder open the konsole(press f4)
type make
youll get something similar to this:
Code: [Select]
[user@localhost tw68-tw68-v2]$ make
make -C /lib/modules/2.6.33.5-pclos1.pae/build M=/home/user/Downloads/tw68-tw68-v2 modules
make[1]: Entering directory `/usr/src/kernel-devel-2.6.33.5-pclos1.pae'
  CC [M]  /home/user/Downloads/tw68-tw68-v2/tw68-core.o
/home/user/Downloads/tw68-tw68-v2/tw68-core.c: In function ‘tw68_initdev’:
/home/user/Downloads/tw68-tw68-v2/tw68-core.c:708: warning: ‘DMA_nnBIT_MASK’ is deprecated
  CC [M]  /home/user/Downloads/tw68-tw68-v2/tw68-cards.o
  CC [M]  /home/user/Downloads/tw68-tw68-v2/tw68-video.o
  CC [M]  /home/user/Downloads/tw68-tw68-v2/tw68-vbi.o
  CC [M]  /home/user/Downloads/tw68-tw68-v2/tw68-ts.o
  CC [M]  /home/user/Downloads/tw68-tw68-v2/tw68-risc.o
  CC [M]  /home/user/Downloads/tw68-tw68-v2/tw68-tvaudio.o
  LD [M]  /home/user/Downloads/tw68-tw68-v2/tw68.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/user/Downloads/tw68-tw68-v2/tw68.mod.o
  LD [M]  /user/user/Downloads/tw68-tw68-v2/tw68.ko
make[1]: Leaving directory `/usr/src/kernel-devel-2.6.33.5-pclos1.pae'
[user@localhost tw68-tw68-v2]$ ^C
[user@localhost tw68-tw68-v2]$ cd /home/user/Downloads
[user@localhost Downloads]$ ^C
[user@localhost Downloads]$ cd /home/user/Downloads/tw68-tw68-v2                               
[user@localhost tw68-tw68-v2]$

this will generate the tw68.ko and tw68.mod.o

You have to copy tw68.ko to /lib/modules/ "current kernel" /kernel/ (as root)

hope this helps  :)


Offline macuira

  • Full Member
  • ***
  • Posts: 130
  • every bullet is lost
Re: Multimedia video controller: Techwell Inc. Device 6800
« Reply #2 on: June 18, 2010, 07:53:01 AM »
Thanks TJ, I downloaded the file and did follow the makefile suggestions, prior to installing I tested the driver with make insmod and make run to see if it worked. It's installed and I'm struggling with zoneminder now.

Offline tj_fredo

  • Sr. Member
  • ****
  • Posts: 268
Re: Multimedia video controller: Techwell Inc. Device 6800
« Reply #3 on: June 18, 2010, 10:53:56 AM »
.....I downloaded the file and did follow the makefile suggestions, prior to installing I tested the driver with make insmod and make run to see if it worked. It's installed and I'm struggling with zoneminder now.

maybe you already did it; zoneminder is in the repos (synaptic)install it from there  ;)
guess the next step is to make sure the driver is loaded for the card to be recognized.

Offline macuira

  • Full Member
  • ***
  • Posts: 130
  • every bullet is lost
Re: Multimedia video controller: Techwell Inc. Device 6800
« Reply #4 on: June 19, 2010, 01:07:15 PM »
Yes I have installed zoneminder already, the capture card is recognized as TV card using the tw68 driver, so far so good, but I haven't been able to get any picture in zoneminder  ???, reading lots of posts in zoneminder forums. so as long as this topic concerns I'm marking this as solved.

Thanks a lot