Announcement

Collapse
No announcement yet.

(SOLVED) Skype video not working - black screen

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: Skype video not working - black screen

    Hi there
    sorry for being so quiet. Had to go fetch my daughter from kindergarten.
    Okay, what's got me stumped is that the camera is there and working perfectly when I run this command in Konsole LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

    Anyway here is the output of lshw:

    tanya@acer-aspire-3680:~$ sudo lshw
    [sudo] password for tanya:
    acer-aspire-3680
    description: Computer
    product: Aspire 3680
    vendor: Acer, inc.
    version: Not Applicable
    serial: LXAZK0Y064651172372500
    width: 32 bits
    capabilities: smbios-2.4 dmi-2.4 smp-1.4 smp
    configuration: administrator_password=disabled boot=oem-specific cpus=1 frontpanel_password=unknown keyboard_password=unknown power-on_password=disabled uuid=40B1D1C2-EC02-D911-B2B4-001636C8EDFC
    *-core
    description: Motherboard
    product: Prespa1
    vendor: Acer, Inc.
    physical id: 0
    version: Not Applicable
    serial: LXAZK0Y064651172372500
    *-firmware
    description: BIOS
    vendor: Acer
    physical id: 0
    version: v1.3221 (12/15/06)
    size: 101KiB
    capacity: 960KiB
    capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot acpi usb biosbootspecification
    *-cpu
    description: CPU
    product: Intel(R) Celeron(R) M CPU 430 @ 1.73GHz
    vendor: Intel Corp.
    physical id: 4
    bus info: cpu@0
    version: 6.14.8
    serial: 0000-06E8-0000-0000-0000-0000
    slot: U2E1
    size: 1730MHz
    capacity: 1730MHz
    width: 32 bits
    clock: 133MHz
    capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx constant_tsc up arch_perfmon bts aperfmperf pni monitor tm2 xtpr pdcm
    *-cache:0
    description: L1 cache
    physical id: 5
    slot: L1 Cache
    size: 16KiB
    capacity: 16KiB
    capabilities: asynchronous internal write-back
    *-cache:1
    description: L2 cache
    physical id: 6
    slot: L2 Cache
    size: 1MiB
    capabilities: burst external write-back
    *-memory
    description: System Memory
    physical id: 10
    slot: System board or motherboard
    size: 1GiB
    *-bank:0
    description: SODIMM DDR2 Synchronous [empty]
    physical id: 0
    slot: M1
    *-bank:1
    description: SODIMM DDR2 Synchronous
    physical id: 1
    slot: M2
    size: 1GiB
    width: 32 bits
    *-pci
    description: Host bridge
    product: Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub
    vendor: Intel Corporation
    physical id: 100
    bus info: pci@0000:00:00.0
    version: 03
    width: 32 bits
    clock: 33MHz
    configuration: driver=agpgart-intel
    resources: irq:0
    *-display:0
    description: VGA compatible controller
    product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
    vendor: Intel Corporation
    physical id: 2
    bus info: pci@0000:00:02.0
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: msi pm vga_controller bus_master cap_list rom
    configuration: driver=i915 latency=0
    resources: irq:16 memory:d0200000-d027ffff ioport:1800(size=8) memory:c0000000-cfffffff memory:d0300000-d033ffff
    *-display:1 UNCLAIMED
    description: Display controller
    product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller
    vendor: Intel Corporation
    physical id: 2.1
    bus info: pci@0000:00:02.1
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list
    configuration: latency=0
    resources: memory:d0280000-d02fffff
    *-multimedia
    description: Audio device
    product: N10/ICH 7 Family High Definition Audio Controller
    vendor: Intel Corporation
    physical id: 1b
    bus info: pci@0000:00:1b.0
    version: 02
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list
    configuration: driver=HDA Intel latency=0
    resources: irq:44 memory:d0340000-d0343fff
    *-pci:0
    description: PCI bridge
    product: N10/ICH 7 Family PCI Express Port 1
    vendor: Intel Corporation
    physical id: 1c
    bus info: pci@0000:00:1c.0
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:40 ioport:2000(size=4096) memory:44000000-441fffff ioport:44200000(size=2097152)
    *-network
    description: Ethernet interface
    product: 88E8038 PCI-E Fast Ethernet Controller
    vendor: Marvell Technology Group Ltd.
    physical id: 0
    bus info: pci@0000:02:00.0
    logical name: eth0
    version: 14
    serial: 00:16:36:c8:ed:fc
    size: 100MB/s
    capacity: 100MB/s
    width: 64 bits
    clock: 33MHz
    capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 duplex=full firmware=N/A ip=192.168.1.2 latency=0 link=yes multicast=yes port=twisted pair speed=100MB/s
    resources: irq:43 memory:44000000-44003fff ioport:2000(size=256)
    *-pci:1
    description: PCI bridge
    product: N10/ICH 7 Family PCI Express Port 2
    vendor: Intel Corporation
    physical id: 1c.1
    bus info: pci@0000:00:1c.1
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:41 ioport:3000(size=4096) memory:44400000-445fffff ioport:44600000(size=2097152)
    *-pci:2
    description: PCI bridge
    product: N10/ICH 7 Family PCI Express Port 3
    vendor: Intel Corporation
    physical id: 1c.2
    bus info: pci@0000:00:1c.2
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:42 ioport:4000(size=4096) memory:44800000-449fffff ioport:44a00000(size=2097152)
    *-usb:0
    description: USB Controller
    product: N10/ICH 7 Family USB UHCI Controller #1
    vendor: Intel Corporation
    physical id: 1d
    bus info: pci@0000:00:1d.0
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:23 ioport:1820(size=32)
    *-usb:1
    description: USB Controller
    product: N10/ICH 7 Family USB UHCI Controller #2
    vendor: Intel Corporation
    physical id: 1d.1
    bus info: pci@0000:00:1d.1
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:19 ioport:1840(size=32)
    *-usb:2
    description: USB Controller
    product: N10/ICH 7 Family USB UHCI Controller #3
    vendor: Intel Corporation
    physical id: 1d.2
    bus info: pci@0000:00:1d.2
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:18 ioport:1860(size=32)
    *-usb:3
    description: USB Controller
    product: N10/ICH 7 Family USB UHCI Controller #4
    vendor: Intel Corporation
    physical id: 1d.3
    bus info: pci@0000:00:1d.3
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:16 ioport:1880(size=32)
    *-usb:4
    description: USB Controller
    product: N10/ICH 7 Family USB2 EHCI Controller
    vendor: Intel Corporation
    physical id: 1d.7
    bus info: pci@0000:00:1d.7
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: pm debug ehci bus_master cap_list
    configuration: driver=ehci_hcd latency=0
    resources: irq:23 memory:d0544000-d05443ff
    *-pci:3
    description: PCI bridge
    product: 82801 Mobile PCI Bridge
    vendor: Intel Corporation
    physical id: 1e
    bus info: pci@0000:00:1e.0
    version: e2
    width: 32 bits
    clock: 33MHz
    capabilities: pci subtractive_decode bus_master cap_list
    resources: ioport:5000(size=4096) memory:d0100000-d01fffff ioport:40000000(size=67108864)
    *-network
    description: Network controller
    product: BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
    vendor: Broadcom Corporation
    physical id: 3
    bus info: pci@0000:0a:03.0
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: bus_master
    configuration: driver=b43-pci-bridge latency=64
    resources: irq:18 memory:d0100000-d0101fff
    *-pcmcia
    description: CardBus bridge
    product: PCIxx12 Cardbus Controller
    vendor: Texas Instruments
    physical id: 9
    bus info: pci@0000:0a:09.0
    version: 00
    width: 32 bits
    clock: 33MHz
    capabilities: pcmcia bus_master cap_list
    configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192
    resources: irq:20 memory:d0102000-d0102fff ioport:5000(size=256) ioport:5400(size=256) memory:40000000-43ffffff memory:48000000-4bffffff
    *-storage
    description: Mass storage controller
    product: 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
    vendor: Texas Instruments
    physical id: 9.2
    bus info: pci@0000:0a:09.2
    version: 00
    width: 32 bits
    clock: 33MHz
    capabilities: storage pm bus_master cap_list
    configuration: driver=tifm_7xx1 latency=57 maxlatency=4 mingnt=7
    resources: irq:20 memory:d0103000-d0103fff
    *-isa
    description: ISA bridge
    product: 82801GBM (ICH7-M) LPC Interface Bridge
    vendor: Intel Corporation
    physical id: 1f
    bus info: pci@0000:00:1f.0
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: isa bus_master cap_list
    configuration: latency=0
    *-ide
    description: IDE interface
    product: 82801G (ICH7 Family) IDE Controller
    vendor: Intel Corporation
    physical id: 1f.1
    bus info: pci@0000:00:1f.1
    logical name: scsi0
    version: 02
    width: 32 bits
    clock: 33MHz
    capabilities: ide bus_master emulated
    configuration: driver=ata_piix latency=0
    resources: irq:18 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:1810(size=16)
    *-cdrom
    description: DVD-RAM writer
    product: DVDRAM GSA-T10N
    vendor: HL-DT-ST
    physical id: 0.0.0
    bus info: scsi@0:0.0.0
    logical name: /dev/cdrom
    logical name: /dev/cdrw
    logical name: /dev/dvd
    logical name: /dev/dvdrw
    logical name: /dev/scd0
    logical name: /dev/sr0
    version: PP02
    capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
    configuration: ansiversion=5 status=nodisc
    *-serial UNCLAIMED
    description: SMBus
    product: N10/ICH 7 Family SMBus Controller
    vendor: Intel Corporation
    physical id: 1f.3
    bus info: pci@0000:00:1f.3
    version: 02
    width: 32 bits
    clock: 33MHz
    configuration: latency=0
    resources: ioport:18e0(size=32)
    *-scsi
    physical id: 1
    bus info: usb@1:3
    logical name: scsi2
    capabilities: emulated scsi-host
    configuration: driver=usb-storage
    *-disk
    description: SCSI Disk
    product: 2500BEV External
    vendor: WD
    physical id: 0.0.0
    bus info: scsi@2:0.0.0
    logical name: /dev/sda
    version: 1.05
    serial: WD-WXE908L40793
    size: 232GiB (250GB)
    capabilities: partitioned partitioned:dos
    configuration: ansiversion=4 signature=00084bcd
    *-volume:0
    description: EXT4 volume
    vendor: Linux
    physical id: 1
    bus info: scsi@2:0.0.0,1
    logical name: /dev/sda1
    logical name: /
    version: 1.0
    serial: 3c5802c6-aa4c-4b14-9691-5edd894f47d4
    size: 120GiB
    capacity: 120GiB
    capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
    configuration: created=2010-10-25 13:29:31 filesystem=ext4 lastmountpoint=/K��n�}�(��<��P~t��l!�(��@~t����������}�h~t�yo !��d modified=2010-10-26 11:00:24 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,barrier=1,data=ordered mounted=2010-10-26 11:03:07 state=mounted
    *-volume:1
    description: Extended partition
    physical id: 2
    bus info: scsi@2:0.0.0,2
    logical name: /dev/sda2
    size: 2906MiB
    capacity: 2906MiB
    capabilities: primary extended partitioned partitioned:extended
    *-logicalvolume
    description: Linux swap / Solaris partition
    physical id: 5
    logical name: /dev/sda5
    capacity: 2906MiB
    capabilities: nofs
    *-remoteaccess UNCLAIMED
    vendor: Intel
    physical id: 1
    capabilities: inbound
    *-network
    description: Wireless interface
    physical id: 2
    logical name: wlan0
    serial: 00:19:7d:39:89:47
    capabilities: ethernet physical wireless
    configuration: broadcast=yes driver=b43 driverversion=2.6.35-22-generic firmware=N/A link=no multicast=yes wireless=IEEE 802.11bg
    tanya@acer-aspire-3680:~$

    Comment


      #17
      Re: Skype video not working - black screen

      I must be blind. I don't see anything in the lshw listing that I am familiar with and to which I could point as the webcam device.

      Anyway, you say that when you run your camera in a Konsole with:
      LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
      it "works perfectly". Then, as a quick solution to your problem, just edit the Skype menu option and make that line the command line the command text box on the General Tab. Use this command instead:

      LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

      to replace the word "skype" currently in the menu command text box. (you forgot to include the skype binary in your msg but obviously included it in the Konsole when you ran skype).

      Using something similar to what you did in the Konsole is exactly how Skype is run on MY 64bit Kubuntu 10.4. A bash shell script called "skype-wrapper" is used as the command in that menu command text box. It contains the following code:
      Code:
      .....
      LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so QT_PLUGIN_PATH=/usr/lib32/qt4/plugins /usr/bin/skype "$@"
      That command won't work on your box because it is already running a 32bit OS and skype is a 32bit application, so you don't have a /usr/lib32 directory (or shouldn't have) on your system.




      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #18
        Re: Skype video not working - black screen

        Just a wild idea, but what does
        Code:
        lsusb
        show.

        Comment


          #19
          Re: Skype video not working - black screen

          Except that her camera is internal, not a USB device. But, who knows. It's worth a try..
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #20
            Re: Skype video not working - black screen

            I was thinking that even though it is an internal camera, it still might be wired up as a USB device, even though I have never seen that before.

            Comment


              #21
              Re: Skype video not working - black screen

              Hi Detonate & GreyGeek

              1) The actual Konsole command is LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

              2) Output to lsusb is as follows.


              tanya@acer-aspire-3680:~$ lsusb
              Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
              Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
              Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
              Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
              Bus 001 Device 005: ID 1241:1177 Belkin F8E842-DL Mouse
              Bus 001 Device 004: ID 0402:5602 ALi Corp. M5602 Video Camera Controller
              Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
              Bus 001 Device 002: ID 1058:1010 Western Digital Technologies, Inc.
              Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
              tanya@acer-aspire-3680:~$

              and lastly, but most importantly. You 2 are my heros in shining armour today for just trying to help.

              Comment


                #22
                Re: Skype video not working - black screen

                Originally posted by snowflake_nz

                Bus 001 Device 004: ID 0402:5602 ALi Corp. M5602 Video Camera Controller
                Well knock me over with a feather. There it is. Past my bedtime. Br back in the morning.

                Comment


                  #23
                  Re: Skype video not working - black screen

                  Sure thing Detonate.
                  You enjoy your beauty sleep . . . it's just past 5pm in New Zealand. I'll catch your tomorrow again

                  Comment


                    #24
                    Re: Skype video not working - black screen

                    One Skype video solution I have seen involves making a shortcut with the command:
                    env LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype
                    "A problem well stated is a problem half solved." --Charles F. Kettering
                    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

                    Comment


                      #25
                      Re: Skype video not working - black screen

                      Hi arochester

                      thanks for that, but I've actually already done that this afternoon. Right next to the K-menu I made a launcer for Skype with that command, so I've actually only got 1 mouse-click instead of 2 to get skype going.

                      Comment


                        #26
                        Re: Skype video not working - black screen

                        As you have it working, I'm going to just lurk now, maybe GG will have some further insight now that we finally found the device listing.

                        Comment


                          #27
                          Re: Skype video not working - black screen

                          Love the lurking bit Detonate.

                          Thanks for all the help anyway. All help is welcome, doesn't matter if it's 100% it's workable, does what it should and that's more than I can ask for.

                          Comment


                            #28
                            Re: Skype video not working - black screen

                            Bus 001 Device 004: ID 0402:5602 ALi Corp. M5602 Video Camera Controller
                            The ID 0402 identifies the maker
                            The ID 5602 identifies the model.

                            There is a module called gpsca_m5602.
                            Code:
                            $ modinfo gspca_m5602
                            filename:    /lib/modules/2.6.32-25-generic/kernel/drivers/media/video/gspca/m5602/gspca_m5602.ko
                            license:    GPL
                            description:  ALi m5602 webcam driver
                            author:     ALi m5602 Linux Driver Project
                            srcversion:   E34BF4058A55CDF5A1B5FA9
                            alias:     usb:v0402p5602d*dc*dsc*dp*ic*isc*ip*
                            depends:    gspca_main
                            vermagic:    2.6.32-25-generic SMP mod_unload modversions 
                            parm:      force_sensor:forces detection of a sensor, 1 = OV9650, 2 = S5K83A, 3 = S5K4AA, 4 = MT9M111, 5 = PO1030, 6 = OV7660 (int)
                            parm:      dump_bridge:Dumps all usb bridge registers at startup (bool)
                            parm:      dump_sensor:Dumps all usb sensor registers at startup providing a sensor is found (bool)
                            jerry@sonyvgnfw140e:~$
                            Your lsmod command shows that gspca_main is used. I didn't see gspca_m5602 in your lsmod listing. Perhaps you could use
                            lsmod | grep gspca
                            agains and see if it is listed.
                            If not, do sudo rmmod gspca_main and then sudo modprobe gspca_m5602, which should automatically load gspca_main and then itself. Then, just try "skype" from a Konsole

                            The command
                            v4lctl -c /dev/video0 list
                            will show the various settings of the video device, IF you have v4lctl installed.

                            The "sensor" setting is probably either 1 or 6 (no default is shown). So a modprobe like this:
                            sudo modprob gspca_m5602 sensor=1
                            will force a sensor setting. If that doesn't work use rmmod to remove both modules and redo the command with sensor=6.

                            IF you want the menu option to work you can put
                            LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
                            in the command text box for the Skype menu option. (right mouse on Kgear and chose "menu edit".)

                            Either way, you say your little script works with one click. If you are happy with it, keep it!
                            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                            – John F. Kennedy, February 26, 1962.

                            Comment


                              #29
                              Re: Skype video not working - black screen

                              Hi there GG

                              thanks anyway. The problem isn't solved per se, but I'm going to thank you and Detonate from the bottom of my heart.
                              I'm going to stick to my little script - don't know why I didn't think of it in the beginning. But then again, it's always lovely to go through something like this because I learn something new too.

                              I'm going to mark this thread as solved and just edit my first post with an explanation of what I did.

                              Thank you so much.
                              See you around
                              Tanya

                              Comment


                                #30
                                Re: (SOLVED) Skype video not working - black screen

                                Congratulations!
                                You are now a script writer! 8)
                                "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                                – John F. Kennedy, February 26, 1962.

                                Comment

                                Working...
                                X