Mark Bryars wrote:
> I'm trying to figure out if I can reset a card without rebooting the
> machine to get the card going again.
> 
> I had four cards lock up in the one machine, rmmoded ivtv and reloaded
> it, one of the four resumed operation,  so clearly sometimes the card
> will get out of this locked up state, the driver should probably try and
> reset the card after a timeout.
> 
> Whilst looking for a way to reset a PCI slot, I found the kernel
> documentation on PCI error handling, so I added a stubbed error handler
> with a printk to the driver to see if it would get called to be able to
> return with a slot reset request from that... It didn't get called
> during the dma errors or timeouts.
> 
> Is there a simple way to request a PCI card/bus gets reset? Would this
> bump the card back into an operational state? Is there a better way?

There has been some talk that the Hauppauge folks have a quick (sub 
1-second) way to reset the card in case of DMA problems. This way is

1) Probably a hack
2) Proprietary
3) Pretty hard to get right

But I suppose it might be possible to reverse engineer the windows 
driver to gain some insights into card resets. It would be a cool 
feature to have, certainly.

-- 
Regardsm
Christian Iversen

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to