View previous topic :: View next topic |
Author |
Message |
dritan Apprentice
Joined: 01 Feb 2006 Posts: 210 Location: New York
|
Posted: Sun Sep 10, 2006 11:11 am Post subject: webcam problem |
|
|
hi all, i recently got a Z-Link QB320 webcam from a friend, but i cant get it working on my gentoo, i have V4L (with basically all the kernel supported devices) built into the kernel and emerged most of the webcam related buids like camstream camE etc.
i have absolutly no experience with webcams on gentoo before, according to the webcam wiki, there should be a /dev/video0 device but its not there.
here is my lsusb output
Code: | localhost dritan # lsusb
Bus 001 Device 007: ID eb1a:2800 eMPIA Technology, Inc. Terratec Cinergy 200
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 413c:3010 Dell Computer Corp. Optical Wheel Mouse
|
the webcam is the eb1a:2800 entry. i dont think this camera is supported under linux since my kernel (beyond-dev-2.6.17-git2) did not react to it, but i have the windows drivers and i remember before when trying to fix wireless there was a way of making use of a windows driver on linux, is that applicable here?
Thanks in advance
Dritan _________________ Regards,
Dritan
Please try to help answer the unanswered |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
|
Back to top |
|
|
dritan Apprentice
Joined: 01 Feb 2006 Posts: 210 Location: New York
|
Posted: Sun Sep 10, 2006 1:09 pm Post subject: |
|
|
thanks for the quick reply keyson,
so i built the em2800 module into the kernel but whenever i try to access the webcam via any program that program will hang, i do have a new entry however at /dev/v4l/video0, the dmesg output when i plug the camera in says this:
Code: | [ 503.676777] em28xx new video device (eb1a:2800): interface 0, class 255
[ 503.676782] em28xx #0: Alternate settings: 4
[ 503.676784] em28xx #0: Alternate setting 0, max size= 0
[ 503.676786] em28xx #0: Alternate setting 1, max size= 644
[ 503.676788] em28xx #0: Alternate setting 2, max size= 1288
[ 503.676790] em28xx #0: Alternate setting 3, max size= 2580
[ 503.676793] em28xx #0: Your board has no eeprom inside it and thus can't
[ 503.676794] em28xx #0: be autodetected. Please pass card=<n> insmod option to
[ 503.676796] em28xx #0: workaround that. Redirect complaints to the vendor of
[ 503.676797] em28xx #0: the TV card. Generic type will be used.em28xx #0: Best regards,
[ 503.676798] em28xx #0: -- tux
[ 503.676801] em28xx #0: em28xx #0: Here is a list of valid choices for the card=<n> insmod option:
[ 503.676804] em28xx #0: card=0 -> Unknown EM2800 video grabber
[ 503.676805] em28xx #0: card=1 -> Unknown EM2820/2840 video grabber
[ 503.676807] em28xx #0: card=2 -> Terratec Cinergy 250 USB
[ 503.676809] em28xx #0: card=3 -> Pinnacle PCTV USB 2
[ 503.676811] em28xx #0: card=4 -> Hauppauge WinTV USB 2
[ 503.676813] em28xx #0: card=5 -> MSI VOX USB 2.0
[ 503.676815] em28xx #0: card=6 -> Terratec Cinergy 200 USB
[ 503.676817] em28xx #0: card=7 -> Leadtek Winfast USB II
[ 503.676818] em28xx #0: card=8 -> Kworld USB2800
[ 503.676820] em28xx #0: card=9 -> Pinnacle Dazzle DVC 90
[ 503.676822] em28xx #0: card=10 -> <NULL>
[ 503.676826] em28xx #0: card=11 -> <NULL>
[ 503.676828] em28xx #0: card=12 -> Kworld PVR TV 2800 RF
[ 503.796116] em28xx #0: AC97 command still being executed: not handled properly!
[ 503.835981] em28xx #0: AC97 command still being executed: not handled properly!
[ 505.615719] em28xx #0: AC97 command still being executed: not handled properly!
[ 505.655836] em28xx #0: AC97 command still being executed: not handled properly!
[ 505.995677] registered VBI
[ 506.015472] em28xx #0: V4L2 device registered as /dev/video0 and /dev/vbi0
[ 506.015476] em28xx #0: Found Unknown EM2800 video grabber
|
i assume mine is card=6, so can i built it as a module and try: Code: | card=6 modprobe em28xx or em2800 |
or is there any better/easier way to work around this problem?
thanks again. _________________ Regards,
Dritan
Please try to help answer the unanswered |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Sun Sep 10, 2006 1:53 pm Post subject: |
|
|
Yes build it as module and do a
modprobe em28xx card=6 |
|
Back to top |
|
|
dritan Apprentice
Joined: 01 Feb 2006 Posts: 210 Location: New York
|
Posted: Sun Sep 10, 2006 2:57 pm Post subject: |
|
|
alright, so i built it as a module and when i tried modprobe i get nothing, seems like the console just dies there, so i checked the dmesg and i found this at the end, i tried both insmod and modprobe with and without the card=6 option but the output was the same:
Code: |
Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
<ffffffff80245d83>{m_show+114}
PGD 3bbd0067 PUD 3a788067 PMD 0
Oops: 0000 [1] SMP
CPU 0
Modules linked in: fglrx tda9887 tuner em28xx ir_common tveeprom
Pid: 6867, comm: modprobe Tainted: P 2.6.17-beyond-git2 #6
RIP: 0010:[<ffffffff80245d83>] <ffffffff80245d83>{m_show+114}
RSP: 0018:ffff81003af07e98 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff81003b269fff RDI: ffff81003b269017
RBP: ffffffff880a6dc0 R08: 00000000fffffff3 R09: ffff81003af07cc8
R10: 000000000000000a R11: 0000000000000000 R12: ffff81003d309b40
R13: 0000000000000400 R14: 0000000000000000 R15: 00002afbbdc5b000
FS: 00002afbbe0c2ae0(0000) GS:ffffffff8080a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 000000003bbeb000 CR4: 00000000000006e0
Process modprobe (pid: 6867, threadinfo ffff81003af06000, task ffff81003d666480)
Stack: ffff81003d309b40 ffffffff880a6dc8 00000000880a6dc8 ffffffff8028f2bc
ffff81003af07f50 ffff81003e2f2480 ffff81003d309b70 0000000000000001
0000000000000000 ffff81003e2f2480
Call Trace: <ffffffff8028f2bc>{seq_read+261} <ffffffff80273056>{vfs_read+170}
<ffffffff80273432>{sys_read+69} <ffffffff80209696>{system_call+126}
Code: 48 8b 03 0f 18 08 48 8d 85 80 11 00 00 48 39 c3 75 cd 83 bd
RIP <ffffffff80245d83>{m_show+114} RSP <ffff81003af07e98>
CR2: 0000000000000000
|
it says unable to handle kernel null pointer dereference, is there any other konfig in the kernel that i shoud (or shouldn't) have enabled? thanks.
EDIT: i just found out that after awhile (maybe 5min) i can ctrl+C and abort the hung modprobe command, but its the same on second try _________________ Regards,
Dritan
Please try to help answer the unanswered |
|
Back to top |
|
|
keyson l33t
Joined: 10 Jun 2003 Posts: 830 Location: Sweden
|
Posted: Sun Sep 10, 2006 4:44 pm Post subject: |
|
|
Hm.
Did you reboot befor trying the module ?
It seems to have worked when you hade it in the kernel.
So it should work as a module. But if you run the kernel
with the build in driver and try to load one it would fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|