View previous topic :: View next topic |
Author |
Message |
diyu01 n00b
Joined: 04 Apr 2005 Posts: 15
|
Posted: Wed Aug 23, 2006 1:02 pm Post subject: What driver should I use for D-Link DSB110 webcam? |
|
|
Hi, I have a D-Link DSB110 webcam which is shown as "Chicony Twinklecam" when I run "lsusb", but I can't get my system to recognize it. I am currently using gentoo kernel 2.6.17r4 and I have built v4l2 as part of kernel (not module). I tried spca5xx (the ~x86 version), quickcam and sn9c102, none of them worked for the webcam, could you tell me what driver I should use for it, or is there some option that I should pass to some particular driver? Thanks! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54808 Location: 56N 3W
|
Posted: Wed Aug 23, 2006 2:19 pm Post subject: |
|
|
diyu01,
The brand names and product names don't help much.
We need its VendorID and DeviceID so we can tell what chip set it claims to to use.
You can find the info fromor by looking in /proc/bus/usb/devices. Th webcam needs to be connected. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
diyu01 n00b
Joined: 04 Apr 2005 Posts: 15
|
Posted: Thu Aug 24, 2006 1:05 am Post subject: |
|
|
Hi, lsusb resulted in
Bus 003 Device 002: ID 06a5:d800 Divio Chicony TwinkleCam
Thanks!
NeddySeagoon wrote: | diyu01,
The brand names and product names don't help much.
We need its VendorID and DeviceID so we can tell what chip set it claims to to use.
You can find the info fromor by looking in /proc/bus/usb/devices. Th webcam needs to be connected. |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54808 Location: 56N 3W
|
Posted: Thu Aug 24, 2006 11:49 pm Post subject: |
|
|
diyu01,
[url=http://www.brujula.net/soportelinux/doc/webcam/ov511cameras.htmlThis page[/url] says your camera works with the ov511 kernel module.
Which I think is in the kernel. That module has a newer version called ov51x which covers more models.
You will also need video for linux available for the kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
diyu01 n00b
Joined: 04 Apr 2005 Posts: 15
|
Posted: Sun Aug 27, 2006 2:31 pm Post subject: |
|
|
Hi, I recompiled the kernel (gentoo source 2.6.17r4) with ov511 module, and ran "modprobe ov511", but it does not work. There is no error message, either, "dmesg" shows:
usbcore: registered new driver ov511
drivers/media/video/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
"lsmod | grep ov511" shows:
ov511 71440 0
usbcore 120320 8 ov511,sl811_hcd,ohci_hcd,uhci_hcd,usb_storage,usbhid,ehci_hcd
and nothing more. There is no /dev/video, /dev/video0 or /dev/v4l created (I have a TV card installed on the same machine and if I do "modprobe saa7134", it will successfully create a /dev/v4l and a /dev/video0, but this module does not do anything, so I think this module has not detected my camera). I tried to mknod the /dev/video0 device, but the camera does not light up and the applications (e.g. mplayer) can't use this device to access the camera.
I also saw on the page that you sent me that this camera may use cpia module, so I tried cpia and cpia2, but they don't work either. The worst thing is that "dmesg" always shows nothing more than that the kernel is trying to register the module, and there is no error message.
Could you kindly tell me what options I may need to try with this camera? Thanks!
NeddySeagoon wrote: | diyu01,
[url=http://www.brujula.net/soportelinux/doc/webcam/ov511cameras.htmlThis page[/url] says your camera works with the ov511 kernel module.
Which I think is in the kernel. That module has a newer version called ov51x which covers more models.
You will also need video for linux available for the kernel. |
|
|
Back to top |
|
|
diyu01 n00b
Joined: 04 Apr 2005 Posts: 15
|
Posted: Sun Aug 27, 2006 2:39 pm Post subject: |
|
|
Hi, I also downloaded the version 2.32 of ov511 and compiled & installed it, now when I run "modprobe ov511" and do "dmesg", I see
/home/dy/ov511-2.32/ov511_core.c: v2.32 : ov511 USB Camera Driver (V4L2 disabled)
Does this mean anything? Thanks! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54808 Location: 56N 3W
|
Posted: Sun Aug 27, 2006 5:32 pm Post subject: |
|
|
diyu01,
Do you have video for linux support in your kernel (or as a module) ? Code: | grep VIDEO /usr/src/linux/.config
# CONFIG_ACPI_VIDEO is not set
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y | The first one there is not important but you need the next four items. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
diyu01 n00b
Joined: 04 Apr 2005 Posts: 15
|
Posted: Sun Aug 27, 2006 5:40 pm Post subject: |
|
|
Hi, it shows:
CONFIG_ACPI_VIDEO=m
CONFIG_IEEE1394_VIDEO1394=m
CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_VIVI is not set
CONFIG_VIDEO_BT848=m
CONFIG_VIDEO_SAA6588=m
# CONFIG_VIDEO_PMS is not set
CONFIG_VIDEO_BWQCAM=m
CONFIG_VIDEO_CQCAM=m
# CONFIG_VIDEO_W9966 is not set
CONFIG_VIDEO_CPIA=m
# CONFIG_VIDEO_CPIA_PP is not set
# CONFIG_VIDEO_CPIA_USB is not set
CONFIG_VIDEO_CPIA2=m
# CONFIG_VIDEO_SAA5246A is not set
CONFIG_VIDEO_SAA5249=m
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_MEYE is not set
CONFIG_VIDEO_SAA7134=m
CONFIG_VIDEO_SAA7134_ALSA=m
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
CONFIG_VIDEO_CX88=m
# CONFIG_VIDEO_CX88_ALSA is not set
CONFIG_VIDEO_OVCAMCHIP=m
CONFIG_VIDEO_MSP3400=m
# CONFIG_VIDEO_CS53L32A is not set
# CONFIG_VIDEO_WM8775 is not set
# CONFIG_VIDEO_WM8739 is not set
# CONFIG_VIDEO_CX25840 is not set
CONFIG_VIDEO_SAA711X=m
CONFIG_VIDEO_SAA7127=m
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set
CONFIG_VIDEO_EM28XX=m
CONFIG_VIDEO_USBVIDEO=m
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_BUF=m
CONFIG_VIDEO_BTCX=m
CONFIG_VIDEO_IR=m
CONFIG_VIDEO_TVEEPROM=m
CONFIG_VIDEO_SELECT=y
Thanks!
NeddySeagoon wrote: | diyu01,
Do you have video for linux support in your kernel (or as a module) ? Code: | grep VIDEO /usr/src/linux/.config
# CONFIG_ACPI_VIDEO is not set
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y | The first one there is not important but you need the next four items. |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54808 Location: 56N 3W
|
Posted: Sun Aug 27, 2006 10:52 pm Post subject: |
|
|
diyu01,
Lets check that your kernel module matches your cam. Run
It will show a lot of lines Code: | alias: usb:v0471p0302d*dc*dsc*dp*ic*isc*ip* |
Look carefully at all the v means VendorID p means ProductID.
Is there an entry for your cam ?
It will be if thats there you have the right module, if not try the ov51x driver, which is not in the kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
diyu01 n00b
Joined: 04 Apr 2005 Posts: 15
|
Posted: Mon Aug 28, 2006 12:17 am Post subject: |
|
|
Hi, it says:
description: ov511 USB Camera Driver
license: GPL
vermagic: 2.6.17-gentoo-r4 SMP mod_unload 586 4KSTACKS gcc-3.3
depends: usbcore,i2c-core
alias: usb:v05A9p0511d*dc*dsc*dp*ic*isc*ip*
alias: usb:v05A9pA511d*dc*dsc*dp*ic*isc*ip*
alias: usb:v05A9p0518d*dc*dsc*dp*ic*isc*ip*
alias: usb:v05A9pA518d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0813p0002d*dc*dsc*dp*ic*isc*ip*
parm: v4l2:Enable Video4Linux 2 support (int)
Since I don't see 06A5pd800, I guess this is not the right module, I will try the ov51x then, thanks.
NeddySeagoon wrote: | diyu01,
Lets check that your kernel module matches your cam. Run
It will show a lot of lines Code: | alias: usb:v0471p0302d*dc*dsc*dp*ic*isc*ip* |
Look carefully at all the v means VendorID p means ProductID.
Is there an entry for your cam ?
It will be if thats there you have the right module, if not try the ov51x driver, which is not in the kernel. |
|
|
Back to top |
|
|
diyu01 n00b
Joined: 04 Apr 2005 Posts: 15
|
Posted: Mon Aug 28, 2006 2:18 am Post subject: |
|
|
BTW, I checked the ov511 web page again and it seems to say my camera would be supported by nw802 module, the problem is that nw802-2.4-0.0.99 seems not to compile with kernel 2.6, and I can't login into their CVS server at all, do you happen to know where I can find a version that compiles with 2.6 kernel? Thanks! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54808 Location: 56N 3W
|
Posted: Mon Aug 28, 2006 1:10 pm Post subject: |
|
|
diyu01.
The nw802 modue looks pretty dead. No updates for two years, thats a bad sign.
Having grepped the kernel source tree for 06a4 and d800, there is no driver yhat already knows about your webcam already in the kernel. That leaves other out of kernel drivers or just maybe, your cam would work with an existing driver, if the usb ID was added.
This page says Quote: | Chicony Twinklecam is not supported by the spca5xx driver (It's based on the sonix chipset) . You need a different driver for that called "sn9c102" | so thats worth trying before you start hacking code. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|