Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam!
czy udało się komus uruchomic tą kamerkę internetową na debianie? moze ktos bardziej zaawansowany pomoc, ja nie jestem sobie w stanie z tym poradzic?
Pozdrawiam,
Offline
najpierw kolego musisz miec to http://mxhaard.free.fr/download.html a dokladnie to Debian spca5xx na sidku jest dosc tego sporo najpierw sprawdz w swoim repo czy masz jak nie to sciągnij.
tu jest na zoomy opisy http://mxhaard.free.fr/sview.html a i teraz bedziesz instalował pod jajko modułki i usb i komplatory poczytaj 10 razy i pomysl 15 razy więc jedziemy
apt-get install build-essential linux-headers-`uname -r`
apt-get install gcc-3.4 lub wzaleznosci jakie tam gcc chcecie
teraz tego spca5xx musimy rospakowac robimy to tak
tar xvzf spca5xx-20060202.tar.gz
cd spca5xx-20060202 nie pacz na te numery bo mozesz mieć inne podaj swoje jaki śćiągłeś
export CC=gcc-3.4
make i blalabla
make install
REBOOT ufffff śmiga
A jak nie to tak
less /proc/version
# sudo apt-get install gcc-3.4
# CC=gcc-3.4
# export CC
uname -r
apt-get install build-essential linux-headers-2.6.12-9-386
czy jakis tam no wiesz oco chodzi
tar -zxvf spca5xx-2004107.tar.gz
ln -s /usr/include/linux /usr/src/linux
make clean
make
make install
modprobe spca5xx GRed=217 GBlue=300 GGreen=224 gamma=4
lsusb
apt-get install camorama
wszystkie dowiązania powinny wyglądać tak
/lib/modules/2.6.12-9-386/kernel/drivers/usb/media/spca5xx/spca5xx.ko
# sudo ln -s /lib/modules/2.6.12-9-386/kernel/drivers/usb/media/spca5xx.ko /lib/modules/2.6.12-9-386/kernel/drivers/usb/media/spca5xx/spca5xx.ko
mozna posprawdzać
lsusb
# modprobe usbcore
# modprobe usb-uhci OU #modprobe usb-ohci
jesli tam nie bedzie modulu usb pod kamerki to nihuhu
deb http://blognux.free.fr/debian unstable main do repo cz smignac
pod update
apt-get install linux-headers-`uname -r`
drjawerki
Spca
- Pwc
- Ov519
- Ov511
- Ov519
- Sqcam
jesli bedą sie miąchać nagłowki jaka mozna jeszcze zrobic to knifami takie jebniete obejscie
apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential gcc-3.4
tar xvfz spca5xx-20060101.tar.gz
cd spca5xx-20060101 make CC=gcc-3.4 modprobe -r spca5xx
rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*
make install
modprobe spca5xx
I to wszystko kwestia tu twoich kompilatorów gcc bo jam mam gcc4.1i gcc3.4
TO na tyle przyjemnej zabawy
Offline
wszystko wydaje sie byc ok, ale podczas make wywala mi takie cos
debian:~/Desktop/spca5xx-20060501# make Compiling drivers/usb/spca5xx.c In file included from /lib/modules/2.4.27-2-k7/build/include/linux/vmalloc.h:8, from drivers/usb/spca5xx.c:46: /lib/modules/2.4.27-2-k7/build/include/linux/highmem.h: In function `bh_kmap': /lib/modules/2.4.27-2-k7/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic drivers/usb/spca5xx.c: In function `spca50x_read_proc': drivers/usb/spca5xx.c:1096: error: structure has no member named `seq' drivers/usb/spca5xx.c: At top level: drivers/usb/spca5xx.c:150: warning: `bright' defined but not used drivers/usb/spca5xx.c:151: warning: `contrast' defined but not used make: *** [drivers/usb/spca5xx.o] Błąd 1
Dzieki za odzew.
Robert
Offline
sprawdzone odpowiedz na to
wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20050701.tar.gz
tar -xzf sp*.gz
rm sp*.gz
cd sp*
make
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=/home/macewan/spca5xx-20050701 modules
/usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: Entering directory `/usr/src/linux-headers-2.6.10-5-3866′
CC [M] /home/macewan/spca5xx-20050701/drivers/usb/spca5xx.o
/bin/sh: gcc: command not found
make[2]: *** [/home/macewan/spca5xx-20050701/drivers/usb/spca5xx.o] Error 127
make[1]: *** [_module_/home/macewan/spca5xx-20050701] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-5-3866′
make: *** [default] Error 2
sudo apt-get install gcc
make
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=/home/macewan/spca5xx-20050701 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.10-5-3866′
CC [M] /home/macewan/spca5xx-20050701/drivers/usb/spca5xx.o
CC [M] /home/macewan/spca5xx-20050701/drivers/usb/spcadecoder.o
LD [M] /home/macewan/spca5xx-20050701/spca5xx.o
Building modules, stage 2.
MODPOST
CC /home/macewan/spca5xx-20050701/spca5xx.mod.o
LD [M] /home/macewan/spca5xx-20050701/spca5xx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-5-3866′
sudo make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca50x.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/et61x.ko
install -c -m 0644 spca5xx.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae
lsmod
Offline
nie weszlo ci bo usb to sprawa dowiazania do jaja
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca50x.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/et61x.ko
install -c -m 0644 spca5xx.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae
lsmod
Offline
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00094 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.128.205.137' WHERE u.id=1 |
0.00065 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.128.205.137', 1738356789) |
0.00048 | SELECT * FROM punbb_online WHERE logged<1738356489 |
0.00051 | SELECT topic_id FROM punbb_posts WHERE id=41489 |
0.00099 | SELECT id FROM punbb_posts WHERE topic_id=5338 ORDER BY posted |
0.00057 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=5338 AND t.moved_to IS NULL |
0.00011 | SELECT search_for, replace_with FROM punbb_censoring |
0.00089 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=5338 ORDER BY p.id LIMIT 0,25 |
0.00084 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=5338 |
Total query time: 0.00612 s |