SPCA506 vs. OpenSuSE 10.2

Fórumok

Hali!

A fent említett típusú USB-s tv-tunerem van, ezt szeretném megbikázni. Keresgettem, le is töltöttem hozzá egy gspca és egy spca5xx modult. a gspca szépen lefordult, azonban a spca5xx nem, az alábbi hibával leáll:

Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/spca5xx-v4l1goodbye CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules
CC [M] /usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2394: error: implicit declaration of function ‘video_devdata’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2394: warning: initialization makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2399: error: implicit declaration of function ‘video_get_drvdata’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2399: warning: initialization makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_close’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2489: warning: initialization makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_do_ioctl’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:2549: warning: initialization makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_ioctl’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3093: error: implicit declaration of function ‘video_usercopy’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3112: warning: initialization makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3211: warning: initialization makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: At top level:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3263: error: variable ‘spca50x_template’ has initializer but incomplete type
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: error: unknown field ‘owner’ specified in initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: warning: excess elements in struct initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3264: warning: (near initialization for ‘spca50x_template’)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: error: unknown field ‘name’ specified in initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: warning: excess elements in struct initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3265: warning: (near initialization for ‘spca50x_template’)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: error: unknown field ‘type’ specified in initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: warning: excess elements in struct initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3266: warning: (near initialization for ‘spca50x_template’)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: error: unknown field ‘hardware’ specified in initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: warning: excess elements in struct initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3267: warning: (near initialization for ‘spca50x_template’)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: error: unknown field ‘fops’ specified in initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: warning: excess elements in struct initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3268: warning: (near initialization for ‘spca50x_template’)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: error: unknown field ‘release’ specified in initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: error: ‘video_device_release’ undeclared here (not in a function)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: warning: excess elements in struct initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3270: warning: (near initialization for ‘spca50x_template’)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: error: unknown field ‘minor’ specified in initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: warning: excess elements in struct initializer
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3272: warning: (near initialization for ‘spca50x_template’)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘cd_to_spca50x’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3340: error: implicit declaration of function ‘to_video_device’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3340: warning: initialization makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3341: warning: return makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca50x_create_sysfs’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:3450: error: implicit declaration of function ‘video_device_create_file’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5509: error: implicit declaration of function ‘video_device_alloc’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5509: warning: assignment makes pointer from integer without a cast
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5512: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5514: error: dereferencing pointer to incomplete type
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5516: error: implicit declaration of function ‘video_set_drvdata’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: implicit declaration of function ‘video_register_device’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: (Each undeclared identifier is reported only once
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: for each function it appears in.)
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5550: error: dereferencing pointer to incomplete type
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5551: error: implicit declaration of function ‘video_device_release’
/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5553: error: implicit declaration of function ‘video_unregister_device’
make[4]: *** [/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.o] Error 1
make[3]: *** [_module_/usr/src/spca5xx-v4l1goodbye] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make: *** [default] Error 2

Néztem a readme-t, azt írja, hogy szüksége van a v4l és usbcore modulokra. Megnéztem, benne vannak modulárisan a kernelbe, ígyhát modprobe videodev és modprobe usbcore. Próbáltam, a hiba megint ugyanez. A kernel-source, kernel-header, v4l, v4l-tools fent van, modulok betöltve.... Miért nem fordul le? :s

Hozzászólások

for kernel below 2.6.11: spca5xx version 0.60.00-1

Nem támogatott csak a 2.6.11-es kernelig bezárólag. Az új gspca váltja ki a régi spca506-ot. Ha lefordult a gspca akkor minek erőlteted a régit?

--
A nyúl egy igazi jellem. Ott ül a fűben, de akkor sem szívja!

Magyarul a gspca kiváltja a spca5xx-et? Az lefordult, be is van töltve a modul... Akkor hogy tudom életre kelteni? Most így hirtelen a kdetv-vel próbáltam, és nem látja...

-----------------------------------------------------------------------------
OpenSuSE 10.2, Celeron 2,4Ghz, 768MB, 2*160GB ide raid0, FX5200, SBLive! E400

Na várj, most a beállításoknál elindítottam a Video4Linux modult (csak a video4linux2 volt elindítva), és mostmár látja.... Bár kép egyenlőre nem sok van... :)
-----------------------------------------------------------------------------
OpenSuSE 10.2, Celeron 2,4Ghz, 768MB, 2*160GB ide raid0, FX5200, SBLive! E400

Valami még csak nem 100%-os, mert csatornát keresni nem hajlandó (automata), ha manuálisan csinálom meg nem jön be semmi....
-----------------------------------------------------------------------------
OpenSuSE 10.2, Celeron 2,4Ghz, 768MB, 2*160GB ide raid0, FX5200, SBLive! E400

Valakinek valami ötlet? Mert még mindig nem megy... Olvastam olyat is, hogy még az alábbi modulokat is fel kell rakni:
1 ) Xawtv
2 ) libdv
3 ) tv-common
4 ) pia
5 ) libraw1394
6 ) libavc1394
7 ) tv-fonts
8 ) libquicktime
Egy része fent volt, ami nem azt felraktam, biztos ami biztos alapon, amelyiknek van devel csomagja, még azt is, újrafordítottam a gspca-t de még most sem tudok semmi csatornát befogni. Az automata keresés le van tiltva, ha manuálisan léptetem, úgyse jön semmi.
Már az is eszembe jutott, hogy ennek nincs-e valami firmware fájla, amit be kell másolni (egy pár hete emiatt szívtam egy linksys wifi karival), de nincs, és ahogy a neten keresgéltem nem is kell neki....
-----------------------------------------------------------------------------
OpenSuSE 10.2, Celeron 2,4Ghz, 768MB, 2*160GB ide raid0, FX5200, SBLive! E400

Format unsupported.... :((((((((((((((
http://hnsz.uw.hu/2.png

[szerk] Na, pont nem látszik a snapshot-on az OSD felirat:
Format unsupported by Intel PC Camera Pro
A rögzítőeszköz (/dev/video0) megnyitása sikertelen

Nincs jel, nincs videóforrás...
:(

-----------------------------------------------------------------------------
OpenSuSE 10.2, Celeron 2,4Ghz, 768MB, 2*160GB ide raid0, FX5200, SBLive! E400

Hát, igen, az ilyen kék háttér nem sok jót jelent, ha "kásás" képed lesz, akkor kezdhetsz kicsit örülni. (Mondjuk a tvtime amúgy is kékre szűr, úhogy esse igaz.:))
Nekem egy Pinnacle USB izém van, gyakorlatilag használhatatlan lenne, ha nem videón keresztül használnám...
A hangot dd-zni köllene a dsp1-ről, az UHF-en adott kábelcsatornák meg nem műxenek csak zajosan, de úgyis mindig videón keresztül használtam a PCI-ost is, így legalább a hangot is direktbe nyomom a microfonbemenetbe, oszt kalap.
Egy dolognak örülök csak, ez a tuner Win alatt is ugyanilyen (sőt) sz@r...
(Uccsó Pinnacle termék amit megvettem.)

Ja, van egy olyan XP amin próbáltam, a saját szoftvere egyszerűen nem műxik, Dscalerrel meg jó...
Ugyanúgy Vistán is használhatatlan a Pinnacle szoftvere.

Nekem a webcam-em van ezzel a modullal meghajtva. Regebb (ugy emlekszem freespire 1.2.24 et hasznalva) meg az spca5xx modult hasznaltam. Majd atterve ubuntura ez nem volt jo neki es ha jol emlekszem olvastam valamit a neten hogy az spca5xx et a gspca helyettesiti (vagyis nevvaltoztatas tortent) es persze a modul telepitese utan ment is a webcam.

Szoval szerintem ne probalkozz az spca5xx el mert ha megy a device ezzel a modullal akkor mennie kell a gspca val, ha nem megy akkor valoszinuleg az spca5xx el sem fog menni.

itt egy utbaigazito link ... nem akarlak felrevezetni de en valahogy igy ertelmezem.
http://lists.alioth.debian.org/pipermail/pkg-spca5xx-devel/2006-Septemb…

UI a spca5xx nekem sem fordul le ubuntu 7.04 alatt csak a gspca.
--
The worst or stupidest ideas are always the most popular.

/usr/src/spca5xx-v4l1goodbye/drivers/usb/spca5xx.c:5521: error: ‘VFL_TYPE_GRABBER’ undeclared (first use in this function)

Kernelheader szar, kernel-spca5xx verzio inkompatibilitas, API breakage, szar kod, ezek kozul valamelyik, bar ha engem kerdezel akkor mind.

OK, arra már rájöttem, hogy az spca5xx nem jó, mert ezzel a kernellel már nem működik... A gspca viszont fent van, mostmár csak az akérdés, hogy miért nem megy a keresés.

-----------------------------------------------------------------------------
OpenSuSE 10.2, Celeron 2,4Ghz, 768MB, 2*160GB ide raid0, FX5200, SBLive! E400

Ja, az nem tudom mennyit jelent, de aki nem tudná, ez rádiótuner is egyben. Most jutott eszembe... És a KRadio sem működik, kiválasztom eszköznek a /dev/video0-t, alapból a 88Mhz-en van, sistereg --> OK. De abban a pillanatban, hogy itt is arráb viszem, felugrik a debug ablak, és megállás nélkül nyomja a hibaüzit, amíg ki nem lépek:
2007-06-18T22:38:38 logging started
2007-06-18T22:38:42 V4LRadio::readTunerInfo: cannot get tuner info (error -1)
2007-06-18T22:38:42 V4LRadio::updateAudioInfo: error updating radio audio info (write): -1
2007-06-18T22:38:42 V4LRadio::updateAudioInfo: error updating radio audio info (read): -1
2007-06-18T22:38:42 V4LRadio::readTunerInfo: cannot get tuner info (error -1)
2007-06-18T22:38:42 V4LRadio::updateAudioInfo: error updating radio audio info (read): -1
2007-06-18T22:38:44 V4LRadio::readTunerInfo: cannot get tuner info (error -1)
2007-06-18T22:38:44 V4LRadio::updateAudioInfo: error updating radio audio info (read): -1
2007-06-18T22:38:44 V4LRadio::readTunerInfo: cannot get tuner info (error -1)
2007-06-18T22:38:44 V4LRadio::updateAudioInfo: error updating radio audio info (read): -1
2007-06-18T22:38:44 V4LRadio::readTunerInfo: cannot get tuner info (error -1)
2007-06-18T22:38:44 V4LRadio::updateAudioInfo: error updating radio audio info (read): -1
2007-06-18T22:38:45 V4LRadio::readTunerInfo: cannot get tuner info (error -1)
2007-06-18T22:38:45 V4LRadio::updateAudioInfo: error updating radio audio info (read): -1
2007-06-18T22:38:45 V4LRadio::readTunerInfo: cannot get tuner info (error -1)
2007-06-18T22:38:45 V4LRadio::updateAudioInfo: error updating radio audio info (read): -1
2007-06-18T22:38:45 V4LRadio::readTunerInfo: cannot get tuner info (error -1)
2007-06-18T22:38:45 V4LRadio::updateAudioInfo: error updating radio audio info (read): -1
2007-06-18T22:38:46 V4LRadio::readTunerInfo: cannot get tuner info (error -1)

És ezt az utolsó két üzit darálja kilépésig... :(
Nem lehet, hogy a rádió része miatt kell neki valami kiegészítő, vagy speckó modul, és az kavar az egészbe?

-----------------------------------------------------------------------------
OpenSuSE 10.2, Celeron 2,4Ghz, 768MB, 2*160GB ide raid0, FX5200, SBLive! E400