Recognizing device connection

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

  1. pithhelmet macrumors newbie

    Joined:
    Mar 5, 2010
    #1
    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?

    thanks
    tony
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
  3. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #3
    If you run System Profiler.app, 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:
    http://en.wikipedia.org/wiki/Universal_Serial_Bus#Signaling

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

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #4
    There's Hardware Growler for one...
     

Share This Page