Author Topic: firewire support  (Read 6097 times)

sportman

  • Regular Poster
  • **
  • Posts: 18
    • View Profile
firewire support
« on: March 25, 2007, 09:03:32 pm »
I was reading that myth tv supports capturing from firewire and hd cable boxes with firewire available. I was wondering how this would be implemented into LinuxMCE, I am willing to help out.

robertsaron

  • Regular Poster
  • **
  • Posts: 30
    • View Profile
Re: firewire support
« Reply #1 on: March 26, 2007, 08:21:04 pm »
that would be like the coolest thing ever. how would you hook up your cable box through fire wire? I know some cables have a firewire hook up on the back. or even through usb2, though fire wire is better?



                                        ^
                                         |
                                        |
                                     Noob to linux

webpaul1

  • Veteran
  • ***
  • Posts: 140
    • View Profile
Re: firewire support
« Reply #2 on: March 30, 2007, 01:14:21 am »
There are 2 steps:

1) HAL and plug and play support: ssh in and run TailDCERouter.sh to follow the main log and see commands & events.  Try plugging in the cable box to the firewire port and seeing if you get any 'Device Detected' events.  I'm not sure if HAL is monitoring for firewire devices like it does for usb.  If not, the code is in pluto/src/HAL.  If it does, then add a device template for the cable box (same category as teh Tivo, etc.) , and at the bottom of the device template page, put in the vendor/model ID (see table DHCPDevice, and the trunk/src/Plug_and_Play_Plugin).  That means when you plugin the cable box, the device should be added automatically.

2) In trunk/src/MythtV_Plugin look for CMD_Sync_Providers_and_Cards.  That takes the devices from the lmce device table, and automatically adds them to mythconverg.  Note you can specify a custom sql statement in the device template that adds this "capture card" with all the right myth options.

Let me know how far you get here, because if this works, we'll need to add a dce device to get the tuning to work correctly.