Re: Help with RTL2832U DVB-T dongle (LeadTek WinFast DTV Dongle Mini)

2010-03-09 Thread LiM
Hi,

for information...i have the same dongle (LeadTek WinFast DTV Dongle
Mini - Bus 001 Device 003: ID 0413:6a03 Leadtek Research, Inc. )
and after compiled RTL2832U + change VID+PID in rtl2832u.h (i changed
USB_VID_GTEK + USB_PID_GTEK_WARM to leadtek`s 0413:6a03)
is tuner working!  (me-tv + kaffeine)

[5.033094] usb 1-2: new high speed USB device using ehci_hcd and
address 3
[5.174858] usb 1-2: configuration #1 chosen from 1 choice
[5.287045] dvb-usb: found a 'RT DTV 2832U' in warm state.
[5.287056] dvb-usb: will pass the complete MPEG2 transport stream to
the software demuxer.
[5.288707] DVB: registering new adapter (RT DTV 2832U)
[5.289274] DVB: registering adapter 0 frontend 0 (Realtek RTL2832
DVB-T)...
[5.289324] dvb-usb: RT DTV 2832U successfully initialized and connected.
[5.289360] usbcore: registered new interface driver dvb_usb_rtl2832u


compilation is the same as instruction for msi digivox mini II v3.0

--cut 
Installation of Realtek rtl2832u-based DVB-T-USB-Sticks:

sudo apt-get install unrar build-essential mercurial
mkdir digivox; cd digivox
hg clone http://linuxtv.org/hg/v4l-dvb http://linuxtv.org/hg/v4l-dvb
wget
http://media.ubuntuusers.de/forum/attachments/2103272/090730_RTL2832U_LINUX_Ver1.1.rar
http://media.ubuntuusers.de/forum/attachments/2103272/090730_RTL2832U_LINUX_Ver1.1.rar
unrar x -ep 090730_RTL2832U_LINUX_Ver1.1.rar
./v4l-dvb/linux/drivers/media/dvb/dvb-usb
cd v4l-dvb
for i in `find . -name *.pl`; do chmod +x $i ; done
gedit ./linux/drivers/media/dvb/dvb-usb/Makefile

(Insertion nearly to the end of file
https://bugs.launchpad.net/me-tv/+bug/478439/file:)
dvb-usb-rtl2832u-objs = demod_rtl2832.o dvbt_demod_base.o
dvbt_nim_base.o foundation.o math_mpi.o nim_rtl2832_mxl5007t.o
nim_rtl2832_fc2580.o nim_rtl2832_mt2266.o rtl2832u.o rtl2832u_fe.o
rtl2832u_io.o tuner_mxl5007t.o tuner_fc2580.o tuner_mt2266.o
tuner_tua9001.o nim_rtl2832_tua9001.o
obj-$(CONFIG_DVB_USB_RTL2832U) += dvb-usb-rtl2832u.o

gedit ./linux/drivers/media/dvb/dvb-usb/Kconfig

(Insertion to the end of file
https://bugs.launchpad.net/me-tv/+bug/478439/file:)
config DVB_USB_RTL2832U
tristate Realtek RTL2832U DVB-T USB2.0 support
depends on DVB_USB
help
  Realtek RTL2832U DVB-T driver

gedit ./linux/drivers/media/dvb/dvb-usb/rtl2832u.c

(1. Remove // of line 12:)
//DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

(2. replace line 61-63 by:)
if ( ( 0==
dvb_usb_device_init(intf,rtl2832u_1st_properties,THIS_MODULE,NULL,adapter_nr)
)||
( 0==
dvb_usb_device_init(intf,rtl2832u_2nd_properties,THIS_MODULE,NULL,adapter_nr)
) ||
( 0==
dvb_usb_device_init(intf,rtl2832u_3th_properties,THIS_MODULE,NULL,adapter_nr)
))

gedit ./linux/drivers/media/dvb/dvb-usb/tuner_tua9001.c

(search for 19.2 AND 20.48 and replace it by 19_2 AND 20_48:)
#elif defined(CRYSTAL_19.2_MHZ) /* Frequency 19.2 MHz */
#elif defined(CRYSTAL_19_2_MHZ) /* Frequency 19.2 MHz */
#elif defined(CRYSTAL_20.48_MHZ) /* Frequency 20,48 MHz */
#elif defined(CRYSTAL_20_48_MHZ) /* Frequency 20,48 MHz */

make

STRG^C after some secs.

gedit ./v4l/.config

(replace FIREDTV=m by FIREDTV=n:)
CONFIG_DVB_FIREDTV=m
CONFIG_DVB_FIREDTV=n

make clean
make
sudo make install

--cut 

Jan Hoogenraad napsal(a):
 Mauro:

 Can you remove the VERY OLD branch:
 http://linuxtv.org/hg/~mchehab/rtl2831/rev/d116540ebaab
 It is giving some confusion here.

 Thomas  Jan:

 I've got the RTL2831 code (mind the last digit) vetted off by LeadTek.
 For the rtl2832, I haven't had contact with them.

 Certainly, Jan could try any of the three archives.
 I know Antti has thoughts on the rtl2832, I'm sure he knows more.

 thomas schorpp wrote:
 Jan Hoogenraad wrote:
 Antti has been working on drivers for the RTL283x.

 http://linuxtv.org/hg/~anttip/rtl2831u
 or
 http://linuxtv.org/hg/~anttip/qt1010/

 ~jhoogenraad/rtl2831-r2 rtl2831-r2 development repository: *known
 working version* Jan Hoogenraad

 Should Jan Slaninka try it?

 If you have more information on the RTL2832, I'd be happy to add it at:
 http://www.linuxtv.org/wiki/index.php/Rtl2831_devices

 Nothing on the Realtek website yet.



 Jan Slaninka wrote:
 Hi,

 I'd like to ask for a support with getting LeadTek WindFast DTV Dongle
 mini running on Linux. So far I was able to fetch latest v4l-dvb from
 HG, and successfully compiled module dvb_usb_rtl2832u found in

 090730_RTL2832U_LINUX_Ver1.1.rar  

 Can be considered as GPL code then according to

 http://linuxtv.org/hg/~mchehab/rtl2831/rev/d116540ebaab

 Patch to make RTL2831U DVB-T USB2.0 DEVICE work, based on RealTek
 version 080314

 ~mchehab/rtl2831 rtl2831 development repository with *RealTek GPL
 code* for rtl2831 Mauro Carvalho Chehab 24 months ago

 ?

 y
 tom
 -- 
 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: Help with RTL2832U DVB-T dongle (LeadTek WinFast DTV Dongle Mini)

2010-03-09 Thread thomas schorpp

LiM wrote:

Hi,

for information...i have the same dongle (LeadTek WinFast DTV Dongle
Mini - Bus 001 Device 003: ID 0413:6a03 Leadtek Research, Inc. )
and after compiled RTL2832U + change VID+PID in rtl2832u.h (i changed
USB_VID_GTEK + USB_PID_GTEK_WARM to leadtek`s 0413:6a03)
is tuner working!  (me-tv + kaffeine)



Good. Supported tuner chip. Pls do extensive tests (multiple recording streams, long time use usb-disconnects, 
other dvb apps...) and report any issues.


But we must support the MSI and others, too, so introduce an USB-ids array and device detection for 
USB_VID_GTEK + USB_PID_GTEK_WARM, see the other drivers for example code.


I don't have got the devices.


Installation of Realtek rtl2832u-based DVB-T-USB-Sticks:




gedit ./linux/drivers/media/dvb/dvb-usb/Makefile


Not acceptable in linux software development, pls *attach* patch to a mail with [PATCH]... in subject line 
by using linux diff utility (man diff) 
Example:

diff -rNU3 orig code dir changed code dir  ubuntuusers-de-rtl2832u-01.patch
With signed-off-by author mail adress 


For patching non-driver user space apps, please contact their project devlists.

y
tom


Jan Hoogenraad napsal(a):

Mauro:

Can you remove the VERY OLD branch:
http://linuxtv.org/hg/~mchehab/rtl2831/rev/d116540ebaab
It is giving some confusion here.

Thomas  Jan:

I've got the RTL2831 code (mind the last digit) vetted off by LeadTek.
For the rtl2832, I haven't had contact with them.

Certainly, Jan could try any of the three archives.
I know Antti has thoughts on the rtl2832, I'm sure he knows more.

thomas schorpp wrote:

Jan Hoogenraad wrote:

Antti has been working on drivers for the RTL283x.

http://linuxtv.org/hg/~anttip/rtl2831u
or
http://linuxtv.org/hg/~anttip/qt1010/

~jhoogenraad/rtl2831-r2 rtl2831-r2 development repository: *known
working version* Jan Hoogenraad

Should Jan Slaninka try it?

If you have more information on the RTL2832, I'd be happy to add it at:
http://www.linuxtv.org/wiki/index.php/Rtl2831_devices

Nothing on the Realtek website yet.



Jan Slaninka wrote:

Hi,

I'd like to ask for a support with getting LeadTek WindFast DTV Dongle
mini running on Linux. So far I was able to fetch latest v4l-dvb from
HG, and successfully compiled module dvb_usb_rtl2832u found in
090730_RTL2832U_LINUX_Ver1.1.rar  

Can be considered as GPL code then according to

http://linuxtv.org/hg/~mchehab/rtl2831/rev/d116540ebaab

Patch to make RTL2831U DVB-T USB2.0 DEVICE work, based on RealTek
version 080314

~mchehab/rtl2831 rtl2831 development repository with *RealTek GPL
code* for rtl2831 Mauro Carvalho Chehab 24 months ago

?

y
tom

--
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: Help with RTL2832U DVB-T dongle (LeadTek WinFast DTV Dongle Mini)

2010-03-09 Thread Mauro Carvalho Chehab
Jan Hoogenraad wrote:
 Mauro:
 
 Can you remove the VERY OLD branch:
 http://linuxtv.org/hg/~mchehab/rtl2831/rev/d116540ebaab
 It is giving some confusion here.

Removed. It would be great if you could work on put it at a good shape,
in order to allow its merge upstream.

 
 Thomas  Jan:
 
 I've got the RTL2831 code (mind the last digit) vetted off by LeadTek.
 For the rtl2832, I haven't had contact with them.
 
 Certainly, Jan could try any of the three archives.
 I know Antti has thoughts on the rtl2832, I'm sure he knows more.
 
 thomas schorpp wrote:
 Jan Hoogenraad wrote:
 Antti has been working on drivers for the RTL283x.

 http://linuxtv.org/hg/~anttip/rtl2831u
 or
 http://linuxtv.org/hg/~anttip/qt1010/

 ~jhoogenraad/rtl2831-r2 rtl2831-r2 development repository: *known
 working version* Jan Hoogenraad

 Should Jan Slaninka try it?

 If you have more information on the RTL2832, I'd be happy to add it at:
 http://www.linuxtv.org/wiki/index.php/Rtl2831_devices

 Nothing on the Realtek website yet.



 Jan Slaninka wrote:
 Hi,

 I'd like to ask for a support with getting LeadTek WindFast DTV Dongle
 mini running on Linux. So far I was able to fetch latest v4l-dvb from
 HG, and successfully compiled module dvb_usb_rtl2832u found in

 090730_RTL2832U_LINUX_Ver1.1.rar  

 Can be considered as GPL code then according to

 http://linuxtv.org/hg/~mchehab/rtl2831/rev/d116540ebaab

 Patch to make RTL2831U DVB-T USB2.0 DEVICE work, based on RealTek
 version 080314

 ~mchehab/rtl2831 rtl2831 development repository with *RealTek GPL
 code* for rtl2831 Mauro Carvalho Chehab 24 months ago

 ?

 y
 tom
 -- 
 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

 
 


-- 

Cheers,
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


Re: Help with RTL2832U DVB-T dongle (LeadTek WinFast DTV Dongle Mini)

2010-03-07 Thread thomas schorpp

Jan Hoogenraad wrote:

Antti has been working on drivers for the RTL283x.

http://linuxtv.org/hg/~anttip/rtl2831u
or
http://linuxtv.org/hg/~anttip/qt1010/


~jhoogenraad/rtl2831-r2 rtl2831-r2 development repository: *known 
working version*  Jan Hoogenraad

Should Jan Slaninka try it? 



If you have more information on the RTL2832, I'd be happy to add it at:
http://www.linuxtv.org/wiki/index.php/Rtl2831_devices


Nothing on the Realtek website yet.




Jan Slaninka wrote:

Hi,

I'd like to ask for a support with getting LeadTek WindFast DTV Dongle
mini running on Linux. So far I was able to fetch latest v4l-dvb from
HG, and successfully compiled module dvb_usb_rtl2832u found in


090730_RTL2832U_LINUX_Ver1.1.rar  


Can be considered as GPL code then according to

http://linuxtv.org/hg/~mchehab/rtl2831/rev/d116540ebaab

Patch to make RTL2831U DVB-T USB2.0 DEVICE work, based on RealTek version 080314

~mchehab/rtl2831rtl2831 development repository with *RealTek GPL code* 
for rtl2831  Mauro Carvalho Chehab   24 months ago

?

y
tom
--
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: Help with RTL2832U DVB-T dongle (LeadTek WinFast DTV Dongle Mini)

2010-03-06 Thread thomas schorpp

Jan Slaninka wrote:

Hi,

I'd like to ask for a support with getting LeadTek WindFast DTV Dongle
mini running on Linux. So far I was able to fetch latest v4l-dvb from
HG, and successfully compiled module dvb_usb_rtl2832u found in



090730_RTL2832U_LINUX_Ver1.1.rar


From Ubuntu etc Webforums? 


Not linuxtv.org or OSS code, missing license, so considered *Realtek 
proprietary* as default license by (c) law.

Ask the maintainers to ask Realtek if they like to have it GPL'd so we can add, 
improve and maintain it.

Do not distribute patches for it over this list or forums until license status 
is cleared.


but with no luck.
The box says the dongle's TV Tuner is Infineon 396


No such Infineon Tuner 
http://www.infineon.com/cms/en/product/channel.html?channel=ff80808112ab681d0112ab6b9bb708b9

must be other device You've seen, possibly EEPROM/Regulator.


and Demodulator is
RTL2832U. Is there any chance with this one? Any hints appreciated.

Thanks,
Jan




Bus 002 Device 009: ID 0413:6a03 Leadtek Research, Inc.


Add this USB-ID to the driver and try your luck.

If the frontend tuner is not detected automatically, assign it manually in the 
source code.

y
tom
--
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: Help with RTL2832U DVB-T dongle (LeadTek WinFast DTV Dongle Mini)

2010-03-06 Thread Jan Hoogenraad

Antti has been working on drivers for the RTL283x.

http://linuxtv.org/hg/~anttip/rtl2831u
or
http://linuxtv.org/hg/~anttip/qt1010/

If you have more information on the RTL2832, I'd be happy to add it at:
http://www.linuxtv.org/wiki/index.php/Rtl2831_devices


Jan Slaninka wrote:

Hi,

I'd like to ask for a support with getting LeadTek WindFast DTV Dongle
mini running on Linux. So far I was able to fetch latest v4l-dvb from
HG, and successfully compiled module dvb_usb_rtl2832u found in
090730_RTL2832U_LINUX_Ver1.1.rar  but with no luck.
The box says the dongle's TV Tuner is Infineon 396 and Demodulator is
RTL2832U. Is there any chance with this one? Any hints appreciated.

Thanks,
Jan

lsmod:
Module  Size  Used by
dvb_usb_rtl2832u   94445  0
dvb_usb18655  1 dvb_usb_rtl2832u

dmesg output:
[ 9283.804050] usb 2-1: new high speed USB device using ehci_hcd and address 9
[ 9283.930504] usb 2-1: New USB device found, idVendor=0413, idProduct=6a03
[ 9283.930507] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 9283.930510] usb 2-1: Product: usbtv
[ 9283.930512] usb 2-1: Manufacturer: realtek
[ 9283.930610] usb 2-1: configuration #1 chosen from 1 choice

lsusb:
Bus 002 Device 009: ID 0413:6a03 Leadtek Research, Inc.
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  idVendor   0x0413 Leadtek Research, Inc.
  idProduct  0x6a03
  bcdDevice1.00
  iManufacturer   1 realtek
  iProduct2 usbtv
  iSerial 0
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   25
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  4 USB2.0-BulkIso
bmAttributes 0x80
  (Bus Powered)
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass255 Vendor Specific Subclass
  bInterfaceProtocol255 Vendor Specific Protocol
  iInterface  5 Bulk-In, Interface
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
Device Qualifier (for other device speed):
  bLength10
  bDescriptorType 6
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize064
  bNumConfigurations  2
Device Status: 0x
  (Bus Powered)
--
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




--
Jan Hoogenraad
Hoogenraad Interface Services
Postbus 2717
3500 GS Utrecht
--
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