Name and device

Hi ,
I hope someone has an answer to the following question:
I have a pseudo device that will create 24 minor node
(in the attach () : for (i=0; i<25;i++) { ddi_create_minor_node(...) )
That will create:
/dev/ddd0
/dev/ddd1
/dev/ddd24
My question is:
when I do an open("/dev/dddX",...) how can the driver knows what "X" is ?
let's say that an application open (/dev/ddd12) and an other one open(/dev/ddd15) where is that number stored in the driver_open() ??
Thank you for the answer.

Never mind I got the answer...

Similar Messages

  • How do I get the user name and password for the Apple Extreme Router to connect to a Slingbox

    How do I get the user name and password for the Apple Extreme Router to set up my Slingbox?  It will not accept the Apple Extreme Name and password.

    The AirPort Extreme does not have a User Name, but it does have a device name and device password, which you may have already tried.
    There is also a Wireless Network Name and Wireless Network Password for the AirPort Extreme, which might be what the Slingbox is looking for if you are trying to connect it to your wireless network.
    There are no other "user names" or "passwords" on the AirPort Extreme.
    You established the device name, device password, wireless network name and wireless network password when you originally configured the AirPort Extreme.
    If you cannot remember these, you will need to perform a Soft Rest to reset everything. Follow the instructions in this Apple support document:
    Resetting an AirPort Base Station or Time Capsule FAQ

  • I can no longer use my aol on mac mail. When I set up the aol account name and password I get a message that says "Unable to verify account name or password". This is on all my Apple devices. Seems like an AOL server issue but no help from them!

    I can no longer make my AOL e mail work with Mac Mail on all my devices. When I try to set up the account and put in the correct aol account and password I get the message "Unable to verify account name or password". I know the account name and password is correct as I can open the AOL e mail page on Safari. I have changed the password, and it still does not work. AOL tech support has been no help. AOL email worked for years but last week due to suspected spam activity AOL locked my AOL account. I got that straightened out but now i cannot set it up on any of my devices: Macbook Air, Ipad, I pad mini and iPhone 6 without that message. I took everything to Apple store and everything is set up correctly on my devices. AOL tech support is no help and keeps giving me different solutions and answers, none of which has worked. Any solutions out there? All my Apple Software is up to date on all my devices

    Delete your Gmail account from the Mail/Contacts/Calendars settings page, and then add it back in using the new Gmail password.
    Matt

  • Somehow my MacBookPro iCloud account has a different name and password from my other devices.  Even my date of birth is listed incorrectly.  I have tried but can't seem to change this info to match up with my other devices.  Can someone help?

    Somehow my MacBookPro iCloud account has a different name and password from my other devices.  Even my date of birth is listed incorrectly.  I have tried but can't seem to change this info to match up with my other devices.  Can someone help?

    Thanks
    I have a PC (Windows 7)
    Not sure when mobile me changed, but it was this weekend that my storage etc. lapsed (I have paid to keep storage with icloud). So i assume this has something to with it stopping.

  • How to find Mobile device OS name and version using Flex?

    is there anyway to get device information like OS name and version using flex 4.5.1 or 4.6 SDK. i am developing a project in Flex which needs to identify the end user mobile platform like Android, iOS.. and its version like Android means 2.1,2.2,etc..
    Anyone can help me on this?

    I don't know that there is a proprietary driver. In fact, I'm sure there isn't because I never installed one. I figured there was some code file somewhere that dealt with keyboards. Yes, I have dealt with the developer, they say to tell Apple there is a problem. I have been putting it off and waiting to update since 10.6.3, so the problem is getting a little old. Do I even know there is a problem? I'm not sure what this means. I do know that when I update my operating system past 10.6.2 my keyboard no longer works, and I have to use a stock Apple keyboard to run a time machine reinstall. Why else would I be going through this?

  • No Device Name and Port in UserTracking Report for Ipphones

    Hello,
    I'm having problems with Usertracking to IpPhones. The report provides information of usertracking IPPhone number, CCM Address, MAC, etc.. But the information in "Device Name" and "Port" (which would be connected) do not appear.
    The CCM normally appear in Topology Services, and reports Usertracking EndHosts to operate normally, even in the same switches that the phones are connected.
    Thanks

    What version of Campus Manager are you running ?
    What version of the Call Manager do you have ?
    What kind of IP Phone is this ?
    Post screenshot of the problem re-run data collection and UT .  Ensure that you don't have any filters in place and all subnets are included.
    Do an snmpwalk from the CiscoWorks LMS server to the Cisco Call Manager and see if you can poll those values from the cli and let us know the results using the "ccmPhoneTable"  ?
    Get the ut.log and ani.log with neccesary debugs enabled for phones.

  • Linking PCI device names and drivers

    Hi Everyone,
    I have a PCI device with a class code of "ethernet" so the name
    created in the device tree is eg:
    "/pci@1f,0/pci@1/ethernet@3"
    I can run add_drv and attach my driver to this just fine.
    But what if I had another PCI ethernet card from a different
    vendor but still with a class code of "ethernet"? How would I
    get one driver associated with one device and a second driver
    the other? I've run add_drv with -i 'pciXXXX,X' but the
    name in the device tree is still "ethernet" and therefore this
    is what shows up in /etc/path_to_inst?
    My attach routine will check the vendor id and device id of
    the device and will fail the attach call for the "wrong"
    device. If I then add_drv the second driver for the second
    card, I see entries in /etc/path_to_inst with two drivers for each
    "ethernet" device. Will this cause problems in the long run?
    Thanks!
    Janice

    Hi
    First of all the IEEE 1275 PCI Bus Binding ( which can be found at
    http://playground.sun.com) clearly states that "ethernet" is one
    of the "Generic Names" listed in this manual. See portion of this
    document below.
    a) In collections of OS drivers, avoid the use of generic names for
    the drivers themselves. For example, it is generally unwise to name a
    driver ethernet, since there are many different ethernet adapters with
    different programming models. Using the generic name ethernet to
    identify only one such driver is presumptuous.
    You may go through one of these dicsussions to get more info on setting
    the "compatible property" through the driver.conf file.
    You may already be familiar with most of it,but it clarifies how
    a Sun system differentiates between the onboard hme card and the
    add on SunSwift card. Although they both use the same driver, you
    can create different driver.conf files when the drivers are different
    and use the compatible property field to identify the proper driver.
    To Configure Driver Parameters With PCI-bus Based Systems
    1.Obtain the hardware path name for the device in the device tree.
    Typically this path name and the associated instance number will be
    present in the /etc/path_to_inst file. For example, on a Sun Ultra 30
    UPA/PCI system in which one SunSwift-PCI card is plugged in, the
    /etc/path_to_inst file will have the following two entries (in
    addition to entries for other devices):
    "/pci@1f,4000/network@1,1" 0 "hme"
    "/pci@1f,4000/pci@4/SUNW,hme@0,1" 1 "hme"
    The first entry corresponds to the hme device on the motherboard.
    The second entry corresponds to the hme device on the SunSwift-PCI
    card.
    In the previous lines:
    The first part within the double quotes specifies the hardware node
    name in the device tree.
    The second number is the instance number.
    The last part in double quotes is the driver name.
    In the device path name, the last component after the last / character
    and before the @ character is the device name.
    The path name before the last component is the parent name.
    The comma-separated numbers after the @ character at the end
    represent the device and function numbers, which are together referred
    to as unit-address.
    To identify a PCI device unambiguously in the hme.conf file, use the
    name, parent name, and the unit-address for the device. Refer to the
    pci(4) man page for more information about the PCI device specs.
    In the first line of the previous example:
    Name = network
    Parent = /pci@1f,4000
    Unit-address = 1,1
    In the second line in the previous example:
    Name = SUNW,hme
    Parent = /pci@1f,4000/pci@4
    Unit-address = 0,1
    2.Set the ipg1 and ipg2 parameters for the above two devices in the
    /kernel/drv/hme.conf file:
    name = "SUNW,hme" parent = "/pci@1f,4000" unit-address = "1,1" ipg1=10
    ipg2=5;
    name = "SUNW,hme" parent = "/pci@1f,4000/pci@4" unit-address = "0,1"
    ipg1=20 ipg2=10;
    Note that for the motherboard device, the SUNW,hme device is used even
    though the path name uses the name network. The SUNW,hme device name
    is the value of the compatible property for this device.
    HTH
    Shridhar

  • Mac address and device name

    Hello,
    Not sure how to explain my requirement, but I will try: How can I broadcast my computer name along with the MAC address? In other words, I have a Netgear WNDR3700 router and when I login to see the "attached devices" I only see the assigned IP and MAC for all our MacBooks. The router page shows other devices (printers, shared hard drives) but I want to identify my Mac also by name and not guess/investigate who's MacBook is.
    Maybe the pic can help.
    Thanks!

    Does the device name match up at all with the MAC address? Since you blocked out the MAC address I can't see it but everything after the BRW in the device name looks like a MAC address. Could be the BRW stands for Broardcom something Wireless. Which IIRC Mac's use a Boardcom chip for both Wireless and Wired Ethernet.

  • My husband registered an iphone in his name and have given it to me. I have an ipad registered in my name.  How can I change the iphone to my name and sync both devices.

    My husband registered an iphone in his name and have given it to me. I have an Ipad registered in my name.  How can I change the Iphone from his apple id to my name and sync both devices.

    You can create up to 3 alias addresses but you have to do this on icloud.com from your computer browser.  This article explains how: http://support.apple.com/kb/PH2622.  Also, incoming email to an alias address will go to your current iCloud inbox so it really isn't a separate account; just a different email address for the same account. 
    Each iCloud account only has a single iCloud email account.  If you really want to set up another, you would need to add a secondary iCloud account by going to Settings>Mail,Contacts,Calendars>Add Account>iCloud, then entering a different Apple ID to create the account.  You can then turn on Mail to create the new account.  Mail in secondary accounts, however, is fetch email, not push (which is only supported in the primary account).

  • I do not remember what name and password and it uses the device used and I can not open it is at activation

    I do not remember what name and password and it uses the device used and I can not open it is at activation

    Hey there Haimnus!
    I have two articles that I believe will help you resolve this issue:
    iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/ht5818
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    http://support.apple.com/kb/ts4515
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • I have an iPhone in my name and my wife has an iPad in her name. We have just ordered an iMac and wondered which account we should use to get the best out of all the devices

    I have an iPhone in my name and my wife has an iPad in her name. We have just ordered an iMac and wondered which account we should use to get the best out of all the devices? Can we use both accounts in iCloud?

    Yes you can.  However, it is better to use one person's account most of the time for purchases in the Mac App Store and iTunes since you can share purchases, such as songs, among various devices using the SAME account.  You Cannot share purchases among different accounts, though.   So make one of your accounts the main "purchasing" account so you can share purchases.
    Hope this helps

  • Hi, My problem is I cannot connect my apple tv to my account, the user name and password are definitely correct, I upgraded the software, reset the device, but no chance. What should I do?

    Hi, My problem is I cannot connect my apple tv to my account, the user name and password are definitely correct, I upgraded the software, reset the device, but no chance. What should I do?

    Try this:
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings  (or for network connection issues 'reset network settings').
    (no media or data will be deleted from the device, this will only take a minute).

  • IPhoto won't recognize my iPhone 3Gs.  just says there's an apple iPhone, instead of the device name, and says there are no files to download, but there are 62 items on my phone... what's going on?

    iPhoto won't recognize my iPhone 3Gs.  just says there's an "apple iPhone" instead of the device name, and says there are no files to download, but there are 62 items on my phone... what's going on?  as far as I can tell I have everything up to date and it's always worked in the past.

    Have you already confirmed your Mac as a trusted device?  Try this:
    Lauch iTunes.
    Connect the Phone/iPad
    When it asks you to trust it, say yes.
    Now try again to import.

  • We have three Apple devices. They are all have the same name and are on the same apple ID. We would like to back up our Notes to the cloud. If we each create our own Apple email address will they create two separate Notes flies on the cloud or merge?

    We have three Apple devices 2 IPhone 4's and one Ipad2. Only the Ipad2 is running the latest OS. They are all have the same name and are on the same apple ID. We would like to back up our Notes to the cloud. If we each create our own Apple email address (we don't have one yet) will they create two separate Notes flies on the Cloud or merge them?

    Welcome to the Apple Community.
    Separate Apple ID's will result in separate notes. However when you first start with separate ID's unless one of you erases the notes you have, you will both start off with the same set of notes, but from then onwards each set won't sync with each other.

  • Adding a second household iMac under my owner name and iTunes account?

    We have 2 iMac's in the house. To simplify things, I added all the household iphones and ipads and ipods of the family only to my imac machine, and only under my itunes account.
    So when ever the family wants to add apps, movies, anything in itunes, I use my only imac to do this since all itunes purchaes are only under my one itunes account. All our household-family i-Devices are registered under my itunes account, so that everything I purchased can be easily added or shared between any one of the household i-devices.
    But.... on our second household imac, that iMac was originally registered under one of the kids name. They do not use itunes on their iMac (the second machine).
    If they want music or movies, or apps added to their iphone, we plug that into my imac only so everything can be shared via only my itunes account (remember, all the iphones and ipads are registered to my itunes account only).
    So they never plug their i-Devices into the second household imac, only mine.
    Soooo.... I was wondering if I factory-restore the second household imac, fire it up, and re-register that second Imac under my name and itunes acct, would this make it possible to also share all of my itunes purchases (mirror) onto that second iMac in the house?
    So in that way, they could use the second iMac and itunes mirrored on the second machine (having re-registered to my account) to load itunes stuff onto their i-Devices?
    In other words, if a person had two imacs that they owned, both registered to one owner, then signed into itunes on both machines with only their itunes account info, would that extend the itunes stuff in iMac #1 to iMac #2?
    Like having two or more iPhones under one itunes account (for sharing purchases), does this method also work for two (or more) iMacs as if both were owned by one person.
    I know.... there are probably other ways to share itunes purchases between machines and different accounts, but I hoped to keep it simple. Just have both imacs under my name, my one itunes account. Wouldn't that be fairly easy?
    When we added the other iPads and iPhones under my machine, under my itunes account, that method has worked great for sharing.
    So if someone wants songs. movies, whatever purchased under my itunes account, added to their i-Device, they just bring it to me and tell me what they want as far as music/apps/movies, and I easily add it to their i-Device. No pain, no sweat.
    I just wanted to "also" add that ability to a second imac in the house. And thought to do so, I could just factroy-restore that second imac, and re-register it under my name only, both machine now under one owner. Then fire up itunes and sign into my itunes account on the second machine.
    PS. factory restoring this second iMac is not an issue since about the only thing we would have to save off and transfer are their safari bookmarks.
    Oh.... And since my iMac has been updated to Lion via the app store, could a second machine registered under my name also share that same app store Lion upgrade? Or is Lion one upgrade per machine, per the same owner? Not installable on two machines, under that same owner?
    (Buying Lion a second time is no big beal, however)
    But mainly, my question is with re-registering that second iMac under my name, as with the first imac.
    Or think of it as if I were to buy someones used iMac, and add it to my ownership.
    Can iTunes then be shared or mirrored between two iMac's? One owner?

    I guess my issue then is just with itunes...
    I was looking at the solution the long way around originally, I guess.
    I read somewhere that one could have 5 computers (iMac's in my case) under one itunes account.
    But the i-Devices can only be linked or synced to one computer.
    Sounds fair.
    So... on this second iMac, how can I mirror my itunes media to that second machine?
    The easiest way.
    Can that be done?
    So my itunes media can be accessed on both iMac's?
    That second iMac can be apple-registered to the other family member, and still can be setup to acces "my" itunes media?
    BTW.... I do have my itunes media-purchases on an external hard drive already. Always have done it that way.
    I was hoping I could "share" that itunes media drive between the two machines. My itunes account.
    So no matter what computer a device (iphone) is synced to, the same "itunes" media will be available for syncing,
    mirrored, between the two computers?

Maybe you are looking for