Re: [PATCH] gl861: re-implement i2c adapter logic

2019-08-24 Thread Akihiro TSUKADA
Hi, thanks for the patch. > See updated patch on ml. This raises two concerns for me: [1]. Clients must split an I2C transaction of one read into two, releasing the lock between them. They might be interrupted (for example) by other read transaction to another tuner, (or by other, un-related I2C

Re: [PATCH] gl861: re-implement i2c adapter logic

2019-08-23 Thread Akihiro TSUKADA
Hi, thanks for the example patch. > Here is debug log I tested multibyte i2c writes using zl10353 demod. All > returned bytes are not same, but it due to write only register bits I > think. > > dvb_usb_gl861 1-13:1.0: 1 | c0 02 00 1e 50 00 01 00 <<< 03 > dvb_usb_gl861 1-13:1.0: 1 | c0 02 00 1e 51

Re: [PATCH] dvb-usb-v2/gl861: fix wrong memcpy

2019-08-21 Thread Akihiro TSUKADA
Hi, > I suspect all whole friio_reset() function is not needed as it has > worked even I/O has been broken. It worked because the old driver (that I rmmod'ed before installing the testing driver) properly init'ed the device. If I re-plug it (or reboot), it does not work. So it is needed. > Also

Re: [PATCH] dvb-usb-v2/gl861: fix wrong memcpy

2019-08-17 Thread Akihiro TSUKADA
> Could you please test the patch and check if the return results are > now consistent and that it won't break anything? I have tested the patch and it worked without problems. Testd-by: Akihiro Tsukada I could not noticed the bug because the device was registered without any err

Re: [PATCH] dvb-usb-v2/gl861: fix wrong memcpy

2019-08-15 Thread Akihiro TSUKADA
> Does anyone have this hardware? This device must have been dead for about > a year, ever since commit b30cc07de8a9 was merged. I have one. (and I wrote the patch). Since I do not use it regularly and my app did not use the return value meaningfully, I have not noticed. regards, Akihiro

Re: [PATCH] media:dvb-frontends:Return if Max devices are added in dvb_pll_attach().

2019-07-18 Thread Akihiro TSUKADA
> Will it be better, if dvb_pll_devcount is decremented in dvb_pll_release(),  > instead of removing module params? But you cannot know deterministically which device corrensponds to what "id" (when you have multiple dvb_pll devices), since "id" is dependent on the history of register and unregis

Re: [PATCH] media:dvb-frontends:Return if Max devices are added in dvb_pll_attach().

2019-07-17 Thread Akihiro TSUKADA
Hi, > diff --git a/drivers/media/dvb-frontends/dvb-pll.c > b/drivers/media/dvb-frontends/dvb-pll.c > index ba0c49107bd2..c850f1d69bce 100644 > --- a/drivers/media/dvb-frontends/dvb-pll.c > +++ b/drivers/media/dvb-frontends/dvb-pll.c > @@ -788,6 +788,9 @@ struct dvb_frontend *dvb_pll_attach(struct

Re: [PATCH] media: dvb/earth-pt1: fix wrong initialization for demod blocks

2019-02-21 Thread Akihiro TSUKADA
Hi, thank you for reviewing my patch, ( <20190110095623.28070-1-tsk...@gmail.com> https://patchwork.linuxtv.org/patch/53834/ ), and excuse me for my late reply. I somehow lost your mail and noticed it just today by checking Patchwork. On Mon, 18 Feb 2019 21:04:28 +, you wrote: > It might b

Re: [PATCH v6 3/5] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-05-13 Thread Akihiro TSUKADA
Hi, thanks for the review. >> +gl861_i2c_rawwrite(struct dvb_usb_device *d, u8 addr, u8 *wbuf, u16 wlen)>> >> +{>> + u8 *buf;>> +int ret;>> +>> +buf = kmalloc(wlen, >> GFP_KERNEL);>> +if (!buf)>> + return -ENOMEM;>> +>> + >> usleep_range(1000, 2000); /* avoid I2C erro

Re: [PATCH v4] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-03-31 Thread Akihiro TSUKADA
> I don't understand those control message parts and it is bit too hard to > read i2c adapter implementation to get understanding. Could you offer > simple 2 sniff examples, register write to demod and register write to > tuner. Here is the part of a packet log. 1. write to demod (addr:0x18) reg

Re: [PATCH v4] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-03-30 Thread Akihiro TSUKADA
> I simply cannot see why it cannot work. Just add i2c adapter and > suitable logic there. Transaction on your example is simply and there is > no problem to implement that kind of logic to demod i2c adapter. I might be totally wrong, but... i2c transactions to a tuner must use: 1. usb_control_ms

Re: [PATCH v4] dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861

2018-03-28 Thread Akihiro TSUKADA
Hi, thanks for the comment. > You should implement i2c adapter to demod driver and not add such glue > to that USB-bridge. I mean that "relayed" stuff, i2c communication to > tuner via demod. I2C-mux may not work I think as there is no gate-style > multiplexing so you probably need plain i2c adapt

Re: I2C media binding model

2018-03-16 Thread Akihiro TSUKADA
Hi, As the new i2c binding helper was introduced, I am now re-writing the following patches to use new helper functions. > 5. Jan,16 2015: [v2,1/2] dvb: tua6034: add a new driver for Infineon tua6034 > tuner > http://patchwork.linuxtv.org/patch/27927 > 6. Jan,16 2015: [v2,2/2] dvb-usb-f

Re: dvb-core: how should i2c subdev drivers be attached?

2016-06-09 Thread Akihiro TSUKADA
thanks for the replys. so, the new i2c "attach" helper code should 1. be usable for V4L2-DVB multi-functional(hybrid) tuner devices (or at least co-exist well with them), 2. properly ref-count driver module to prevent (accidental) 'unload before use' by users. 3. a. block un-binding of the d

dvb-core: how should i2c subdev drivers be attached?

2016-06-09 Thread Akihiro TSUKADA
Hi, excuse me for taking up a very old post again, but I'd like to know the status of the patch: https://patchwork.linuxtv.org/patch/27922/ , which provides helper code for defining/loading i2c DVB subdev drivers. Was it rejected and each i2c demod/tuner drivers should provide its own version o

Re: [PATCH] [media] em28xx_dvb: add support for PLEX PX-BCUD (ISDB-S usb dongle)

2016-04-29 Thread Akihiro TSUKADA
Hi, Satoshi, just some small comments about tuners/qm1d1c0042... > --- a/drivers/media/tuners/qm1d1c0042.c > +++ b/drivers/media/tuners/qm1d1c0042.c > @@ -32,14 +32,23 @@ > #include "qm1d1c0042.h" > > #define QM1D1C0042_NUM_REGS 0x20 > - > -static const u8 reg_initval[QM1D1C0042_NUM_REGS] = {

Re: [media 2/6] drop backstabbing drivers

2016-04-04 Thread Akihiro TSUKADA
You still haven't described any concrete reasons why you revert those existing drivers, and I definitely disagree with this patch. -- akihiro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH v3] dvb-core: add template code for i2c binding model

2015-02-13 Thread Akihiro TSUKADA
Moikka, thank you for the comment. (and sorry for the late reply. I was off from work until recently.) > Basically the issue is registering I2C driver and after that reference > counting it as there is dvb frontend ops which are called. In current DVB drivers, "struct dvb_frontend"s can be alloc

Re: [RFC/PATCH] dvb-core: add template code for i2c binding model

2015-01-15 Thread Akihiro TSUKADA
Moikka, thank you for the comment. On 2015年01月14日 03:54, Antti Palosaari wrote: >> --- a/drivers/media/dvb-core/dvb_frontend.h >> +++ b/drivers/media/dvb-core/dvb_frontend.h >> @@ -415,6 +415,7 @@ struct dtv_frontend_properties { >> struct dvb_frontend { >> struct dvb_frontend_ops ops; >>

Re: [PATCH 4/5] dvb core: add media controller support for the demod

2015-01-06 Thread Akihiro TSUKADA
On 2015年01月06日 03:29, Mauro Carvalho Chehab wrote: > Em Mon, 05 Jan 2015 23:36:00 +0900 >> And if so, >> Shouldn't only the (tuner) subdevices be registered separately >> in dvb_i2c_attach_tuner(), instead of dvb_i2c_attach_fe()? > > No, it seems better to let dmxdev to register. That means that

Re: [PATCH 4/5] dvb core: add media controller support for the demod

2015-01-05 Thread Akihiro TSUKADA
On 2015年01月02日 00:51, Mauro Carvalho Chehab wrote: > /* > @@ -416,6 +418,11 @@ struct dvb_frontend { > struct dvb_frontend_ops ops; > struct dvb_adapter *dvb; > struct i2c_client *fe_cl; > +#if defined(CONFIG_MEDIA_CONTROLLER) > + struct media_device *mdev; > + struct med

Re: [PATCH 2/5] mb86a20s: convert it to I2C binding model

2015-01-05 Thread Akihiro TSUKADA
moikka, On 2015年01月02日 06:30, Antti Palosaari wrote: > I am on holiday trip now. But generally speaking I would like to separate all > drivers from the interfaces. That means for example I2C tuner driver is just > a I2C driver and nothing more - no relations to DVB nor V4L API. That is > someth

Re: [RFC/PATCH] dvb-core: add template code for i2c binding model

2015-01-05 Thread Akihiro TSUKADA
> The only thing I noticed is that it is causing some warnings at > dmesg about trying to create already created sysfs nodes, when the > driver is removed/reinserted. > > Probably, the remove callback is called too soon or too late. I don't have any warnings in syslog when reinserting earth-pt3 +

Re: [RFC/PATCH] dvb-core: add template code for i2c binding model

2015-01-05 Thread Akihiro TSUKADA
Hi, thank you for the comment. I understood the naming conventions you mentioned, and I'll update them in the next version. >> diff --git a/drivers/media/dvb-core/dvb_i2c.c >> b/drivers/media/dvb-core/dvb_i2c.c >> new file mode 100644 >> index 000..4ea4e5e >> --- /dev/null >> +++ b/drivers/me

Re: [RFC/PATCH] dvb-core: add template code for i2c binding model

2014-12-26 Thread Akihiro TSUKADA
ping. we don't need this kind of feature in the dvb-core? -- akihiro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Random memory corruption of fe[1]->dvb pointer

2014-12-02 Thread Akihiro TSUKADA
> So at first it would be nice if someone could confirm my findings. > Applying the same kind of code like my patch and unplug something that > uses the affected frontend should be enough. I tried that for tc90522, and I could remove earth-pt3 (which uses tc90522), tc90522 and tuner modules withou

Re: ISDB caption support

2014-11-29 Thread Akihiro TSUKADA
> I realize captions is an application-layer function, and intend to work > with the CCExtractor team. Do any other applications already have ISDB > caption support? there's a mplayer patch for subtitle support: https://github.com/0p1pp1/mplayer/commit/6debc831d34cad98d1b251920fbdb48f74a880df It

Re: [PATCH] dvb:tc90522: bugfix of always-false expression

2014-11-03 Thread Akihiro TSUKADA
I already posted v2 to this ML, but it was at top-level, not in-reply-to this thread. Sorry for the confusing posts. v2 of this patch: https://patchwork.linuxtv.org/patch/26652/ and the other two patches https://patchwork.linuxtv.org/patch/26651/ https://patchwork.linuxtv.org/patch/26653/

Re: [PATCH v4] v4l-utils/libdvbv5: add gconv module for the text conversions of ISDB-S/T.

2014-11-02 Thread Akihiro TSUKADA
Hi, > I would really prefer if you could use the autotools toolchain > (autoconf, automake, libtool) to produce the two gconv modules. You > might be able to have a look at the v4l-plugins Makefiles in this project. As the upstream glibc does not use autotools, I looked through the Makefiles ther

Re: [PATCH] v4l-utils/libdvbv5: restore deleted functions to keep API/ABI compatible

2014-11-02 Thread Akihiro TSUKADA
Hi, the patch is aimed to do just as you wrote, i.e. add wrapper funcs with the original names. sorry for my bad english. -- akihiro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.k

Re: [PATCH v2 3/7] v4l-utils/libdvbv5: add support for ISDB-S scanning

2014-11-02 Thread Akihiro TSUKADA
> Hmm... Is this due to a spec definition, or is it just how satellite > operators decided? > > If ARIB spec doesn't allow polarization set, we should remove it from the > Kernel DocBook. ARIB spec does NOT limit polarization, just the satellite operators do. > > Btw, how does the PT1 driver h

Re: [git:v4l-utils/master] libdvbv5, dvbv5-scan: generalize channel duplication check

2014-11-02 Thread Akihiro TSUKADA
Hi, After I re-checked the source, I noticed that dvb_scan_add_entry() also breaks API/ABI compatibility as well as dvb_new_freq_is_needed(), and those functions are marked as "ancillary functions used internally inside the library" in dvb-scan.h. So I think it would rather be better to move those

Re: [PATCH v3 7/7] v4l-utils/libdvbv5: add gconv module for the text conversions of ISDB-S/T.

2014-11-01 Thread Akihiro TSUKADA
On 2014年11月01日 04:47, Mauro Carvalho Chehab wrote: > This one failed to build here: > > Making all in gconv > make[3]: Entering directory `/devel/v4l/v4l-utils/lib/gconv' > make[3]: *** No rule to make target `all'. Stop. Sorry, I forgot to "git add -f Makefile". I'll repost v4. > I had to add

Re: [PATCH v2 6/7] v4l-utils/libdvbv5: don't discard config-supplied parameters

2014-10-31 Thread Akihiro TSUKADA
I withdrew this patch as it's meaningless. Originally I mis-understood that when dvbv5-scan was run with "-G" option, the props in channel config file that are not specified in dvb-v5-std.c::sys_foo_props[] were once loaded to "parms" structure to be scanned, but later discarded in dvb_fe_get_parm

Re: [PATCH v2 5/7] v4l-utils/libdvbv5: add gconv module for the text translation of ISDB-S/T.

2014-10-31 Thread Akihiro TSUKADA
> Using my Fedora package maintainer's hat, I would only enable this > on a patch that would also be packaging the gconf module as a > separate subpackage, as this would make easier to deprecate it > if/when this gets merged at gconv's upstream. I'm afraid that gconv upstream won't merge those app

Re: [PATCH v2 3/7] v4l-utils/libdvbv5: add support for ISDB-S scanning

2014-10-31 Thread Akihiro TSUKADA
On 2014年10月27日 23:46, Mauro Carvalho Chehab wrote: > Always right circular polarization? I guess I read something at the specs > sometime ago about left polarization too. Not sure if this is actually used. Currently all transponders of ISDB-S use right polarization. but I modifed this part and re

Re: [PATCH] dvb-core: set default properties of ISDB-S

2014-10-27 Thread Akihiro TSUKADA
On 2014年10月27日 01:33, Antti Palosaari wrote: > You should calculate bw too as tuners needs set filters according to > used channel bw. You could calculate nominal needed be using formula: > bandwidth = roll-off factor * symbol rate I'll include it in the next version. thx -- Akihiro -- To unsubscr

Re: [PATCH] dvb:tc90522: bugfix of always-false expression

2014-10-26 Thread Akihiro TSUKADA
>> Reported by David Binderman > > ^^ See Documentation/SubmittingPatches Though I knew that Reported-by: tag should not be used, I wrote it just to express my appreciation for his report, and did not mean to attach the tag. But I admit that it is confusing, so I'd like to beg Mauro to do me the

Re: [PATCH 0/4] v4l-utils:libdvbv5,dvb: add basic support for ISDB-S

2014-10-09 Thread Akihiro TSUKADA
Hi, Mauro, thanks for the review. I'll update the patch soon. And I wrote some comments and questions as a reply to your each review mail. On 2014年10月09日 01:22, Mauro Carvalho Chehab wrote: > Yeah, it will likely require a table just like the one we've added > for EN 300 468 specific charset wit

Re: [PATCH 4/4] v4l-utils/dvbv5-scan: add support for ISDB-S scanning

2014-10-09 Thread Akihiro TSUKADA
On 2014年10月09日 01:04, Mauro Carvalho Chehab wrote: >> @@ -251,6 +251,16 @@ static int run_scan(struct arguments *args, >> if (dvb_retrieve_entry_prop(entry, DTV_POLARIZATION, &pol)) >> pol = POLARIZATION_OFF; >> >> +if (parms->current_sys == SYS_ISDBS

Re: [PATCH 02/11] tc90522 is a client

2014-10-05 Thread Akihiro TSUKADA
(some Cc:'s removed, to exclude those who are not directly involved) It seems that I should make some counterarguments. On 2014年10月05日 21:39, AreMa Inc. wrote: > We started developing and publishing PT3 drivers (chardev and DVB versions) > on 2013 and have been submitting the patches to this

Re: [PATCH] pt3: fix DTV FE I2C driver load error paths

2014-09-28 Thread Akihiro TSUKADA
> Maybe that is proper fix. I didn't test it. I had some tests with/without inserting a deliberate error return from dvb_register_frontend() and with/without CONFIG_MODULES option, and the all combinations seem to have worked fine. kiitos, Antti and Randy. -- akihiro -- To unsubscribe from this l

Re: [PATCH v4 3/4] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-24 Thread Akihiro TSUKADA
> Ok, but see the definition at the API spec: > > > http://linuxtv.org/downloads/v4l-dvb-apis/FE_GET_SET_PROPERTY.html#isdb-hierq-layers > > Basically, we use 0, 1, 2, 4 no matter what mode, e. g. I understand. (though I wonder why "4" is assigned instead of "3" when it is not a flag bit

Re: [PATCH] [media] qm1d1c0042: fix compilation on 32 bits

2014-09-24 Thread Akihiro TSUKADA
> - b = (((s64) freq) << 20) / state->cfg.xtal_freq - (((s64) a) << 20); > + b = (s32)div64_s64(((s64) freq) << 20, > +state->cfg.xtal_freq - (((s64) a) << 20)); > + I'm afraid it should be like the following. > + b = (s32)(div64_s64(((s64) freq) << 20, state->c

Re: [PATCH v4 3/4] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-24 Thread Akihiro TSUKADA
> And TMCC returns it as 0, 1, 2, 3, 4, instead of 0, 1, 2, 4, 8. According to ARIB STD B31 3.15.6.7 (table 3.30), The value is encoded and depends on the "mode". so demods have to encode/decode anyway. > AFAIKT, that doesn't work in Sound Broadcast mode, as the demod won't > be able to read the

Re: [PATCH v4 3/4] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-24 Thread Akihiro TSUKADA
> Btw, please check if your driver is handling it well, as the valid > values for interleave are 0, 1, 2, 4 (actually, dib8000 also > supports interleaving equal to 8, if sound_broadcast). I have no info on how to set time interleaving parameters, although I can read them as a part of TMCC info. I

Re: [PATCH] [media] tc90522: declare tc90522_functionality as static

2014-09-23 Thread Akihiro TSUKADA
Sorry to bother you with those build warnings. Somehow I didn't see them when I built the modules myself on 64bit box. maybe since I forgot to test all-y config (and 32bit build), the gcc cmd did not include [-Wmissing-prototypes]. -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [PATCH v4 3/4] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-23 Thread Akihiro TSUKADA
Hi, On 2014年09月24日 05:07, Mauro Carvalho Chehab wrote: > I applied this series, as we're discussing it already for a long time, > and it seems in a good shape... thanks for your reviews and advices. >> +static int tc90522s_read_status(struct dvb_frontend *fe, fe_status_t >> *status) ..

Re: [PATCH v3 1/4] mxl301rf: add driver for MaxLinear MxL301RF OFDM tuner

2014-09-08 Thread Akihiro TSUKADA
Moi!, thanks for the review. >> +static int reg_read(struct mxl301rf_state *state, u8 reg, u8 *val) ... >> +ret = i2c_transfer(state->i2c->adapter, msgs, ARRAY_SIZE(msgs)); >> +if (ret >= 0 && ret < ARRAY_SIZE(msgs)) >> +ret = -EIO; >> +return (ret == ARRAY_SIZE(msgs)) ? 0

Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-06 Thread Akihiro TSUKADA
moikka!, > Basically it is 2 functions, af9035_add_i2c_dev() and af9035_del_i2c_dev() I used request_module()/try_module_get()/module_put() just like the above example (and bridge-core.c). It works, but when I unload bridge driver(earth_pt3), its demod and tuner modules stay loaded, with the refc

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-09-05 Thread Akihiro TSUKADA
Moikka!, thanks for the comments and advices. I had been updating my code and during that, I also found that updating property cache in tuner_ops.get_signal_strength() was simple and (seemed to me) better than using a kthread, so the current implementation (under testing) is just like what Mauro p

Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-05 Thread Akihiro TSUKADA
Moi! > Yes, using the I2C binding way provides a better decoupling than using the > legacy way. The current dvb_attach() macros are hacks that were created > by the time where the I2C standard bind didn't work with DVB. I understand. I converted my code to use i2c binding model, but I'm uncertain

Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-09-01 Thread Akihiro TSUKADA
Hi, > Also, I would like to see all new drivers (demod and tuner) implemented > as a standard kernel I2C drivers (or any other bus). I have converted > already quite many drivers, si2168, si2157, m88ds3103, m88ts2022, > it913x, tda18212, ... I wrote the code in the old style using dvb_attach() be

Re: [PATCH v2 4/5] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-08-31 Thread Akihiro TSUKADA
Hi Matthias, thanks for the comment. > it sounds wrong to export a second function besides tc90522_attach. > This way there is a hard dependency of the bridge driver to the demod > driver. > In this case it is the only possible demod, but in general it violates > the design of demod drivers and th

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-08-29 Thread Akihiro TSUKADA
moikka, > Start polling thread, which polls once per 2 sec or so, which reads RSSI > and writes value to struct dtv_frontend_properties. That it is, in my > understanding. Same for all those DVBv5 stats. Mauro knows better as he > designed that functionality. I understand that RSSI property shoul

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-08-28 Thread Akihiro TSUKADA
moikka, thanks for the comment. > I have feeling DVBv5 API is aimed to transfer data via property cached. > I haven't done much driver for DVBv5 statistics, but recently I > implemented CNR (DVBv5 stats) to Si2168 driver and it just writes all > the values directly to property cache. I expect RF s

Re: [PATCH 4/4] pt3: add support for Earthsoft PT3 ISDB-S/T receiver card

2014-08-17 Thread Akihiro TSUKADA
On 2014年08月16日 01:17, Mauro Carvalho Chehab wrote: .. >> +++ b/drivers/media/pci/pt3/pt3.c .. >> +static int pt3_fetch_thread(void *data) >> +{ >> +struct pt3_adapter *adap = data; >> + >> +#define PT3_FETCH_DELAY (10 * 1000) >> +#define PT3_INITIAL_DISCARD_BUFS 4 >> + >> +p

Re: [PATCH 1/4] mxl301rf: add driver for MaxLinear MxL301RF OFDM tuner

2014-08-17 Thread Akihiro TSUKADA
Hi Mauro, thanks for the review. I will update the patch and post it later. Before doing so, I'd like to ask some questions. >> +++ b/drivers/media/tuners/mxl301rf.c >> +/* *strength : [1/1000 dBm] */ >> +static int mxl301rf_get_rf_strength(struct dvb_frontend *fe, u16 *strength) >> +{ ... >

Re: [PATCH 3/4] tc90522: add driver for Toshiba TC90522 quad demodulator

2014-08-17 Thread Akihiro TSUKADA
On 2014年08月16日 01:09, Mauro Carvalho Chehab wrote: >> +++ b/drivers/media/dvb-frontends/tc90522.c >> +static int tc90522s_get_frontend(struct dvb_frontend *fe) >> +{ . >> +c->delivery_system = SYS_ISDBS; >> +c->symbol_rate = 2886; > > Hmm... symbol rate is fixe

Re: [PATCH] Full DVB driver package for Earthsoft PT3 (ISDB-S/T) cards

2014-04-04 Thread Akihiro TSUKADA
Hi Bud, It seems that the tuner modules use fe->ops.write() for i2c communications, which is set by parent module. but I'm afraid fe->ops.write() is not for the purpose. Shouldn't they use i2c_adapters passed from _attach() etc. instead? regards, akihiro -- To unsubscribe from this list: send th

Re: [PATCH] Full DVB driver package for Earthsoft PT3 (ISDB-S/ISDB-T) cards.

2013-10-22 Thread Akihiro TSUKADA
Hi, It would be nice if you consider integrating this driver and pt1. Because PT3 is a PCIe successor of PT2 and designed by the same person, I guess they can share much code about bridge FPGA chip and demod IC (tc90512 in PT1/2 and tc90522 in PT3), though their frontends are obviously different.

Re: [PATCH] dvb_frontend: Multistream support

2012-08-16 Thread Akihiro TSUKADA
Hi, > diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.h > b/drivers/media/dvb/dvb-core/dvb_frontend.h > index 7c64c09..bec0cda 100644 > --- a/drivers/media/dvb/dvb-core/dvb_frontend.h > +++ b/drivers/media/dvb/dvb-core/dvb_frontend.h > @@ -368,11 +368,8 @@ struct dtv_frontend_properties { >

Re: RFC: dvbzap application based on DVBv5 API

2011-12-29 Thread Akihiro TSUKADA
> [channel name] > property = value > ... > property = value Currently, at least gstreamer's dvbbasebin and mplayer assumue that the channel configuration file has the format of one line per channel. So when I personally patched them to use v5 parameters, I chose the one-line-per-chann

Re: [RFC] dvb-apps ported for ISDB-T

2009-12-25 Thread Akihiro TSUKADA
Hi Mauro, >> I wrote several patches those days in order to allow dvb-apps to properly >> parse ISDB-T channel.conf. I think it would be convenient if channel.conf allows the kind of format of PROPNAME=VALUE list, for readability and extensibility of the conf file. there are already so many pa

[PATCH] dvb-usb-friio: accept center-shifted frequency

2009-11-11 Thread Akihiro TSUKADA
From: Akihiro Tsukada This patch adds a fix to accept frequency with its center shifted. The driver used to accept center frequencies of the normal UHF band channels, but in ISDB-T, center frequency is shifted with 1/7MHz. It was shifted internally in the driver, but this patch enables to

Re: Re : ISDB-T tuner

2009-10-20 Thread Akihiro TSUKADA
> so, which device can I buy, working in Japan, in linux, and in digital > (working after 2011)? known to work devices 0. 774 Friio white http://www.friio.com/ (in Japanese) USB2.0 ISDB-T, with a card-reader device, without BCAS card DVB driver: in v4l-dvb main repository direct net shoppin

Re: ISDB-T tuner

2009-10-19 Thread Akihiro TSUKADA
> My tuner card is a Pixela PIXDT090-PE0 Hi Romont, As you might know, all Japanese DTV programs are scrambled with BCAS. BCAS scrambling algorithm itself is opend in the standard, but in addition to that, PC devices have to encrypt received data locally in order to get authorized for BCAS. So mo

[PATCH 2/2] dvb-usb-friio: cleaning up unnecessary functions

2009-09-30 Thread Akihiro TSUKADA
From: Akihiro Tsukada This patch removes some fe->ops.X() functions which do nothing more useful than the default. Priority: normal Signed-off-by: Akihiro Tsukada --- friio-fe.c | 38 -- 1 file changed, 38 deletions(-) diff --git a/linux/drivers/me

[PATCH 1/2] dvb-usb-friio: return the correct DTV_DELIVERY_SYSTEM

2009-09-30 Thread Akihiro TSUKADA
From: Akihiro Tsukada This patch makes the driver return the correct DTV_DELIVERY_SYSTEM. The driver previously returned SYS_UNDEFINED for DTV_DELIVERY_SYSTEM property, as it lacked any driver specific S2API support. Priority: normal Signed-off-by: Akihiro Tsukada --- friio-fe.c | 27

[PATCH] dvb: add driver for 774 Friio White USB ISDB-T receiver

2009-08-24 Thread Akihiro TSUKADA
From: Akihiro Tsukada This patch adds driver for 774 Friio White, ISDB-T USB receiver Friio White is an USB 2.0 ISDB-T receiver. (http://www.friio.com/) The device has a GL861 chip and a Comtech JDVBT90502 canned tuner module. This driver ignores all the frontend_parameters except frequency, as

Re: RFC: adding ISDB-T/ISDB-Tsb to DVB-API 5

2009-08-04 Thread Akihiro TSUKADA
ino to ARIB STD-B31) as a reference in the document may help readers. ----- Akihiro TSUKADA -- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in