Springen naar inhoud


Foto

it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel

it913x vu+duo2

  • Please log in to reply
Er zijn 12 reacties in dit onderwerp

#1 macnuts

  • Senior Member
  • 420 berichten

+14
Neutral

Geplaatst op 2 januari 2014 - 14:28

I have a 9135:9006 ver 1 usb device and was causing a problem like this:

ehci-brcm ehci-brcm.0: force halt; handshake b0480314 00004000 00000000 -> -145

ehci-brcm ehci-brcm.0: HC died; cleaning up

usb 1-2: USB disconnect, device number 3

dvb-usb: error while stopping stream.

 

Thanks to athoik (see http://openpli.org/f...ndpost&p=395744) I was able to find and adjust a patch for vu+duo2 3.3.8 kernels (dvb-usb).

 

The patch can be found here: https://linuxtv.org/patch/15074/

 

It is for dvb-usb-v2 but it was easy to convert it to dvb-usb.

 

There are still problems with DVB-T sticks in vu+duo2 with openpli but they are not related to this problem.

 

It is my first patch, so please comment and if something is not ok I will correct it.

 

Regards.

Bijgevoegde Bestanden



Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #2 macnuts

  • Senior Member
  • 420 berichten

+14
Neutral

Geplaatst op 2 januari 2014 - 14:46

For those with the same problem who want to test solution on duo2 without building image, use attached file.

 

To install, copy attached file to /tmp then

opkg install --force-reinstall /tmp/kernel-module-dvb-usb-it913x_3.3.8-r0_vuduo2.ipk

then reboot.

 

To restore original file from feeds:

opkg update && opkg install --force-reinstall kernel-module-dvb-usb-it913x

then reboot.

Bijgevoegde Bestanden



Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #3 stick50jr

  • Senior Member
  • 95 berichten

+6
Neutral

Geplaatst op 5 januari 2014 - 11:40

For those with the same problem who want to test solution on duo2 without building image, use attached file.

 

To install, copy attached file to /tmp then

opkg install --force-reinstall /tmp/kernel-module-dvb-usb-it913x_3.3.8-r0_vuduo2.ipk

then reboot.

 

To restore original file from feeds:

opkg update && opkg install --force-reinstall kernel-module-dvb-usb-it913x

then reboot.

How could I update this to include

 

Avermedia AVerTV Volar Green HD device:  USB\VID_07CA&PID_3835&REV_0200

 

Would it be sufficient to do a binary edit of your driver and replace one of the existing usb id's?
 



Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #4 macnuts

  • Senior Member
  • 420 berichten

+14
Neutral

Geplaatst op 5 januari 2014 - 20:05

@stick50jr: I simply do not know :blink:

 

For those with the same problem but on solo2, please use attached file. Instructions in post #2.

Bijgevoegde Bestanden



Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #5 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 12 januari 2014 - 12:03

This has been "sneaked in" with commit d41fa46527bc7b20697c3265345416a6f76ab83d, apparently.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #6 macnuts

  • Senior Member
  • 420 berichten

+14
Neutral

Geplaatst op 12 januari 2014 - 12:38

Not sure what do you mean by "sneaked in". The d41fa46527bc7b20697c3265345416a6f76ab83d looks like for DM only. This one is for newest vu+ boxes (but it is included in DM patch too, of course).



Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #7 macnuts

  • Senior Member
  • 420 berichten

+14
Neutral

Geplaatst op 12 januari 2014 - 12:44

And d41fa46527bc7b20697c3265345416a6f76ab83d is not needed in for Vu+. It is already there. Only this little tiny patch....



Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #8 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 12 januari 2014 - 12:49

Yes I already noticed. Your patch raised a conflict, because, I thought in first place, it was already in athoik's patch. Apparently I've mis-remembered something, and indeed it's not in there. The patch was rejected because the revision of the file had been incremented in the meantime (and possible other conflicts, which I am investigating now).


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #9 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 12 januari 2014 - 12:51

Okay conflict solved, test building right now.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #10 macnuts

  • Senior Member
  • 420 berichten

+14
Neutral

Geplaatst op 12 januari 2014 - 12:52

Thank you.

 

It is my first patch so please share your findings, so I can improve in future. I know that there are two trailing space warnings but when I tired and corrected them then the patch failed to apply at build time (it was not recognized as valid patch).



Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #11 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 12 januari 2014 - 13:07

I'll have a look at that. Please note that patch-on-patches often have trailing spaces, that's normal and unavoidable:

 

++something

++another something

 

here the trailing space is unavoidable, because at the second position, there must be either a '+', '-' or ' '.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #12 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 12 januari 2014 - 13:26

The trailing white spaces are all indeed unavoidable. And it builds. Thanks macnuts! Commit is underway.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: it913x USB tuners reset USB device - patch for 3.3.8 vu+ kernel #13 macnuts

  • Senior Member
  • 420 berichten

+14
Neutral

Geplaatst op 12 januari 2014 - 13:47

Thank you!





Also tagged with one or more of these keywords: it913x, vu+duo2

1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers