Jump to content


Photo

Help builing em28xx module for openpli 3 on dm500hd


  • Please log in to reply
10 replies to this topic

#1 boxtr

  • Member
  • 11 posts

0
Neutral

Posted 19 August 2012 - 21:08

Hi,

I have now spent last 2 days trying to get the em28xx module to compile on openpli 3 with a minor change.

Is there anyone with a build environment for dm500hd that could help me with this?

The only change I have made is in em28xx-cards.c

Changed from:
USB_DEVICE(0x0ccd, 0x10ad), /* Rev. 2 */
To:
USB_DEVICE(0x0ccd, 0x10b6), /* Rev. 2 */

Thanks for any help! I am also willing to pay or donate for the inconvenience.

Re: Help builing em28xx module for openpli 3 on dm500hd #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 19 August 2012 - 22:34

does it really have to be changed, or just added?

Re: Help builing em28xx module for openpli 3 on dm500hd #3 boxtr

  • Member
  • 11 posts

0
Neutral

Posted 19 August 2012 - 22:38

Hi,

In principle just added. I have tried adding it using new_id but it seems to be acting a bit strange maby due to the sequence that the different v4l modules are loaded in.

Edited by boxtr, 19 August 2012 - 22:42.


Re: Help builing em28xx module for openpli 3 on dm500hd #4 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 19 August 2012 - 23:21

is it a terratec H5? Or do we need another driver_info struct?

Re: Help builing em28xx module for openpli 3 on dm500hd #5 boxtr

  • Member
  • 11 posts

0
Neutral

Posted 20 August 2012 - 10:02

Hi,

This is h5 rev 3 so the existing struct is ok. Thanks.

Re: Help builing em28xx module for openpli 3 on dm500hd #6 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 20 August 2012 - 11:27

http://openpli.git.s...d6d0b140d161d13

we're still trying to fix a few download issues after a server migration, so hopefully you should be able to use the module after tomorrows update.

Re: Help builing em28xx module for openpli 3 on dm500hd #7 boxtr

  • Member
  • 11 posts

0
Neutral

Posted 20 August 2012 - 22:42

Hi,

Thanks again for your very good help. I have now upgraded the module and it correctly identifies the device.

Now the bad news. The device worked flawlessly on first attempt, but after rebooting the dreambox the tuner does not seem to work. I have been using this tuner on my ubuntu desktop for months with the same driver. I am now starting to think that I might have somehow bricked the tuner.

Output from dmesg:

17426.694000] usb 1-2.4: new high-speed USB device number 7 using ehci-brcm
[17426.785000] em28xx: New device TERRATEC TERRATCE H5 Rev.3 @ 480 Mbps (0ccd:10b6, interface 0, class 0)
[17426.785000] em28xx: Audio Vendor Class interface 0 found
[17426.786000] em28xx #0: chip ID is em2884
[17426.843000] em28xx #0: Identified as Terratec Cinergy H5 (card=79)
[17426.863000] em28xx #0: Config register raw data: 0x30
[17426.863000] em28xx #0: I2S Audio (5 sample rates)
[17426.863000] em28xx #0: No AC97 audio processor
[17426.880000] em28xx #0: v4l2 driver version 0.1.3
[17426.903000] em28xx #0: V4L2 video device registered as video0
[17428.164000] drxk: Error -19 on PowerUpDevice
[17428.165000] drxk: Error -19 on init_drxk
[17428.165000] drxk: not found

I will look more into this and add more info if I find some solution.


Re: Help builing em28xx module for openpli 3 on dm500hd #8 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 21 August 2012 - 11:46

modprobe for this module ?
Kdo nic nedělá, nic nezkazí!

Re: Help builing em28xx module for openpli 3 on dm500hd #9 boxtr

  • Member
  • 11 posts

0
Neutral

Posted 21 August 2012 - 19:14

Hi,

I have tried to modprobe drxk but there is no output in dmesg.

I have also tried to unload em28xx, and then load em28xx after drxk but the problem persists.

At the moment the usb stick does not work on my ubuntu server either so something might have happened to the firmware. My understnanding is that for this sort of devices the firmware is uploaded to the stick from the driver.

Re: Help builing em28xx module for openpli 3 on dm500hd #10 papasz

  • Member
  • 2 posts

0
Neutral

Posted 12 October 2012 - 22:50

Hello all!

I have a terratec H5, I have seen the patch on the sourceforge site, but I'm not a linux guru and I don't know what I have to do with it :( I have downloaded and installed the driver 1.0 -0 from the openpli plugins but does not recognize the usb tuner (on vu+ duo hardware) :( Can you help me, what I have to do with the patch (I need step by step explications because I did not speak linux or any other program language)

Thank you in advance for your answers!

Edited by papasz, 12 October 2012 - 22:51.


Re: Help builing em28xx module for openpli 3 on dm500hd #11 papasz

  • Member
  • 2 posts

0
Neutral

Posted 13 October 2012 - 10:07

Hello all!

I have a terratec H5, I have seen the patch on the sourceforge site, but I'm not a linux guru and I don't know what I have to do with it :( I have downloaded and installed the driver 1.0 -0 from the openpli plugins but does not recognize the usb tuner (on vu+ duo hardware) :( Can you help me, what I have to do with the patch (I need step by step explications because I did not speak linux or any other program language)

Thank you in advance for your answers!



Solved... I changed the image to open vix and now it's working!


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users