On Oct 13, 2005, at 03:49 , Johannes Hoffstadt wrote:
Hi,
applications like gutenprint (escputil)
use a raw device file to access e. g.
USB printers. On Linux, this would be
something like /dev/usb/lp0.
Under Mac OS X (10.3 at least) there are
no such files in the /dev folder.
Is there a way to create such files
with mknod? (The man page refers to a
/dev/MAKEDEV script which is not present
on my system)
This may get better treatment on the USB mailing list (cf <http://
lists.apple.com>); that's where the USB developers tend to congregate.
FWIW, in order for MAKEDEV to help, the driver has to obey a number
of rules; typically, in Darwin/Mac OS X, an IOKit device handler
needs a "BSD shim" to translate from the Unix '/dev/' semantics to
those used by IOKit. If the USB support is pure IOKit, it has no
hooks back to the '/dev/' interfaces, so there may be no way to just
"MAKEDEV" the problem away.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
Experience is what you get
when you don't get what you want.
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden