defyne.org Forums Index DVB on the Mac — Forums
Bringing Digital TV to your favourite platform
 
Main Pages:  Introduction  Drivers  iTele  Mpegitor 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

General troubleshooting hints

 
Post new topic   Reply to topic    defyne.org Forums Index -> Questions and Help
View previous topic :: View next topic  
Author Message
manuvcube



Joined: 29 Nov 2004
Posts: 591
Location: Rhein/Ruhr, Germany

PostPosted: 24 Jul 2005 11:05 pm    Post subject: General troubleshooting hints Reply with quote

Search forums first!

THIS POSTING WILL BE EDITED OFTEN (hopefully)!

Hi guys,
I'll try to collect some tips&tricks, what to do if something doesn't work.
It are the results of this community, not mine. I only try to sort it.
This is "work in progress" and far from complete. PM me for suggestions/corrections etc.

If not otherwise stated, I talk about MMInput 08x and iTele 06x, latter located in the /Applications folder.

The use of terminal is required. So make yourself familiar with chmod, chown, sudo, rm, ls, kextstat, kextload, kextunload. This can be done with the "man" command in terminal, e.g. man kextstat

---Installation procedure fails
* The installer provides a logfile! Type command-L (or use Windowmenu) to show it and try to find out, where the installer fails.
* If your device needs a firmware, put the appropriate compressed windowsdriver-file on the desktop, dont unzip it.

---Hardware isn't recognized, nothing shows up in "inputs"

* Use SystemProfiler to see, if your hardware is connected correctly and at least recognized by the system (even though that does not mean it is recognized by MMInput automatically)
For a cinergy T2 USB 2.0 device (alas, in German):

Quote:
USB Hochgeschwindigkeits-Bus:
Herstellername: Apple Computer, Inc.
Produkt-ID: 32774 ($8006)
Geschwindigkeit: Bis zu 480 MBit/Sek
Bus-Strom (mA): 500

Cinergy T?:
Herstellername: TerraTec GmbH
Geschwindigkeit: Bis zu 480 MBit/Sek
Produkt-ID: 56 ($38)
Bus-Strom (mA): 500


* If it is an USB-Device plug it directly into your Mac, don't use HUBs or extensioncables. If it is an USB2.0 Device be sure to have it plugged into an USB2.0 port! (Highspeed port in Systemprofiler)
*But: there are powerconsumption problems with the cinergyT2 on Powerbooks reported. So to test things you should also try out your device on a *powered* USB-hub

*If you have a PCI device, try another slot and check carefully, if it's correctly seated! http://www.defyne.org/forums/viewtopic.php?t=150&start=13

* Restart udmarket in Terminal. sudo /sbin/SystemStarter udmarket

* Reinstall the Software. You can use DesInstaller http://macupdate.com/info.php/id/7511 to uninstall MMInputFamily & Friends (thx Trzdn), but you still have to remove iTele by hand.

As of v081 MMinputfamily consists of the follwing files:
Code:

/Library/StartupItems/udmarket/
/System/Library/Extensions/UDMUtils.kext/
/System/Library/Extensions/MMInputFamily.kext/
/System/Library/Extensions/PrincipalMMInputs.kext/
/System/Library/Extensions/TypicalDVBFrontends.kext/
/System/Library/Extensions/ConexantCX2388X.kext/
/System/Library/Extensions/PhilipsSAA7146.kext/

Which have to have the following rights and owner/group flags (check with ls -l):
drwxr-xr-x root wheel

iTele 061 consist of those files:
Code:

/Applications/iTele.app
/Users/shortname/Library/Preferences/org.defyne.iTele.plist
/Library/Preferences/org.defyne.iTele.plist
/Users/shortname/Library/preferences/ByHost/org.defyne.iTele.eth-address.plist


* Do a "repair rights" with the Diskutility in Applications/Utilities.

* use the logs.
MMinputfamily logs to console.log and system.log. "Console" from Applications/Utilities is good to view that. If for example iTele doesn't start, set a timestamp in console.log (with the flagsymbol in Console) and watch what happens, while iTele starts. A good start of iTele061 looks like this:
console.log
Code:
ready for operation
initWithUDPMulticast: bound to port 17577
ChannelData has a new tuner
checking schedule


system.log
Code:
Jul 24 13:35:30 localhost /Library/StartupItems/udmarket/MacOS/udmarket: accepted remote connection for QanuUSB@0032D250
Jul 24 13:35:30 localhost kernel: MMInputClient dataKind
Jul 24 13:35:30 localhost kernel: MMInputClient tuningSpace


You should also start iTele from terminal and examine it's outputs. Assuming that iTele is in your Applications folder, this is done with
/Applications/iTele.app/Contents/MacOS/iTele

If iTele crashes badly, you will find a crashlog (also viewable with the console utility) in
~/Library/Logs/CrashReporter/iTele.crash.log

* Check if all drivers are loaded
Use kextstat from terminal. For MMInput 081 you should see the follwing (ignore the version numbers!):

Code:
$ kextstat | grep org.defyne
org.defyne.driver.MMInputFamily (0.6.0)
org.defyne.driver.ConexantCX2388X (0.2)
org.defyne.driver.PhilipsSAA7146 (0.5.5)
org.defyne.driver.UDMUtils (0.1.0)
org.defyne.driver.PrincipalMMInputs (0.7.4)

and, if your driver is in the TypicalDVBFrontends.kext

org.defyne.driver.TypicalDVBFrontends (0.7.4)
 


*elgato EyeTV related problems with TerraTec's cinergy T2
elgato sells it's EyeTV software also for some tuners that are supported by MMInputFamily. There are problems running both simultaniously. e.g. iTele will not show the tuner, if EyeTV ran before or the other way around, EyeTV will show the beachball if MMInputfamily runs.

To find out, which one "owns" your device and therefore is able to use it, check systemprofiler. The original firmware for the cinergy T2, usable by MMInputfamily and available after a replugging the device is:
Code:

Product-ID:   0x0038
Vendor-ID:   0x0ccd

The updated firmware, uploaded and used by EyeTV says:
Code:

Product-ID:   0x000d
Vendor-ID:   0x0fd9


To use iTele when EyeTV ran before, turn off the "automatic start of EyeTV whenever a tuner is plugged in" in preferences of EyeTV and restart your Mac (maybe replugging of the device is sufficient)
Be sure to have MMInputFamily loaded. A shellscript, executable in terminal, might be helpful:
Code:

sudo kextload /system/library/Extensions/UDMUtils.kext
sudo kextload /System/Library/Extensions/MMInputFamily.kext
sudo kextload /System/Library/Extensions/ConexantCX2388X.kext
sudo kextload /System/Library/Extensions/PhilipsSAA7146.kext
sudo kextload /System/Library/Extensions/PrincipalMMInputs.kext
sudo kextload /System/Library/Extensions/TypicalDVBFrontends.kext
sudo SystemStarter restart udmarket

To use EyeTV, when MMInput is installed you have to unload MMInputfamily within terminal. A shellscript, executable in terminal is useful. "unload failed" errors might occur, but are normally ignorable.
Code:

sudo SystemStarter stop udmarket
sudo kextunload /System/Library/Extensions/TypicalDVBFrontends.kext
sudo kextunload /System/Library/Extensions/PrincipalMMInputs.kext
sudo kextunload /System/Library/Extensions/PhilipsSAA7146.kext
sudo kextunload /System/Library/Extensions/ConexantCX2388X.kext
sudo kextunload /System/Library/Extensions/MMInputFamily.kext
sudo kextunload /System/Library/Extensions/UDMUtils.kext


MMinpit 08x and iTele06x: Bonjour-related Problems (remote tuner)
* Use BonjourBrowser to check if and how the service is published http://www.tildesoft.com/Programs.html#BonjourBrowser
* temporarily disable Firewall on both machines
* temporarily disable all network conections except the one both computers are connected over.
* use sudo tcpdump udp in terminal to watch the traffic

----Hardware shows up, but no scanning occurs or no channels can be found

* use tunetest to tune into frequencies directly. The use of tunetest is described here: http://www.defyne.org/dvb/testing_tunetest.html

* watch the logs. A succesfully found channel while scanning looks similiar to that in console.log /iTele's output:
Code:
Found PMT for program number 129
        Program clock reference pid is 5409
        Stream type 2 is in pid 5409
                Unknown descriptor tag 82
        Stream type 4 is in pid 5410
                Unknown descriptor tag 82
        Stream type 6 is in pid 5412
                Teletext (DVB) page 1:0 is Initial page
                Unknown descriptor tag 82

Found PMT for program number 226
        Program clock reference pid is 5441
        Stream type 2 is in pid 5441
                Unknown descriptor tag 82
        Stream type 4 is in pid 5442
                Unknown descriptor tag 82
        Stream type 6 is in pid 5444
                Teletext (DVB) page 1:0 is Initial page
                Unknown descriptor tag 82

Found PMT for program number 100
        Program clock reference pid is 5425
        Stream type 2 is in pid 5425
                Unknown descriptor tag 82
        Stream type 4 is in pid 5426
                Unknown descriptor tag 82
        Stream type 6 is in pid 5428
                Teletext (DVB) page 1:0 is Initial page
                Unknown descriptor tag 82

Found new SDT. Transport stream id is 7168
Service 100 running status is 4
        Service 'MDR FERNSEHEN' provider 'ARD'
Service 129 running status is 4
        Service 'NDR FS NDS' provider 'ARD'
Service 226 running status is 4
        Service 'S?DWEST RP' provider 'ARD'
Service 259 running status is 4
        Service 'WDR Dortmund' provider 'ARD'
Service 261 running status is 4
        Service 'WDR Essen *' provider 'ARD'
New maxpackets per call: 1558
Found PMT for program number 261
        Program clock reference pid is 5393
        Stream type 2 is in pid 5393
                Unknown descriptor tag 82
        Stream type 4 is in pid 5394
                Unknown descriptor tag 82
        Stream type 6 is in pid 5396
                Unknown descriptor tag 82
                Teletext (DVB) page 1:0 is Initial page
        Stream type 11 is in pid 5399
                Unknown descriptor tag 19
                Unknown descriptor tag 102
                Unknown descriptor tag 82
        Stream type 5 is in pid 5398
                Unknown descriptor tag 111

Found PMT for program number 259
        Program clock reference pid is 5393
        Stream type 2 is in pid 5393
                Unknown descriptor tag 82
        Stream type 4 is in pid 5394
                Unknown descriptor tag 82
        Stream type 6 is in pid 5396
                Teletext (DVB) page 1:0 is Initial page
                Unknown descriptor tag 82
        Stream type 5 is in pid 5398
                Unknown descriptor tag 111
        Stream type 11 is in pid 5399
                Unknown descriptor tag 102
                Unknown descriptor tag 82
                Unknown descriptor tag 19


* As for MMinput081 and iTele061: Disable all network connections temporarily and try again. There are some difficulties with the udmarket/network stuff. You can also use a stateful inspection firewall, like "little snitch" to prevent udmarket from using the network.

* Enter a known frequency into /Library/Preferences/org.defyne.iTele.plist by hand with Propertylisteditor from the developertools. This is easier to be done than to describe, I realize...
In short: Add a new dictionary under Root/channels and fill in the BandwidthMHz, FrequencyHz, Location, Name parameters and the correct Antennae dictionary. I hope this will become meaningful once you've started Propertylisteditor ;-)

In XML it looks like this (unimportent stuff deleted/left out)

Code:

<dict>
   <key>antennae</key>
   <array></array>
   <key>channels</key>
   <array>
      <dict>
         <key>Antennae</key>
         <array></array>

         <key>BandwidthMHz</key>
         <integer>8</integer>
         <key>FrequencyHz</key>
         <integer>506000000</integer>
         <key>Location</key>
         <string>Germany</string>
         <key>Name</key>
         <string>25</string>
         <key>Programs</key>
                         <array></array>
      </dict>
         </array>

Start iTele and try to doubleclick the newly created channel. It might be invisible in the channels list, but it is there! Doubleclick on all empty lines in the channels window until a blue eye symbol appears.
(Oh man, this section definetly has to be rewritten sooner or later)

* Use Propertylisteditor to finetune
/Applications/iTele/Contents/Resources/locationTunerParams.plist
Open the sibling for your Country and change ScanFreqRange and ScanFreqStep both to 0
You can also delete all channels, where no programms are broadcasted in your Region. You can find frequencies here:
http://www.defyne.org/forums/viewtopic.php?t=437
That will speed the process of scanning, but you won't be able to find "new" channels, that are made public after your changes of course.

* Build yourself a cheap and good dvb-Antenna (UHF/VHF dipol)
http://www.defyne.org/forums/viewtopic.php?t=424
Active antennaes have often shown to be not so good.
*But: in some places reception is so weak, that an amplified antenna might help. Try positioning it at a window.

----scanning successful, but nothing is displayed
* Deactive network temporarily (For MMinput081 iTele061)
* use internal display and try the different display algos. You can't use internal player, if your graphicscard has less then 3 texture stages. Read this: http://www.defyne.org/forums/viewtopic.php?t=655
* use mplayer. MPlayer OS X Version 2.0 (v2.0b9r5) for Tiger only works on Tiger 10.4.2. MPlayer OS X Version 2.0 (2.0b9) works on Panther 10.3.9.
If you have trouble with mplayer try deleting ~/Library/Preferences/org.mplayerosx.MplayerOSX.plist. Also open terminal and "sudo kill -9" all pids that are from mplayer. You get those with "ps -ax". Alternativley you can use "Activity Monitor" from Utilities.

A thread were all this is described is this: http://www.defyne.org/forums/viewtopic.php?p=4114

* or give vlc a try.
You simply drag the icon of your external viewer into the box under "Launch" in the "External Viewer" part of the preferences window of iTele and check either "Like MPlayer or Like VLC to use an alternative user. Don't forget to uncheck "Use Internal Display" in the upper part of the preferences.

---ALWAYS TRY SEARCHING THE FORUMS
The search function sucks, I know (I don't find posting, I know I have written myself ;-)). But don't give up too early. Use wildcardsearch with *, use different searchwords.

To be continued/sorted/improved.
HTH
manuvcube
_________________
Search forums first! Do basic troubleshooting!
1,2Ghz iBookG4, 768MB. 2GHZ MacBook core2duo, 1GB. cinergyT2 1.06. iTele064 MM085 OSX.4.10
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    defyne.org Forums Index -> Questions and Help All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.23 © 2001, 2002 phpBB Group