←  [EN] Third-Party Development

Forums

»

Help builing em28xx module for openpli 3 o...

's foto boxtr 19 aug 2012

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.
Citeren

's foto pieterg 19 aug 2012

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

's foto boxtr 19 aug 2012

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.
Veranderd door boxtr, 19 augustus 2012 - 22:42
Citeren

's foto pieterg 19 aug 2012

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

's foto boxtr 20 aug 2012

Hi,

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

's foto pieterg 20 aug 2012

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.
Citeren

's foto boxtr 20 aug 2012

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.
Citeren

's foto ims 21 aug 2012

modprobe for this module ?
Citeren

's foto boxtr 21 aug 2012

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.
Citeren

's foto papasz 12 okt 2012

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!
Veranderd door papasz, 12 oktober 2012 - 22:51
Citeren

's foto papasz 13 okt 2012

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!
Citeren