Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
We can't seriously be expected to teach you that. That's a BIG project is expect (although you've not described anything about it) we could never ever teach you that.
You can't write Linux device drivers for MacOS X, since MacOS X does not use a Linux kernel.
If that is not what you want please be more specific in your question. What is it exactly that you want to achieve?
Sidenote: Thread titles like "Help me!! Please !!" are not a good thing and may drive people away from your thread. Please give your thread more appropriate titles in the future, this way you may get better results for your questions.
Since it is not really clear to what you really want to achieve I temporarily rename this thread to "Need help writing Linux/MacOS X USB driver" and move it to the main hardware section, since this is not a Embedded question.
If this is not what you want please send me an email or ask for a change here.
I am working in driver development in linux USB modules.
I have written driver for usb and it is working as cd rom in windows machine
1)I made first partation as fat32
"modprobe g_hidmass file=/dev/mmcblk0p1 cdrom=1 stall=0 removable=1"
this works fine in windows
2)I made first partition as hfs partation
"modprobe g_hidmass file=/dev/mmcblk0p1 cdrom=1 stall=0 removable=1"
but same thing i applied with hfs partation in MAC it is getting error
like this "The disk you inserted was not readable by this computer"
in diskutil it is shown as CD-rom but not reading the file system.
frame like this
Please help me how can I overcome this error...
Last edited by applejackell; 09-10-2012 at 04:17 PM.
Reason: to add clear description
If I understand you correctly you want to write a driver for MacOS X for a USB drive (harddisk, pendrive, CD/DVD-drive?), so that the device acts as a CDROM drive. Since this is not a Linux question I would recommend to ask this question in an Apple forum, but I will move this to the programming section and change the title accordingly.
May be some of our members are familiar with MacOS X kernel coding.
I want to write driver in Embedded Linux in Freescale IMX Series...
Though it is for MacOS X but need to write driver in Embedded Linux only..Hope you understand my question
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.