LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Logitech QuickCam for Notebook Deluxe (https://www.linuxquestions.org/questions/slackware-14/logitech-quickcam-for-notebook-deluxe-722694/)

reikyv 04-30-2009 07:32 AM

Logitech QuickCam for Notebook Deluxe
 
Hi, would appreciate if someone know how to setup the Logitech QuickCam for Notebook Deluxe...

Below is output from 'lsusb' and 'lsmod', I have no idea how to continue from there...

Code:

[root][~]# lsusb
Bus 002 Device 004: ID 0411:00db MelCo., Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 0b97:7772 O2 Micro, Inc. OZ776 CCID Smartcard Reader
Bus 007 Device 002: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 003: ID 046d:08d8 Logitech, Inc. QuickCam for Notebook Deluxe
Bus 005 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:8140 Dell Computer Corp. Wireless 360 Bluetooth
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Code:

[root][~]# lsmod
Module                  Size  Used by
snd_usb_audio          78656  0
snd_usb_lib            14684  1 snd_usb_audio
snd_rawmidi            18304  1 snd_usb_lib
vboxnetflt            84328  1
vboxdrv              112616  2 vboxnetflt
i915                  147368  3
drm                  135232  4 i915
snd_seq_dummy          2496  0
snd_seq_oss            28672  0
snd_seq_midi_event      5916  1 snd_seq_oss
snd_seq                45808  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6088  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            35872  0
snd_mixer_oss          13724  1 snd_pcm_oss
ipv6                  237364  23
lp                      9284  0
ppdev                  7008  0
parport_pc            24484  0
parport                30380  3 lp,ppdev,parport_pc
fuse                  52792  1
snd_hda_codec_idt      54716  1
snd_hda_intel          23400  6
iwl3945                87028  0
pcmcia                33356  0
snd_hda_codec          53372  2 snd_hda_codec_idt,snd_hda_intel
mac80211              153988  1 iwl3945
thermal                15320  0
intel_agp              25444  1
tg3                  109152  0
processor              39208  3 thermal
led_class              3456  1 iwl3945
snd_hwdep              6528  2 snd_usb_audio,snd_hda_codec
btusb                  11472  0
yenta_socket          23560  1
agpgart                28872  3 drm,intel_agp
snd_pcm                66240  6 snd_usb_audio,snd_pcm_oss,snd_hda_intel,snd_hda_codec
video                  16780  0
rtc_cmos              10220  0
rsrc_nonstatic        11132  1 yenta_socket
libphy                17596  1 tg3
psmouse                40748  0
i2c_i801                8720  0
rtc_core              15736  1 rtc_cmos
pcmcia_core            31408  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_timer              18724  4 snd_seq,snd_pcm
thermal_sys            10852  3 thermal,processor,video
wmi                    6024  0
rtc_lib                2332  1 rtc_core
snd                    49572  21 snd_usb_audio,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
lib80211                5248  1 iwl3945
button                  5804  0
output                  2396  1 video
sg                    24496  0
battery                9952  0
serio_raw              4960  0
soundcore              5856  1 snd
cfg80211              35668  2 iwl3945,mac80211
evdev                  8992  7
snd_page_alloc          8100  2 snd_hda_intel,snd_pcm
bluetooth              53284  1 btusb
dcdbas                  7172  0
hwmon                  2104  1 thermal_sys
ac                      3904  0
[root][~]#

Thank you :-)

H_TeXMeX_H 04-30-2009 10:07 AM

The camera is listed here as supported:
http://mxhaard.free.fr/spca5xx.html

So I would install the spca drivers, I believe Alien Bob has some packages here, or you can use the slackbuild:
http://www.slackware.com/~alien/slackbuilds/gspcav1/

reikyv 04-30-2009 10:25 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 3525888)
The camera is listed here as supported:
http://mxhaard.free.fr/spca5xx.html

So I would install the spca drivers, I believe Alien Bob has some packages here, or you can use the slackbuild:
http://www.slackware.com/~alien/slackbuilds/gspcav1/

Hi, thanks.

I had installed the package from Alien Bob and reboot my laptop. But the webcam still not working, from 'lsmod', the module 'gspca_main' doesn't load when I plug the usb webcam to my laptop, and nothing happen after I manually run the command 'modprobe gspca_main' too.

Here is the output from '/var/log/messages' when I disconnect and connect the usb webcam:
Code:

Apr 30 23:22:36 choonsiong kernel: usb 5-1: USB disconnect, address 6
Apr 30 23:22:40 choonsiong kernel: usb 5-1: new full speed USB device using uhci_hcd and address 7
Apr 30 23:22:40 choonsiong kernel: usb 5-1: New USB device found, idVendor=046d, idProduct=08d8
Apr 30 23:22:40 choonsiong kernel: usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Apr 30 23:22:40 choonsiong kernel: usb 5-1: configuration #1 chosen from 1 choice

And output from 'lsmod':
Code:

[root][~]# lsmod
Module                  Size  Used by
quickcam_messenger    11716  0
usbvideo              24480  1 quickcam_messenger
gspca_main            20732  0
videodev              39648  2 usbvideo,gspca_main
v4l1_compat            12928  1 videodev
i915                  147368  2
drm                  135232  3 i915
snd_usb_audio          78656  0
snd_usb_lib            14684  1 snd_usb_audio
snd_rawmidi            18304  1 snd_usb_lib
vboxnetflt            84328  0
vboxdrv              112616  1 vboxnetflt
snd_seq_dummy          2496  0
snd_seq_oss            28672  0
snd_seq_midi_event      5916  1 snd_seq_oss
snd_seq                45808  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6088  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            35872  0
snd_mixer_oss          13724  1 snd_pcm_oss
ipv6                  237364  23
lp                      9284  0
ppdev                  7008  0
parport_pc            24484  0
parport                30380  3 lp,ppdev,parport_pc
fuse                  52792  1
snd_hda_codec_idt      54716  1
iwl3945                87028  0
snd_hda_intel          23400  0
pcmcia                33356  0
snd_hda_codec          53372  2 snd_hda_codec_idt,snd_hda_intel
mac80211              153988  1 iwl3945
tg3                  109152  0
thermal                15320  0
rtc_cmos              10220  0
rtc_core              15736  1 rtc_cmos
intel_agp              25444  1
yenta_socket          23560  1
led_class              3456  1 iwl3945
wmi                    6024  0
libphy                17596  1 tg3
processor              39208  3 thermal
i2c_i801                8720  0
snd_hwdep              6528  2 snd_usb_audio,snd_hda_codec
rsrc_nonstatic        11132  1 yenta_socket
btusb                  11472  0
rtc_lib                2332  1 rtc_core
pcmcia_core            31408  3 pcmcia,yenta_socket,rsrc_nonstatic
psmouse                40748  0
snd_pcm                66240  4 snd_usb_audio,snd_pcm_oss,snd_hda_intel,snd_hda_codec
agpgart                28872  3 drm,intel_agp
video                  16780  0
battery                9952  0
output                  2396  1 video
button                  5804  0
snd_timer              18724  2 snd_seq,snd_pcm
ac                      3904  0
snd                    49572  13 snd_usb_audio,snd_rawmidi,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
lib80211                5248  1 iwl3945
thermal_sys            10852  3 thermal,processor,video
serio_raw              4960  0
dcdbas                  7172  0
soundcore              5856  1 snd
sg                    24496  0
cfg80211              35668  2 iwl3945,mac80211
hwmon                  2104  1 thermal_sys
snd_page_alloc          8100  2 snd_hda_intel,snd_pcm
bluetooth              53284  1 btusb
evdev                  8992  7
[root][~]#

Both quickcam_messenger & gspca_main are manually load by myself...

H_TeXMeX_H 04-30-2009 10:54 AM

What version of slackware are you using ?

The module should be 'gspca' not 'gspca_main'. I would blacklist 'gspca_main', and try to modprobe 'gspca' instead.

reikyv 04-30-2009 11:08 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 3525917)
What version of slackware are you using ?

The module should be 'gspca' not 'gspca_main'. I would blacklist 'gspca_main', and try to modprobe 'gspca' instead.

Hi, I tried 'modprobe gspca' and got this error:
Code:

FATAL: Module gspca not found.
I am using Slackware 12.2, but I upgrade the kernel to 2.6.29.2 and I can only see gspca_main.ko here:
Code:

[root][/lib/modules/2.6.29.2-smp/kernel/drivers/media/video/gspca]# ls
gspca_main.ko
[root][/lib/modules/2.6.29.2-smp/kernel/drivers/media/video/gspca]#

But in 2.6.27.7-smp, there are more modules:
Code:

root][/lib/modules/2.6.27.7-smp/kernel/drivers/media/video/gspca]# ls
gspca_conex.ko  gspca_main.ko  gspca_ov519.ko  gspca_pac7311.ko  gspca_sonixj.ko  gspca_spca501.ko  gspca_spca506.ko  gspca_spca561.ko  gspca_sunplus.ko  gspca_tv8532.ko  gspca_zc3xx.ko
gspca_etoms.ko  gspca_mars.ko  gspca_pac207.ko  gspca_sonixb.ko  gspca_spca500.ko  gspca_spca505.ko  gspca_spca508.ko  gspca_stk014.ko  gspca_t613.ko    gspca_vc032x.ko
[root][/lib/modules/2.6.27.7-smp/kernel/drivers/media/video/gspca]#


reikyv 04-30-2009 11:16 AM

Hi, I found the gspca.ko. It is not in 2.6.29.2-smp but in 2.6.27.7-smp:
Code:

[root][~]# find /lib/modules/ -name gspca.ko -print
/lib/modules/2.6.27.7-smp/kernel/drivers/usb/media/gspca.ko
[root][~]#

So can I just copy it to 2.6.29.2-smp and run 'insmod gspca.ko'?

H_TeXMeX_H 04-30-2009 11:34 AM

Since you are not running the stock kernel you cannot use Alien Bob's packages, you can either use the slackbuild or compile it yourself from source.

reikyv 04-30-2009 11:47 AM

Quote:

Originally Posted by H_TeXMeX_H (Post 3525960)
Since you are not running the stock kernel you cannot use Alien Bob's packages, you can either use the slackbuild or compile it yourself from source.

Hi, okay. I will try to compile it, thanks.


All times are GMT -5. The time now is 09:35 PM.