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.
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@xxxxxxxxxxx 写道:
Send linux-dvb mailing list submissions to linux-dvb@xxxxxxxxxxx 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@xxxxxxxxxxx You can reach the person managing the list at linux-dvb-owner@xxxxxxxxxxx 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@xxxxxxx> Subject: Problems about the drivers rmmod. To: linux-dvb@xxxxxxxxxxx Message-ID: <29848670.653301184124858052.JavaMail.coremail@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxx> Subject: Re: Problems about the drivers rmmod. To: linux-dvb@xxxxxxxxxxx Message-ID: <e0b07cc80707102044o473e735fsa092b2ce63da1a30@xxxxxxxxxxxxxx> 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@xxxxxxx> 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@xxxxxxxxxxx > 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@xxxxxxxxxxx> Subject: Re: libdvbapi clarification To: linux-dvb@xxxxxxxxxxx Message-ID: <57735.145.64.134.244.1184139093.squirrel@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx> Subject: Re: Help needed with dst To: linux-dvb@xxxxxxxxxxx Message-ID: <4694A4DD.7020500@xxxxxxxxxxxxxx> 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@xxxxxxxxx> Subject: Re: [Em28xx] MPL-licensed V4L kernel modules (em2880) To: "Trent Piepho" <xyzzy@xxxxxxxxxxxxx> Cc: Linux and Kernel Video <video4linux-list@xxxxxxxxxx>, Linux DVB <linux-dvb@xxxxxxxxxxx>, em28xx@xxxxxxxxxxx Message-ID: <d9def9db0707110241x939154ft7150ba07c83e5af5@xxxxxxxxxxxxxx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 7/10/07, Trent Piepho <xyzzy@xxxxxxxxxxxxx> 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@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb End of linux-dvb Digest, Vol 30, Issue 16 *****************************************
iPod、万 点 巨 额 点 卡、奖 学 金……海 量 奖 品,想 拿 就 拿!
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb