* (very) wrong picture with sonixj driver and 0c45:6128
@ 2009-06-29 18:43 eric.paturage
2009-06-30 10:46 ` Jean-Francois Moine
0 siblings, 1 reply; 4+ messages in thread
From: eric.paturage @ 2009-06-29 18:43 UTC (permalink / raw)
To: linux-media
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1218 bytes --]
Hello
i am trying to use an "ngs skull" webcam with the gspca sonixj driver .
i enclose a screen copy , so one can see what what i mean :
the image is flatten vertically , there is 25% missing on the left .
and the color is all wrong , over-bright . (no matter how much i try to correct with v4l_ctl)
the tests have been done with the latest mercurial version of the v4l drivers (from sunday evening)
on 2.6.29.4 . I also tried it on 2 other computers (2.6.28.2 ) and 2.6.27.4 . with sames results .
I do not think , it is a hardware related problem as the cam work fine on windows machine with the
vendor driver .
the tests have beeen done wit svv :
[root@neptune]# svv -d /dev/ngs_skull_cam
raw pixfmt: JPEG 640x480
pixfmt: RGB3 640x480
mmap method
this is the initialisation of the device as seen in dmesg
usb 1-1: new full speed USB device using uhci_hcd and address 7
usb 1-1: configuration #1 chosen from 1 choice
gspca: probing 0c45:6128
sonixj: Sonix chip id: 12
gspca: probe ok
width = 160, height=120
width = 320, height=240
width = 640, height=480
- Unknown type!
any idea what is going on ?
I can provide more detailled log if needed , by setting the debug param in gspca_main
Regards
[-- Attachment #2: screenshot.jpg --]
[-- Type: IMAGE/JPEG, Size: 55877 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (very) wrong picture with sonixj driver and 0c45:6128
2009-06-29 18:43 (very) wrong picture with sonixj driver and 0c45:6128 eric.paturage
@ 2009-06-30 10:46 ` Jean-Francois Moine
2009-06-30 18:46 ` Hans de Goede
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Francois Moine @ 2009-06-30 10:46 UTC (permalink / raw)
To: eric.paturage; +Cc: linux-media
On Mon, 29 Jun 2009 20:43:29 +0200 (CEST)
eric.paturage@orange.fr wrote:
> i am trying to use an "ngs skull" webcam with the gspca sonixj
> driver . i enclose a screen copy , so one can see what what i mean :
> the image is flatten vertically , there is 25% missing on the left .
> and the color is all wrong , over-bright . (no matter how much i try
> to correct with v4l_ctl) the tests have been done with the latest
> mercurial version of the v4l drivers (from sunday evening) on
> 2.6.29.4 . I also tried it on 2 other computers (2.6.28.2 ) and
> 2.6.27.4 . with sames results .
[snip]
> any idea what is going on ?
>
> I can provide more detailled log if needed , by setting the debug
> param in gspca_main
Hello Eric,
Looking at the ms-win driver, it seems that the bridge is not the right
one. May you try to change it? This is done in the mercurial tree
editing the file:
linux/drivers/media/video/gspca/sonixj.c
and replacing the line 2379 from:
{USB_DEVICE(0x0c45, 0x6128), BSI(SN9C110, OM6802, 0x21)}, /*sn9c325?*/
to
{USB_DEVICE(0x0c45, 0x6128), BSI(SN9C120, OM6802, 0x21)}, /*sn9c325*/
~~~
Don't forget to do 'make', 'make install' and 'rmmod gspca_sonixj'...
Cheers.
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (very) wrong picture with sonixj driver and 0c45:6128
2009-06-30 10:46 ` Jean-Francois Moine
@ 2009-06-30 18:46 ` Hans de Goede
0 siblings, 0 replies; 4+ messages in thread
From: Hans de Goede @ 2009-06-30 18:46 UTC (permalink / raw)
To: Jean-Francois Moine; +Cc: eric.paturage, linux-media
On 06/30/2009 12:46 PM, Jean-Francois Moine wrote:
> On Mon, 29 Jun 2009 20:43:29 +0200 (CEST)
> eric.paturage@orange.fr wrote:
>> i am trying to use an "ngs skull" webcam with the gspca sonixj
>> driver . i enclose a screen copy , so one can see what what i mean :
>> the image is flatten vertically , there is 25% missing on the left .
>> and the color is all wrong , over-bright . (no matter how much i try
>> to correct with v4l_ctl) the tests have been done with the latest
>> mercurial version of the v4l drivers (from sunday evening) on
>> 2.6.29.4 . I also tried it on 2 other computers (2.6.28.2 ) and
>> 2.6.27.4 . with sames results .
> [snip]
>> any idea what is going on ?
>>
>> I can provide more detailled log if needed , by setting the debug
>> param in gspca_main
>
> Hello Eric,
>
> Looking at the ms-win driver, it seems that the bridge is not the right
> one. May you try to change it? This is done in the mercurial tree
> editing the file:
>
> linux/drivers/media/video/gspca/sonixj.c
>
> and replacing the line 2379 from:
>
> {USB_DEVICE(0x0c45, 0x6128), BSI(SN9C110, OM6802, 0x21)}, /*sn9c325?*/
>
> to
>
> {USB_DEVICE(0x0c45, 0x6128), BSI(SN9C120, OM6802, 0x21)}, /*sn9c325*/
> ~~~
>
> Don't forget to do 'make', 'make install' and 'rmmod gspca_sonixj'...
>
Hi,
I happen to own a cam with the same USB id myself, and it shows the same
issues as described by Eric. Changing the bridge id does not help I'm
afraid.
I'm afraid I don't have the time to fix this in the near future (it is on
my to do but no idea when I'll get around to it). But I'm more then willing
to test any fixes.
Regards,
Hans
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (very) wrong picture with sonixj driver and 0c45:6128
@ 2009-06-30 19:27 eric.paturage
0 siblings, 0 replies; 4+ messages in thread
From: eric.paturage @ 2009-06-30 19:27 UTC (permalink / raw)
To: moinejf; +Cc: linux-media
On 30 Jun, Jean-Francois Moine wrote:
>
> On Mon, 29 Jun 2009 20:43:29 +0200 (CEST)
> eric.paturage@orange.fr wrote:
>> i am trying to use an "ngs skull" webcam with the gspca sonixj
>> driver . i enclose a screen copy , so one can see what what i mean :
>> the image is flatten vertically , there is 25% missing on the left .
>> and the color is all wrong , over-bright . (no matter how much i try
>> to correct with v4l_ctl) the tests have been done with the latest
>> mercurial version of the v4l drivers (from sunday evening) on
>> 2.6.29.4 . I also tried it on 2 other computers (2.6.28.2 ) and
>> 2.6.27.4 . with sames results .
> [snip]
> Hello Eric,
>
> Looking at the ms-win driver, it seems that the bridge is not the right
> one. May you try to change it? This is done in the mercurial tree
> editing the file:
>
> linux/drivers/media/video/gspca/sonixj.c
>
> and replacing the line 2379 from:
>
> {USB_DEVICE(0x0c45, 0x6128), BSI(SN9C110, OM6802, 0x21)}, /*sn9c325?*/
>
> to
>
> {USB_DEVICE(0x0c45, 0x6128), BSI(SN9C120, OM6802, 0x21)}, /*sn9c325*/
>
Hi JF
thanks for your suggestion , I modified sonixj.c compiled and reloaded the driver
but unfortunately I get the same (wrong) picture as before .
I put some mild debug in /etc/modprobe.conf
options gspca_main debug=0x000f
here is the result in dmesg :
----------------------------------------------------
gspca: main v2.6.0 registered
gspca: probing 0c45:6128
sonixj: Sonix chip id: 12
gspca: probe ok
usbcore: registered new interface driver sonixj
sonixj: registered
gspca: svv open
gspca: open done
width = 160, height=120
width = 320, height=240
width = 640, height=480
- Unknown type!
gspca: try fmt cap JPEG 640x480
gspca: try fmt cap JPEG 640x480
gspca: frame alloc frsz: 230990
gspca: reqbufs st:0 c:4
gspca: mmap start:b74ab000 size:233472
gspca: mmap start:b7472000 size:233472
gspca: mmap start:b7439000 size:233472
gspca: mmap start:b7400000 size:233472
gspca: use alt 8 ep 0x81
gspca: isoc 24 pkts size 1023 = bsize:24552
gspca: kill transfer
gspca: isoc 24 pkts size 1023 = bsize:24552
gspca: stream on OK JPEG 640x480
gspca: frame overflow 233714 > 233472
gspca: frame overflow 233606 > 233472
gspca: frame overflow 233901 > 233472
gspca: kill transfer
gspca: stream off OK
gspca: svv close
gspca: frame free
gspca: close done
Regards
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-30 19:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 18:43 (very) wrong picture with sonixj driver and 0c45:6128 eric.paturage
2009-06-30 10:46 ` Jean-Francois Moine
2009-06-30 18:46 ` Hans de Goede
-- strict thread matches above, loose matches on Subject: below --
2009-06-30 19:27 eric.paturage
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox