Skip to contentSkip to conversation

troubles with my webcam and kernel 2.6.27.rc3 Msi StarCam 0xc45 0x60fc sn9c105 hv7131r with mic

DISCUSSION rob 2 participants 7 messages Aug 17, 2008 – Aug 19, 2008 4 messages not in the archive Media (V4L/DVB)

lore
Share & tools
lore

rob

author
#0 lore raw

Hello all

This is my first post to this list

i have troubles with my webcam and kernel 2.6.27.rc3 (Opensuse) there are modules loaded gspca sonic sn9s102
but no program sees the webcam
The webcam is Msi StarCam 0xc45 0x60fc sn9c105 hv7131r with mic

With the gspcav1 drivers compiled on kernel 2.6.25.11-0.1 (opensuse) the webcam is seen as a v4L1 webcam see log below

his is the outcome from the gspca compiled by me: om kernel 2.6.25.11 /home/rob/gspcav1-20071224/gspca_core.c: USB GSPCA camera found. SONIX JPEG (sn9c1xx)
/home/rob/gspcav1-20071224/gspca_core.c: [spca5xx_probe:4275] Camera type JPEG
/home/rob/gspcav1-20071224/gspca_core.c: [spca5xx_getcapability:1249] maxw 640 maxh 480 minw 160 minh 120
usbcore: registered new interface driver gspca /home/rob/gspcav1-20071224/gspca_core.c: gspca driver 01.00.20 registered /home/rob/gspcav1-20071224/gspca_core.c: [spca5xx_set_light_freq:1932] Sensor currently not support light frequency banding filters. /home/rob/gspcav1-20071224/gspca_core.c: [gspca_set_isoc_ep:945] ISO EndPoint found 0x81 AlternateSet 8

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw
Quoted 1 line · rob

Hello all

Hello rob,

Quoted 1 line

This is my first post to this list

No, it is the second one ;)

Quoted 4 lines

i have troubles with my webcam and kernel 2.6.27.rc3 (Opensuse) there are modules loaded gspca sonic sn9s102
but no program sees the webcam
The webcam is Msi StarCam 0xc45 0x60fc sn9c105 hv7131r with mic

This webcam is handled by both the sn9c102 and gspca drivers. If the driver sn9c102 is generated, gspca does not handle it.

Quoted 2 lines

With the gspcav1 drivers compiled on kernel 2.6.25.11-0.1 (opensuse) the webcam is seen as a v4L1 webcam see log below

	[snip]

If your webcam worked with gspca v1, it should work with gspca v2. So, remove the driver sn9c102, get the last gspca v2 from

http://linuxtv.org/hg/~jfrancois/gspca/

and look at the gspca_README.txt in my page for generation and usage.

Cheers.

Signature · 8 lines
Ken ar c'hentañ |             ** Breizh ha Linux atav! **
Jef             |               http://moinejf.free.fr/


--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#2 lore raw

Hello Jean

did what say and installed all
still the webcam is nor working
none of the programs will give a picture
either no /dev/video or cant decode JPEG

recompiled the gspcav1 driver which gave in nearly every line of gspca core a error by rebooting

so i had to update opensuse 11 to get all as it was before including
the kernel
so now we have the gspcav1 driver and all the webcam programs work fine

So you can go on with the new gspca drivers for 2.6.27.xx and quite
a few webcam wont work
and most of the programs,
then i wil have this kernel and kernel sources 2.6.25 saved on dvd to be used by future versions of Opensuse
or the makefile, possible some code in gspcav1 has to be altered so we can compile it on 2.6.27

Rob

2008/8/18 Jean-Francois Moine <[email protected]>:

Quoted 26 lines · rob
Quoted 1 line

Hello all

Hello rob,

Quoted 1 line

This is my first post to this list

No, it is the second one ;)

Quoted 4 lines

i have troubles with my webcam and kernel 2.6.27.rc3 (Opensuse) there are modules loaded gspca sonic sn9s102
but no program sees the webcam
The webcam is Msi StarCam 0xc45 0x60fc sn9c105 hv7131r with mic

This webcam is handled by both the sn9c102 and gspca drivers. If the driver sn9c102 is generated, gspca does not handle it.

Quoted 2 lines

With the gspcav1 drivers compiled on kernel 2.6.25.11-0.1 (opensuse) the webcam is seen as a v4L1 webcam see log below

       [snip]

If your webcam worked with gspca v1, it should work with gspca v2. So, remove the driver sn9c102, get the last gspca v2 from

http://linuxtv.org/hg/~jfrancois/gspca/

Quoted 10 lines

and look at the gspca_README.txt in my page for generation and usage.

Cheers.

--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#3 lore raw
Quoted 1 line · rob koendering

Hello Jean

Hello Rob,

Quoted 4 lines

did what say and installed all
still the webcam is nor working
none of the programs will give a picture
either no /dev/video or cant decode JPEG

The sensor you have has never been tested with gspca v2. May you give me more information, i.e. syslog output with gspca_main/debug set to 0xff?

Quoted 10 lines

recompiled the gspcav1 driver which gave in nearly every line of gspca core a error by rebooting

so i had to update opensuse 11 to get all as it was before including
the kernel
so now we have the gspcav1 driver and all the webcam programs work fine

So you can go on with the new gspca drivers for 2.6.27.xx and quite
a few webcam wont work
and most of the programs,

Indeed, if nobody wants to test, these webcams will never work!

Quoted 4 lines

then i wil have this kernel and kernel sources 2.6.25 saved on dvd to be used by future versions of Opensuse
or the makefile, possible some code in gspcav1 has to be altered so we can compile it on 2.6.27

You do what you want: if you want to keep the gspca v1 you will have to maintain it by yourself...

Regards.

Signature · 8 lines
Ken ar c'hentañ |             ** Breizh ha Linux atav! **
Jef             |               http://moinejf.free.fr/


--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#6 lore raw
In reply to a message not in the archive

Jean on opensuse there is only 1 .config file and that resides in /usr/src/linux-2.6.25.11-0.1-obj/x86_64/default

there are also the Makefile modules.alias Module.symvers

all installed when i installed opensuse on that laptop normaly there is no laptop on that machine so no driver

i have tryed it one again the same result

Rob

2008/8/19 Jean-Francois Moine <[email protected]>:

Quoted 54 lines · rob koendering
Quoted 1 line

Hello jean

Hello Rob,

Quoted 1 line

First all the computers are 64 bit opensuse 11 or mandrive 2008.2

No problem.

Quoted 24 lines

i have laptop with opensuse 11.0

compiled and installed gspca-57535fa8aaff

put my webcam in and reboot

this are the boot messages:

gspca_main: disagrees about version of symbol video_ioctl2
gspca_main: Unknown symbol video_ioctl2
gspca_main: disagrees about version of symbol v4l_compat_ioctl32
gspca_main: Unknown symbol v4l_compat_ioctl32
gspca_main: disagrees about version of symbol video_devdata
gspca_main: Unknown symbol video_devdata
gspca_main: disagrees about version of symbol video_unregister_device
gspca_main: Unknown symbol video_unregister_device
gspca_main: disagrees about version of symbol video_register_device
gspca_main: Unknown symbol video_register_device
gspca_sonixj: Unknown symbol gspca_frame_add
gspca_sonixj: Unknown symbol gspca_debug
gspca_sonixj: Unknown symbol gspca_disconnect
gspca_sonixj: Unknown symbol gspca_dev_probe

Quoted 2 lines

as i said nothing works no driver loaded
nothing to do

It is a generation problem: you did not compile with the same config as the kernel you use.

To generate, you must go to the mercurial root (<where_you_installed>/gspca-57535fa8aaff/), copy the '.config' of your kernel (usually duplicated in '/boot/config') to 'v4l/', do a
'make xxconfig' (xx depending on your taste) to add the gspca driver,
then 'make' and, as root, 'make install'.

The last command (make install) will copy all the required video modules to the /lib/modules/uname -r/ tree, including the module 'videodev' where are defined the symbols video_ioctl2, v4l_compat_ioctl32...

Indeed, if you played with your webcam before doing the make install, the old module videodev is already loaded. Then, you MUST do a rmmod of ALL the module related to video, mainly 'v4l1_compat' and 'videodev' (and the old webcam drivers).

Quoted 8 lines

Regards.

--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#8 lore raw
In reply to a message not in the archive

jean i come out the IT so i know my way around

I did delete everything in /ib/modules/kernelxxxxxx/drivers/video

make and make install there they were again with date of today

so i dont know what can be wrong with that

tonight i am with someone who has Udbuntu on his machine we will try it there with the same webcam

By the way this kernel has no gspca drivers at all in the kernel

Rob

2008/8/19 Jean-Francois Moine <[email protected]>:

Quoted 16 lines · rob koendering
Quoted 9 lines

Jean on opensuse there is only 1 .config file and that resides in /usr/src/linux-2.6.25.11-0.1-obj/x86_64/default

there are also the Makefile modules.alias Module.symvers

all installed when i installed opensuse on that laptop normaly there is no laptop on that machine so no driver

i have tryed it one again the same result

Did you check the date of the modules in:
/lib/modules/uname -r/kernel/drivers/media/video
and:
/lib/modules/uname -r/kernel/drivers/media/video/gspca

Quoted 8 lines

If the dates are different, you have an install problem.

--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#10 lore raw
In reply to a message not in the archive

Jean i got the mgspcav1-01.00.20-3 drivers

They compile good took the compiled modules put then in a map
GSPCA put that map in the kernel modules did a depmod -ae
reboot and the webcam is working as before with the pspcav1 driver

one more thing this is a message from WXCAM

Determinig video4linux API version
/dev/video0 is no V4L2 device
Using video4linux 1 API
Found palette VIDEO_PALETTE_RGB24

Rob

2008/8/19 Jean-Francois Moine <[email protected]>:

Quoted 18 lines · rob koendering
Quoted 7 lines

jean i come out the IT so i know my way around

I did delete everything in /ib/modules/kernelxxxxxx/drivers/video

make and make install there they were again with date of today

so i dont know what can be wrong with that

If the same date appears also in
/lib/modules/uname -r/kernel/drivers/media/video/gspca
and if you did rmmod of all the video modules before plugging the webcam, I do not see what it can be...

Quoted 4 lines

tonight i am with someone who has Udbuntu on his machine we will try it there
with the same webcam

Quoted 10 lines
Quoted 1 line

By the way this kernel has no gspca drivers at all in the kernel

Good! Thank you to give me the results.

--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list