Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

raw device file in /dev for USB ports?



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)

I looked through some developer pages,
but found only references to the device
patch in the IOUSB plane or the IOService
plane. For my printer those would be

IOService:/MacRISC2PE/pci@f2000000/AppleMacRiscPCI/usb@1B/AppleUSBOHCI/USB Printer@1b100000

IOUSB:/OHCI Root Hub Simulation@1B/USB Printer@1b100000

Perhaps it is possible to use some of
that information, or from the IORegistry,
in order to create the special file?

Curious,

Hanno

_______________________________________________
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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.