Recognizing device connection

Discussion in 'Mac Programming' started by pithhelmet, Mar 5, 2010.

  1. pithhelmet macrumors newbie

    Mar 5, 2010
    Hello everyone,

    Not really a programming question, but....

    How does an application (itunes helper) sense when a device is connected?

    I've put network monitor, port watchers, and netbios watchers on my system, but I cannot figure out how the itunes system picks up that a iXXX device is connected....

    does anyone have any ideas?

  2. kainjow Moderator emeritus


    Jun 15, 2000
  3. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    If you run System, located in Utilities, and connect then disconnect your iPod, does it show up in the list of USB devices?

    You will need to choose Refresh from System Profiler's View menu. It does not update its display automatically.

    If the iPod shows up as a USB device, then the answer lies in how USB devices identify themselves when plugged in. USB in Mac OS X is handled through IOKit, as kainjow already noted.

    The actual signals on the USB bus are defined by the USB standard. See this description:

    The relevant paragraphs begin at:
    The host includes 15 kΩ pull-down resistors on each data line​
  4. robbieduncan Moderator emeritus


    Jul 24, 2002
    There's Hardware Growler for one...

Share This Page