public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] Anysee E30 Combo Plus startup mode
@ 2009-08-21 13:21 Alexander Saers
  2009-08-25  1:05 ` Antti Palosaari
       [not found] ` <4A92AB38.7040207@ludd.ltu.se>
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Saers @ 2009-08-21 13:21 UTC (permalink / raw)
  To: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 2556 bytes --]

Hello

I have a Anysee E30 Combo Plus USB device. It's capable of both DVB-C and
DVB-T. I currently use the device with ubuntu 9.04 64bit with mythtv. I have
problem with selction of mode for the device

The following way i can get DVB-T
1. Power up computer with E30 Combo Plus connected.
2. run dmesg
<dmesg shows>
...
[   12.254209] dvb-usb: found a 'Anysee DVB USB2.0' in warm state.
[   12.254356] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[   12.255832] DVB: registering new adapter (Anysee DVB USB2.0)
[   12.259593] anysee: firmware version:0.1.2 hardware id:15
[   12.276531] generic-usb 0003:046D:C505.0002: input,hidraw1: USB HID v1.10
Mouse [Logitech USB Receiver] on usb-0000:00:04.0-3/input1
[   12.276610] usbcore: registered new interface driver usbhid
[   12.276690] usbhid: v2.6:USB HID core driver
[   12.392415] DVB: registering adapter 0 frontend 0 (Zarlink ZL10353
DVB-T)...
[   12.428278] input: IR-receiver inside an USB DVB receiver as
/devices/pci0000:00/0000:00: 04.1/usb1/1-2/input/input6
[   12.460271] dvb-usb: schedule remote query interval to 200 msecs.
[   12.460284] dvb-usb: Anysee DVB USB2.0 successfully initialized and
connected.
[   12.463685] usbcore: registered new interface driver dvb_usb_anysee
...
</dmesg shows>
3. rmod dvb_usb_anysee
4. modprobe dvb_usb_anysee delsys=0
5. run dmesg -> stil dvb-t :(


The following way i can get DVB-C. But its kind of anoying to remove the
device during every boot.
1. Power up computer with E30 Combo Plus disconnected.
2. Wait until everything has loaded and gdm is seen on the monitor
3. Connect the E30 Combo Plus.
4. Device is detected as a DVB-C device
5. dmesg
<dmesg shows>
[   64.464258] dvb-usb: found a 'Anysee DVB USB2.0' in warm state.
[   64.464356] dvb-usb: will pass the complete MPEG2 transport stream to the
software demuxer.
[   64.464601] DVB: registering new adapter (Anysee DVB USB2.0)
[   64.469473] anysee: firmware version:0.1.2 hardware id:15
[   64.564746] DVB: registering adapter 0 frontend 0 (Philips TDA10023
DVB-C)...
[   64.597789] input: IR-receiver inside an USB DVB receiver as
/devices/pci0000:00/0000:00:04.1/usb1/1-2/input/input6
[   64.628139] dvb-usb: schedule remote query interval to 200 msecs.
[   64.628149] dvb-usb: Anysee DVB USB2.0 successfully initialized and
connected.
[   64.634715] usbcore: registered new interface driver dvb_usb_anysee

</dmesg shows>

Anyone experienced this problem? It would be nice to run DVB-C without
having to disconnect and connect hardware.

Br
Alexander

[-- Attachment #1.2: Type: text/html, Size: 2818 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-dvb] Anysee E30 Combo Plus startup mode
  2009-08-21 13:21 [linux-dvb] Anysee E30 Combo Plus startup mode Alexander Saers
@ 2009-08-25  1:05 ` Antti Palosaari
       [not found] ` <4A92AB38.7040207@ludd.ltu.se>
  1 sibling, 0 replies; 3+ messages in thread
From: Antti Palosaari @ 2009-08-25  1:05 UTC (permalink / raw)
  To: linux-media; +Cc: linux-dvb, Benjamin Larsson

On 08/21/2009 04:21 PM, Alexander Saers wrote:
> Hello
>
> I have a Anysee E30 Combo Plus USB device. It's capable of both DVB-C and
> DVB-T. I currently use the device with ubuntu 9.04 64bit with mythtv. I have
> problem with selction of mode for the device
>
> The following way i can get DVB-T
> 1. Power up computer with E30 Combo Plus connected.
> 2. run dmesg

>
> Anyone experienced this problem? It would be nice to run DVB-C without
> having to disconnect and connect hardware.

You are not alone.
Looks like it is GPIO related problem. I don't have currently that device...
It is a little bit hard to fix without knowing exactly how GPIO pins are 
connected in each device. There is too many different hardware revisions 
with different GPIOs, fix one break the other.

 From the anysee.c code you can find following entry:

	/* Try to attach demodulator in following order:
	      model      demod     hw  firmware
	   1. E30        MT352     02  0.2.1
	   2. E30        ZL10353   02  0.2.1
	   3. E30 Combo  ZL10353   0f  0.1.2    DVB-T/C combo
	   4. E30 Plus   ZL10353   06  0.1.0
	   5. E30C Plus  TDA10023  0a  0.1.0    rev 0.2
	      E30C Plus  TDA10023  0f  0.1.2    rev 0.4
	      E30 Combo  TDA10023  0f  0.1.2    DVB-T/C combo
	*/

Antti
-- 
http://palosaari.fi/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-dvb] Anysee E30 Combo Plus startup mode
       [not found] ` <4A92AB38.7040207@ludd.ltu.se>
@ 2009-08-25  6:56   ` Alexander Saers
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Saers @ 2009-08-25  6:56 UTC (permalink / raw)
  To: linux-dvb


[-- Attachment #1.1: Type: text/plain, Size: 2604 bytes --]

Hello Benjamin

Thanx for the reply. Good to know that I'm not alone with the issue :-).

The idee to simply remove the dvb-t part from the code was something i have
thought of. However if you do that you need to build a custom kernel every
time a security update is released. This can be a real pain :)

However I came up with the following simple solution to the problem. I just
prevent the modules from being loaded. Just edit
/etc/modprobe.d/blacklist.conf and add the following at the end of it.

If you want dvb-c add this
blacklist zl10353

if you want dvb-t add this
blacklist tda10023

And then reboot the computer. Almost to simple :)

Br
Alexander

2009/8/24 Benjamin Larsson <banan@ludd.ltu.se>

> Alexander Saers wrote:
>
>> Hello
>>
>> I have a Anysee E30 Combo Plus USB device. It's capable of both DVB-C and
>> DVB-T. I currently use the device with ubuntu 9.04 64bit with mythtv. I have
>> problem with selction of mode for the device
>>
>>  [...]
>
>>
>> Anyone experienced this problem? It would be nice to run DVB-C without
>> having to disconnect and connect hardware.
>>
>> Br
>> Alexander
>>
>
> I experience the same thing. Hacking the drivers does help.
>
>
> diff -r 46560e0b658e linux/drivers/media/dvb/dvb-usb/anysee.c
> --- a/linux/drivers/media/dvb/dvb-usb/anysee.c  Fri Apr 24 20:27:44 2009
> +0300
> +++ b/linux/drivers/media/dvb/dvb-usb/anysee.c  Sat Jul 11 12:08:29 2009
> +0200
> @@ -293,13 +293,6 @@ static int anysee_frontend_attach(struct
>                return 0;
>        }
>
> -       /* Zarlink ZL10353 DVB-T demod inside of Samsung DNOS404ZH103A NIM
> */
> -       adap->fe = dvb_attach(zl10353_attach, &anysee_zl10353_config,
> -                             &adap->dev->i2c_adap);
> -       if (adap->fe != NULL) {
> -               state->tuner = DVB_PLL_THOMSON_DTT7579;
> -               return 0;
> -       }
>
>        /* for E30 Combo Plus DVB-T demodulator */
>        if (dvb_usb_anysee_delsys) {
> @@ -321,13 +314,6 @@ static int anysee_frontend_attach(struct
>        if (ret)
>                return ret;
>
> -       /* Zarlink ZL10353 DVB-T demod inside of Samsung DNOS404ZH103A NIM
> */
> -       adap->fe = dvb_attach(zl10353_attach, &anysee_zl10353_config,
> -                             &adap->dev->i2c_adap);
> -       if (adap->fe != NULL) {
> -               state->tuner = DVB_PLL_THOMSON_DTT7579;
> -               return 0;
> -       }
>
>        /* IO port E - E30C rev 0.4 board requires this */
>        ret = anysee_write_reg(adap->dev, 0xb1, 0xa7);
>
>
> The issue is reported to the maintainer.
>
>
> MvH
> Benjamin Larsson
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 3491 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@vger.kernel.org
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-25  6:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21 13:21 [linux-dvb] Anysee E30 Combo Plus startup mode Alexander Saers
2009-08-25  1:05 ` Antti Palosaari
     [not found] ` <4A92AB38.7040207@ludd.ltu.se>
2009-08-25  6:56   ` Alexander Saers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox