Skip to contentSkip to conversation

capture-example.c crash on close_device()

DISCUSSION Sean 1 participant 3 messages Aug 5, 2009 – Oct 27, 2009 Media (V4L/DVB)

lore
Share & tools
lore

Sean

author
#0 lore raw

Hi,

I have compiled kernel 2.6.30 from kernel.org, and I have also compiled capture-example.c from the mercurial depository. These work on laptop hardware, but on my DM&P e-box 2300SX (with vortex86 cpu), capture-example.c crashes the system. Complete lockup, no keyboard, etc. I turned on all debuging in gspca_main, i.e. options gspca_main debug=0x1FF. I also put print statements in capture-example.c in main() before each function call. Here is the output below. Has anyone had this problem?

-------

# capture-example -r
<snip>
gspca: packet [28] o:28644 l:126
gspca: add t:2 l:126
gspca: packet [31] o:31713 l:630
pac207: SOF found, bytes to analyze: 630. Frame starts at byte #19
gspca: add t:3 l:14
gspca: frame complete len:26496 q:1 i:0 o:1
gspca: add t:1 l:0
gspca: add t:2 l:600
gspca: poll
gspca: read (202752)
gspca: dqbuf
gspca: frame wait q:1 i:0 o:0
gspca: autogain: lum: 252, desired: 102, steps: 5
gspca: dqbuf 1
gspca: qbuf 1
gspca: qbuf q:0 i:0 o:0
.stop_capturing()
uninit_device()
close_device()
gspca: capture-example close
gspca: kill transfer
gspca: isoc irq
gspca: isoc irq
gspca: isoc irq
author
#1 lore raw

Hans,

What do you think is causing this? pac207 driver.

Sean

Quoted 36 lines · Sean

Hi,

I have compiled kernel 2.6.30 from kernel.org, and I have also compiled capture-example.c from the mercurial depository. These work on laptop hardware, but on my DM&P e-box 2300SX (with vortex86 cpu), capture-example.c crashes the system. Complete lockup, no keyboard, etc. I turned on all debuging in gspca_main, i.e. options gspca_main debug=0x1FF. I also put print statements in capture-example.c in main() before each function call. Here is the output below. Has anyone had this problem?

-------

# capture-example -r
<snip>
gspca: packet [28] o:28644 l:126
gspca: add t:2 l:126
gspca: packet [31] o:31713 l:630
pac207: SOF found, bytes to analyze: 630. Frame starts at byte #19
gspca: add t:3 l:14
gspca: frame complete len:26496 q:1 i:0 o:1
gspca: add t:1 l:0
gspca: add t:2 l:600
gspca: poll
gspca: read (202752)
gspca: dqbuf
gspca: frame wait q:1 i:0 o:0
gspca: autogain: lum: 252, desired: 102, steps: 5
gspca: dqbuf 1
gspca: qbuf 1
gspca: qbuf q:0 i:0 o:0
.stop_capturing()
uninit_device()
close_device()
gspca: capture-example close
gspca: kill transfer
gspca: isoc irq
gspca: isoc irq
gspca: isoc irq
Signature · 3 lines
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
author
#2 lore raw
In reply to Sean

I'm still having trouble with capture-example.c completely locking up my system. The same os image on other hardware works fine. Where do I start looking? What can I do to debug this issue?

Sean

Quoted 36 lines · Sean

Hi,

I have compiled kernel 2.6.30 from kernel.org, and I have also compiled capture-example.c from the mercurial depository. These work on laptop hardware, but on my DM&P e-box 2300SX (with vortex86 cpu), capture-example.c crashes the system. Complete lockup, no keyboard, etc. I turned on all debuging in gspca_main, i.e. options gspca_main debug=0x1FF. I also put print statements in capture-example.c in main() before each function call. Here is the output below. Has anyone had this problem?

-------

# capture-example -r
<snip>
gspca: packet [28] o:28644 l:126
gspca: add t:2 l:126
gspca: packet [31] o:31713 l:630
pac207: SOF found, bytes to analyze: 630. Frame starts at byte #19
gspca: add t:3 l:14
gspca: frame complete len:26496 q:1 i:0 o:1
gspca: add t:1 l:0
gspca: add t:2 l:600
gspca: poll
gspca: read (202752)
gspca: dqbuf
gspca: frame wait q:1 i:0 o:0
gspca: autogain: lum: 252, desired: 102, steps: 5
gspca: dqbuf 1
gspca: qbuf 1
gspca: qbuf q:0 i:0 o:0
.stop_capturing()
uninit_device()
close_device()
gspca: capture-example close
gspca: kill transfer
gspca: isoc irq
gspca: isoc irq
gspca: isoc irq
Signature · 3 lines
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