Re: unload/unplugging (Re: success! (Re: media_build and Terratec Cinergy T Black.))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- On Sat, 7/7/12, Antti Palosaari <crope@xxxxxx> wrote:

<snipped>
> > I also have quite a few :
> > 
> > [224773.229293] DVB: adapter 0 frontend 0 frequency 2
> out of range (174000000..862000000)
> > 
> > This seems to come from running w_scan.
> 
> yes, those warnings are coming when application request
> illegal frequency. Setting frequency as a 2 Hz is something
> totally wrong, wild guess, it is some other value set
> accidentally as frequency.

I am thinking either w_scan is doing something it should not, in which case we should inform its author to have this looked at, or the message does not need to be there?

> > The kernel seems happy while having the device
> physically pulled out. But the kernel module does not like
> to be unloaded (modprobe -r) while mplayer is running, so we
> need to fix that.
> 
> Yep, seems to refuse unload. I suspect it is refused since
> there is ongoing USB transmission as it streams video. But
> should we allow that? And is removing open device nodes OK
> as applications holds those?

I am thinking about suspend/resume, the poorman's way, which is to unload/reload. One interesting thing to try would be to pause but not quit the application - either just press pause, or say, 'gdb <mplayerbinary> <pid>', and see if 'modprobe -r' can be made to work under that sort of condition, if it isn't already.
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux