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 1 Topic 994 of 1025
Post > Topic >>

Re: java access to USB MAC OS X

by steve <steve@[EMAIL PROTECTED] > Feb 12, 2008 at 09:32 PM

On Tue, 1 Jan 2008 00:02:43 +0800, Gadgetman wrote
(in article 
<3d06056d-fa64-4aaa-ba89-4cfd49563a55@[EMAIL PROTECTED]
>):

> 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??
> 


try this

http://www.serialio.com/sup****t/jspCommAPI.php

it gives serial via usb, which should allow a detection.

But i have also seen a usb library available for osx, but not the crap
listed 
above.
 




 1 Posts in Topic:
Re: java access to USB MAC OS X
steve <steve@[EMAIL PR  2008-02-12 21:32:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sun Jul 6 1:30:14 CDT 2008.