new gspca for kernel >= 3.5.4

Richieste di programmi e di intervento del MIB
Post Reply
User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

new gspca for kernel >= 3.5.4

Post by promeneur »

with kernel >= 3.5.4 gspca webcam does not work. there is a black screen. some others say very dark image.
this pb occurs for rosa 2012.1 b1, mageia 3 a3, mandriva 2010.2 i586

a person found a solution see here :

https://bugs.mageia.org/show_bug.cgi?id=6596

the solution is to get the packet of the source of gspca driver of debian wheezy

then compile it with the mageia kernel devel then replace all the original gspca modules in
/lib/modules/<kernel>/kernel/drivers/media/video/gspca/
/lib/modules/<kernel>/kernel/drivers/media/video/gspca/gl860/
/lib/modules/<kernel>/kernel/drivers/media/video/gspca/m5502/
/lib/modules/<kernel>/kernel/drivers/media/video/gspca/stv06xx/


his method :

- Install Mageia kernel-desktop-devel-latest

- Rename folder
/usr/src/linux-3.3.6-desktop-2.mga2/drivers/media/video/gspca
then
replace it with the gspca folder from debian
then
- cd /usr/src/linux-3.3.6-desktop-2.mga2

- make SUBDIRS=drivers/media/video/gspca modules

- compress all the *.ko to *.ko.gz
- replace all the *.ko.gz in
/lib/modules/<kernel>/kernel/drivers/media/video/gspca/
/lib/modules/<kernel>/kernel/drivers/media/video/gspca/gl860/
/lib/modules/<kernel>/kernel/drivers/media/video/gspca/m5502/
/lib/modules/<kernel>/kernel/drivers/media/video/gspca/stv06xx/

this person send me the gspca folder of the source heused
i adapted the method for my mandriva but i have some compiling error

perhaps someone more techie than me can make a dkms or just compile the new gspca for mandriva 2010.2 i586 kernel 3.6.5
then i can make a test
and
this would be good to have a solution for rosa 2012.1

thanks
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: new gspca for kernel >= 3.5.4

Post by promeneur »

i found the solution !

see comment 16 here https://bugzilla.kernel.org/show_bug.cgi?id=49591
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: new gspca for kernel >= 3.5.4

Post by NicCo »

I followed "promeneur" suggestions adding two patches for gspca to kernel 3.6

Code: Select all

%changelog

* Sat Nov 24 2012 Nicolo' Costanza <abitrules@yahoo.it> 3.6.8-rc1-1
+ update to 3.6.8-rc1 (89 fixes all over)
+ modify: now modules are compressed with xz for ROSA 2012.1,
- thus recovering more than 7 Mb from any kernel flavour rpm
+ added two patches to fix gspca problems with some webcams:
- GS01_gspca-ov534_fix_the_light_frequency_filter.patch
- GS02_gspca-stv06xx_fix_a_regression_with_the_bridge-sensor_vv6410.patch
- ---------------------------------------------------------------------
- Kernel 3.6 for mdv 2010.2, 2011.0, cooker, rosa.lts2012.0, rosa2012.1
- MIB (Mandriva International Backports) - http://mib.pianetalinux.org/
- This is -1 (mainline serie), with official kernel sources and addons,
- instead (-69) will be used for development and experimental flavours
- Yin & Yang (69) release - a very complete but experimental flavours...
- ---------------------------------------------------------------------
About the XZ modify, that you can read about in the latest changelog

I have observed the new reduced rpms length:
main kernel rpm has a significative difference, 37Mb against 44Mb
differences for all other rpm files are very minimal, meaningless
so with this kernel xz we could save about 7 Mb from the iso size

new with XZ, then old with gz

Code: Select all

kernel-nrj-desktop-3.6.7-1rosa-1-1-rosa2012.1.x..> 21-Nov-2012 02:59            44.826.569
kernel-nrj-desktop-3.6.7-1rosa-1-1-rosa2012.1.x..> 23-Nov-2012 15:40            37.945.617
Kernel 3.6.7/8 with modules now compressed in xz
Yesterday I installed: I start my testing as usual, seems no problem
but we need intensive testing from ROSA LABS with dkms and so on...

Kernel 3.6.8 XZ and GSPCA > rpms are inside:
http://abf.rosalinux.ru/downloads/kerne ... osa2012.1/


Code: Select all

urpmi http://abf.rosalinux.ru/downloads/mib_experiments_personal/repository/rosa2012.1/x86_64/main/release/kernel-nrj-desktop-devel-3.6.8-0.rc1.1rosa-1-1-rosa2012.1.x86_64.rpm
urpmi http://abf.rosalinux.ru/downloads/mib_experiments_personal/repository/rosa2012.1/x86_64/main/release/kernel-nrj-desktop-3.6.8-0.rc1.1rosa-1-1-rosa2012.1.x86_64.rpm
#

Code: Select all

$ uname -a
Linux localhost.localdomain 3.6.8-nrj-desktop-0.rc1.1rosa #1 SMP PREEMPT Sat Nov 24 14:24:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
promeneur
Utente senior
Utente senior
Posts: 547
Joined: 6 February 2009, 17:47
ROSA: -
OpenMandriva: 2010.3 i586
Kernel: 3.5.7 nrj dsktp pae
Desktop: MIB kde 4.8.4
country: France

Re: new gspca for kernel >= 3.5.4

Post by promeneur »

I used rosa 2012.1 in virtualbox,
I discovered with the latest 2.4 version we can use webcam

my webcam uses gspca_stv06xx module and vv6410 sensor

it works well with kernel 3.6.8 rc 1.1 x86_64

then

we can conclude all webcams using stv06xx and vv6410 sensor works
Asus M2N, AMD Athlon 64 X2 5000+, 8 GB, Asus Nvidia 210 silent, Linksys WMP600N, Plugable USB-BT4LE Bluetooth 4.0 Adapter, lecteur multicarte Addonics AEIDDSAU, HP LaserJet 1220

User avatar
NicCo
Amministratore
Amministratore
Posts: 4765
Joined: 6 December 2007, 19:54

Re: new gspca for kernel >= 3.5.4

Post by NicCo »

promeneur wrote:we can conclude all webcams using stv06xx and vv6410 sensor works
I have informed ROSA developers into ML about your suggestions and successfull testing

I hope we should maintain these patches for next kernel 3.6.8 stable
if there will be no regressions with other webcams, as I can guess...

thanks,
NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

Post Reply