Re: [linux-dvb] kernel crash with Terratec Cinergy XS

2007-12-08 Thread Christian Hoffmann
Hi all,

I was able to get a vmcore after the crash with kexec.

Here is the bt and lastlog.
Anything else I could provide?

Chris


PID: 0  TASK: 804b7870  CPU: 0   COMMAND: swapper
 #0 [80624b10] machine_kexec at 8021c00d
 #1 [80624bc0] crash_kexec at 80255dbe
 #2 [80624c80] do_page_fault at 803fde21
 #3 [80624d90] error_exit at 803fc0fd
[exception RIP: end_unlink_async+34]
RIP: 8811d20a  RSP: 80624e48  RFLAGS: 00010202
RAX: 00010029  RBX: 81007e098178  RCX: 
RDX: 8028  RSI: 8811fe7e  RDI: 0080
RBP:    R8:    R9: 8047dc64
R10: 8100022ffc48  R11: 0246  R12: 
R13: 81007e098178  R14: 81007e098000  R15: 
ORIG_RAX:   CS: 0010  SS: 0018
 #4 [80624e60] ehci_work at 8811d78b
 #5 [80624ed0] ehci_irq at 88120d0f
 #6 [80624f20] usb_hcd_irq at 880ded82
 #7 [80624f30] handle_IRQ_event at 802603e8
 #8 [80624f60] handle_fasteoi_irq at 802618b6
 #9 [80624f90] do_IRQ at 8020c136
--- IRQ stack ---
#10 [805c7e88] ret_from_intr at 8020a141
[exception RIP: acpi_safe_halt+40]
RIP: 88003dc6  RSP: 805c7f30  RFLAGS: 0246
RAX:   RBX: 81007e6760a8  RCX: 8047dde4
RDX: 0007  RSI: 01c6  RDI: 0400
RBP:    R8: 0002   R9: 8047dc64
R10: 8100022ffc48  R11: 0246  R12: 805c7f14
R13: 1001  R14: 80332334  R15: 
ORIG_RAX: ff86  CS: 0010  SS: 0018
#11 [805c7f30] acpi_processor_idle at 88003ff9
#12 [805c7f70] cpu_idle at 80208daf
crash

...
DIGITAL TV REQUEST
DIGITAL TV REQUEST
DIGITAL TV REQUEST
DIGITAL TV REQUEST
Unable to handle kernel NULL pointer dereference at 0088 RIP:
 [8811d20a] :ehci_hcd:end_unlink_async+0x22/0xed
PGD 46866067 PUD 46867067 PMD 0
Oops: 0002 [1] SMP
last sysfs file: /devices/pci:00/:00:14.4/:06:02.0/rf_kill
CPU 0
Modules linked in: qt1010 mt2060 mt352 zl10353 em2880_dvb dvb_core 
em28xx_audio xc3028_tuner tvp5150 tuner em28xx compat_ioctl32 ir_common 
videodev v4l2_common v4l1_compat tveeprom appletalk ax25 ipx p8023 eeprom 
ircomm_tty ircomm iptable_filter ip_tables ip6_tables x_tables snd_pcm_oss 
snd_mixer_oss snd_seq snd_seq_device af_packet cpufreq_conservative 
cpufreq_userspace cpufreq_powersave powernow_k8 fuse apparmor loop dm_mod 
pcmcia ipw2200 ide_cd tifm_7xx1 tifm_core ieee80211 ieee80211_crypt 
firmware_class ohci1394 container dock battery ac yenta_socket rtc_cmos 
ieee1394 cdrom snd_atiixp rsrc_nonstatic rtc_core i2c_piix4 snd_atiixp_modem 
rtc_lib snd_ac97_codec ac97_bus button pcmcia_core snd_pcm snd_timer tg3 snd 
parport_pc fglrx(P) parport soundcore k8temp hwmon serio_raw joydev 
snd_page_alloc irda crc_ccitt ehci_hcd ide_disk ohci_hcd usbcore radeonfb 
fb_ddc i2c_algo_bit i2c_core edd ext3 mbcache jbd fan atiixp ide_core thermal 
processor
Pid: 0, comm: swapper Tainted: P  N 2.6.22.13-0.3-default #1
RIP: 0010:[8811d20a]  
[8811d20a] :ehci_hcd:end_unlink_async+0x22/0xed
RSP: 0018:80624e48  EFLAGS: 00010202
RAX: 00010029 RBX: 81007e098178 RCX: 
RDX: 8028 RSI: 8811fe7e RDI: 0080
RBP:  R08:  R09: 8047dc64
R10: 8100022ffc48 R11: 0246 R12: 
R13: 81007e098178 R14: 81007e098000 R15: 
FS:  40800950() GS:8050() knlGS:f7e6e6c0
CS:  0010 DS: 0018 ES: 0018 CR0: 8005003b
CR2: 0088 CR3: 46865000 CR4: 06e0
Process swapper (pid: 0, threadinfo 805c6000, task 804b7870)
Stack:  81007e098000 81007e098178  8811d78b
 81007e143120 81007e7bc240 02410800 0120
 0240 000180617800 02410001 81007e098000
Call Trace:
 IRQ  [8811d78b] :ehci_hcd:ehci_work+0x25/0x6bd
 [88120d0f] :ehci_hcd:ehci_irq+0x15a/0x188
 [880ded82] :usbcore:usb_hcd_irq+0x24/0x52
 [802603e8] handle_IRQ_event+0x25/0x53
 [802618b6] handle_fasteoi_irq+0x94/0xd0
 [80208ce4] default_idle+0x0/0x3d
 [8020c136] do_IRQ+0x6c/0xd6
 [88003e4d] :processor:acpi_processor_idle+0x0/0x48b
 [8020a141] ret_from_intr+0x0/0xa
 EOI  [88003dc6] :processor:acpi_safe_halt+0x28/0x39
 [88003ff9] :processor:acpi_processor_idle+0x1ac/0x48b
 [88003e4d] :processor:acpi_processor_idle+0x0/0x48b
 [80208ce4] default_idle+0x0/0x3d
 [80208daf] 

Re: [linux-dvb] [Em28xx] kernel crash with Terratec Cinergy XS

2007-12-08 Thread Markus Rechberger
Hi Christian,

it seems like you have broken usb controller hardware, search the
em28xx mailinglist for crash and em28xx, someone also had the same
problem earlier already I think!

I can try to help you further - have a closer look at it when I'm back
from Sweden..

Markus

On Dec 8, 2007 12:34 PM, Christian Hoffmann
[EMAIL PROTECTED] wrote:
 Hi all,

 I was able to get a vmcore after the crash with kexec.

 Here is the bt and lastlog.
 Anything else I could provide?

 Chris


 PID: 0  TASK: 804b7870  CPU: 0   COMMAND: swapper
  #0 [80624b10] machine_kexec at 8021c00d
  #1 [80624bc0] crash_kexec at 80255dbe
  #2 [80624c80] do_page_fault at 803fde21
  #3 [80624d90] error_exit at 803fc0fd
 [exception RIP: end_unlink_async+34]
 RIP: 8811d20a  RSP: 80624e48  RFLAGS: 00010202
 RAX: 00010029  RBX: 81007e098178  RCX: 
 RDX: 8028  RSI: 8811fe7e  RDI: 0080
 RBP:    R8:    R9: 8047dc64
 R10: 8100022ffc48  R11: 0246  R12: 
 R13: 81007e098178  R14: 81007e098000  R15: 
 ORIG_RAX:   CS: 0010  SS: 0018
  #4 [80624e60] ehci_work at 8811d78b
  #5 [80624ed0] ehci_irq at 88120d0f
  #6 [80624f20] usb_hcd_irq at 880ded82
  #7 [80624f30] handle_IRQ_event at 802603e8
  #8 [80624f60] handle_fasteoi_irq at 802618b6
  #9 [80624f90] do_IRQ at 8020c136
 --- IRQ stack ---
 #10 [805c7e88] ret_from_intr at 8020a141
 [exception RIP: acpi_safe_halt+40]
 RIP: 88003dc6  RSP: 805c7f30  RFLAGS: 0246
 RAX:   RBX: 81007e6760a8  RCX: 8047dde4
 RDX: 0007  RSI: 01c6  RDI: 0400
 RBP:    R8: 0002   R9: 8047dc64
 R10: 8100022ffc48  R11: 0246  R12: 805c7f14
 R13: 1001  R14: 80332334  R15: 
 ORIG_RAX: ff86  CS: 0010  SS: 0018
 #11 [805c7f30] acpi_processor_idle at 88003ff9
 #12 [805c7f70] cpu_idle at 80208daf
 crash

 ...
 DIGITAL TV REQUEST
 DIGITAL TV REQUEST
 DIGITAL TV REQUEST
 DIGITAL TV REQUEST
 Unable to handle kernel NULL pointer dereference at 0088 RIP:
  [8811d20a] :ehci_hcd:end_unlink_async+0x22/0xed
 PGD 46866067 PUD 46867067 PMD 0
 Oops: 0002 [1] SMP
 last sysfs file: /devices/pci:00/:00:14.4/:06:02.0/rf_kill
 CPU 0
 Modules linked in: qt1010 mt2060 mt352 zl10353 em2880_dvb dvb_core
 em28xx_audio xc3028_tuner tvp5150 tuner em28xx compat_ioctl32 ir_common
 videodev v4l2_common v4l1_compat tveeprom appletalk ax25 ipx p8023 eeprom
 ircomm_tty ircomm iptable_filter ip_tables ip6_tables x_tables snd_pcm_oss
 snd_mixer_oss snd_seq snd_seq_device af_packet cpufreq_conservative
 cpufreq_userspace cpufreq_powersave powernow_k8 fuse apparmor loop dm_mod
 pcmcia ipw2200 ide_cd tifm_7xx1 tifm_core ieee80211 ieee80211_crypt
 firmware_class ohci1394 container dock battery ac yenta_socket rtc_cmos
 ieee1394 cdrom snd_atiixp rsrc_nonstatic rtc_core i2c_piix4 snd_atiixp_modem
 rtc_lib snd_ac97_codec ac97_bus button pcmcia_core snd_pcm snd_timer tg3 snd
 parport_pc fglrx(P) parport soundcore k8temp hwmon serio_raw joydev
 snd_page_alloc irda crc_ccitt ehci_hcd ide_disk ohci_hcd usbcore radeonfb
 fb_ddc i2c_algo_bit i2c_core edd ext3 mbcache jbd fan atiixp ide_core thermal
 processor
 Pid: 0, comm: swapper Tainted: P  N 2.6.22.13-0.3-default #1
 RIP: 0010:[8811d20a]
 [8811d20a] :ehci_hcd:end_unlink_async+0x22/0xed
 RSP: 0018:80624e48  EFLAGS: 00010202
 RAX: 00010029 RBX: 81007e098178 RCX: 
 RDX: 8028 RSI: 8811fe7e RDI: 0080
 RBP:  R08:  R09: 8047dc64
 R10: 8100022ffc48 R11: 0246 R12: 
 R13: 81007e098178 R14: 81007e098000 R15: 
 FS:  40800950() GS:8050() knlGS:f7e6e6c0
 CS:  0010 DS: 0018 ES: 0018 CR0: 8005003b
 CR2: 0088 CR3: 46865000 CR4: 06e0
 Process swapper (pid: 0, threadinfo 805c6000, task 804b7870)
 Stack:  81007e098000 81007e098178  8811d78b
  81007e143120 81007e7bc240 02410800 0120
  0240 000180617800 02410001 81007e098000
 Call Trace:
  IRQ  [8811d78b] :ehci_hcd:ehci_work+0x25/0x6bd
  [88120d0f] :ehci_hcd:ehci_irq+0x15a/0x188
  [880ded82] :usbcore:usb_hcd_irq+0x24/0x52
  [802603e8] handle_IRQ_event+0x25/0x53
  [802618b6] handle_fasteoi_irq+0x94/0xd0
  

Re: [linux-dvb] linux-dvb Digest, Vol 35, Issue 16

2007-12-08 Thread Christian Hoffmann
 Hi Christian,

 it seems like you have broken usb controller hardware, search the
 em28xx mailinglist for crash and em28xx, someone also had the same
 problem earlier already I think!

Hi,

thanks for the hint, and I am apparently running into exactly the same 
problem, as the patch on the em28xx list helped. 

drivers/usb/host/ehci-hcd.c:611
/* complete the unlinking of some qh [4.15.2.3] */
if (status  STS_IAA) {
if (ehci-reclaim) {
COUNT (ehci-stats.reclaim);
ehci-reclaim_ready = 1;
bh = 1;
} else {
printk(KERN_ERR AUA: ehci reclaim NULL status: %u\n, status);
}
}

I see now in dmesg
AUA: ehci reclaim NULL status 32

But the DVB stick works. Thank you for the great work.

I will try to follow up in the usb-dev mailing list nevertheless.

Chris

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-08 Thread sioux

All  :-)

Sioux is back  :-)

I see my email has generate a  big work...  
Thanks guys


I am happy... even if I hope none of you will get money for that becouse 
otherwise I want some cents for me too. :-)
and also I hope no RIAA or SIAE or any yellow finace police in futures 
days will ring to my door for have done only few stupid testing and 
report on this mail list :-)


So,
Hermann give me instruction what I have to do for test the patch you 
sent me like:


1. what I have to type on my keyboard to test the file you sent (how I 
install that)?

2. what you need for my signed-off?

I told you I am not a developer... just a crazy sioux...

Before start the test I must clean some alias.

Ciao.

P.S.
I don't like give you my signed-off with my real name :-)  if ok I can 
do it with my nick name..

that's ok for you?

_

hermann pitton ha scritto:

Am Dienstag, den 04.12.2007, 01:23 +0100 schrieb hermann pitton:
  

Am Dienstag, den 04.12.2007, 00:23 +0100 schrieb hermann pitton:


[...]
  

Since it is more than six months back, that the card could have been
added, guess I'll try this next pointing at the state of affairs we have
here now.


Missing commas tend to spread ... ;)

diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Fri Nov 30
18:27:26 2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Dec 04
00:06:19 2007 +0100
@@ -3600,6 +3600,36 @@ struct saa7134_board saa7134_boards[] = 
 			.tv = 1,
  

Broken lines, not compatible editors and mail clients ...

I'm back to Mike Isely and will ignore all other stuff not officially
documented, ... until it works.




Hi,

OK, seems we have enough rules and documentation now.

Based on what I seem to know about the card and is prior in this thread
on the linux-dvb ML, the patch is correct. Some spaces, also between
braces, are introduced by checkpatch.pl. Please review.

Sioux, please test and check and Sign-off with me or take at least some
credit for your work on it.

Cheers,
Hermann


 - saa7134: add Twinhan Hybrid DTV-DVB 3056 PCI

 - Thanks go to Sioux for providing code and asking to fix the auto
   detection.

 - S-Video seems to be untested and likely a Composite over S-Video
   input is also there. The remote is not yet investigated.

Signed-off-by: Hermann Pitton [EMAIL PROTECTED]


diff -r 27b2c6a80826 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Fri Nov 30 18:27:26 
2007 +0200
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Tue Dec 04 00:06:19 
2007 +0100
@@ -3600,6 +3600,36 @@ struct saa7134_board saa7134_boards[] = 
 			.tv = 1,

}},
},
+   [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
+   .name   = Twinhan Hybrid DTV-DVB 3056 PCI,
+   .audio_clock= 0x00187de7,
+   .tuner_type = TUNER_PHILIPS_TDA8290,
+   .radio_type = UNSET,
+   .tuner_addr = ADDR_UNSET,
+   .radio_addr = ADDR_UNSET,
+   .tuner_config   = 2,
+   .mpeg   = SAA7134_MPEG_DVB,
+   .gpiomask   = 0x020,
+   .inputs = {{
+   .name   = name_tv,
+   .vmux   = 1,
+   .amux   = TV,
+   .tv = 1,
+   }, {
+   .name   = name_comp1,
+   .vmux   = 3,
+   .amux   = LINE1,
+   }, {
+   .name   = name_svideo,
+   .vmux   = 8,
+   .amux   = LINE1,
+   } },
+   .radio = {
+   .name   = name_radio,
+   .amux   = TV,
+   .gpio   = 0x020,
+   },
+   },
 };
 
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);

@@ -4369,7 +4399,13 @@ struct pci_device_id saa7134_pci_tbl[] =
.device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor= 0x4e42,
.subdevice= 0x3502,
-   .driver_data  = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS
+   .driver_data  = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
+   }, {
+   .vendor   = PCI_VENDOR_ID_PHILIPS,
+   .device   = PCI_DEVICE_ID_PHILIPS_SAA7133,
+   .subvendor= 0x1822, /*Twinhan Technology Co. Ltd*/
+   .subdevice= 0x0022,
+   .driver_data  = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
},{
/* --- boards without eeprom + subsystem ID --- */
.vendor   = PCI_VENDOR_ID_PHILIPS,
@@ -4782,6 +4818,7 @@ int saa7134_board_init2(struct saa7134_d
case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
   

Re: [linux-dvb] Start working on Acorp DS110 PCI DVB-S driver

2007-12-08 Thread Igor M. Liplianin
В сообщении от 9 November 2007 19:10:11 Igor M. Liplianin написал(а):
 Glad to inform, that I start working on Acorp DS110 PCI DVB-S driver.
 The card contains DM1105 chip to receive DVB Transport Stream with PCI
 interface.

For those, who interested - early and buggy dm1105 driver.
Needs manual loading for proper work. But works!
http://liplianin.at.tut.by
-- 
Igor M. Liplianin
diff -crN v4l-dvb-08122007/linux/drivers/media/dvb/Kconfig v4l-dvb-dm1105/linux/drivers/media/dvb/Kconfig
*** v4l-dvb-08122007/linux/drivers/media/dvb/Kconfig	2007-12-08 22:14:08.0 +0200
--- v4l-dvb-dm1105/linux/drivers/media/dvb/Kconfig	2007-12-08 22:22:33.0 +0200
***
*** 36,41 
--- 36,45 
  	depends on DVB_CORE  PCI  I2C
  source drivers/media/dvb/pluto2/Kconfig
  
+ comment Supported DM1105 Adapters
+ 	depends on DVB_CORE  PCI  I2C
+ source drivers/media/dvb/dm1105/Kconfig
+ 
  comment Supported DVB Frontends
  	depends on DVB_CORE
  source drivers/media/dvb/frontends/Kconfig
diff -crN v4l-dvb-08122007/linux/drivers/media/dvb/Makefile v4l-dvb-dm1105/linux/drivers/media/dvb/Makefile
*** v4l-dvb-08122007/linux/drivers/media/dvb/Makefile	2007-12-08 22:14:08.0 +0200
--- v4l-dvb-dm1105/linux/drivers/media/dvb/Makefile	2007-12-08 22:23:05.0 +0200
***
*** 2,5 
  # Makefile for the kernel multimedia device drivers.
  #
  
! obj-y:= dvb-core/ frontends/ ttpci/ ttusb-dec/ ttusb-budget/ b2c2/ bt8xx/ cinergyT2/ dvb-usb/ pluto2/
--- 2,5 
  # Makefile for the kernel multimedia device drivers.
  #
  
! obj-y:= dvb-core/ frontends/ ttpci/ ttusb-dec/ ttusb-budget/ b2c2/ bt8xx/ cinergyT2/ dvb-usb/ pluto2/ dm1105/
diff -crN v4l-dvb-08122007/linux/drivers/media/dvb/dm1105/Kconfig v4l-dvb-dm1105/linux/drivers/media/dvb/dm1105/Kconfig
*** v4l-dvb-08122007/linux/drivers/media/dvb/dm1105/Kconfig	1970-01-01 03:00:00.0 +0300
--- v4l-dvb-dm1105/linux/drivers/media/dvb/dm1105/Kconfig	2007-12-08 17:50:38.0 +0200
***
*** 0 
--- 1,15 
+ config DVB_DM1105
+ 	tristate DM1105 based cards
+ 	depends on DVB_CORE  PCI  I2C
+ 	select DVB_PLL if !DVB_FE_CUSTOMISE
+ 	select DVB_STV0299 if !DVB_FE_CUSTOMISE
+ 	help
+ 	  Support for PCI cards based on the DM1105 like the Acorp 
+ 	  DS110.
+ 
+ 	  Since these cards have no MPEG decoder onboard, they transmit
+ 	  only compressed MPEG data over the PCI bus, so you need
+ 	  an external software decoder to watch TV on your computer.
+ 
+ 	  Say Y or M if you own such a device and want to use it.
+ 
diff -crN v4l-dvb-08122007/linux/drivers/media/dvb/dm1105/Makefile v4l-dvb-dm1105/linux/drivers/media/dvb/dm1105/Makefile
*** v4l-dvb-08122007/linux/drivers/media/dvb/dm1105/Makefile	1970-01-01 03:00:00.0 +0300
--- v4l-dvb-dm1105/linux/drivers/media/dvb/dm1105/Makefile	2007-11-23 21:23:56.0 +0200
***
*** 0 
--- 1,3 
+ obj-$(CONFIG_DVB_DM1105) += dm1105.o
+ 
+ EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends
diff -crN v4l-dvb-08122007/linux/drivers/media/dvb/dm1105/dm1105.c v4l-dvb-dm1105/linux/drivers/media/dvb/dm1105/dm1105.c
*** v4l-dvb-08122007/linux/drivers/media/dvb/dm1105/dm1105.c	1970-01-01 03:00:00.0 +0300
--- v4l-dvb-dm1105/linux/drivers/media/dvb/dm1105/dm1105.c	2007-12-08 23:10:48.0 +0200
***
*** 0 
--- 1,681 
+ /*
+  * dm1105.c - DVBWorld  PCI2002 [DVB-S]
+  *
+  * Copyright (C) 2007 Igor M. Liplianin [EMAIL PROTECTED]
+  *
+  * This program is free software; you can redistribute it and/or modify
+  * it under the terms of the GNU General Public License as published by
+  * the Free Software Foundation; either version 2 of the License, or
+  * (at your option) any later version.
+  *
+  * This program is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  * GNU General Public License for more details.
+  *
+  * You should have received a copy of the GNU General Public License
+  * along with this program; if not, write to the Free Software
+  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+  *
+  */
+ 
+ #include linux/i2c.h
+ //#include linux/i2c-algo-bit.h
+ #include linux/init.h
+ #include linux/kernel.h
+ #include linux/module.h
+ #include linux/pci.h
+ #include linux/dma-mapping.h
+ 
+ #include demux.h
+ #include dmxdev.h
+ #include dvb_demux.h
+ #include dvb_frontend.h
+ #include dvb_net.h
+ #include dvbdev.h
+ #include dvb-pll.h
+ 
+ #include stv0299.h
+ #include bsru6.h
+ 
+ /* sdmc dm1105 registers */
+ /* --- */
+ /*
+  * PCI ID's
+  */
+ #ifndef PCI_DEVICE_ID_TRIGEM_DM1105
+ # define PCI_DEVICE_ID_TRIGEM_DM1105 0x036f
+ #endif
+ /* --- */
+ 
+ /* TS Control */
+ #define DM1105_TSCTR0x00
+ #define DM1105_DTALENTH0x04
+ 
+ /* GPIO Interface */
+ 

Re: [linux-dvb] new driver for: Twinhan Hybrid DTV-DVB 3056 PCI [1822:0022] as card=118 in cardlist.saa7134

2007-12-08 Thread hermann pitton
Hi Sioux!

Am Samstag, den 08.12.2007, 22:16 +0100 schrieb sioux:
 All  :-)
 
 Sioux is back  :-)
 
 I see my email has generate a  big work...   
 Thanks guys 

Not much work to set up some lines and you had all ready so far.
It takes more time to look up the latest known status on the lists.

In this case, we had to start also to look for coding style issues
running seven years old code against a script and I was not sure if I
have to fix all what comes up over all places, when submitting some new
lines ...  (then I ask also, who took it previously?)

 I am happy... even if I hope none of you will get money for that
 becouse otherwise I want some cents for me too. :-)
 and also I hope no RIAA or SIAE or any yellow finace police in futures
 days will ring to my door for have done only few stupid testing and
 report on this mail list :-)

No money and totally legal.

 So,
 Hermann give me instruction what I have to do for test the patch you
 sent me like:

It's your patch suggestion with the fix for the auto detection you asked
for and taking Egidio's previous test report into account.

 1. what I have to type on my keyboard to test the file you sent (how I
 install that)?

If you have a recent v4l-dvb snapshot from the master repository at
linuxtv.org, put it into it and name it, say, sioux.patch.

patch --dry-run -p1  sioux.patch

If no error.

patch -p1  sioux.patch
make
make rmmod
make rmmod
make install
modprobe -v saa7134

Check if the auto detection does work and test all you can, analog TV,
digital TV, radio and the other inputs. Report what you can't test and
what goes wrong and maybe needs further fixes.

 2. what you need for my signed-off?

You have the link to read about it. No fake allowed.
Just a line Signed-off-by: your_name your.e-mail.somewhere

 
 I told you I am not a developer... just a crazy sioux...
 
 Before start the test I must clean some alias.
 
 Ciao.
 
 P.S.
 I don't like give you my signed-off with my real name :-)  if ok I can
 do it with my nick name..
 that's ok for you?

I don't make the rules, not even Linus, some gambling in the markets
force us to take care to document our code. For just adding a new card
it might be a bit too much currently ...

See above and read. It is up to you. If you don't like it, you get at
least credit as Sioux.

Happy testing, that is the work now.

Thanks,
Hermann




___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] H.264 DVB-T support for dvb-utils and w_scan

2007-12-08 Thread Steven Ellis
DTT tests have just started here in NZ and they are going to be using
H.264 for the video signal. Using the existing builds of dvb-utils-1.1.1
the video PIDs don't appear in the channels.conf because they are using
0x1b for the video stream type.

If I dump the PMT for one of the channels using dvbsnoop it contains the
following info

Stream_type: 27 (0x1b)  [= AVC video stream as defined in ITU-T Rec.
H.264 | ISO/IEC 14496-10 Video]
reserved_1: 7 (0x07)
Elementary_PID: 514 (0x0202)
reserved_2: 15 (0x0f)
ES_info_length: 16 (0x0010)

DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
Descriptor_length: 1 (0x01)
component_tag: 5 (0x05)

MPEG-DescriptorTag: 14 (0x0e)  [= maximum_bitrate_descriptor]
Descriptor_length: 3 (0x03)
reserved_1: 3 (0x03)
maximum_bitrate: 16050 (0x3eb2)  (= 802500 Bytes/sec)

MPEG-DescriptorTag: 2 (0x02)  [= video_stream_descriptor]
Descriptor_length: 3 (0x03)
multiple_frame_rate_flag: 0 (0x00)
frame_rate_code: 3 (0x0003)
MPEG_1_only_flag: 0 (0x00)
constrained_parameter_flag: 1 (0x01)
still_picture_flag: 0 (0x00)

MPEG-DescriptorTag: 6 (0x06)  [=
data_stream_alignment_descriptor]
Descriptor_length: 1 (0x01)
alignment_type: 2 (0x02)
   as VideoStream:  (= video access unit)   as AudioStream: 
(= reserved)



At present the tools scan/dvbscan and w_scan assume that the video has a
stream type of 0x01 or 0x02.

For dvb-utils the following diff will provide H.264 scan support

--- linuxtv-dvb-apps-1.1.1.orig/util/scan/scan.c
+++ linuxtv-dvb-apps-1.1.1/util/scan/scan.c
@@ -755,6 +757,7 @@
switch (buf[0]) {
case 0x01:
case 0x02:
+   case 0x1b: /* H.264 video stream */
moreverbose(  VIDEO : PID 0x%04x\n,
elementary_pid);
if (s-video_pid == 0)
s-video_pid = elementary_pid;
 

In the case of the tool w_scan a similar line is needed in the function
parse_pmt.


Steve

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb