penwest 사의 usb 캠을 리눅스에 설치하는 법 아시는 분 있으십

tough923의 이미지

penwest 사의 usb 캠을 리눅스에 설치하는 법 아시는 분 있으십니까?
참고로 전 리눅스 초짜 입니다.

lsusb를 쳐 보면 이렇게 나옵니다.
Bus 002 Device 002: ID 0ac8:301b
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 255 Vendor Specific Class
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0ac8
idProduct 0x301b
bcdDevice 1.00
iManufacturer 1 Z-Star Corp.
iProduct 2 PC Camera
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 193
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
MaxPower 160mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
여기에 관한 드라이버가 존재해서 다운 받았습니다. mxhaard.free.fr/download.html

그런데 문제가 make 를 하니 에러가 뜹니다.
내용
............................
............................
..............................
/lib/modules/2.4.20-8/build/include/asm/uaccess.h:603: error: `clear_user_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/asm/uaccess.h:603: warning: function declaration isn't a prototype
/lib/modules/2.4.20-8/build/include/asm/uaccess.h:604: error: `__clear_user_R_ver_str' declared as function returning a function
/lib/modules/2.4.20-8/build/include/asm/uaccess.h:604: warning: parameter names
(without types) in function declaration
In file included from /lib/modules/2.4.20-8/build/include/linux/poll.h:10,
from /lib/modules/2.4.20-8/build/include/linux/videodev.h:21,
from drivers/usb/spca50x.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.20-8/build/include/linux/mm.h: In function `__vma_unlink':
/lib/modules/2.4.20-8/build/include/linux/mm.h:664: warning: implicit declaration of function `rb_erase_Rda226a80'
In file included from /lib/modules/2.4.20-8/build/include/linux/videodev.h:22,
from drivers/usb/spca50x.h:12,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.20-8/build/include/linux/devfs_fs_kernel.h: In function `devfs_unregister_chrdev_R77f3e0ce':
/lib/modules/2.4.20-8/build/include/linux/devfs_fs_kernel.h:256: warning: implicit declaration of function `unregister_chrdev_Rc192d491'
/lib/modules/2.4.20-8/build/include/linux/devfs_fs_kernel.h: In function `devfs_unregister_blkdev_R5ca0f0f0':
/lib/modules/2.4.20-8/build/include/linux/devfs_fs_kernel.h:260: warning: implicit declaration of function `unregister_blkdev_Reac1c4af'
In file included from drivers/usb/spca50x.h:14,
from drivers/usb/spcadecoder.h:5,
from drivers/usb/spcadecoder.c:35:
/lib/modules/2.4.20-8/build/include/linux/usb.h: In function `wait_ms':
/lib/modules/2.4.20-8/build/include/linux/usb.h:149: warning: implicit declaration of function `schedule_timeout_R17d59d01'
/lib/modules/2.4.20-8/build/include/linux/usb.h: In function `usb_make_path':
/lib/modules/2.4.20-8/build/include/linux/usb.h:935: warning: implicit declaration of function `snprintf_R025da070'
make: *** [drivers/usb/spcadecoder.o] 오류 1

lsmod 하면...
Module Size Used by Not tainted
i810_audio 27720 0 (autoclean)
ac97_codec 13640 0 (autoclean) [i810_audio]
soundcore 6404 2 (autoclean) [i810_audio]
usb-storage 69332 0
scsi_mod 107160 1 [usb-storage]
ide-cd 35708 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
3c59x 30704 1
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
usbcore 78784 1 [usb-storage hid usb-uhci]
ext3 70784 1
jbd 51892 1 [ext3]

이렇게 나옵니다.

참고로 다운 받은 드라이버의 INSTALL내용은
Module compile outside the kernel tree but need the source of your running
kernel installed .
be sure your kernel include usb and v4l stuff
Kernel 2.4.x
configure your kernel
make dep
go to the spca5xx directories
make clean (to be sure)
make
if all goes right as root :
make install
이렇습니다.

별짓 다 해봤습니다. gcc컴파일러 3.3.5로 테스트 해놨다고 해서 gcc까지 업글했는데도 안됩니다.

penwest사 꺼는 리눅스에서 기본으로 지원을 안해줘서 해당드라이버를 받아 모듈로 만들어야 하는데 에러만 나니....

make하는 것과 커널컴파일 설정부분에도 많은 관련이 있는지요...

해결 방법이 뭘까요....ㅠ.ㅠ 3일째 이러고 있습니다.

답변 바랍니다요~~~~

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.