Hardware Diagnostics for W700ds

Do the new Lenovo hardware diagnostics tools work with W700ds?  This model is not included in the list of supported hardware.
If not, where can I download the previously supported PC-Doctor diagnostics?
I tried the new (unsupported) boot diagnostics on W700ds 2757CTO.  Had a few error messages while the linux kernel booted but seemed OK until it looks like the diagnostics tried to switch from text to graphics mode.  Display flashed briefly then after a bit more disk activity, nothing further happened.  Perhaps the dual screen is not supported?

If your iMac is late 2011 or later, you have built-in diagnostics.  Boot with the 'D' key.
If your iMac is older, you should have received diagnostics on the pre bundled installer disc which will boot with the 'D' key.
If you are missing those discs, call AppleCare, and they will ship them for a nominal fee.

Similar Messages

  • Where can I download Apple Hardware Diagnostics for MacBookPro2,1?

    My MacBook Pro 17-inch Core 2 Duo (MacBookPro2,1)'s DVD drive appears to be faulty - It treats working DVD's as 'blank'.
    I want to run Apple Hardware Diagnostics (AHD) on the machine but (a) I can't find the original DVD for the machine (b) in any event it won't work as the drive is faulty!
    I know I can download older versions of AHD at http://www.info.apple.com/support/aht.html but where can I find one for my Mac?
    I want to download it and 'restore' it to a hard disc partition so I can boot it from there.
    Any ideas anyone?

    Every Mac model has its own components different than any other, and the Apple Hardware Test is unique to each model. A handful of models share one AHT. A pile of them are available for download but are obscured behind a non-obvious naming convention. A partial list is here and here. Unfortunately Apple simply doesn't make it easy to figure out how to restore this.
    What I've learned is that pretty much all intel Macs before 10.7 did have AHT preloaded on the drive, found in hidden folder /System/Library/CoreServices/.dianostics. If you reformat the drive and reinstall, this is not reinstalled. And if you encrypt the drive with File Vault 2 it would be unavailable in any case. With 10.7 and newer hardware, the AHT is stuffed into an AHTxx.dmg file and found on the Recovery HD volume, also in a hidden directory. So it can still be used when FV2 encryption is enabled.
    Since install disks are gone, I don't actually know how current Mac owners are supposed to get this restored, however also since that time, Apple has moved to firmware that can load the proper version of AHT via option-D on boot with a wired or wireless internet connection. It doesn't permanently download this to disk, the firmware downloads and runs it, and upon reboot it's gone again.
    So the gist is, once you've lost the installed version of AHT, you either need the AHT disk that came with your computer or buy one from Apple or go to an Apple store and they'll run it for you. Or you have a newer Mac with firmware that can talk to Apple directly (pretty much anything 2010 and newer) over the internet.

  • Where can I download Apple Hardware Diagnostics for my MacBook Pro ?

    I have a problem of Mac freezing with an alarm sound forcing me to shut down, and someone suggests that I run an Apple Hardware Test. But I have no such CD. Do you know wether such an application can be downloaded for a MacBook Pro (Mac Os X Lion) ?
    Thanks in advance for your answer.

    Thank you very much !
    I was surprised not to have a CD for AHT. But if it is already included in the MacBook, it's fine.

  • Need an Explanation for an Failure ID from Hardware Diagnostics-8440p

    Hello,
    i have an hp 8440p and got the Problem that the Primary Battery is suddenly not charging. Worked perfectly the other day.
    I tried a suggested solution in this forum where the acpi control method battery in the hardware device manager has to be uninstalled. That did not work.
    I started the HP Battery Check under Windows and i got no errors.
    When i used the HP Hardware Diagnostics, i've got the following informations:
    Failure-ID:6br0GJ-50c78p-x87r5g-c0f003
    As my notebook is not covered under warranty(i think), i have no way to contact hp Support.
    Which would be perfect, would be if anybody could tell me what has happened to the battery, if i have to replace it and how to avoid such errors.
    The current Current of the Battery is:0mA
    And just out of curiosity: The HP Battery Check shows under Cycles : 243/300.  Does this mean it only had around 60 charging cycles left? <- This would really ease the pain of buying a new battery.
    Thanks for your time and your answers.

    Hi,
    Firstly the good news is battery can "live" much more than that, it still can be in good condition at 600 cycles. And the bad news is that 24 character failed-id tells you the HDD on your machine is failing. Please backup file and data, ready for a HDD replacement.
    Regards. 
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Running hardware diagnostics with Yosemite on iMac

    I'd like to run Hardware Diagnostics on a 2011 (maybe 2012) iMac.  Yosemite is installed.
    Have disconnected everything except keyboard and mouse, shutdown, and tried starting up with the "D" key held down.  With this option, the system boots normally....no diagnostics options.
    Tried with Shift D, and system boots in safe mode.
    Help, please.  Thanks!

    Thanks for the reply, Mike.
    The disk has never been erased to my knowledge, although OSX has been updated with each new release.  Perhaps an old DVD with Snow Leopard might have the AHT utility?  But will it still run under Yosemite?  Is it safe to give it a try?
    We're having 2 problems, and was hoping AHT could help rule out a hardware problem.  Our primary problem is that Logic Pro (up to date version) intermittently stops and gives a message that the system is too slow.  This severely impacts our ability to use the product during recording sessions.  Another problem is that we intermittently get a flashing pink and green checkerboard of pixels ...sometimes about 1 inch square, and sometimes as large as 6 inches square (GPU?)  (This issue doesn't seem to be creating any file corruption, to the best of our knowledge.)
    The iMac is a 27 inch model 11,3.  We have 8GB of memory, which, when looking at Activity Monitor, usually indicates only 6.5 GB are being used.  Disk utility hasn't revealed any disk problems.  (A similar system is using about 7.8 GB, and has no similar problems with Logic). Disk is about 66% full.
    If we could rule out hardware issues, we'd try to reinstall Logic Pro, and, perhaps, Yosemite.
    Thanks for your help!

  • Cannot boot from recovery, yet hardware diagnostics finds no problem

    Hello,
    I have a mid-2011 MacBook Air 11" which is running Mountain Lion, with most recent updates.  No new software recently installed, and I was running Pages and a few other standards apps, when....
    suddenly, computer started just going black and restarting, then would work for 10-30 seconds, then go black and restart.
    It has been like this for two days, and now almost never even gets to the login screen.  Usually, it just goes black after the Apple icon and starts over, sometimes the cursor appears in the upper left on that screen as well (which seems bizarre).  Sometimes it will load the linen background, with the cursor in the upper left hand corner, but then be totally frozen.
    Here's what I've tried:
    -Ran the apple hardware diagnostics by holding "D" on startup.  Both normal test and extensive test revealed no problems.
    -Tried command-R and command-option-R revcoveries from boot up, nothing ever happens
    -Tried safe boot, nothing ever happens
    -Tried PRAM reset and SMR reset (the power one, I may have the name wrong)
    -Tried booting up from the Recovery disk, no sucess
    -Tried booting up from a USB recovery disk, which I made on my iMac
    The last shot actually once got me to the disk utility. I was able to run to "reapair disk" to my main HD with no problems found.  I than was in the process of running "repair disk permissions" when it went black again.  I have not been able to get back to this point, however.
    I am BROKE, out of warranty, and would really love any idea anyone may have for a clean wipe/install.
    Thanks for your help!

    So here's an update:
    Still constantly shutting down, but some new interesting things:
    1. If the run the Apple server hardware dianostics (through holding 'D'), it is the only thing I've tried where it doesn't randomly shut down.  I've had this open for 1+ hour, and no shut down.  This makes me think it's not hardware related, but I'm just guessing
    2. I installed a fresh copy of ML on an external HD, trying the directions in the above article.  It did not show up in the options of bootable drives when I held down 'option' on boot up.
    3. I then came across this: http://www.macworld.com/article/1167857/how_to_make_a_bootable_mountain_lion_ins tall_drive.html
    Using this method, the external HD did show up as recovery disk, which I was able to boot up.  I got through the first several screens of a fresh ML install when it froze this time, right after the long progress bar.  This is the futherest I got through any method.   I have, sadly, not been able to get back to that point since the first try, though.
    4. I have been able to get the globe from an internet recovery off of the internal partition recovery drive, but after the progress bar and the spinning globe, I just get the linen background, with the cursor stuck in the upper left hand corner, and no dialog box to top bar.
    5. It seems like I can get further after I've given it a break.  With that in mind, I gave it several hours rest, then was able to log all the way in for about 15 secs.  I managed to take this bad photo just before it went black again (sorry I missed so much of the crash report):
    Sorry for the bad photo, it's all I had time for.  The last time I saw one of these, the BSD process name was a file related to Magician, a monitoring program.  This time it looks to be related to Sophos.  This being different makes me then think that it isn't third party software causing the problem, but instead Apple's kernal.  Once again, this is just a guess.
    Ideas?

  • How can i get or download the apple hardware test for a macbook pro made in 2012 running Mavericks 10.9.3

    Does anyone know how can i get or download the apple hardware test for a macbook pro made in 2012 running Mavericks 10.9.3. Thanks.

    Sean and Andy -
    I have to agree with Andy here. I am having the same problem on a mid 2010 MBP (6,2). I have already read the AHT info provided by Sean's link, and they are less than helpful. I'm sure they will be helpful to those who find that they work, but they are confusing if this is not the case. For example, my MBP(6,2) came with ONE (not two) installation disks, so the instructions don't work for me. Another issue is the instructions confound the descriptions related to the MBP, the original (delivered) software (OS X version), and the current installed OS X upgrade software.
    So here's what does NOT work for me... 
         (A) I cannot install 'Disk 2', since I never received this with my original (new) purchase in mid 2010.
         (B) I have checked my firmware versions and they are all up to date, as per Apple's information.
         (C) As suggested in another thread, I looked for /Library/Core Services/.diagnostics and it was NOT present. I followed his instructions, downloaded the correct (I believe) dmg, and installed it. It is in the correct place, and I can see all the invisible files using Pathfinder.
         (D) When I re-start holding down the D key (immediately), it just goes through the normal boot routine; no evidence of AHT.
         (E.1) When I re-start holding down OPT-D, I get a spinning globe, and then it prompts me for a network (wi-fi) connection.
         (E.2) For some unknown reason, the prompt identifies between 2 and 5 of my --neighbors'--  routers, but does not show mine. (??!!)
         (E.3) The routers are listed alphabetically; however, my router SHOULD be at the top of the list by this criterion, but it is nowhere to be seen.
         (E.4) The 'internet recovery' process then allows me to enter a network name AND password. I do this, for my current wi-fi router, and the process rejects it as an incorrect login ID. It is NOT an incorrect login ID! 
    So, now asking Sean and Andy (or anyone else) for further suggestions... ???  As Andy suggested, many people ask questions here because they have -already- worked through the 'official' recommendations, and have found them to be inadequate.
    Any advice would be appreciated!  TIA.
    Ed

  • I have hardware diagnostice failure message

    I have an HP Pavilion 6310 with Windows 7 64 bit.  The device has been locking up and running very slowly at times.  Today, got an error/failure message during hardware diagnostics maintenance program, "SMART Short Self Test  SD 521-2W.  Any idea what may be happening?

    Hi
    The Smart DST failure is in regards to the Hard drive or Memory Failure on your unit you will need to replace the part in order to get the unit back to working condition. As per your notes you need to check if that was Hard drive or Memory test which has failed.
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • How do I troubleshoot a blue screen on a Pavilion dv4-1123us with "hardware malfunction call hardware vendor for support" message?

    I keep getting this screen and before I have to call and pay and wanted to see if there was something that I could do.
    Pavilion dv4-1123us  get blue screen with "hardware malfunction    call hardware vendor for support"
    This question was solved.
    View Solution.

    I would say its just a conicidence and recommend you to do a system restore. As its an intermittent problem, you never know if you face same issue once again.
    //Click on Kudos and Accept as Solution if my reply was helpful and answered your question//
    I am an HP employee!!

  • DO i need some extra hardware interface for receving both Audio and video

    hi i m doing e-learning project. i have to capture video from webcam and voice from headphone and send to client.
    but my code is working fine for either one at a time.
    DO i need some extra hardware interface for receving both Audio and video. im using code AVTransmit and AVReceive found from this site only
    After running TX
    i give Dsound:// & vfw://0 in Media Locater only sound is received and no vedio
    and when i give vfw://0 in Media Locater only live video is transmited.
    im using JMF1.1.2e.
    if any one know the method to run or cause of it plz reply me soon. i will be very thankfull
    transmiter/server side code .first run TX on server
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.util.*;
    import javax.media.rtp.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    public class Tx extends JFrame implements ActionListener, KeyListener,
    MouseListener, WindowListener {
    Vector targets;
    JList list;
    JButton startXmit;
    JButton rtcp;
    JButton update;
    JButton expiration;
    JButton statistics;
    JButton addTarget;
    JButton removeTarget;
    JTextField tf_remote_address;
    JTextField tf_remote_data_port;
    JTextField tf_media_file;
    JTextField tf_data_port;
    TargetListModel listModel;
    AVTransmitter avTransmitter;
    RTCPViewer rtcpViewer;
    JCheckBox cb_loop;
    Config config;
    public Tx() {
    setTitle( "JMF/RTP Transmitter");
         config= new Config();
         GridBagLayout gridBagLayout= new GridBagLayout();
         GridBagConstraints gbc;
         JPanel p= new JPanel();
         p.setLayout( gridBagLayout);
         JPanel localPanel= createLocalPanel();
         gbc= new GridBagConstraints();
         gbc.gridx= 0;
         gbc.gridy= 0;
         gbc.gridwidth= 2;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( localPanel, gbc);
         p.add( localPanel);
         JPanel targetPanel= createTargetPanel();
         gbc= new GridBagConstraints();
         gbc.gridx= 1;
         gbc.gridy= 1;
         gbc.weightx= 1.0;
         gbc.weighty= 1.0;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( targetPanel, gbc);
    p.add( targetPanel);
         JPanel mediaPanel= createMediaPanel();
         gbc= new GridBagConstraints();
         gbc.gridx= 1;
         gbc.gridy= 2;
         gbc.weightx= 1.0;
         gbc.weighty= 1.0;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( mediaPanel, gbc);
    p.add( mediaPanel);
    JPanel buttonPanel= new JPanel();
    rtcp= new JButton( "RTCP Monitor");
    update= new JButton( "Transmission Status");
         update.setEnabled( false);
         rtcp.addActionListener( this);
         update.addActionListener( this);
         buttonPanel.add( rtcp);
         buttonPanel.add( update);
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 3;
    gbc.gridwidth= 2;
         gbc.weightx = 1.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.CENTER;
         gbc.fill = GridBagConstraints.HORIZONTAL;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( buttonPanel, gbc);
         p.add( buttonPanel);
    getContentPane().add( p);
         list.addMouseListener( this);
         addWindowListener( this);
    pack();
    setVisible( true);
    private JPanel createMediaPanel() {
    JPanel p= new JPanel();
         GridBagLayout gridBagLayout= new GridBagLayout();
    GridBagConstraints gbc;
         p.setLayout( gridBagLayout);
         JLabel label= new JLabel( "Media Locator:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
         p.add( label);
         tf_media_file= new JTextField( 35);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 0;
         gbc.weightx = 1.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.HORIZONTAL;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( tf_media_file, gbc);
         p.add( tf_media_file);
         tf_media_file.setText( config.media_locator);
         cb_loop= new JCheckBox( "loop");
         startXmit= new JButton( "Start Transmission");
         startXmit.setEnabled( true);
         startXmit.addActionListener( this);
         gbc= new GridBagConstraints();
         gbc.gridx = 2;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( cb_loop, gbc);
         p.add( cb_loop);
         cb_loop.setSelected( true);
         cb_loop.addActionListener( this);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.CENTER;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( startXmit, gbc);
         p.add( startXmit);
         TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Source");
         p.setBorder( titledBorder);
         return p;
    private JPanel createTargetPanel() {
    JPanel p= new JPanel();
         GridBagLayout gridBagLayout= new GridBagLayout();
    GridBagConstraints gbc;
         p.setLayout( gridBagLayout);
         targets= new Vector();
         for( int i= 0; i < config.targets.size(); i++) {
         targets.addElement( config.targets.elementAt( i));
    listModel= new TargetListModel( targets);
    list= new JList( listModel);
         list.addKeyListener( this);
         list.setPrototypeCellValue( "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");
    JScrollPane scrollPane= new JScrollPane( list,
    ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
         gbc= new GridBagConstraints();
         gbc.gridx= 0;
         gbc.gridy= 0;
         gbc.weightx= 1.0;
         gbc.weighty= 1.0;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( scrollPane, gbc);
         p.add( scrollPane);
    JPanel p1= new JPanel();
         p1.setLayout( gridBagLayout);
         JLabel label= new JLabel( "IP Address:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( label, gbc);
         p1.add( label);
         tf_remote_address= new JTextField( 15);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( tf_remote_address, gbc);
         p1.add( tf_remote_address);
         label= new JLabel( "Data Port:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( label, gbc);
         p1.add( label);
         tf_remote_data_port= new JTextField( 15);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( tf_remote_data_port, gbc);
         p1.add( tf_remote_data_port);     
    JPanel p2= new JPanel();
    addTarget= new JButton( "Add Target");     
    removeTarget= new JButton( "Remove Target");
         p2.add( addTarget);
         p2.add( removeTarget);
         addTarget.addActionListener( this);
         removeTarget.addActionListener( this);
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 2;
         gbc.weightx = 1.0;
         gbc.weighty = 0.0;
         gbc.gridwidth= 2;
         gbc.anchor = GridBagConstraints.CENTER;
         gbc.fill = GridBagConstraints.HORIZONTAL;
         gbc.insets = new Insets( 20,5,0,5);
         ((GridBagLayout)p1.getLayout()).setConstraints( p2, gbc);
         p1.add( p2);
         gbc= new GridBagConstraints();
         gbc.gridx= 1;
         gbc.gridy= 0;
         gbc.weightx= 1.0;
         gbc.weighty= 1.0;
         gbc.anchor= GridBagConstraints.CENTER;
         gbc.fill= GridBagConstraints.BOTH;
         gbc.insets= new Insets( 10, 5, 0, 0);
         ((GridBagLayout)p.getLayout()).setConstraints( p1, gbc);
         p.add( p1);
         TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Targets");
         p.setBorder( titledBorder);
         return p;
    private JPanel createLocalPanel() {
    JPanel p= new JPanel();
         GridBagLayout gridBagLayout= new GridBagLayout();
    GridBagConstraints gbc;
         p.setLayout( gridBagLayout);
         JLabel label= new JLabel( "IP Address:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
         p.add( label);
         JTextField tf_local_host= new JTextField( 15);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 0;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p.getLayout()).setConstraints( tf_local_host, gbc);
         p.add( tf_local_host);
         try {
    String host= InetAddress.getLocalHost().getHostAddress();     
         tf_local_host.setText( host);
         } catch( UnknownHostException e) {
         label= new JLabel( "Data Port:");
         gbc= new GridBagConstraints();
         gbc.gridx = 0;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.EAST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,0,5);
         ((GridBagLayout)p.getLayout()).setConstraints( label, gbc);
         p.add( label);
         tf_data_port= new JTextField( 15);
         gbc= new GridBagConstraints();
         gbc.gridx = 1;
         gbc.gridy = 1;
         gbc.weightx = 0.0;
         gbc.weighty = 0.0;
         gbc.anchor = GridBagConstraints.WEST;
         gbc.fill = GridBagConstraints.NONE;
         gbc.insets = new Insets( 5,5,10,5);
         ((GridBagLayout)p.getLayout()).setConstraints( tf_data_port, gbc);
         p.add( tf_data_port);
         tf_data_port.setText( config.local_data_port);
         TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Local Host");
         p.setBorder( titledBorder);
         return p;
    public void actionPerformed( ActionEvent event) {
    Object source= event.getSource();
         if( source == addTarget) {
         String ip= tf_remote_address.getText().trim();
         String port= tf_remote_data_port.getText().trim();
         String localPort= tf_data_port.getText().trim();
         addTargetToList( localPort, ip, port);
         if( avTransmitter != null) {
         avTransmitter.addTarget( ip, port);
         } else if( source == removeTarget) {
         int index= list.getSelectedIndex();
         if( index != -1) {
              Target target= (Target) targets.elementAt( index);
              if( avTransmitter != null) {
         avTransmitter.removeTarget( target.ip, target.port);
              targets.removeElement( target);
              listModel.setData( targets);          
         } else if( source == startXmit) {
         if( startXmit.getLabel().equals( "Start Transmission")) {          
         int data_port= new Integer( tf_data_port.getText()).intValue();
              avTransmitter= new AVTransmitter( this, data_port);
         avTransmitter.start( tf_media_file.getText().trim(), targets);          
              avTransmitter.setLooping( cb_loop.isSelected());
         startXmit.setLabel( "Stop Transmission");
         } else if( startXmit.getLabel().equals( "Stop Transmission")) {
              avTransmitter.stop();
              avTransmitter= null;
              removeNonBaseTargets();
              listModel.setData( targets);
         startXmit.setLabel( "Start Transmission");          
         } else if( source == rtcp) {
         if( rtcpViewer == null) {
         rtcpViewer= new RTCPViewer();
         } else {
              rtcpViewer.setVisible( true);
              rtcpViewer.toFront();
         } else if( source == cb_loop) {
         if( avTransmitter != null) {
              avTransmitter.setLooping( cb_loop.isSelected());
    private void removeNonBaseTargets() {
         String localPort= tf_data_port.getText().trim();
         for( int i= targets.size(); i > 0;) {
         Target target= (Target) targets.elementAt( i - 1);
         if( !target.localPort.equals( localPort)) {
    targets.removeElement( target);
         i--;
    public void addTargetToList( String localPort,
                             String ip, String port) {     
    ListUpdater listUpdater= new ListUpdater( localPort, ip,
                                  port, listModel, targets);
    SwingUtilities.invokeLater( listUpdater);           
    public void rtcpReport( String report) {
         if( rtcpViewer != null) {
         rtcpViewer.report( report);
    public void windowClosing( WindowEvent event) {
         config.local_data_port= tf_data_port.getText().trim();
         config.targets= new Vector();
         for( int i= 0; i < targets.size(); i++) {
         Target target= (Target) targets.elementAt( i);
         if( target.localPort.equals( config.local_data_port)) {
              config.addTarget( target.ip, target.port);
         config.media_locator= tf_media_file.getText().trim();
         config.write();
    System.exit( 0);
    public void windowClosed( WindowEvent event) {
    public void windowDeiconified( WindowEvent event) {
    public void windowIconified( WindowEvent event) {
    public void windowActivated( WindowEvent event) {
    public void windowDeactivated( WindowEvent event) {
    public void windowOpened( WindowEvent event) {
    public void keyPressed( KeyEvent event) {
    public void keyReleased( KeyEvent event) {
    Object source= event.getSource();
         if( source == list) {
         int index= list.getSelectedIndex();
    public void keyTyped( KeyEvent event) {
    public void mousePressed( MouseEvent e) {
    public void mouseReleased( MouseEvent e) {
    public void mouseEntered( MouseEvent e) {
    public void mouseExited( MouseEvent e) {
    public void mouseClicked( MouseEvent e) {
    Object source= e.getSource();
         if( source == list) {
         int index= list.getSelectedIndex();
         if( index != -1) {
              Target target= (Target) targets.elementAt( index);
              tf_remote_address.setText( target.ip);
              tf_remote_data_port.setText( target.port);
         int index= list.locationToIndex( e.getPoint());
    public static void main( String[] args) {
    new Tx();
    class TargetListModel extends AbstractListModel {
    private Vector options;
    public TargetListModel( Vector options) {
         this.options= options;
    public int getSize() {
         int size;
         if( options == null) {
         size= 0;
         } else {
         size= options.size();
         return size;
    public Object getElementAt( int index) {
    String name;
    if( index < getSize()) {
         Target o= (Target)options.elementAt( index);
    name= o.localPort + " ---> " + o.ip + ":" + o.port;
         } else {
         name= null;
         return name;
    public void setData( Vector data) {
         options= data;
         fireContentsChanged( this, 0, data.size());
    class ListUpdater implements Runnable {
    String localPort, ip, port;
    TargetListModel listModel;
    Vector targets;
    public ListUpdater( String localPort, String ip, String port,
                   TargetListModel listModel, Vector targets) {
         this.localPort= localPort;
         this.ip= ip;
         this.port= port;
         this.listModel= listModel;
         this.targets= targets;
    public void run() {
    Target target= new Target( localPort, ip, port);
         if( !targetExists( localPort, ip, port)) {
         targets.addElement( target);
    listModel.setData( targets);
    public boolean targetExists( String localPort, String ip, String port) {
         boolean exists= false;
         for( int i= 0; i < targets.size(); i++) {
         Target target= (Target) targets.elementAt( i);
         if( target.localPort.equals( localPort)
         && target.ip.equals( ip)
              && target.port.equals( port)) {          
              exists= true;
         break;
         return exists;
    >>>>>>>>>>>>>>>>>
    import java.awt.*;
    import java.io.*;
    import java.net.InetAddress;
    import java.util.*;
    import javax.media.*;
    import javax.media.protocol.*;
    import javax.media.format.*;
    import javax.media.control.TrackControl;
    import javax.media.control.QualityControl;
    import javax.media.rtp.*;
    import javax.media.rtp.event.*;
    import javax.media.rtp.rtcp.*;
    public class AVTransmitter implements ReceiveStreamListener, RemoteListener,
    ControllerListener {
    // Input MediaLocator
    // Can be a file or http or capture source
    private MediaLocator locator;
    private String ipAddress;
    private int portBase;
    private Processor processor = null;
    private RTPManager rtpMgrs[];
    private int localPorts[];
    private DataSource dataOutput = null;
    private int local_data_port;
    private Tx tx;
    public AVTransmitter( Tx tx, int data_port) {
         this.tx= tx;
         local_data_port= data_port;
    * Starts the transmission. Returns null if transmission started ok.
    * Otherwise it returns a string with the reason why the setup failed.
    public synchronized String start( String filename, Vector targets) {
         String result;
         locator= new MediaLocator( filename);
         // Create a processor for the specified media locator
         // and program it to output JPEG/RTP
         result = createProcessor();
         if (result != null) {
         return result;
         // Create an RTP session to transmit the output of the
         // processor to the specified IP address and port no.
         result = createTransmitter( targets);
         if (result != null) {
         processor.close();
         processor = null;
         return result;
         // Start the transmission
         processor.start();
         return null;
    * Use the RTPManager API to create sessions for each media
    * track of the processor.
    private String createTransmitter( Vector targets) {
         // Cheated. Should have checked the type.
         PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
         PushBufferStream pbss[] = pbds.getStreams();
         rtpMgrs = new RTPManager[pbss.length];
         localPorts = new int[ pbss.length];
         SessionAddress localAddr, destAddr;
         InetAddress ipAddr;
         SendStream sendStream;
         int port;
         SourceDescription srcDesList[];
         for (int i = 0; i < pbss.length; i++) {
         // for (int i = 0; i < 1; i++) {
         try {
              rtpMgrs[i] = RTPManager.newInstance();     
              port = local_data_port + 2*i;
              localPorts[ i]= port;
              localAddr = new SessionAddress( InetAddress.getLocalHost(),
                                  port);
              rtpMgrs.initialize( localAddr);          
              rtpMgrs[i].addReceiveStreamListener(this);
              rtpMgrs[i].addRemoteListener(this);
         for( int k= 0; k < targets.size(); k++) {
              Target target= (Target) targets.elementAt( k);
              int targetPort= new Integer( target.port).intValue();
              addTarget( localPorts[ i], rtpMgrs[ i], target.ip, targetPort + 2*i);
              sendStream = rtpMgrs[i].createSendStream(dataOutput, i);          
              sendStream.start();
         } catch (Exception e) {
              e.printStackTrace();
              return e.getMessage();
         return null;
    public void addTarget( String ip, String port) {
         for (int i= 0; i < rtpMgrs.length; i++) {
         int targetPort= new Integer( port).intValue();
         addTarget( localPorts[ i], rtpMgrs[ i], ip, targetPort + 2*i);
    public void addTarget( int localPort, RTPManager mgr, String ip, int port) {
         try {
         SessionAddress addr= new SessionAddress( InetAddress.getByName( ip),
                                  new Integer( port).intValue());
         mgr.addTarget( addr);
         tx.addTargetToList( localPort + "", ip, port + "");
         } catch( Exception e) {
         e.printStackTrace();
    public void removeTarget( String ip, String port) {
         try {     
         SessionAddress addr= new SessionAddress( InetAddress.getByName( ip),
                                  new Integer( port).intValue());
         for (int i= 0; i < rtpMgrs.length; i++) {
         rtpMgrs[ i].removeTarget( addr, "target removed from transmitter.");
         } catch( Exception e) {
         e.printStackTrace();
    boolean looping= true;
    public void controllerUpdate( ControllerEvent ce) {
         System.out.println( ce);
         if( ce instanceof DurationUpdateEvent) {
         Time duration= ((DurationUpdateEvent) ce).getDuration();
         System.out.println( "duration: " + duration.getSeconds());
         } else if( ce instanceof EndOfMediaEvent) {
         System.out.println( "END OF MEDIA - looping=" + looping);
         if( looping) {
         processor.setMediaTime( new Time( 0));
              processor.start();
    public void setLooping( boolean flag) {
         looping= flag;
    public void update( ReceiveStreamEvent event) {
         String timestamp= getTimestamp();
         StringBuffer sb= new StringBuffer();
         if( event instanceof InactiveReceiveStreamEvent) {
         sb.append( timestamp + " Inactive Receive Stream");
         } else if( event instanceof ByeEvent) {
         sb.append( timestamp + " Bye");
         } else {
         System.out.println( "ReceiveStreamEvent: "+ event);
         tx.rtcpReport( sb.toString());     
    public void update( RemoteEvent event) {     
         String timestamp= getTimestamp();
         if( event instanceof ReceiverReportEvent) {
         ReceiverReport rr= ((ReceiverReportEvent) event).getReport();
         StringBuffer sb= new StringBuffer();
         sb.append( timestamp + " RR");
         if( rr != null) {
              Participant participant= rr.getParticipant();
              if( participant != null) {
              sb.append( " from " + participant.getCNAME());
              sb.append( " ssrc=" + rr.getSSRC());
              } else {
              sb.append( " ssrc=" + rr.getSSRC());
              tx.rtcpReport( sb.toString());
         } else {
         System.out.println( "RemoteEvent: " + event);
    private String getTimestamp() {
         String timestamp;
         Calendar calendar= Calendar.getInstance();
         int hour= calendar.get( Calendar.HOUR_OF_DAY);
         String hourStr= formatTime( hour);
         int minute= calendar.get( Calendar.MINUTE);
         String minuteStr= formatTime( minute);
         int second= calendar.get( Calendar.SECOND);
         String secondStr= formatTime( second);
         timestamp= hourStr + ":" + minuteStr + ":" + secondStr;     
         return timestamp;
    private String formatTime( int time) {     
         String timeStr;
         if( time < 10) {
         timeStr= "0" + time;
         } else {
         timeStr= "" + time;
         return timeStr;
    * Stops the transmission if already started
    public void stop() {
         synchronized (this) {
         if (processor != null) {
              processor.stop();
              processor.close();
              processor = null;
         for (int i= 0; i < rtpMgrs.length; i++) {
         rtpMgrs[ i].removeTargets( "Session ended.");
              rtpMgrs[ i].dispose();
    public String createProcessor() {
         if (locator == null) {
         return "Locator is null";
         DataSource ds;
         DataSource clone;
         try {
         ds = javax.media.Manager.createDataSource(locator);
         } catch (Exception e) {
         return "Couldn't create DataSource";
         // Try to create a processor to handle the input media locator
         try {
         processor = javax.media.Manager.createProcessor(ds);
         processor.addControllerListener( this);     
         } catch (NoProcessorException npe) {
         return "Couldn't create processor";
         } catch (IOException ioe) {
         return "IOException creating processor";
         // Wait for it to configure
         boolean result = waitForState(processor, Processor.Configured);
         if (result == false)
         return "Couldn't configure processor";
         // Get the tracks from the processor
         TrackControl [] tracks = processor.getTrackControls();
         // Do we have atleast one track?
         if (tracks == null || tracks.length < 1)
         return "Couldn't find tracks in processor";
         // Set the output content descriptor to RAW_RTP
         // This will limit the supported formats reported from
         // Track.getSupportedFormats to only valid RTP formats.
         ContentDescriptor cd = new ContentDescriptor(ContentDescriptor.RAW_RTP);
         processor.setContentDescriptor(cd);
         Format supported[];
         Format chosen;
         boolean atLeastOneTrack = false;
         // Program the tracks.
         for (int i = 0; i < tracks.length; i++) {
         Format format = tracks[i].getFormat();
         if (tracks[i].isEnabled()) {
              supported = tracks[i].getSupportedFormats();
              // We've set the output content to the RAW_RTP.
              // So all the supported formats should work with RTP.
              // We'll just pick the first one.
              if (supported.length > 0) {
              if (supported[0] instanceof VideoFormat) {
                   // For video formats, we should double check the
                   // sizes since not all formats work in all sizes.
                   chosen = checkForVideoSizes(tracks[i].getFormat(),
                                       supported[0]);
              } else
                   chosen = supported[0];
              tracks[i].setFormat(chosen);
              System.err.println("Track " + i + " is set to transmit as:");
              System.err.println(" " + chosen);
              atLeastOneTrack = true;
              } else
              tracks[i].setEnabled(false);
         } else
              tracks[i].setEnabled(false);
         if (!atLeastOneTrack)
         return "Couldn't set any of the tracks to a valid RTP format";
         // Realize the processor. This will internally create a flow
         // graph and attempt to create an output datasource for JPEG/RTP
         // audio frames.
         result = waitForState(processor, Controller.Realized);
         if (result == false)
         return "Couldn't realize processor";
         // Set the JPEG quality to .5.
         setJPEGQuality(processor, 0.5f);
         // Get the output data source of the processor
         dataOutput = processor.getDataOutput();
         return null;
    static SessionAddress destAddr1, destAddr2;
    * For JPEG and H263, we know that they only work for particular
    * sizes. So we'll perform extra checking here to make sure they
    * are of the right sizes.
    Format checkForVideoSizes(Format original, Format supported) {
         int width, height;
         Dimension size = ((VideoFormat)original).getSize();
         Format jpegFmt = new Format(VideoFormat.JPEG_RTP);
         Format h263Fmt = new Format(VideoFormat.H263_RTP);
         if (supported.matches(jpegFmt)) {
         // For JPEG, make sure width and height are divisible by 8.
         width = (size.width % 8 == 0 ? size.width :
                        (int)(size.width / 8) * 8);
         height = (size.height % 8 == 0 ? size.height :
                        (int)(size.height / 8) * 8);
         } else if (supported.matches(h263Fmt)) {
         // For H.263, we only support some specific sizes.
         if (size.width < 128) {
              width = 128;
              height = 96;
         } else if (size.width < 176) {
              width = 176;
              height = 144;
         } else {
              width = 352;
              height = 288;
         } else {
         // We don't know this particular format. We'll just
         // leave it alone then.
         return supported;
         return (new VideoFormat(null,
                        new Dimension(width, height),
                        Format.NOT_SPECIFIED,
                        null,
                        Format.NOT_SPECIFIED)).intersects(supported);
    * Setting the encoding quality to the specified value on the JPEG encoder.
    * 0.5 is a good default.
    void setJPEGQuality(Player p, float val) {
         Control cs[] = p.getControls();
         QualityControl qc = null;
         VideoFormat jpegFmt = new VideoFormat(VideoFormat.JPEG);
         // Loop through the controls to find the Quality control for
         // the JPEG encoder.
         for (int i = 0; i < cs.length; i++) {
         if (cs[i] instanceof QualityControl &&
              cs[i] instanceof Owned) {
              Object owner = ((Owned)cs[i]).getOwner();
              // Check to see if the owner is a Codec.
              // Then check for the output format.
              if (owner instanceof Codec) {
              Format fmts[] = ((Codec)owner).getSupportedOutputFormats(null);
              for (int j = 0; j < fmts.length; j++) {
                   if (fmts[j].matches(jpegFmt)) {
                   qc = (QualityControl)cs[i];
                   qc.setQuality(val);
                   System.err.println("- Setting quality to " +
                             val + " on " + qc);
                   break;
              if (qc != null)
              break;
    * Convenience methods to handle processor's state changes.
    private Integer stateLock = new Integer(0);
    private boolean failed = false;
    Integer getStateLock() {
         return stateLock;
    void setFailed() {
         failed = true;
    private synchronized boolean waitForState(Processor p, int state) {
         p.addControllerListener(new StateListener());
         failed = false;
         // Call the required method on the processor
         if (state == Processor.Configured) {
         p.configure();
         } else if (state == Processor.Realized) {
         p.realize();
         // Wait until we get an event that confirms the
         // success of the method, or a failure event.
         // See StateListener inner class
         while (p.getState() < state && !failed) {
         synchronized (getStateLock()) {
              try {
              getStateLock().wait();
              } catch (InterruptedException ie) {
              return false;
         if (failed)
         return false;
         else
         return true;
    * Inner Classes
    class StateListener implements ControllerListener {
         public void controllerUpdate(ControllerEvent ce) {
         // If there was an error during configure or
         // realiz

    I do this all the time, I put my MBP to a 60 inch Sharp. If you have the video working do the simple thing first. Check to make sure your sound is on your TV and Mac. Then if that doesn't work go to System Prefrences and under sound go to a tab called Output and see if your TV is listed and if it is change it to that setting
    Hope It Works

  • With the latest IOS 7.0.3 for my iPhone, it no longer syncs with iTunes. I've run the diagnostics for syncing and it says everything is working, which it clearly isn't. Is there anything to be done without restoring iPhone? Thanks

    with the latest IOS 7.0.3 for my iPhone, it no longer syncs with iTunes. I've run the diagnostics for syncing and it says everything is working, which it clearly isn't. Is there anything to be done without restoring iPhone? Thanks

    update : so after reading numerous posts, I tried unchecking entire playlist and just tried one of my playlists. That sync seemed to work, so I rechecked entire playlist and did the sync. It worked. Then I went in to my "walk to work" playlist and added some songs to see if it would sync now, and it did!!! so happy now. will see what happens tomorrow.

  • I NEED OVER ALL HARDWARE SUPPORT FOR PAVILION DV6-3043TX

    I NEED OVER ALL HARDWARE SUPPORT FOR PAVILION DV6-3043TX, DISPLAY : FLASHING, HDD : SMART ERROR 301, KEY BOARD : UNSERVISEABLE, USB PORT : DISCONNECTED CONTINUOUSLY, THERMAL SHUT DOWN : RAPIDLY SHUTDOWN DUE TO INCREASE IN TEMP AS I M PERIODICLY CLEANING VENTS AND USING COOL PAD RECOMENDED BY HP DEALER, CD/DVD DRIVE NOT WORKING PROPERLY. SO I NEED SUPPORT FROM HP. MY EMAIL IS {Personal Information Removed}

    The smart error is usually a fatal hard drive error and it probably needs to be replaced.  Here is a quick scan of this forum for smart error 301:
    http://h30434.www3.hp.com/t5/forums/searchpage/tab/message?filter=location&location=forum-board%3ALa...
    I think the high heat situation and damaged your video chip at the very least and someone will have to open the laptop and reflow, reball or replace the video chip. If this machine is in warrantee, you need to call HP or contact them before it is out of warrantee.
    Reminder: Please select the "Accept as Solution" button on the post that best answers your question. Also, you may click on the white star in the "Kudos" button for any helpful post to give that person a quick thanks. These feedback tools help keep our community active, so you receive better answers faster.

  • Mac Pro Dual Quad Xeon 2.66, Lion, weird pattern on display, then died.  Won't reboot. Did hardware diagnostics, says no problem.  Video screen still has weird pattern, see apple, spins no boot.  HELP!

    Gee...I didn't know I was going to get a whole box to describe the problem.  We took it apart, checked memory, it's ok.  When I pried open the dvd and started from the install disc to run the hardware diagnostics, I pressed d.  It didn't give me a choice about hard discs to start from, I have a snow leopard bootable disc ad a lion bootable disc.  It didn't even see them.
    I have work to do! Freakin.
    So, it chimes, shows the apple with the pattern all over the screen and it spins, and then you see a progress bar.  it doesn't go any further.

    Take the card out and boot the machine.
    The hit one of the volume up/down keys on keyboad. If you here the usual sound, it booted.
    With any luck you have Screen Sharing enabled and can remotely log in.
    But reaching desktop with the card out is pretty much proof that card is gone.
    8800GT is black with 2 silver arrow shapes.
    You can try removing heatsink (12 screws) and baking it. (google)
    You have exacty NOTHING to lose, so 50/50 odds are worth a shot.

  • HT201401 In diagnostics for the iPhone 5, what does "Power Issue" mean? Is it covered by the 1 year limited warranty?

    In diagnostics for the iPhone 5, what does "Power Issue" mean? Is it covered by the 1 year limited warranty?

    That has to be just about the least helpful response ever recorded by anyone in the history of the Planet Earth. Thanks!

  • Hardware fix for digital out issue

    Hi!
    i'm one of the thousand users who has the same problem with the line out / digital out output.
    i've been trying all the solutions found around the web:
    Reset the PRAM
    make an SMC reset
    pull in and out the headphones jack
    delete the plist file of the MIDI configuration
    but none of them worked.
    is there an handmade hardware solution for this issue?!
    Thank you all!

    Use the search tool. The answer is out there as plenty have had it. I am currently and am using teh search tool. That's how I found your post.

Maybe you are looking for

  • Cannot send attachments in Mail using .mac account, pop account is fine!

    Within my Mail.app, I have 2 accounts: one is a .mac account, the other a pop account. When I send attachments (jpg always and sometimes pdf) with the .mac account, they do not get encoded properly and my recipients cannot view them -- or they can vi

  • After ios 5 update, bluetooth on ipod touch not funcioning-keynote app no longer pairing with ipad

    Since the ios 5 update--bluetooth longer funcioning on ipod touch.  iPad no longer syncing with keynote remote app on ipod touch.  My iPad no longer sees the iPod touch.  The Bluetooth indicator does not come on or flash on the ipod touch. any help o

  • Basic Finish Date in Service Order

    Hi Gurus,   I want to change the Basic Finish date in the service order. The system is allowing me to change it in the change mode of service order (IW32), but after saving when I come back and see the order again, it is showing the old date only. I

  • Attached files in pdf form...

    hi, i designed process like below for my question and lca file( rename write_pdf.txt to write_pdf.lca ), too. 1. I want to attached files in pdf form like below. 2. when attached file in pdf form, if not pdf format, want to attach file after converti

  • Video Chat

    what can't I seem to start a video chat anywhere on my Nexus.  Seems this was a well-advertised feature of this phone and now I can't seem to find any way to do it or any icon that will initiate a video chat