[mythtv-commits] Ticket #4752: Add R5000 STB Support to MythTV

MythTV mythtv at cvs.mythtv.org
Sat Feb 23 00:43:04 UTC 2008


#4752: Add R5000 STB Support to MythTV
----------------------------------+-----------------------------------------
 Reporter:  alannisota at gmail.com  |       Owner:  ijr    
     Type:  enhancement           |      Status:  new    
 Priority:  minor                 |   Milestone:  unknown
Component:  mythtv                |     Version:  unknown
 Severity:  medium                |     Mlocked:  0      
----------------------------------+-----------------------------------------
 The following patch and included firmware add R5000 STB support to MythTV:
 http://www.nextcomwireless.com/r5000/home.htm

 Only Dish Network support with a ViP211 has been tested.  I believe all
 other Dish Network STBs (with an R5000 modification) will work, as should
 BEV.  DirecTV will R5000 boxes will definitely not work (though if someone
 has such a box, I'd be happy to work with you to get it working.  I have a
 lot of the needed code written already).  I have no idea what would happen
 with other Sat providers or Cable boxes with the R5000 mod.

 Prerequisites:
 libusb 0.1.xx (Do NOT use the 0.9 or 1.0 alphas)
 kernel source for your kernel
 fxload
 lsusb (optional)

 To use:
 apply the linux ehci module patch.  and recompile/re-install your kernel
 modules

 patch mythtv with the myth patch and recompile (only tested on SVN, should
 work with 0.21 when it is released)

 plug R5000 into linux box and locate port:
 locate the relevant bus number:
 {{{
 cat /proc/bus/usb/devices
 ...
 T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 26 Spd=480 MxCh= 0
 D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
 P:  Vendor=04b4 ProdID=8613 Rev=a0.01
 ...
 You are looking for Vendor=04b4 ProdID=8613
 the important part here is Bus=01 and Dev#= 26.
 }}}

 using lsusb:
 {{{
 ...
 Bus 001 Device 026: ID 04b4:8613 Cypress Semiconductor Corp. CY7C68013 EZ-
 USB FX2 USB 2.0 Development Kit
 }}}
 now load the firmware:
 {{{
 fxload -t fx2 -D /proc/bus/usb/001/026 -I r5000.hex
 }}}
 (It will give an EOF error that you can ignore)

 Go into myth-setup and select the R5000 device and configure a video
 source and input as usual.
 I had to enter the channels by hand (there may be a better way).  make
 sure on the V4L screen to set the Frequecy equal to the channel number
 (this should hopefully be smoothed out in a future patch)

 You should now be able to load up myth and record/watch live-tv as usual.
 If you want to use HD, you need my CoreAVC patches since ffmpeg can't
 support the variant of H264 AVC that DN uses yet.  See:
 http://code.google.com/p/coreavc-for-linux/

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4752>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list