how to use dvb_attach (was: Re: [linux-dvb] Re: Error unloading WinTV NOVA T USB2)

Patrick Boettcher patrick.boettcher at desy.de
Tue Aug 22 09:37:32 CEST 2006


Hi Mario,

The wrong use_count for the dib3000mc is most likely because I'm not using 
the dvb_attach-function for attaching the demod/frontend, because the 
prototype of the dib3000mc_attach is not exactly the same as for other 
demod-drivers.

Why? Because with the dib3000mc_attach (and with the future coming 
dib7000m_attach and dib7000p_attach) we can attach more than one demod at 
the same time - will be used on devices arriving late fall/autumn).

Can someone please advise me how to proceed? 

thanks in advance,
Patrick.

--
  Mail: patrick.boettcher at desy.de
  WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/



On Mon, 21 Aug 2006, Mario Rossi wrote:
> I've been using again the WinTV NOVA T USB2 and the module behaved better
> today.
> Still impossible to unload the modules from memory
> 
> snd_usb_audio          68704  0
> snd_usb_lib            14336  1 snd_usb_audio
> snd_rawmidi            22048  1 snd_usb_lib
> snd_hwdep               8708  1 snd_usb_audio
> dib3000mc              11140  4294967292
> dibx000_common          3844  1 dib3000mc
> dvb_pll                14212  4294967292
> radeon                 98848  1
> drm                    61076  2 radeon
> 
> This is what it looks like after a "make unload" in the v4l directory.
> On the other hand I did not have any Oops and I was able to unplug and
> replug the USB cable.
> Maybe there is nothing wrong in that, it would be nice, though, to be
> able to remove modules from memory.
> 
> root at thinkpad v4l-dvb]# make unload
> make -C /home/andrea/projects/cvs/3rdParty/v4l-dvb/v4l unload
> make[1]: Entering directory `/home/andrea/projects/cvs/3rdParty/v4l-dvb/v4l'
> scripts/make_makefile.pl /lib/modules/2.6.17.8/build
> scripts/rmmod.pl unload
> found 21 modules
> /sbin/rmmod dib3000mc
> ERROR: Module dib3000mc is in use
> /sbin/rmmod dibx000_common
> ERROR: Module dibx000_common is in use by dib3000mc
> /sbin/rmmod dvb_pll
> ERROR: Module dvb_pll is in use
> make[1]: Leaving directory `/home/andrea/projects/cvs/3rdParty/v4l-dvb/v4l'
> 
> [root at thinkpad v4l-dvb]# /sbin/rmmod -f dib3000mc
> ERROR: Removing 'dib3000mc': Resource temporarily unavailable
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
> 
> 



More information about the linux-dvb mailing list