[linux-dvb] linux-dvb Digest, Vol 30, Issue 16

lwtbenben lwtbenben at 163.com
Wed Jul 11 12:27:34 CEST 2007


 Dear timecop:
    It is just nothing when I modprobe mymodule and modprobe -r mymodule BEFORE
my hardware present.
    The bad things happen when I modprobe -r mymodule AFTER my haredware present.       
在2007-07-11,linux-dvb-request at linuxtv.org 写道:
Send linux-dvb mailing list submissions to linux-dvb at linuxtv.org To subscribe or unsubscribe via the World Wide Web, visit http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb or, via email, send a message with subject or body 'help' to linux-dvb-request at linuxtv.org You can reach the person managing the list at linux-dvb-owner at linuxtv.org When replying, please edit your Subject line so it is more specific than "Re: Contents of linux-dvb digest..." Today's Topics: 1. Problems about the drivers rmmod. (lwtbenben) 2. Re: Problems about the drivers rmmod. (timecop) 3. Re: libdvbapi clarification (David H?rdeman) 4. Re: Help needed with dst (Joel Michael) 5. Re: [Em28xx] MPL-licensed V4L kernel modules (em2880) (Markus Rechberger) ---------------------------------------------------------------------- Message: 1 Date: Wed, 11 Jul 2007 11:34:18 +0800 (CST) From: lwtbenben <lwtbenben at 163.com> Subject: [linux-dvb] Problems about the drivers rmmod. To: linux-dvb at linuxtv.org Message-ID: <29848670.653301184124858052.JavaMail.coremail at bj163app12.163.com> Content-Type: text/plain; charset="gbk" Hi,everyone I am now developing my own tv card's driver. While I am debugging, I just found a problem when I used "modprobe -r" to rmmod my driver module, it is like this: a. When I don't insert my hardware, modprobe dvb-usb-mymodule.ko and modprobe -r dvb-usb-mymodule.ko were well executed. b. First, I insmod my module: modprobe dvb-usb-mymodule.ko Then, I insert my own hareware. And if I want to rmmod my module: modprobe dvb-usb-mymodule.ko It is bad. The terminal is dead, and the modprobe thread is hanging on and can't be killed. I must reboot to make it. So, could anybody help me with this issue? Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070711/67464b46/attachment.html ------------------------------ Message: 2 Date: Wed, 11 Jul 2007 12:44:06 +0900 From: timecop <timecop at gmail.com> Subject: Re: [linux-dvb] Problems about the drivers rmmod. To: linux-dvb at linuxtv.org Message-ID: <e0b07cc80707102044o473e735fsa092b2ce63da1a30 at mail.gmail.com> Content-Type: text/plain; charset=GB2312; format=flowed How is it that you're inserting driver for your hardware BEFORE the hardware is present? On 7/11/07, lwtbenben <lwtbenben at 163.com> wrote: > Hi,everyone > I am now developing my own tv card's driver. > While I am debugging, I just found a problem when I used "modprobe -r" > to rmmod my driver module, it is like this: > a. When I don't insert my hardware, > modprobe dvb-usb-mymodule.ko and modprobe -r dvb-usb-mymodule.ko > were well executed. > b. First, I insmod my module: modprobe dvb-usb-mymodule.ko > Then, I insert my own hareware. > And if I want to rmmod my module: modprobe dvb-usb-mymodule.ko > It is bad. > The terminal is dead, and the modprobe thread is hanging on and can't > be killed. I must reboot to make it. > > So, could anybody help me with this issue? > Thank you very much. > > > > > > ________________________________ > 150 ? ? ? ? ? ? ? ? ??? ? ? ? ? ? > _______________________________________________ > linux-dvb mailing list > linux-dvb at linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb > ------------------------------ Message: 3 Date: Wed, 11 Jul 2007 09:31:33 +0200 (CEST) From: David H?rdeman <david at hardeman.nu> Subject: Re: [linux-dvb] libdvbapi clarification To: linux-dvb at linuxtv.org Message-ID: <57735.145.64.134.244.1184139093.squirrel at www.hardeman.nu> Content-Type: text/plain;charset=iso-8859-1 On Tue, July 10, 2007 10:56, Marcel Siegert wrote: > On Tuesday 10 July 2007, David H?rdeman wrote: >> I'm trying to understand the dvbdemux_set_section_filter function in >> dvp-apps/lib/libdvbapi/dvbdemux.c (lines 74 - 93). ... > > if you filter a section you can filter on e.g. the table id but NOT on the > size ect. (those are used as byte 2 + 3 of a section) Ok, now I'm confused...when I use one filter by calling dvbdemux_set_section_filter with filter[0] and mask[0] set to something, I get sections. If I use two filters by calling dvbdemux_set_section_filter with filter[0], mask[0], filter[3], mask[3] set to something, I get no sections at all... Do I need to do anything special to use multiple filters? Second, unused filter and mask values are set to 0x00, but how does the API distinguish between an unused filter/mask pair and a request for all sections? It seems that if I call dvbdemux_set_section_filter with mask[0] = 0x00 and filter[0] = 0x00 I do get all sections... -- David H?rdeman ------------------------------ Message: 4 Date: Wed, 11 Jul 2007 19:37:33 +1000 From: Joel Michael <joel at gimps-r-us.com> Subject: Re: [linux-dvb] Help needed with dst To: linux-dvb at linuxtv.org Message-ID: <4694A4DD.7020500 at gimps-r-us.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Joel Michael wrote: > The machine I'm running the card on is a Core2 Duo (x86_64 mode), on an > Asus P5B-VM motherboard, running the Gentoo distribution. I've tried > with and without preempt, and am going to try without SMP tonight, and > maybe try it in 32-bit mode. I've also tried removing the pair of > FlexCopII's, with no success. > I've dug into the source a bit, and it seems that in drivers/media/video/bt8xx/bttv-i2c.c, I get an interrupt from the card without BT848_INT_RACK set, but BT848_INT_I2CDONE is set. If someone can shed a bit of light on why this might be happening, it would be greatly appreciated. Right now, I'm off to see if it works at all in 32-bit mode. ------------------------------ Message: 5 Date: Wed, 11 Jul 2007 11:41:19 +0200 From: "Markus Rechberger" <mrechberger at gmail.com> Subject: Re: [linux-dvb] [Em28xx] MPL-licensed V4L kernel modules (em2880) To: "Trent Piepho" <xyzzy at speakeasy.org> Cc: Linux and Kernel Video <video4linux-list at redhat.com>, Linux DVB <linux-dvb at linuxtv.org>, em28xx at mcentral.de Message-ID: <d9def9db0707110241x939154ft7150ba07c83e5af5 at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 7/10/07, Trent Piepho <xyzzy at speakeasy.org> wrote: > On Tue, 10 Jul 2007, Markus Rechberger wrote: > > Stop that MPL discussion, I can put that code offline too and update > > it with some probably nonfunctional code for several devices but it > > won't help anyone in the end - so I won't do it. > > I don't want my work to be stolen by linuxtv people in the end. It's > > It's funny you should say this, since 99% of the code you are distributing > came from linuxtv in the first place! > Trent, I believe you're smart enough to see the problem behind everything .. the license stuff is the smallest part of everything; I don't steal and obfuscate code and remove the copyrights. And I for sure will not tell anyone how he has to do his work after a discussion where I didn't seriously participate. The code as it is will get removed sooner or later and replaced with a smaller package which only contains the necessary drivers. I wonder what you try to gain by bothering about the license there all you can win is the removal of the code there and the release of the replacement of the around 80% finished reworked code. So please stay serious and better try to fix the community problems that something like that won't happen again. Markus ------------------------------ _______________________________________________ linux-dvb mailing list linux-dvb at linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb End of linux-dvb Digest, Vol 30, Issue 16 *****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070711/c070f3b3/attachment.htm 


More information about the linux-dvb mailing list