gspca core: Fix regressions gspca breaking devices with audio
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 20101209184236.53824f09@pedra
A message that is not in the archive (sent off-list or not yet received): 20101210115124.57ccd43e@tele
Quoted 22 lines · Jean-Francois Moine
Quoted 10 lines · On Thu, 9 Dec 2010 18:42:36 -0200 Mauro Carvalho Chehab <[email protected]>…
Changeset 35680ba broke several devices:
- Sony Playstation Eye (1415:2000);
- Gigaware model 25-234 (0c45:628f);
- Logitech Messenger Plus (046d:08f6).Probably more devices were broken by this change.
What happens is that several devices don't need to save some bandwidth for audio.
Quoted 6 lines
Also, as pointed by Hans de Goede <[email protected]>, the logic that implements the bandwidth reservation for audio is broken, since it will reduce the alt number twice, on devices with audio.
So, let's just revert the broken logic, and think on a better solution for usb 1.1 devices with audio that can't use the maximum packetsize.
Quoted 8 lines
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
How can I disable the noise from camera ?
There is no physical microphone in it.
( mute do not work )
[ 139.656021] usb 8-1: new full speed USB device using uhci_hcd and address 2 [ 139.788024] usb 8-1: ep0 maxpacket = 8 [ 139.824840] usb 8-1: skipped 3 descriptors after interface [ 139.824846] usb 8-1: skipped 2 descriptors after interface [ 139.824851] usb 8-1: skipped 1 descriptor after endpoint [ 139.829822] usb 8-1: default language 0x0409 [ 139.848810] usb 8-1: udev 2, busnum 8, minor = 897 [ 139.848816] usb 8-1: New USB device found, idVendor=05a9, idProduct=4519 [ 139.848821] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 139.848826] usb 8-1: Product: USB Camera [ 139.848830] usb 8-1: Manufacturer: OmniVision Technologies, Inc. [ 139.848996] usb 8-1: usb_probe_device [ 139.849003] usb 8-1: configuration #1 chosen from 1 choice [ 139.851825] usb 8-1: adding 8-1:1.0 (config #1, interface 0) [ 139.851932] usb 8-1: adding 8-1:1.1 (config #1, interface 1) [ 139.851992] usb 8-1: adding 8-1:1.2 (config #1, interface 2) [ 139.898020] gspca: v2.11.0 registered [ 139.904357] ov519 8-1:1.0: usb_probe_interface [ 139.904362] ov519 8-1:1.0: usb_probe_interface - got id [ 139.904367] gspca: probing 05a9:4519 [ 140.088677] ov519: I2C synced in 0 attempt(s) [ 140.088683] ov519: starting OV7xx0 configuration [ 140.100673] ov519: Sensor is a OV7660 [ 141.530010] input: ov519 as /devices/pci0000:00/0000:00:1d.3/usb8/8-1/input/input5 [ 141.530188] gspca: video0 created [ 141.530205] ov519 8-1:1.1: usb_probe_interface [ 141.530210] ov519 8-1:1.1: usb_probe_interface - got id [ 141.530227] ov519 8-1:1.2: usb_probe_interface [ 141.530231] ov519 8-1:1.2: usb_probe_interface - got id [ 141.530267] usbcore: registered new interface driver ov519 [ 141.643983] snd-usb-audio 8-1:1.1: usb_probe_interface [ 141.643990] snd-usb-audio 8-1:1.1: usb_probe_interface - got id [ 141.651156] usbcore: registered new interface driver snd-usb-audio [ 141.758522] uhci_hcd 0000:00:1d.3: reserve dev 2 ep82-ISO, period
1, phase 0, 40 us
Quoted 3 lines · On Tue, 14 Dec 2010 20:52:43 +0200 Anca Emanuel <[email protected]> wrote:
How can I disable the noise from camera ?
There is no physical microphone in it.
( mute do not work )
[snip]
Quoted 8 lines
[ 139.848996] usb 8-1: usb_probe_device [ 139.849003] usb 8-1: configuration #1 chosen from 1 choice [ 139.851825] usb 8-1: adding 8-1:1.0 (config #1, interface 0) [ 139.851932] usb 8-1: adding 8-1:1.1 (config #1, interface 1) [ 139.851992] usb 8-1: adding 8-1:1.2 (config #1, interface 2) [ 139.898020] gspca: v2.11.0 registered [ 139.904357] ov519 8-1:1.0: usb_probe_interface [ 139.904362] ov519 8-1:1.0: usb_probe_interface - got id
This is an old version. May you get the last one from my web page? (actual 2.11.15)
Signature · 2 lines
Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/
Quoted 16 lines · Jean-Francois Moine
Quoted 3 lines · On Tue, 14 Dec 2010 20:52:43 +0200 Anca Emanuel <[email protected]> wrote:
How can I disable the noise from camera ?
There is no physical microphone in it.
( mute do not work )[snip]
Quoted 8 lines
[ 139.848996] usb 8-1:
usb_probe_device
[ 139.849003] usb 8-1: configuration #1 chosen from 1 choice [ 139.851825] usb 8-1: adding 8-1:1.0 (config #1, interface 0) [ 139.851932] usb 8-1: adding 8-1:1.1 (config #1, interface 1) [ 139.851992] usb 8-1: adding 8-1:1.2 (config #1, interface 2) [ 139.898020] gspca: v2.11.0 registered
[ 139.904357] ov519 8-1:1.0:usb_probe_interface
[ 139.904362] ov519 8-1:1.0:usb_probe_interface- got id
Quoted 2 lines
This is an old version. May you get the last one from my web page? (actual 2.11.15)
The same bizzzzzzzzz ...
[ 74.272034] usb 8-1: new full speed USB device using uhci_hcd and address 2 [ 74.404016] usb 8-1: ep0 maxpacket = 8 [ 74.440242] usb 8-1: skipped 3 descriptors after interface [ 74.440245] usb 8-1: skipped 2 descriptors after interface [ 74.440248] usb 8-1: skipped 1 descriptor after endpoint [ 74.445234] usb 8-1: default language 0x0409 [ 74.464241] usb 8-1: udev 2, busnum 8, minor = 897 [ 74.464244] usb 8-1: New USB device found, idVendor=05a9, idProduct=4519 [ 74.464247] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 74.464250] usb 8-1: Product: USB Camera [ 74.464252] usb 8-1: Manufacturer: OmniVision Technologies, Inc. [ 74.464365] usb 8-1: usb_probe_device [ 74.464369] usb 8-1: configuration #1 chosen from 1 choice [ 74.467255] usb 8-1: adding 8-1:1.0 (config #1, interface 0) [ 74.467326] usb 8-1: adding 8-1:1.1 (config #1, interface 1) [ 74.467356] usb 8-1: adding 8-1:1.2 (config #1, interface 2) [ 74.467409] hub 8-0:1.0: state 7 ports 2 chg 0000 evt 0002 [ 74.508926] gspca: v2.11.0 registered [ 74.515078] ov519 8-1:1.0: usb_probe_interface [ 74.515083] ov519 8-1:1.0: usb_probe_interface - got id [ 74.515088] gspca-2.11.5: probing 05a9:4519 [ 74.700355] ov519-2.11.5: I2C synced in 0 attempt(s) [ 74.700358] ov519-2.11.5: starting OV7xx0 configuration [ 74.712360] ov519-2.11.5: Sensor is a OV7660 [ 76.070091] input: ov519 as /devices/pci0000:00/0000:00:1d.3/usb8/8-1/input/input5 [ 76.070213] gspca-2.11.5: video0 created [ 76.070224] ov519 8-1:1.1: usb_probe_interface [ 76.070227] ov519 8-1:1.1: usb_probe_interface - got id [ 76.070239] ov519 8-1:1.2: usb_probe_interface [ 76.070241] ov519 8-1:1.2: usb_probe_interface - got id [ 76.070262] usbcore: registered new interface driver ov519 [ 76.178628] snd-usb-audio 8-1:1.1: usb_probe_interface [ 76.178635] snd-usb-audio 8-1:1.1: usb_probe_interface - got id [ 76.185357] usbcore: registered new interface driver snd-usb-audio [ 76.279093] uhci_hcd 0000:00:1d.3: reserve dev 2 ep82-ISO, period 1, phase 0, 40 us [ 76.804108] hub 2-0:1.0: hub_suspend [ 76.804117] usb usb2: bus auto-suspend [ 76.804121] ehci_hcd 0000:00:1d.7: suspend root hub [ 81.286524] uhci_hcd 0000:00:1d.3: release dev 2 ep82-ISO, period
1, phase 0, 40 us
Quoted 1 line · On Tue, 14 Dec 2010 22:05:37 +0200 Anca Emanuel <[email protected]> wrote:
The same bizzzzzzzzz ...
Does this noise exist with all image resolutions? Also, does it change when changing the frame rate or the light frequency?
Signature · 2 lines
Ken ar c'hentañ | ** Breizh ha Linux atav! ** Jef | http://moinejf.free.fr/
Quoted 6 lines · Jean-Francois Moine
Quoted 1 line · On Tue, 14 Dec 2010 22:05:37 +0200 Anca Emanuel <[email protected]> wrote:
The same bizzzzzzzzz ...
Does this noise exist with all image resolutions?
Yes.
Quoted 2 lines
Also, does it change when changing the frame rate or the light frequency?
Today, I can not reproduce the same noise. Only when I put my hand near the camera. I tried to record it, but there is no sound. The sound is only on the speakers.
I muted the output and disabled the "Webcam Classic", the same interference. The camera don't have an microphone,
[ 2395.093550] usb 8-1: adding 8-1:1.1 (config #1, interface 1) [ 2395.093621] ov519 8-1:1.1: usb_probe_interface [ 2395.093627] ov519 8-1:1.1: usb_probe_interface - got id [ 2395.093646] snd-usb-audio 8-1:1.1: usb_probe_interface [ 2395.093653] snd-usb-audio 8-1:1.1: usb_probe_interface - got id
there is no need for snd-usb-audio on this model.