Re: [PATCH 1/4] dvb-usb-cxusb: New RC map for Geniatech Mygica T230.

2017-02-03 Thread Mauro Carvalho Chehab
Em Fri, 09 Dec 2016 02:16:24 +0200
CrazyCat  escreveu:

> Updated RC map for Geniatech DVB-T/T2 sticks.
> 
> Signed-off-by: CrazyCat 
> ---
>  drivers/media/usb/dvb-usb/cxusb.c | 42 
> +--
>  1 file changed, 40 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/usb/dvb-usb/cxusb.c 
> b/drivers/media/usb/dvb-usb/cxusb.c
> index 9b8771e..3edc30d 100644
> --- a/drivers/media/usb/dvb-usb/cxusb.c
> +++ b/drivers/media/usb/dvb-usb/cxusb.c
> @@ -653,6 +653,44 @@ static int cxusb_d680_dmb_rc_query(struct dvb_usb_device 
> *d, u32 *event,
>   { 0x0025, KEY_POWER },
>  };
>  
> +static struct rc_map_table rc_map_t230_table[] = {
> + { 0x, KEY_0 },
> + { 0x0001, KEY_1 },
> + { 0x0002, KEY_2 },
> + { 0x0003, KEY_3 },
> + { 0x0004, KEY_4 },
> + { 0x0005, KEY_5 },
> + { 0x0006, KEY_6 },
> + { 0x0007, KEY_7 },
> + { 0x0008, KEY_8 },
> + { 0x0009, KEY_9 },
> + { 0x000a, KEY_MUTE },
> + { 0x000b, KEY_STOP },   /* Stop */
> + { 0x000c, KEY_POWER2 }, /* Turn on/off application */
> + { 0x000d, KEY_OK }, /* OK */
> + { 0x000e, KEY_CAMERA }, /* Snapshot */
> + { 0x000f, KEY_ZOOM },   /* Full Screen/Restore */
> + { 0x0010, KEY_RIGHT },  /* Right arrow */
> + { 0x0011, KEY_LEFT },   /* Left arrow */
> + { 0x0012, KEY_CHANNELUP },
> + { 0x0013, KEY_CHANNELDOWN },
> + { 0x0014, KEY_SHUFFLE },
> + { 0x0016, KEY_PAUSE },
> + { 0x0017, KEY_PLAY },   /* Play */
> + { 0x001e, KEY_TIME },   /* Time Shift */
> + { 0x001f, KEY_RECORD },
> + { 0x0020, KEY_UP },
> + { 0x0021, KEY_DOWN },
> + { 0x0025, KEY_POWER },  /* Turn off computer */
> + { 0x0026, KEY_REWIND }, /* FR << */
> + { 0x0027, KEY_FASTFORWARD },/* FF >> */
> + { 0x0029, KEY_ESC },
> + { 0x002b, KEY_VOLUMEUP },
> + { 0x002c, KEY_VOLUMEDOWN },
> + { 0x002d, KEY_CHANNEL },/* CH Surfing */
> + { 0x0038, KEY_VIDEO },  /* TV/AV/S-Video/YPbPr */
> +};
> +
>  static int cxusb_dee1601_demod_init(struct dvb_frontend* fe)
>  {
>   static u8 clock_config []  = { CLOCK_CTL,  0x38, 0x28 };
> @@ -2317,8 +2355,8 @@ struct dvb_usb_device_properties 
> cxusb_bluebird_dualdig4_rev2_properties = {
>  
>   .rc.legacy = {
>   .rc_interval  = 100,
> - .rc_map_table = rc_map_d680_dmb_table,
> - .rc_map_size  = ARRAY_SIZE(rc_map_d680_dmb_table),
> + .rc_map_table = rc_map_t230_table,
> + .rc_map_size  = ARRAY_SIZE(rc_map_t230_table),
>   .rc_query = cxusb_d680_dmb_rc_query,
>   },

This driver was converted to use the RC core. So, a trivial rebase is
needed.

Yet, there's something here that I'm not comfortable: Why are you
*replacing* the entry, instead of creating a new one? If this is a
new device, then you should be adding a new entry there (or some
logic that would allow detecting the type).

Regards,
Mauro

>  



Thanks,
Mauro
--
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


[PATCH 1/4] dvb-usb-cxusb: New RC map for Geniatech Mygica T230.

2016-12-08 Thread CrazyCat
Updated RC map for Geniatech DVB-T/T2 sticks.

Signed-off-by: CrazyCat 
---
 drivers/media/usb/dvb-usb/cxusb.c | 42 +--
 1 file changed, 40 insertions(+), 2 deletions(-)

diff --git a/drivers/media/usb/dvb-usb/cxusb.c 
b/drivers/media/usb/dvb-usb/cxusb.c
index 9b8771e..3edc30d 100644
--- a/drivers/media/usb/dvb-usb/cxusb.c
+++ b/drivers/media/usb/dvb-usb/cxusb.c
@@ -653,6 +653,44 @@ static int cxusb_d680_dmb_rc_query(struct dvb_usb_device 
*d, u32 *event,
{ 0x0025, KEY_POWER },
 };
 
+static struct rc_map_table rc_map_t230_table[] = {
+   { 0x, KEY_0 },
+   { 0x0001, KEY_1 },
+   { 0x0002, KEY_2 },
+   { 0x0003, KEY_3 },
+   { 0x0004, KEY_4 },
+   { 0x0005, KEY_5 },
+   { 0x0006, KEY_6 },
+   { 0x0007, KEY_7 },
+   { 0x0008, KEY_8 },
+   { 0x0009, KEY_9 },
+   { 0x000a, KEY_MUTE },
+   { 0x000b, KEY_STOP },   /* Stop */
+   { 0x000c, KEY_POWER2 }, /* Turn on/off application */
+   { 0x000d, KEY_OK }, /* OK */
+   { 0x000e, KEY_CAMERA }, /* Snapshot */
+   { 0x000f, KEY_ZOOM },   /* Full Screen/Restore */
+   { 0x0010, KEY_RIGHT },  /* Right arrow */
+   { 0x0011, KEY_LEFT },   /* Left arrow */
+   { 0x0012, KEY_CHANNELUP },
+   { 0x0013, KEY_CHANNELDOWN },
+   { 0x0014, KEY_SHUFFLE },
+   { 0x0016, KEY_PAUSE },
+   { 0x0017, KEY_PLAY },   /* Play */
+   { 0x001e, KEY_TIME },   /* Time Shift */
+   { 0x001f, KEY_RECORD },
+   { 0x0020, KEY_UP },
+   { 0x0021, KEY_DOWN },
+   { 0x0025, KEY_POWER },  /* Turn off computer */
+   { 0x0026, KEY_REWIND }, /* FR << */
+   { 0x0027, KEY_FASTFORWARD },/* FF >> */
+   { 0x0029, KEY_ESC },
+   { 0x002b, KEY_VOLUMEUP },
+   { 0x002c, KEY_VOLUMEDOWN },
+   { 0x002d, KEY_CHANNEL },/* CH Surfing */
+   { 0x0038, KEY_VIDEO },  /* TV/AV/S-Video/YPbPr */
+};
+
 static int cxusb_dee1601_demod_init(struct dvb_frontend* fe)
 {
static u8 clock_config []  = { CLOCK_CTL,  0x38, 0x28 };
@@ -2317,8 +2355,8 @@ struct dvb_usb_device_properties 
cxusb_bluebird_dualdig4_rev2_properties = {
 
.rc.legacy = {
.rc_interval  = 100,
-   .rc_map_table = rc_map_d680_dmb_table,
-   .rc_map_size  = ARRAY_SIZE(rc_map_d680_dmb_table),
+   .rc_map_table = rc_map_t230_table,
+   .rc_map_size  = ARRAY_SIZE(rc_map_t230_table),
.rc_query = cxusb_d680_dmb_rc_query,
},
 
-- 
1.9.1


--
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: Geniatech / Mygica T230

2015-11-06 Thread Mike Parkins
Hi Olli,
Here is the dmesg:

[ 2427.795294] dvb-usb: found a 'Mygica T230 DVB-T/T2/C' in warm state.
[ 2427.795299] power control: 1
[ 2428.030801] dvb-usb: will pass the complete MPEG2 transport stream
to the software demuxer.
[ 2428.030962] DVB: registering new adapter (Mygica T230 DVB-T/T2/C)
[ 2428.033853] i2c i2c-17: Added multiplexed i2c bus 18
[ 2428.033858] si2168 17-0064: Silicon Labs Si2168 successfully attached
[ 2428.037201] si2157 18-0060: Silicon Labs Si2147/2148/2157/2158
successfully attached
[ 2428.037213] usb 2-3: DVB: registering adapter 0 frontend 0 (Silicon
Labs Si2168)...
[ 2428.037651] input: IR-receiver inside an USB DVB receiver as
/devices/pci:00/:00:1d.7/usb2/2-3/input/input22
[ 2428.037822] dvb-usb: schedule remote query interval to 100 msecs.
[ 2428.037825] power control: 0
[ 2428.037931] dvb-usb: Mygica T230 DVB-T/T2/C successfully
initialized and connected.
[ 2443.077697] power control: 1
[ 2443.316664] si2168 17-0064: found a 'Silicon Labs Si2168-B40'
[ 2443.330381] si2168 17-0064: downloading firmware from file
'dvb-demod-si2168-b40-01.fw'
[ 2443.914601] si2168 17-0064: firmware version: 4.0.4
[ 2443.925860] si2157 18-0060: found a 'Silicon Labs Si2158-A20'
[ 2443.925893] si2157 18-0060: downloading firmware from file
'dvb-tuner-si2158-a20-01.fw'
[ 2444.992678] si2157 18-0060: firmware version: 2.1.6
[ 2445.300551] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2445.308867] dmxdev: section callback 00 b0 65 10 44 c5
[ 2445.310228] function : dvb_dmxdev_filter_set, PID=0x0064, flags=05, timeout=0
[ 2445.328722] dmxdev: section callback 02 b0 ac 10 44 c3
[ 2445.330152] function : dvb_dmxdev_filter_set, PID=0x00c8, flags=05, timeout=0
[ 2445.351512] dmxdev: section callback 02 b0 a4 10 bf c3
[ 2445.352869] function : dvb_dmxdev_filter_set, PID=0x012c, flags=05, timeout=0
[ 2445.445188] dmxdev: section callback 02 b0 a4 10 c0 e7
[ 2445.446547] function : dvb_dmxdev_filter_set, PID=0x01f4, flags=05, timeout=0
[ 2445.455193] dmxdev: section callback 02 b0 80 11 00 c1
[ 2445.456549] function : dvb_dmxdev_filter_set, PID=0x0a8c, flags=05, timeout=0
[ 2445.555496] dmxdev: section callback 02 b0 73 11 40 c1
[ 2445.556851] function : dvb_dmxdev_filter_set, PID=0x0190, flags=05, timeout=0
[ 2446.560312] function : dvb_dmxdev_filter_set, PID=0x02bc, flags=05, timeout=0
[ 2447.563434] function : dvb_dmxdev_filter_set, PID=0x0320, flags=05, timeout=0
[ 2448.566597] function : dvb_dmxdev_filter_set, PID=0x0258, flags=05, timeout=0
[ 2449.569747] function : dvb_dmxdev_filter_set, PID=0x0578, flags=05, timeout=0
[ 2450.572904] function : dvb_dmxdev_filter_set, PID=0x05dc, flags=05, timeout=0
[ 2451.576058] function : dvb_dmxdev_filter_set, PID=0x0640, flags=05, timeout=0
[ 2452.579212] function : dvb_dmxdev_filter_set, PID=0x06a4, flags=05, timeout=0
[ 2453.582369] function : dvb_dmxdev_filter_set, PID=0x0708, flags=05, timeout=0
[ 2454.585524] function : dvb_dmxdev_filter_set, PID=0x076c, flags=05, timeout=0
[ 2455.588533] function : dvb_dmxdev_filter_set, PID=0x07d0, flags=05, timeout=0
[ 2456.591563] function : dvb_dmxdev_filter_set, PID=0x0c80, flags=05, timeout=0
[ 2457.594595] function : dvb_dmxdev_filter_set, PID=0x03e8, flags=05, timeout=0
[ 2458.597793] function : dvb_dmxdev_filter_set, PID=0x044c, flags=05, timeout=0
[ 2459.600934] function : dvb_dmxdev_filter_set, PID=0x04b0, flags=05, timeout=0
[ 2460.604085] function : dvb_dmxdev_filter_set, PID=0x0514, flags=05, timeout=0
[ 2461.607246] function : dvb_dmxdev_filter_set, PID=0x0384, flags=05, timeout=0
[ 2462.610396] function : dvb_dmxdev_filter_set, PID=0x0010, flags=05, timeout=0
[ 2474.630386] function : dvb_dmxdev_filter_set, PID=0x0011, flags=05, timeout=0
[ 2476.942501] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2478.356279] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2479.666940] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2480.979264] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2482.290109] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2483.600647] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2485.116700] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2486.633288] function : dvb_dmxdev_filter_set, PID=0x, flags=05, timeout=0
[ 2487.640495] power control: 0

and here is the irc log from August when I first asked about this:

* Topic for #linuxtv set by unknown (Thu May 29 20:24:17 2008)
 is there anyone can help with a T230 usb DVB stick please?
* debianuser1 is now known as debianuser
 mp_, DVB-C with that?
 no, dvb-t
 it works as far as tuning in a mux but then no TS appears
 run: dmesg | pastebinit
 and send me the link produced
 I'd guess: you are missing either demod or tuner firmware from
/lib/firmware
 firmware is ok, 2 files and I confirmed the md5sum
 can't get pastebinit to work! bad API key
 i can cut/paste the dmesg 

Re: Geniatech / Mygica T230

2015-11-05 Thread Olli Salonen
Hi Mike,

Can you also paste the dmesg output here, so we can see if the driver
is starting up correctly?

Cheers,
-olli

On 3 November 2015 at 23:35, Mike Parkins  wrote:
> Hi,
> I can't get this dvb-t2 USB device to work despite the linuxtv site
> claiming it is working since 3.19 kernel. I tried talking to the driver
> team on IRC a few months ago and they said they would look at it but I have
> recently pulled the linuxtv git tree and compiled it on my Linux Mint 4.09
> kernel system and it has not changed. Below is the output of a typical
> tuning attempt:
>
> mp@Aurorabox ~ $ dvbv5-scan uk-CrystalPalace -I CHANNEL
> Scanning frequency #1 49000
> Lock   (0x1f) C/N= 28.25dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x11c0
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1200
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1240
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1280
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1600
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1640
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1680
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x16c0
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1700
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1740
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1780
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1804
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1a40
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1a80
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1ac0
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1b00
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the PMT table for service 0x1c00
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the NIT table
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while reading the SDT table
> WARNING: no SDT table - storing channel(s) without their names
> Storing Service ID 4164: '490.00MHz#4164'
> Storing Service ID 4287: '490.00MHz#4287'
> Storing Service ID 4288: '490.00MHz#4288'
> Storing Service ID 4352: '490.00MHz#4352'
> Storing Service ID 4416: '490.00MHz#4416'
> Scanning frequency #2 51400
> Lock   (0x1f) Signal= -29.00dBm C/N= 21.50dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while waiting for PAT table
> Scanning frequency #3 545833000
> Lock   (0x1f) Signal= -30.00dBm C/N= 31.00dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while waiting for PAT table
> Scanning frequency #4 50600
> Lock   (0x1f) Signal= -30.00dBm C/N= 28.50dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while waiting for PAT table
> Scanning frequency #5 48200
> Lock   (0x1f) Signal= -30.00dBm C/N= 21.75dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while waiting for PAT table
> Scanning frequency #6 529833000
> Lock   (0x1f) Signal= -29.00dBm C/N= 21.75dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while waiting for PAT table
> Scanning frequency #7 53800
> Lock   (0x1f) Signal= -29.00dBm C/N= 16.50dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while waiting for PAT table
> Scanning frequency #8 57000
> Lock   (0x1f) Signal= -46.00dBm C/N= 26.50dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while waiting for PAT table
> Scanning frequency #9 58600
> Lock   (0x1f) Signal= -39.00dBm C/N= 26.25dB
> ERRORdvb_read_sections: no data read on section filter
> ERRORerror while waiting for PAT table
> mp@Aurorabox ~ $
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majord...@vger.kernel.org
> More 

Geniatech / Mygica T230

2015-11-03 Thread Mike Parkins
Hi,
I can't get this dvb-t2 USB device to work despite the linuxtv site
claiming it is working since 3.19 kernel. I tried talking to the driver
team on IRC a few months ago and they said they would look at it but I have
recently pulled the linuxtv git tree and compiled it on my Linux Mint 4.09
kernel system and it has not changed. Below is the output of a typical
tuning attempt:

mp@Aurorabox ~ $ dvbv5-scan uk-CrystalPalace -I CHANNEL
Scanning frequency #1 49000
Lock   (0x1f) C/N= 28.25dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x11c0
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1200
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1240
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1280
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1600
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1640
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1680
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x16c0
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1700
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1740
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1780
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1804
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1a40
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1a80
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1ac0
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1b00
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the PMT table for service 0x1c00
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the NIT table
ERRORdvb_read_sections: no data read on section filter
ERRORerror while reading the SDT table
WARNING: no SDT table - storing channel(s) without their names
Storing Service ID 4164: '490.00MHz#4164'
Storing Service ID 4287: '490.00MHz#4287'
Storing Service ID 4288: '490.00MHz#4288'
Storing Service ID 4352: '490.00MHz#4352'
Storing Service ID 4416: '490.00MHz#4416'
Scanning frequency #2 51400
Lock   (0x1f) Signal= -29.00dBm C/N= 21.50dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while waiting for PAT table
Scanning frequency #3 545833000
Lock   (0x1f) Signal= -30.00dBm C/N= 31.00dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while waiting for PAT table
Scanning frequency #4 50600
Lock   (0x1f) Signal= -30.00dBm C/N= 28.50dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while waiting for PAT table
Scanning frequency #5 48200
Lock   (0x1f) Signal= -30.00dBm C/N= 21.75dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while waiting for PAT table
Scanning frequency #6 529833000
Lock   (0x1f) Signal= -29.00dBm C/N= 21.75dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while waiting for PAT table
Scanning frequency #7 53800
Lock   (0x1f) Signal= -29.00dBm C/N= 16.50dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while waiting for PAT table
Scanning frequency #8 57000
Lock   (0x1f) Signal= -46.00dBm C/N= 26.50dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while waiting for PAT table
Scanning frequency #9 58600
Lock   (0x1f) Signal= -39.00dBm C/N= 26.25dB
ERRORdvb_read_sections: no data read on section filter
ERRORerror while waiting for PAT table
mp@Aurorabox ~ $
--
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: Issues with Geniatech MyGica T230

2015-06-01 Thread Valentin Vidic
On Thu, May 28, 2015 at 04:41:17PM +0200, Valentin Vidic wrote:
 I recently bought this card after seeing on the LinuxTV wiki
 that it's supported since kernel v3.19, but now I can't get
 it working properly with Debian.  The modules load without
 errors but scanning for channels or watching TV does not
 work reliably: some channels work but others just hang the
 player or return a lot of frame out of order erorrs. 
 
 In order to rule out hardware problems I tested the card
 using OpenELEC (RPi and x86_64) and Windows Media Player
 and it works there without a glich.  So I assumed this is
 a software problem somewhere I tried several different
 kernel versions without success:
 
 3.16.7-ckt9-3~deb8u1 + media_build drivers
 4.0.2-1
 3.19.0
 3.19.8

Any suggestions what could be wrong or what more to try? 

-- 
Valentin
--
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


Issues with Geniatech MyGica T230

2015-05-28 Thread Valentin Vidic
I recently bought this card after seeing on the LinuxTV wiki
that it's supported since kernel v3.19, but now I can't get
it working properly with Debian.  The modules load without
errors but scanning for channels or watching TV does not
work reliably: some channels work but others just hang the
player or return a lot of frame out of order erorrs. 

In order to rule out hardware problems I tested the card
using OpenELEC (RPi and x86_64) and Windows Media Player
and it works there without a glich.  So I assumed this is
a software problem somewhere I tried several different
kernel versions without success:

3.16.7-ckt9-3~deb8u1 + media_build drivers
4.0.2-1
3.19.0
3.19.8

May 25 21:01:19 host kernel: [   64.784147] usb 2-1: new high-speed USB device 
number 3 using ehci-pci
May 25 21:01:20 host kernel: [   64.917345] usb 2-1: string descriptor 0 
malformed (err = -61), defaulting to 0x0409
May 25 21:01:20 host kernel: [   64.919611] usb 2-1: New USB device found, 
idVendor=0572, idProduct=c688
May 25 21:01:20 host kernel: [   64.919616] usb 2-1: New USB device strings: 
Mfr=1, Product=2, SerialNumber=3
May 25 21:01:20 host kernel: [   64.955602] WARNING: You are using an 
experimental version of the media stack.
May 25 21:01:20 host kernel: [   64.955602]As the driver is backported to 
an older kernel, it doesn't offer
May 25 21:01:20 host kernel: [   64.955602]enough quality for its usage in 
production.
May 25 21:01:20 host kernel: [   64.955602]Use it with care.
May 25 21:01:20 host kernel: [   64.955602] Latest git patches (needed if you 
report a bug to linux-media@vger.kernel.org):
May 25 21:01:20 host kernel: [   64.955602]
2a80f296422a01178d0a993479369e94f5830127 [media] dvb-core: fix 32-bit overflow 
during bandwidth calculation
May 25 21:01:20 host kernel: [   64.955602]
13b019bbd170d788b1461c2e00b4578a07541dc5 [media] e4000: Fix rangehigh value
May 25 21:01:20 host kernel: [   64.955602]
c7861bb048669540ff51e2e1bf84d60f165007ad [media] e4000: implement V4L2 
subdevice tuner and core ops
May 25 21:01:20 host kernel: [   64.969341] WARNING: You are using an 
experimental version of the media stack.
May 25 21:01:20 host kernel: [   64.969341]As the driver is backported to 
an older kernel, it doesn't offer
May 25 21:01:20 host kernel: [   64.969341]enough quality for its usage in 
production.
May 25 21:01:20 host kernel: [   64.969341]Use it with care.
May 25 21:01:20 host kernel: [   64.969341] Latest git patches (needed if you 
report a bug to linux-media@vger.kernel.org):
May 25 21:01:20 host kernel: [   64.969341]
2a80f296422a01178d0a993479369e94f5830127 [media] dvb-core: fix 32-bit overflow 
during bandwidth calculation
May 25 21:01:20 host kernel: [   64.969341]
13b019bbd170d788b1461c2e00b4578a07541dc5 [media] e4000: Fix rangehigh value
May 25 21:01:20 host kernel: [   64.969341]
c7861bb048669540ff51e2e1bf84d60f165007ad [media] e4000: implement V4L2 
subdevice tuner and core ops
May 25 21:01:20 host kernel: [   64.989580] dvb-usb: found a 'Mygica T230 
DVB-T/T2/C' in warm state.
May 25 21:01:20 host kernel: [   65.224191] dvb-usb: will pass the complete 
MPEG2 transport stream to the software demuxer.
May 25 21:01:20 host kernel: [   65.224376] DVB: registering new adapter 
(Mygica T230 DVB-T/T2/C)
May 25 21:01:20 host kernel: [   65.225224] usb 2-1: media controller created
May 25 21:01:20 host kernel: [   65.226869] dvb_register_media_device: media 
device 'dvb-demux' registered.
May 25 21:01:20 host kernel: [   65.227151] dvb_register_media_device: media 
device 'dvb-dvr' registered.
May 25 21:01:20 host kernel: [   65.228877] dvb_register_media_device: media 
device 'dvb-net' registered.
May 25 21:01:20 host kernel: [   65.236185] i2c i2c-10: Added multiplexed i2c 
bus 11
May 25 21:01:20 host kernel: [   65.236193] si2168 10-0064: Silicon Labs Si2168 
successfully attached
May 25 21:01:20 host kernel: [   65.244461] si2157 11-0060: Silicon Labs 
Si2147/2148/2157/2158 successfully attached
May 25 21:01:20 host kernel: [   65.244484] usb 2-1: DVB: registering adapter 0 
frontend 0 (Silicon Labs Si2168)...
May 25 21:01:20 host kernel: [   65.244609] dvb_register_media_device: media 
device 'Silicon Labs Si2168' registered.
May 25 21:01:20 host kernel: [   65.244948] input: IR-receiver inside an USB 
DVB receiver as /devices/pci:00/:00:1d.7/usb2/2-1/input/input21
May 25 21:01:20 host kernel: [   65.246231] dvb-usb: schedule remote query 
interval to 100 msecs.
May 25 21:01:20 host kernel: [   65.246356] dvb-usb: Mygica T230 DVB-T/T2/C 
successfully initialized and connected.
May 25 21:01:20 host kernel: [   65.246407] usbcore: registered new interface 
driver dvb_usb_cxusb
May 25 21:02:11 host kernel: [  116.726003] si2168 10-0064: found a 'Silicon 
Labs Si2168-B40'
May 25 21:02:11 host kernel: [  116.726368] si2168 10-0064: firmware: 
direct-loading firmware dvb-demod-si2168-b40-01.fw
May 25 21:02:11 host kernel: [  116.726378] si2168