MSI Starcam Clip driver not installing

I have downloaded this driver and I have the same webcam as it says.
ID 0c45:60c0 Microdia PC Camera with Mic (SN9C105)
When installing it there is a problem:

./gspca_build 

 REMOVE the old module if present                                                                                        
ERROR: Module msicam does not exist in /proc/modules                                                                     

 CLEAN gspca source tree                                                                                                 
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \                                                                   
        .gspca.o.cmd .gspca* *.o *.ko *.mod.* core *.i \                                                                 
        *.symvers *.err                                                                                                  

 COMPILE gspca Please Wait ....!!                                                                                        

 INSTALL gspca in the kernel binary tree                                                                                 
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/                                                               
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/msicam.ko                                                       
install -c -m 0644 msicam.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/                                           
install: cannot stat `msicam.ko': No such file or directory                                                              
make: *** [install] Error 1                                                                                              

 LOAD gspca in memory                                                                                                    
FATAL: Module msicam not found.                                                                                          

 PRINT COMPILATION MESSAGES if ERRORS look kgspca.err                                                                    
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/slk/bin/msicam CC=cc modules                                         
make[1]: Entering directory `/usr/src/linux-2.6.27.21-0.1-obj/x86_64/default'                                            
make -C ../../../linux-2.6.27.21-0.1 O=/usr/src/linux-2.6.27.21-0.1-obj/x86_64/default/. modules                         
  CC [M]  /home/slk/bin/msicam/gspca_core.o                                                                              
/home/slk/bin/msicam/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory                               
In file included from /home/slk/bin/msicam/gspca_core.c:256:                                                             
/home/slk/bin/msicam/Sonix/proc.h: In function ‘sn9cxxx_proc_init’:                                                      
/home/slk/bin/msicam/Sonix/proc.h:52: error: ‘proc_root’ undeclared (first use in this function)                         
/home/slk/bin/msicam/Sonix/proc.h:52: error: (Each undeclared identifier is reported only once                           
/home/slk/bin/msicam/Sonix/proc.h:52: error: for each function it appears in.)                                           
/home/slk/bin/msicam/Sonix/proc.h: In function ‘sn9cxxx_proc_unload’:                                                    
/home/slk/bin/msicam/Sonix/proc.h:76: error: ‘proc_root’ undeclared (first use in this function)                         
/home/slk/bin/msicam/Sonix/proc.h: In function ‘sn9cxxx_proc_write’:                                                     
/home/slk/bin/msicam/Sonix/proc.h:116: warning: cast to pointer from integer of different size                           
/home/slk/bin/msicam/Sonix/proc.h:116: warning: comparison between pointer and integer                                   
In file included from /home/slk/bin/msicam/Sonix/sonix.h:79,                                                             
                 from /home/slk/bin/msicam/gspca_core.c:257:                                                             
/home/slk/bin/msicam/Sonix/sn9cxxx.h: In function ‘sn9cxxx_stopN’:                                                       
/home/slk/bin/msicam/Sonix/sn9cxxx.h:531: warning: unused variable ‘regF1’                                               
/home/slk/bin/msicam/Sonix/sn9cxxx.h:529: warning: unused variable ‘stophv7131’                                          
/home/slk/bin/msicam/Sonix/sn9cxxx.h: In function ‘sn9cxxx_start’:                                                       
/home/slk/bin/msicam/Sonix/sn9cxxx.h:570: warning: unused variable ‘err’                                                 
/home/slk/bin/msicam/Sonix/sn9cxxx.h:563: warning: unused variable ‘regD4’                                               
/home/slk/bin/msicam/Sonix/sn9cxxx.h: In function ‘sn9cxxx_getexposure’:                                                 
/home/slk/bin/msicam/Sonix/sn9cxxx.h:683: warning: unused variable ‘lexpo’                                               
/home/slk/bin/msicam/Sonix/sn9cxxx.h:683: warning: unused variable ‘mexpo’                                               
/home/slk/bin/msicam/Sonix/sn9cxxx.h:683: warning: unused variable ‘hexpo’                                               
/home/slk/bin/msicam/Sonix/sn9cxxx.h: In function ‘sn9cxxx_setexposure’:                                                 
/home/slk/bin/msicam/Sonix/sn9cxxx.h:706: warning: unused variable ‘expotimes’                                           
/home/slk/bin/msicam/Sonix/sn9cxxx.h:705: warning: unused variable ‘data’                                                
/home/slk/bin/msicam/Sonix/sn9cxxx.h:704: warning: unused variable ‘gainMo’                                              
/home/slk/bin/msicam/Sonix/sn9cxxx.h:703: warning: unused variable ‘expoMo10’                                            
/home/slk/bin/msicam/Sonix/sn9cxxx.h:702: warning: unused variable ‘expoMof’                                             
/home/slk/bin/msicam/Sonix/sn9cxxx.h:700: warning: unused variable ‘sensorgo’                                            
/home/slk/bin/msicam/Sonix/sn9cxxx.h:699: warning: unused variable ‘doit’                                                
/home/slk/bin/msicam/Sonix/sn9cxxx.h:698: warning: unused variable ‘Expodoit’                                            
/home/slk/bin/msicam/Sonix/sn9cxxx.h: In function ‘sn9cxxx_setbrightness’:                                               
/home/slk/bin/msicam/Sonix/sn9cxxx.h:726: warning: unused variable ‘expotimesret’                                        
/home/slk/bin/msicam/Sonix/sn9cxxx.h:726: warning: unused variable ‘expo’                                                
/home/slk/bin/msicam/Sonix/sn9cxxx.h: In function ‘sn9cxxx_setcolors’:                                                   
/home/slk/bin/msicam/Sonix/sn9cxxx.h:839: warning: unused variable ‘blue’                                                
/home/slk/bin/msicam/Sonix/sn9cxxx.h: In function ‘sn9cxxx_setAutobright’:                                               
/home/slk/bin/msicam/Sonix/sn9cxxx.h:856: warning: unused variable ‘expotimesret’                                        
/home/slk/bin/msicam/Sonix/sn9cxxx.h: In function ‘sn9cxxx_setgain’:                                                     
/home/slk/bin/msicam/Sonix/sn9cxxx.h:930: warning: unused variable ‘g3’                                                  
/home/slk/bin/msicam/Sonix/sn9cxxx.h:929: warning: unused variable ‘g2’                                                  
/home/slk/bin/msicam/Sonix/sn9cxxx.h:928: warning: unused variable ‘g1’                                                  
/home/slk/bin/msicam/Sonix/sn9cxxx.h:927: warning: unused variable ‘sensorgo’                                            
/home/slk/bin/msicam/Sonix/sn9cxxx.h:926: warning: unused variable ‘doit’                                                
/home/slk/bin/msicam/gspca_core.c: In function ‘spca5xx_ioctl’:                                                          
/home/slk/bin/msicam/gspca_core.c:1820: error: implicit declaration of function ‘video_usercopy’                         
/home/slk/bin/msicam/gspca_core.c: At top level:                                                                         
/home/slk/bin/msicam/gspca_core.c:1961: error: ‘v4l_compat_ioctl32’ undeclared here (not in a function)                  
/home/slk/bin/msicam/gspca_core.c:1966: error: unknown field ‘owner’ specified in initializer                            
/home/slk/bin/msicam/gspca_core.c:1966: warning: initialization from incompatible pointer type                           
/home/slk/bin/msicam/gspca_core.c:1968: error: unknown field ‘type’ specified in initializer                             
/home/slk/bin/msicam/gspca_core.c: In function ‘spca50x_create_sysfs’:                                                   
/home/slk/bin/msicam/gspca_core.c:2126: error: implicit declaration of function ‘video_device_create_file’               
/home/slk/bin/msicam/gspca_core.c:2137: error: implicit declaration of function ‘video_device_remove_file’               
/home/slk/bin/msicam/gspca_core.c: In function ‘spcaDetectCamera’:                                                       
/home/slk/bin/msicam/gspca_core.c:2178: warning: unused variable ‘fw’                                                    
/home/slk/bin/msicam/gspca_core.c: In function ‘spca5xx_probe’:                                                          
/home/slk/bin/msicam/gspca_core.c:2263: error: incompatible types in assignment                                          
make[4]: *** [/home/slk/bin/msicam/gspca_core.o] Error 1                                                                 
make[3]: *** [_module_/home/slk/bin/msicam] Error 2                                                                      
make[2]: *** [sub-make] Error 2                                                                                          
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.27.21-0.1-obj/x86_64/default'
make: *** [default] Error 2

Any ideas?

You don’t need to compile that module, it is already in the Kernel.

Ok, sorted that out.
How do I make it work with skype, it gets a green and snow mix when i hit test on the video settings and in a call

Microsoft WebCam VX 1000 - openSUSE Forums

(The only difference is you don’t need to install another driver package, all the other steps apply to your problem.)

--
/lib/modules/2.6.27.21-0.1-default/kernel/drivers/media/video/sn9c102/sn9c102.ko
alias:          usb:v**0C45**p**60C0**d*dc*dsc*dp*icFFisc*ip*
--
/lib/modules/2.6.27.21-0.1-default/kernel/drivers/media/video/gspca/gspca_sonixj.ko
alias:          usb:v**0C45**p**60C0**d*dc*dsc*dp*ic*isc*ip*

Thank to all of you, this has been a struggle for 2 years do to lack of my experience.

Now I am officially not dependent on windows lol!

If ur ever in Serbia, beers are on me!

for others following in your wake; can you please detail what you did:

you will see someone else is asking for help on the forum for the same? camera: the advice might best come from someone who has just successfully configured such a camera …

many thanks

It goes something like this:

Like it says on HCL/Web Cameras - openSUSE you dont need to install anything if your running 11.1 just update your system

  1. Blacklist the “wrong” driver (in this case sn9c102)
su -c "echo blacklist sn9c102 >> /etc/modprobe.d/blacklist.local"

2)Install libv4l-32bit and libv4l from Packman

3)Install compat (compat library) from Packman (recommended) or OSS-Repo

4)Install Skype as discribed here

5)Load applications like this:

32bit app:

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so <application>

because Skype is 32bit app you need to load like 32bit on 64bit openSUSE

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

64bit app:

LD_PRELOAD=/usr/lib64/libv4l/v4l1compat.so <application>

6)Use menu editor to find app witch need to be LD_PRELOADed and paste whole line in the Command box, so you dont have to run it from terminal

7)You can find USB camera under Video Devices in Skype, and set Sound In to plughw:camera,0

Thats all

This was done on:

openSUSE 11.1 2.6.27.21-0.1-default x86_64
KDE 4.1.3 “release 4.10.4”

Webcam:

MSI StarCam Clip (ID 0c45:60c0 Microdia PC Camera with Mic (SN9C105))

P.S. Thanks to all for explaining

this last post does also help for the Hercules Classic Silver cam. thx for this!!! finally i got it to work…

Its back to square one.
I was posting in beta/RC because it stopped working and now its official, it doesnt work properly in 11.2

With or without pulse I get a half of second from cams mic over skype and then nothing after the system is restarted.

Im afraid that this is something that keeps me using openSUSE >:(

If no one has any ideas another forum recommendation is welcome, I am desperate at this point

Can you provide the information requested in the last half of our multimedia stickie:
Welcome to multimedia sub-area - openSUSE Forums
… Note I do not use Skype. I never have. Probably never will. But I “might” be able to help you with basic audio recording separate from Skype, and maybe solving that will put you on the path to solving your Skype problem yourself.

Thank you for taking the time, so much for your retirement post in soapbox :wink:

Ok, I was busy doing my homework today
I made room for a fresh install on my PC, shrunk a ntfs partition, made a mess of my MBR, fixed that, installed 11.2, updated, installed just like in 11.1 and here are the resolutes

I’ve done this for 11.1 in witch sound works but video doesnt and in order for sound to work I have to turn on the video in conversation. After video is on the person in the call can her me regardless if i turn it off again.
In 11.2 I have video but only a split second of audio

Results are here
RapidShare: 1-CLICK Web hosting - Easy Filehosting

Both SUSEs were fully updated with all updates and codecs

P.S. In my not so regarded opinion can this problem be in the kernel version (drivers)

Reference your mic, you have it switched off in 11.2.

I note this in 11.2
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [CA0106]
Card hw:0 ‘CA0106’/‘MSI K8N Diamond MB [SB0438] at 0xde00 irq 16’
Mixer name : ‘CA0106’
Simple mixer control ‘Line in’,0
** Capabilities: cvolume
Front Left: Capture 207 [81%] [0.00dB]
Front Right: Capture 207 [81%] [0.00dB]
Simple mixer control ‘Mic’,0
Front Left: Capture 0 [0%] -99999.99dB]
Front Right: Capture 0 [0%] -99999.99dB]
Simple mixer control ‘Analog Source’,0
Items: ‘Phone’ ‘Mic’ ‘Line in’ ‘Aux’
Item0: ‘Line in’
Simple mixer control ‘CAPTURE feedback’,0
Front Left: Playback 0 [0%] -99999.99dB]
Front Right: Playback 0
[0%]** -99999.99dB]
Simple mixer control ‘Digital Source’,0
Items: ‘IEC958 out’ ‘i2s mixer out’ ‘IEC958 in’ ‘i2s in’ ‘AC97 in’ ‘SRC out’
Item0: ‘i2s in’
Simple mixer control ‘Shared Line in/Side out’,0
Items: ‘Side out’ ‘Line in’
Item0: ‘Side out’

!!-------Mixer controls for card 1 [camera]
Card hw:1 ‘camera’/‘USB camera at usb-0000:00:02.0-2, full speed’
Mixer name : ‘USB Mixer’
Simple mixer control ‘Mic’,0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Mono: Capture 0 [0%] [0.00dB] [on]
Simple mixer control ‘Auto Gain Control’,0
Mono: Playback [off]
out of curiosity I compared that to your 11.1 settings that you provided:

!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [CA0106]
Card hw:0 ‘CA0106’/‘MSI K8N Diamond MB [SB0438] at 0xde00 irq 16’
Simple mixer control ‘Line in’,0
Front Left: Capture 207 [81%] [0.00dB]
Front Right: Capture 207 [81%] [0.00dB]
Simple mixer control ‘Mic’,0
Front Left: Capture 255 [100%] [24.00dB]
Front Right: Capture 255 [100%] [24.00dB]
Simple mixer control ‘Aux’,0
Front Left: Capture 207 [81%] [0.00dB]
Front Right: Capture 207 [81%] [0.00dB]
Simple mixer control ‘Analog Source’,0
Items: ‘Phone’ ‘Mic’ ‘Line in’ ‘Aux’
Item0: ‘Line in’
Simple mixer control ‘CAPTURE feedback’,0
Front Left: Playback 110 [43%] -24.25dB]
Front Right: Playback 110 [43%] -24.25dB]
Simple mixer control ‘Shared Line in/Side out’,0
Capabilities: cenum
Items: ‘Side out’ ‘Line in’
Item0: ‘Side out’

!!-------Mixer controls for card 1 [camera]
**Card hw:1 ‘camera’/‘USB camera at usb-0000:00:02.0-2, full speed’
Mixer name : ‘USB Mixer’
** Components : ‘USB0c45:60c0’
Controls : 3
Simple ctrls : 2
Simple mixer control ‘Mic’,0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Mono: Capture 0 [0%] [0.00dB] [on]
Simple mixer control ‘Auto Gain Control’,0
Capabilities: pswitch pswitch-joined
Mono: Playback [off]

It does appear to me your mic is muted in 11.2

I wish it was that simple:

Simple mixer control 'Mic',0 - mic on onboard creative audio card
Simple mixer control 'Analog Source',0 - This is my main stereo out
Simple mixer control 'CAPTURE feedback',0 - this is my TV card connected to creative

Now this is the one:


!!-------Mixer controls for card 1 [camera]
Card hw:1 'camera'/'USB camera at usb-0000:00:02.0-2, full speed'
Mixer name : 'USB Mixer'
Simple mixer control 'Mic',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Mono: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Auto Gain Control',0
Mono: Playback [off]

As you can see it is 0% also but skype automatically levels it out when its in use, for half a second then no more audio out of it until I reboot
This cam has a mic on it
http://www.nodevice.cn/images/logo/prod_bc99f8436a4ffd5639e9d5f3e375efca.jpg

Can you explain in simple terms what mic from what device you are trying to use? Because when I read the above it is just confusing to me, with the information spread out over various posts.

Ok, I wasnt clear enough.
The problem is in the webcams microphone (Card hw:1 ‘camera’/‘USB camera at usb-0000:00:02.0-2, full speed’).
Its a usb webcam with mic on it

deleted - post already answered above

I don’t use skype, so I will not try to help you with Skype. Have you confirmed the mic can function with arecord?

I do not understand why you have capture at 0%. Did you try a higher value, before running Skype? And again, did you try arecord to prove basic functionality?

Just a side note:
Skype automatically adjusts the mixer levels. On certain systems, it does not do it correctly. So, try switching off that feature when in doubt.

Under “Options” -> “Sound Devices” -> Uncheck “Allow Skype to automatically adjust my mixer levels”.

I don’t use skype, so I will not try to help you with Skype. Have you confirmed the mic can function with arecord?

What is that, didnt find it in my local repos or software.opensuse.org
As I said it works in 11.1 and in 11.2 i get a split second of normal audio from my webcam

Skype automatically adjusts the mixer levels. On certain systems, it does not do it correctly. So, try switching off that feature when in doubt.

tried that, same result.

I do not understand why you have capture at 0%. Did you try a higher value, before running Skype? And again, did you try arecord to prove basic functionality?

One capture is onboard audio form my TV card
Tried with all volumes up, down, left… you know
http://img199.imageshack.us/img199/3606/usbq.jpg
http://img526.imageshack.us/img526/6937/94387407.jpg

Based on your 11.1 experience, are you certain the analogue source is in the correct position?

As opposed to using the USB mic, did you try to use a mic to the PC’s mic input jack?

Did you try testing the USB mic with arecord before playing with Skype?