You are not logged in.

#1 2009-05-14 06:29:14

JayCee
Member
From: Germany
Registered: 2009-05-14
Posts: 8

Win-TV HVR 900 stops working (em28xx)

Hello together,

my Win-TV HVR 900 DVB-T USB-stick stops working after the latest kernel update. According to dmesg, it's recognized correctly:

usb 1-3: new high speed USB device using ehci_hcd and address 4
usb 1-3: configuration #1 chosen from 1 choice
em28xx v4l2 driver version 0.0.1 loaded
em28xx: new video device (2040:6502): interface 0, class 255
em28xx: device is attached to a USB 2.0 bus
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
tuner' 4-0061: chip found @ 0xc2 (em28xx #0)
em28xx-i2c: using internal tuner, denying request to i2c tuner module.
attach_inform: tvp5150 detected.
tvp5150 4-005c: tvp5150am1 detected.
successfully attached tuner
em28xx #0: V4L2 VBI device registered as /dev/vbi0
em28xx #0: V4L2 device registered as /dev/video1
input: em2880/em2870 remote control as /devices/virtual/input/input18
em28xx-input.c: remote control handler attached
em28xx #0: Found Hauppauge WinTV HVR (B2C0)
usbcore: registered new interface driver em28xx
em28xx-audio.c: probing for em28x1 non standard usbaudio
em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
Em28xx: Initialized (Em28xx Audio Extension) extension
em2880-dvb.c: DVB Init
Em28xx: Initialized (Em2880 DVB Extension) extension

But the /dev/dvb directory is missing. I have tested the em28xx-new-hg driver from AUR as well as building the driver on my own from the hg repository. I have deleted the old modules from the kernel, too and did many reboots. Furthermore I have created a file with the following content in /etc/udev/rules.d:

SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c"

Any ideas?

Thanks and greets,
JayCee


On a long enough timeline, the survival rate of everyone drops to zero.

Offline

#2 2009-05-14 14:17:40

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Win-TV HVR 900 stops working (em28xx)

Hello JayCee,
I'm the uploader of the em28xx-new-hg AUR package. The patch included in that package is for analog TV, digital TV worked fine even without the patch on my Dazzle TV (eb1a:2881) stick. My dmesg shows some different messages around the "DVB Init" line, i.e.

usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver em28xx
em2880-dvb.c: DVB Init
DVB: registering new adapter (em2880 DVB-T)
DVB: registering adapter 0 frontend 0 (Zarlink ZL10353 DVB-T)...
Em28xx: Initialized (Em2880 DVB Extension) extension
tvp5150 5-005c: tvp5150am1 detected.
em28xx_dvb_init
tvp5150 5-005c: tvp5150am1 detected.
em28xx #0: reading key failed (error=-71)

also the em28xx-audio module is not loaded for my key. When I tried to load it manually it loaded but didn't work, and IIRC it broke something. Just an idea, try to prevent loading the em28xx-audio module.


Giuseppe Borzi' - Registered Linux user #34028

Offline

#3 2009-05-14 15:47:59

JayCee
Member
From: Germany
Registered: 2009-05-14
Posts: 8

Re: Win-TV HVR 900 stops working (em28xx)

Hello gborzi,

thank you for your answere!

This stuff is missing at my output:

gborzi wrote:
...
DVB: registering new adapter (em2880 DVB-T)
DVB: registering adapter 0 frontend 0 (Zarlink ZL10353 DVB-T)...
...

That may be the problem. I have already tried the driver from the mcentral repository without your patch and that doesn't work, too.

I'm currently not at home, but in about one houre I can try to blacklist the em28xx-audio module, but isn't it needed for having sound while watching tv?
Before the kernel update, the audio module was loaded, too, and it doesn't cause any problems...

Thanks and greets
JayCee


On a long enough timeline, the survival rate of everyone drops to zero.

Offline

#4 2009-05-14 17:05:48

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Win-TV HVR 900 stops working (em28xx)

Hello JayCee,
on my system I have both digital and analog audio without that module, which is not loaded by default. I'm not sure, but I think it may be needed only for analog audio on some devices, because dvb audio is included in the mpeg stream you get from /dev/dvb/adapterX. But now I remembered about the problem with the em28xx-audio module, it was reported in this launchpad bug discussion https://bugs.launchpad.net/ubuntu/+sour … mments=all, see the post by greg_b
on 2009-02-19.
You can try to make a similar change to the source code as greg_b, your card (EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2) does have EM28XX_AUDIO in the .dev_modes record.

Hope this helps.


Giuseppe Borzi' - Registered Linux user #34028

Offline

#5 2009-05-14 17:13:32

JayCee
Member
From: Germany
Registered: 2009-05-14
Posts: 8

Re: Win-TV HVR 900 stops working (em28xx)

Hello gborzi,

I have tried both drivers, from AUR and the repository, without the audio module with no luck. The problem is still the same: The dvb adapter and frontend are not recognized:

usb 1-3: new high speed USB device using ehci_hcd and address 2
usb 1-3: configuration #1 chosen from 1 choice
em28xx v4l2 driver version 0.0.1 loaded
em28xx: new video device (2040:6502): interface 0, class 255
em28xx: device is attached to a USB 2.0 bus
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
attach_inform: tvp5150 detected.
tvp5150 4-005c: tvp5150am1 detected.
successfully attached tuner
em28xx #0: V4L2 VBI device registered as /dev/vbi0
em28xx #0: V4L2 device registered as /dev/video1
input: em2880/em2870 remote control as /devices/virtual/input/input17
em28xx-input.c: remote control handler attached
em28xx #0: Found Hauppauge WinTV HVR (B2C0)
usbcore: registered new interface driver em28xx
em2880-dvb.c: DVB Init
Em28xx: Initialized (Em2880 DVB Extension) extension

Any further suggestions?

Thanks and greets,
JayCee


On a long enough timeline, the survival rate of everyone drops to zero.

Offline

#6 2009-05-14 17:47:23

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Win-TV HVR 900 stops working (em28xx)

Hello JayCee,
have you tried to modify the source as suggested by greg_b? Besides this, you can try to contact the developer, Markus Rechberger.


Giuseppe Borzi' - Registered Linux user #34028

Offline

#7 2009-05-15 07:26:48

JayCee
Member
From: Germany
Registered: 2009-05-14
Posts: 8

Re: Win-TV HVR 900 stops working (em28xx)

Hello gborzi,

gborzi wrote:

have you tried to modify the source as suggested by greg_b?

Which modifications do you meen? I can't find anything about source modifications in greg_b's posts roll

gborzi wrote:

Besides this, you can try to contact the developer, Markus Rechberger.

Yes, I thing that's a good idea.

Greets,
JayCee


On a long enough timeline, the survival rate of everyone drops to zero.

Offline

#8 2009-05-15 11:30:59

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Win-TV HVR 900 stops working (em28xx)

JayCee wrote:

Which modifications do you meen? I can't find anything about source modifications in greg_b's posts roll

on that post greg_b wrote

I have indeed modified a bit little the source code and rebuilt it and
now this module is no longer loaded which avoid the crash.

In case this interest somebody else, I have edited file em28xx-card.c,
searched for my module type (Empia Hybrid ATSC (em2882)) and edit this line:

..dev_modes = EM28XX_VIDEO | EM28XX_VBI | EM28XX_DVBT | EM28XX_AUDIO,

which I have modified into:

..dev_modes = EM28XX_VIDEO | EM28XX_VBI | EM28XX_DVBT,

like this, audio module is longer loaded.

There is a similar line for your device in that file. Open em28xx-cards.c and go to line 1358 which reads as

.dev_modes    = EM28XX_VIDEO | EM28XX_AUDIO | EM28XX_VBI | EM28XX_DVBT,

modify it to

.dev_modes    = EM28XX_VIDEO | EM28XX_VBI | EM28XX_DVBT,

recompile, etc. and see what happens.

Regards.


Giuseppe Borzi' - Registered Linux user #34028

Offline

#9 2009-05-15 16:43:58

JayCee
Member
From: Germany
Registered: 2009-05-14
Posts: 8

Re: Win-TV HVR 900 stops working (em28xx)

Okay, I haven't found that. But this doesn't help, too.

But I discovered that the hg driver causes some ugly error messages:

usb 1-3: new high speed USB device using ehci_hcd and address 2
usb 1-3: configuration #1 chosen from 1 choice
em28xx v4l2 driver version 0.0.1 loaded
em28xx: new video device (2040:6502): interface 0, class 255
em28xx: device is attached to a USB 2.0 bus
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
attach_inform: tvp5150 detected.
tvp5150 4-005c: tvp5150am1 detected.
successfully attached tuner
em28xx #0: V4L2 VBI device registered as /dev/vbi0
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffffa0be1da5>] em28xx_v4l2_poll+0x25/0x270 [em28xx]
PGD 116351067 PUD 111595067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3/video4linux/vbi0/index
CPU 0 
Modules linked in: tuner_xc3028 tvp5150 em28xx(+) fuse tun ext3 jbd sha256_generic cbc hid_apple joydev usbhid hid btusb bluetooth aes_x86_64 aes_generic xts gf128mul dm_crypt dm_mod uvcvideo videodev v4l1_compat v4l2_compat_ioctl32 snd_usb_audio snd_usb_lib snd_rawmidi usb_storage snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_hda_codec_idt snd_mixer_oss uhci_hcd ohci1394 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd sg psmouse ieee1394 soundcore snd_page_alloc dcdbas serio_raw i2c_i801 iTCO_wdt iTCO_vendor_support ehci_hcd x38_edac usbcore e1000e nvidia(P) i2c_core edac_core evdev thermal fan button battery ac cpufreq_powersave cpufreq_ondemand acpi_cpufreq freq_table processor autofs4 rtc_cmos rtc_core rtc_lib ext4 mbcache jbd2 crc16 sr_mod cdrom sd_mod ahci libata scsi_mod
Pid: 7923, comm: hald-probe-vide Tainted: P           2.6.29-ARCH #1 Dell XPS420                  
RIP: 0010:[<ffffffffa0be1da5>]  [<ffffffffa0be1da5>] em28xx_v4l2_poll+0x25/0x270 [em28xx]
RSP: 0018:ffff88011160bd18  EFLAGS: 00010296
RAX: ffffffffa0bfd040 RBX: ffff8801114a0000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880111508b40
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 2222222222222222 R11: 2222222222222222 R12: ffff880111508b40
R13: 0000000000000000 R14: ffff880103b3c738 R15: ffff88011603fd80
FS:  00007f7c7e2806f0(0000) GS:ffffffff8067a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000011168d000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process hald-probe-vide (pid: 7923, threadinfo ffff88011160a000, task ffff88011a3b3000)
Stack:
 ffff8801114a0098 ffff8801114a0000 ffff880111508b40 ffff8801114a0008
 0000000000000001 ffffffffa0ad7969 ffff880111508b40 0000000000000000
 ffff880103b3c738 ffff880111508b40 ffff880116376b00 ffffffff802cdd27
Call Trace:
 [<ffffffffa0ad7969>] v4l2_open+0x69/0xb0 [videodev]
 [<ffffffff802cdd27>] chrdev_open+0x137/0x240
 [<ffffffff802d6f99>] do_path_lookup+0x89/0x1f0
 [<ffffffff804b4775>] _spin_lock+0x15/0x20
 [<ffffffff802cdbf0>] chrdev_open+0x0/0x240
 [<ffffffff802c8973>] __dentry_open+0x133/0x390
 [<ffffffff802d827b>] do_filp_open+0x21b/0x9e0
 [<ffffffff80495447>] unix_stream_connect+0x487/0x4b0
 [<ffffffff804b4a29>] _spin_unlock_irq+0x9/0x40
 [<ffffffff8024dd7e>] do_sigaction+0x13e/0x1d0
 [<ffffffff804b4b29>] _spin_unlock+0x9/0x40
 [<ffffffff802e296a>] alloc_fd+0xfa/0x140
 [<ffffffff802c874d>] do_sys_open+0x5d/0x100
 [<ffffffff8020c6aa>] system_call_fastpath+0x16/0x1b
Code: 84 00 00 00 00 00 48 83 ec 28 4c 89 64 24 18 4c 89 6c 24 20 49 89 fc 48 89 5c 24 08 48 89 6c 24 10 49 89 f5 48 8b af 98 00 00 00 <48> 8b 5d 00 8b 83 7c 0c 00 00 a8 02 74 2d 8b 35 5f 4b 06 00 85 
RIP  [<ffffffffa0be1da5>] em28xx_v4l2_poll+0x25/0x270 [em28xx]
 RSP <ffff88011160bd18>
CR2: 0000000000000000
---[ end trace c25b86ae8460cae6 ]---
em28xx #0: V4L2 device registered as /dev/video1
input: em2880/em2870 remote control as /devices/virtual/input/input17
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffffa0be1da5>] em28xx_v4l2_poll+0x25/0x270 [em28xx]
PGD 111535067 PUD 11161b067 PMD 0 
Oops: 0000 [#2] PREEMPT SMP 
last sysfs file: /sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3/video4linux/vbi0/index
CPU 0 
Modules linked in: tuner_xc3028 tvp5150 em28xx(+) fuse tun ext3 jbd sha256_generic cbc hid_apple joydev usbhid hid btusb bluetooth aes_x86_64 aes_generic xts gf128mul dm_crypt dm_mod uvcvideo videodev v4l1_compat v4l2_compat_ioctl32 snd_usb_audio snd_usb_lib snd_rawmidi usb_storage snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_hda_codec_idt snd_mixer_oss uhci_hcd ohci1394 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd sg psmouse ieee1394 soundcore snd_page_alloc dcdbas serio_raw i2c_i801 iTCO_wdt iTCO_vendor_support ehci_hcd x38_edac usbcore e1000e nvidia(P) i2c_core edac_core evdev thermal fan button battery ac cpufreq_powersave cpufreq_ondemand acpi_cpufreq freq_table processor autofs4 rtc_cmos rtc_core rtc_lib ext4 mbcache jbd2 crc16 sr_mod cdrom sd_mod ahci libata scsi_mod
Pid: 7927, comm: hald-probe-vide Tainted: P      D    2.6.29-ARCH #1 Dell XPS420                  
RIP: 0010:[<ffffffffa0be1da5>]  [<ffffffffa0be1da5>] em28xx_v4l2_poll+0x25/0x270 [em28xx]
RSP: 0018:ffff880111659d18  EFLAGS: 00010296
RAX: ffffffffa0bfd040 RBX: ffff8801114a5000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88011632ec00
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 2222222222222222 R11: 2222222222222222 R12: ffff88011632ec00
R13: 0000000000000000 R14: ffff8801034990d8 R15: ffff880111652b40
FS:  00007f0bba8c66f0(0000) GS:ffffffff8067a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000001115a5000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process hald-probe-vide (pid: 7927, threadinfo ffff880111658000, task ffff88011a3b2400)
Stack:
 ffff8801114a5098 ffff8801114a5000 ffff88011632ec00 ffff8801114a5008
 0000000000000001 ffffffffa0ad7969 ffff88011632ec00 0000000000000000
 ffff8801034990d8 ffff88011632ec00 ffff880116376400 ffffffff802cdd27
Call Trace:
 [<ffffffffa0ad7969>] v4l2_open+0x69/0xb0 [videodev]
 [<ffffffff802cdd27>] chrdev_open+0x137/0x240
 [<ffffffff802d6f99>] do_path_lookup+0x89/0x1f0
 [<ffffffff804b4775>] _spin_lock+0x15/0x20
 [<ffffffff802cdbf0>] chrdev_open+0x0/0x240
 [<ffffffff802c8973>] __dentry_open+0x133/0x390
 [<ffffffff802d827b>] do_filp_open+0x21b/0x9e0
 [<ffffffff804b2423>] preempt_schedule+0x43/0x70
 [<ffffffff80495447>] unix_stream_connect+0x487/0x4b0
 [<ffffffff804b4a29>] _spin_unlock_irq+0x9/0x40
 [<ffffffff8024dd7e>] do_sigaction+0x13e/0x1d0
 [<ffffffff804b4b29>] _spin_unlock+0x9/0x40
 [<ffffffff802e296a>] alloc_fd+0xfa/0x140
 [<ffffffff802c874d>] do_sys_open+0x5d/0x100
 [<ffffffff8020c6aa>] system_call_fastpath+0x16/0x1b
Code: 84 00 00 00 00 00 48 83 ec 28 4c 89 64 24 18 4c 89 6c 24 20 49 89 fc 48 89 5c 24 08 48 89 6c 24 10 49 89 f5 48 8b af 98 00 00 00 <48> 8b 5d 00 8b 83 7c 0c 00 00 a8 02 74 2d 8b 35 5f 4b 06 00 85 
RIP  [<ffffffffa0be1da5>] em28xx_v4l2_poll+0x25/0x270 [em28xx]
 RSP <ffff880111659d18>
CR2: 0000000000000000
---[ end trace c25b86ae8460cae7 ]---
em28xx-input.c: remote control handler attached
em28xx #0: Found Hauppauge WinTV HVR (B2C0)
usbcore: registered new interface driver em28xx
em2880-dvb.c: DVB Init
Em28xx: Initialized (Em2880 DVB Extension) extension

I think the best solution is to ask the developer for help...

Greets.


On a long enough timeline, the survival rate of everyone drops to zero.

Offline

#10 2009-05-15 18:47:46

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Win-TV HVR 900 stops working (em28xx)

Do you have the same error messages when using the driver from the AUR package I uploaded? I think you shouldn't, but please report.


Giuseppe Borzi' - Registered Linux user #34028

Offline

#11 2009-05-15 19:57:42

JayCee
Member
From: Germany
Registered: 2009-05-14
Posts: 8

Re: Win-TV HVR 900 stops working (em28xx)

Nope, with the driver from AUR there are no error messages. (See the dmesg outputs above)


On a long enough timeline, the survival rate of everyone drops to zero.

Offline

#12 2009-05-22 12:32:28

revelc
Member
Registered: 2008-04-15
Posts: 14

Re: Win-TV HVR 900 stops working (em28xx)

I've contacted Markus Rechberger and he will start working on it this Sunday,

I don't understand how it can work with one person, and not with me, Do you all have the latest kernel?

Offline

#13 2009-05-22 12:52:11

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Win-TV HVR 900 stops working (em28xx)

@revelc
I have the latest kernel, but a different TV USB Stick than JayCee and possibly different from yours. Mine is a Dazzle TV with usbid eb1a:2881. You can identify your device using lsusb (if it's and USB device of course).


Giuseppe Borzi' - Registered Linux user #34028

Offline

#14 2009-05-23 06:04:50

revelc
Member
Registered: 2008-04-15
Posts: 14

Re: Win-TV HVR 900 stops working (em28xx)

Bus 001 Device 003: ID 2304:0226 Pinnacle Systems, Inc. [hex] PCTV 330e

The verbose output is shown here:

Bus 001 Device 003: ID 2304:0226 Pinnacle Systems, Inc. [hex] PCTV 330e
Device Descriptor:                                                     
  bLength                18                                            
  bDescriptorType         1                                            
  bcdUSB               2.00                                            
  bDeviceClass            0 (Defined at Interface level)               
  bDeviceSubClass         0                                            
  bDeviceProtocol         0                                            
  bMaxPacketSize0        64                                            
  idVendor           0x2304 Pinnacle Systems, Inc. [hex]               
  idProduct          0x0226 PCTV 330e                                  
  bcdDevice            1.10                                            
  iManufacturer           3 Pinnacle Systems                           
  iProduct                1 PCTV 330e                                  
  iSerial                 2 070801044980                               
  bNumConfigurations      1                                            
  Configuration Descriptor:                                            
    bLength                 9                                          
    bDescriptorType         2                                          
    wTotalLength          305                                          
    bNumInterfaces          1                                          
    bConfigurationValue     1                                          
    iConfiguration          0                                          
    bmAttributes         0x80                                          
      (Bus Powered)                                                    
    MaxPower              500mA                                        
    Interface Descriptor:                                              
      bLength                 9                                        
      bDescriptorType         4                                        
      bInterfaceNumber        0                                        
      bAlternateSetting       0                                        
      bNumEndpoints           4                                        
      bInterfaceClass       255 Vendor Specific Class                  
      bInterfaceSubClass      0                                        
      bInterfaceProtocol    255                                        
      iInterface              0                                        
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x81  EP 1 IN                             
        bmAttributes            3                                      
          Transfer Type            Interrupt                           
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0001  1x 1 bytes                          
        bInterval              11                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x82  EP 2 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0000  1x 0 bytes                          
        bInterval               1                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x83  EP 3 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0000  1x 0 bytes                          
        bInterval               4                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x84  EP 4 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0000  1x 0 bytes                          
        bInterval               1                                      
    Interface Descriptor:                                              
      bLength                 9                                        
      bDescriptorType         4                                        
      bInterfaceNumber        0                                        
      bAlternateSetting       1                                        
      bNumEndpoints           4                                        
      bInterfaceClass       255 Vendor Specific Class                  
      bInterfaceSubClass      0                                        
      bInterfaceProtocol    255                                        
      iInterface              0                                        
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x81  EP 1 IN                             
        bmAttributes            3                                      
          Transfer Type            Interrupt                           
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0001  1x 1 bytes                          
        bInterval              11                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x82  EP 2 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0000  1x 0 bytes                          
        bInterval               1                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x83  EP 3 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x00c4  1x 196 bytes                        
        bInterval               4                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x84  EP 4 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0234  1x 564 bytes                        
        bInterval               1                                      
    Interface Descriptor:                                              
      bLength                 9                                        
      bDescriptorType         4                                        
      bInterfaceNumber        0                                        
      bAlternateSetting       2                                        
      bNumEndpoints           4                                        
      bInterfaceClass       255 Vendor Specific Class                  
      bInterfaceSubClass      0                                        
      bInterfaceProtocol    255                                        
      iInterface              0                                        
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x81  EP 1 IN                             
        bmAttributes            3                                      
          Transfer Type            Interrupt                           
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0001  1x 1 bytes                          
        bInterval              11                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x82  EP 2 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0ad4  2x 724 bytes                        
        bInterval               1                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x83  EP 3 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x00c4  1x 196 bytes                        
        bInterval               4                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x84  EP 4 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0234  1x 564 bytes                        
        bInterval               1                                      
    Interface Descriptor:                                              
      bLength                 9                                        
      bDescriptorType         4                                        
      bInterfaceNumber        0                                        
      bAlternateSetting       3                                        
      bNumEndpoints           4                                        
      bInterfaceClass       255 Vendor Specific Class                  
      bInterfaceSubClass      0                                        
      bInterfaceProtocol    255                                        
      iInterface              0                                        
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x81  EP 1 IN                             
        bmAttributes            3                                      
          Transfer Type            Interrupt                           
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0001  1x 1 bytes                          
        bInterval              11                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x82  EP 2 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0c00  2x 1024 bytes                       
        bInterval               1                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x83  EP 3 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x00c4  1x 196 bytes                        
        bInterval               4                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x84  EP 4 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0234  1x 564 bytes                        
        bInterval               1                                      
    Interface Descriptor:                                              
      bLength                 9                                        
      bDescriptorType         4                                        
      bInterfaceNumber        0                                        
      bAlternateSetting       4                                        
      bNumEndpoints           4                                        
      bInterfaceClass       255 Vendor Specific Class                  
      bInterfaceSubClass      0                                        
      bInterfaceProtocol    255                                        
      iInterface              0                                        
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x81  EP 1 IN                             
        bmAttributes            3                                      
          Transfer Type            Interrupt                           
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0001  1x 1 bytes                          
        bInterval              11                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x82  EP 2 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x1300  3x 768 bytes                        
        bInterval               1                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x83  EP 3 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x00c4  1x 196 bytes                        
        bInterval               4                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x84  EP 4 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0234  1x 564 bytes                        
        bInterval               1                                      
    Interface Descriptor:                                              
      bLength                 9                                        
      bDescriptorType         4                                        
      bInterfaceNumber        0                                        
      bAlternateSetting       5                                        
      bNumEndpoints           4                                        
      bInterfaceClass       255 Vendor Specific Class                  
      bInterfaceSubClass      0                                        
      bInterfaceProtocol    255                                        
      iInterface              0                                        
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x81  EP 1 IN                             
        bmAttributes            3                                      
          Transfer Type            Interrupt                           
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0001  1x 1 bytes                          
        bInterval              11                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x82  EP 2 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x135c  3x 860 bytes                        
        bInterval               1                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x83  EP 3 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x00c4  1x 196 bytes                        
        bInterval               4                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x84  EP 4 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0234  1x 564 bytes                        
        bInterval               1                                      
    Interface Descriptor:                                              
      bLength                 9                                        
      bDescriptorType         4                                        
      bInterfaceNumber        0                                        
      bAlternateSetting       6                                        
      bNumEndpoints           4                                        
      bInterfaceClass       255 Vendor Specific Class                  
      bInterfaceSubClass      0                                        
      bInterfaceProtocol    255                                        
      iInterface              0                                        
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x81  EP 1 IN                             
        bmAttributes            3                                      
          Transfer Type            Interrupt                           
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0001  1x 1 bytes                          
        bInterval              11                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x82  EP 2 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x13c4  3x 964 bytes                        
        bInterval               1                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x83  EP 3 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x00c4  1x 196 bytes                        
        bInterval               4                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x84  EP 4 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0234  1x 564 bytes                        
        bInterval               1                                      
    Interface Descriptor:                                              
      bLength                 9                                        
      bDescriptorType         4                                        
      bInterfaceNumber        0                                        
      bAlternateSetting       7                                        
      bNumEndpoints           4                                        
      bInterfaceClass       255 Vendor Specific Class                  
      bInterfaceSubClass      0                                        
      bInterfaceProtocol    255                                        
      iInterface              0                                        
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x81  EP 1 IN                             
        bmAttributes            3                                      
          Transfer Type            Interrupt                           
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0001  1x 1 bytes                          
        bInterval              11                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x82  EP 2 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x1400  3x 1024 bytes                       
        bInterval               1                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x83  EP 3 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x00c4  1x 196 bytes                        
        bInterval               4                                      
      Endpoint Descriptor:                                             
        bLength                 7                                      
        bDescriptorType         5                                      
        bEndpointAddress     0x84  EP 4 IN                             
        bmAttributes            1                                      
          Transfer Type            Isochronous                         
          Synch Type               None                                
          Usage Type               Data                                
        wMaxPacketSize     0x0234  1x 564 bytes                        
        bInterval               1                                      
Device Qualifier (for other device speed):                             
  bLength                10                                            
  bDescriptorType         6                                            
  bcdUSB               2.00                                            
  bDeviceClass            0 (Defined at Interface level)               
  bDeviceSubClass         0                                            
  bDeviceProtocol         0                                            
  bMaxPacketSize0        64                                            
  bNumConfigurations      1                                            
Device Status:     0x0000                                              
  (Bus Powered

I presume I can do nothing but wait for the driver of markus?

Offline

#15 2009-05-23 11:54:33

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Win-TV HVR 900 stops working (em28xx)

revelc wrote:

Bus 001 Device 003: ID 2304:0226 Pinnacle Systems, Inc. [hex] PCTV 330e

The verbose output is shown here:

I presume I can do nothing but wait for the driver of markus?

You can try greg_b solution. That is to say, open the em28xx-cards.c file, go to the definition of your card properties (lines 1815-1844) and delete the EM28XX_AUDIO from the .dev_modes record. Recompile, install and hope for the best. BTW, if you need analog TV working with the current kernel, you'll have to patch em28xx-video.c as in the em28xx-new-hg AUR package.


Giuseppe Borzi' - Registered Linux user #34028

Offline

#16 2009-05-24 09:26:58

revelc
Member
Registered: 2008-04-15
Posts: 14

Re: Win-TV HVR 900 stops working (em28xx)

I live in Belgium and the analog broadcasts have already stopped here, so wouldn't be to a good use,

I'm gonna try the Greg_b solution

Offline

#17 2009-05-24 09:43:13

revelc
Member
Registered: 2008-04-15
Posts: 14

Re: Win-TV HVR 900 stops working (em28xx)

Still no DVB device found in kaffeine :s

Offline

#18 2009-07-08 18:19:22

killajoe
Member
From: Berlin Planet Earth
Registered: 2007-07-04
Posts: 155
Website

Re: Win-TV HVR 900 stops working (em28xx)

i got that Win-TV HVR 900 DVB-T USB-stick as a gift... today ....  and it is still not working...

dmesg: http://nopaste.info/bbb861ca66.html

but wtf 3 different firmware files to load?

any updates to ya probs ????

For me with likefull gnome-dvb-deamon http://aur.archlinux.org/packages.php?ID=27244 dvb-t is easier then ever with a Haupauge win-tv nova-t usb2 box  it works great but my device has such "wearied" chips and got buggy when it went warm...

For the Win-TV HVR 900 i can say that it is recognized by gnome-dvb-setup and go on to search but can't find any programms.... later i will test to build without audio Modul or what is sayin there ...

Last edited by killajoe (2009-07-08 20:35:28)


Cancel me not -- for what then shall remain?
Abscissas, some mantissas, modules, modes, A root or two, a torus and a node:
The inverse of my verse, a null domain.
-- Stanislaw Lem, The Cyberiad

Offline

#19 2009-07-09 11:43:54

JayCee
Member
From: Germany
Registered: 2009-05-14
Posts: 8

Re: Win-TV HVR 900 stops working (em28xx)

Hello killajoa,

I didn't get it to work at all. I've gaven it up and have bought a WinTV NOVA-T USB-DVB-T stick. This one works out of the box with the default arch kernel and the tv quality is mutch better, imo.

According to your dmesg output, the dvb interface isn't registered correctly. That's exactly the same problem, that I had.

I haven't tested gnome-dvb-daemon till now, but I give it a try. I've made the best experience with me-tv (http://aur.archlinux.org/packages.php?ID=14652). It handles scanning for channles on it's own.

Greets,
JayCee


On a long enough timeline, the survival rate of everyone drops to zero.

Offline

#20 2009-07-17 14:26:32

Zartask
Member
Registered: 2009-07-17
Posts: 5

Re: Win-TV HVR 900 stops working (em28xx)

Hi JayCee

I have the same problem with my HVR 900 (B2C0) as you.
Checking the dmesg there was no dvb frontend registered for the device.

After searching the problem on my side with no success, I checked the source code and there it was.

The reason is simple:
In the current em28xx-new driver is no support for the Micronas DRX3975D used by the B2C0 (the A1C0 version uses the Zarlink ZL10353).

Why they have removed the support for this chip, I don't know. Perhaps because Markus would finish the move to the userspace. Unfortunately it seems the work isn't finished yet and now, since a month or so, the source code is completely unavailable due to a rework of the driver.

I was wondering now and so I checked the source code of the em28xx driver provided by the v4l project. Here nearly the same. The code is still in the driver, but it is inside a 'define'. I haven't tested it yet, but I think the 'define' is not set by default, when you compile the driver.
Perhaps it works when it is compiled with the 'define' set. But I have read in the Ubuntu wiki that some em28xx based devices works only with one of the two drivers (v4l or em28xx-new).

Offline

#21 2009-07-17 14:46:17

Zartask
Member
Registered: 2009-07-17
Posts: 5

Re: Win-TV HVR 900 stops working (em28xx)

Hi killajoe

You should try the em28xx-new if the v4l drivers fails.

Offline

#22 2009-07-20 00:41:50

JayCee
Member
From: Germany
Registered: 2009-05-14
Posts: 8

Re: Win-TV HVR 900 stops working (em28xx)

Hi Zartask,

thank you for the tip. I will give the v4l driver a try as soon as I'm at home (tomorrow). But maybe we have to wait a few days (or weeks) until he work on the code is finished...

Greets,
JayCee


On a long enough timeline, the survival rate of everyone drops to zero.

Offline

#23 2009-07-24 11:35:41

Zartask
Member
Registered: 2009-07-17
Posts: 5

Re: Win-TV HVR 900 stops working (em28xx)

JayCee wrote:

... But maybe we have to wait a few days (or weeks) until he work on the code is finished...

Or even more.

Today I checked the em28xx-new repos to see if there are any changes. There was one two days ago, but unfortunately not what I hoped to see so far:

...
@echo the em28xx-new driver project has been discontinued, in order to provide
@echo optimal Linux support you can have a look at http://shop.sundtek.de
@echo for fully supported Linux based TV devices.
@echo ""
@echo Support for Sundtek devices are provided at http://support.sundtek.de
@echo ""
...

Btw Sundtek is a newly founded company by the author of the em28xx-new driver.


I will now try the v4l driver with the firmware. But I don't have the hope it will work, because they didn't disable the support without reason.
Or I get/find the latest em28xx-new source with micronas support.

Offline

#24 2009-08-06 15:00:16

Zartask
Member
Registered: 2009-07-17
Posts: 5

Re: Win-TV HVR 900 stops working (em28xx)

myself wrote:

...
I will now try the v4l driver with the firmware. But I don't have the hope it will work, because they didn't disable the support without reason.
...

So I've tested the v4l driver but like I thought there is no go. It's not just you can activate the code inside the 'define' and then it works. There's more to do, but I don't know how much it will be. But for the moment I will not take a closer look at it.

myself wrote:

...
Or I get/find the latest em28xx-new source with micronas support.

As I already said the last source code of the em28xx-new you find (also in the AUR) is from april and has no support for the Micronas chip build in the HVR 900 (B2C0) or the Pinnacle 330e.
But coincidentally I saw some em28xx-new source code in a rpm search ('Source RPM'). The code is dated from the 5. feb. 2009 and more important it still has the support for the Micronas chip.

I tested the code with the latest 2.6.28 kernel and as far as I can see it works well.

For the 2.6.30 kernel the code will probably need some corrections, like it was needed for the version in the AUR.

Offline

#25 2009-08-06 15:36:35

gborzi
Member
From: Sicilia
Registered: 2009-03-18
Posts: 102

Re: Win-TV HVR 900 stops working (em28xx)

Hello Zartask,
you can also find em28xx sources dated Feb. 17 from this page
https://bugs.launchpad.net/ubuntu/+sour … bug/204578
scroll down to "Bug attachments" and download empia-modules-source_0.020090217-0ubuntu1_all.deb which is a package I made for ubuntu. It contains the source code and not precompiled modules because it was meant to be used with dkms. In case you have problems in downloading and/or extracting the source, let me know and I'll send you the sources.


Giuseppe Borzi' - Registered Linux user #34028

Offline

Board footer

Powered by FluxBB