Question

Help needed in driver development in Linux for Macos

I am working in driver development in Linux USB modules. I have written a driver for USB and it is working as CD ROM in a Windows machine.

I made the first partiton as fat32

modprobe g_hidmass file=/dev/mmcblk0p1 cdrom=1 stall=0 removable=1

This works fine in Windows.

I made first partiton as HFS

modprobe g_hidmass file=/dev/mmcblk0p1 cdrom=1 stall=0 removable=1

But the same thing I applied with HFS in OS X I'm getting an error like this:

The disk you inserted was not readable by this computer

In diskutil it is shown as a CD-rom but not reading the file system.

Please help me how can I overcome this error... Your ideas are really helpful. Thanks in advance

Discussion is locked
Follow
Reply to: Help needed in driver development in Linux for Macos
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: Help needed in driver development in Linux for Macos
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments
- Collapse -
Answer
I wonder if HFS is the same as Mac OS X Extended (Journaled)

I do know that Apple had HFS & HFS+ before they moved to the current one.

Just checked with Google and HFS is not the same as HFS+ but HFS+ is the same as Mac OS X Extended.

You might want to try a different format and see what the result is

P

- Collapse -
tried with HFS, HFS+ and Fat32

I tried these formats HFS , HFS+ and Fat32
The file system was not detecting by Mac.
"Disk utility info/Volumes/Disk1"
I checked this

filesystem = nofilesystem
mount=nomount

I made the first partiton as fat32

modprobe g_hidmass file=/dev/mmcblk0p1 cdrom=1 stall=0 removable=1

getting the same error message as

"The disk you inserted was not readable by this computer"


Am I missing anything ?

- Collapse -
Answer
I wonder if there is a reason for HFS at all.

I exchange memory sticks formatted in Fat32 all the time. Maybe nothing is needed here except to use Fat32?

CNET Forums