Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer > Re: java access...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 983 of 1040
Post > Topic >>

Re: java access to USB MAC OS X

by "Steve W. Jackson" <stevewjackson@[EMAIL PROTECTED] > Jan 2, 2008 at 11:32 AM

In article 
<3d06056d-fa64-4aaa-ba89-4cfd49563a55@[EMAIL PROTECTED]
>,
 Gadgetman <stewart.gadget@[EMAIL PROTECTED]
> wrote:

> I have a simple requirement at this point an Apple MAC OS X - that is
> to detect the presence or lack of a USB device from java.
> 
> I have read about JSR 80, javax.usb, jUSB and all indicate not
> available in Mac OS X.
> I also know that in linux, I can do a "cat /proc/bus/usb/devices" and
> get a list of devices connected to the machine.
> Now Mac OS X is "linux" - yet there doesn't appear to be /proc/dev/...
> etc.
> 
> Any suggestions on how to get the presence or lack of a USB device
> from java on Mac OS X??

And where, exactly, did you hear that Mac OS X is "linux" again?

Mac OS X is based on BSD.  You'll also find that some of the other 
operating systems with a Un*x basis also don't use /proc.  As I recall 
from my very earliest days with AT&T System V Unix, it didn't.  I think 
the first one I encountered that did was Sun's Solaris.
-- 
Steve W. Jackson
Montgomery, Alabama
 




 4 Posts in Topic:
Re: java access to USB MAC OS X
"Steve W. Jackson&qu  2008-01-02 11:32:47 
Re: java access to USB MAC OS X
Martin Gregorie <marti  2008-01-02 20:47:57 
Re: java access to USB MAC OS X
Patricia Shanahan <pat  2008-01-02 13:07:35 
Re: java access to USB MAC OS X
Martin Gregorie <marti  2008-01-03 14:49:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 3:11:21 CST 2008.