Changing USBDEVFS_DEVICES_NEW to /sys/kernel/debug/usb/devices allows
javax-usb-ri-linux to work for me.  Hooray!

Also, thanks for the suggestions ...
FYI,
T.



On Wed, May 8, 2013 at 11:41 AM, Tim Noell <tno...@lexmark.com> wrote:

> I found that in our deployment of the  3.5 kernel, we mount the debugfs
> under /sys/kernel/debug, which has the devices file under usb/devices.  So,
> I might just be able to change
> #define USBDEVFS_DEVICES_NEW "/sys/kernel/debug/usb/devices"
> and it may "just work".
> Gonna give that a try - will report back to the list with my findings.
>
> I don't think assuming debugfs being mounted under /sys/kernel/debug  is a
> good assumption for the javax-usb-ri-linux project, but it may save my
> bacon. (Arguably it is no worse than assuming other paths that it has
> hardcoded in the past.  And then just document that debugfs needs to be
> mounted there.   Long term, udev is probably the way to go ... (?) )
>
> FWIW,
> T.
>
>
>
> On Tue, May 7, 2013 at 3:35 PM, Tim Noell <tno...@lexmark.com> wrote:
>
>> Thanks for that link!  Unfortunately, they require java 6 and I am stuck
>> on Java 1.4 for other reasons ...
>> (sigh),
>> T.
>>
>>
>> On Tue, May 7, 2013 at 3:01 PM, Klaus Reimer <k...@ailis.de> wrote:
>>
>>> On 07.05.2013 20:32, Tim Noell wrote:
>>> > PS:  I have already found this:
>>> > http://trygvis.dyndns.org/~**trygvis/wiki/Implement_javax.**
>>> usb_with_libusb<http://trygvis.dyndns.org/%7Etrygvis/wiki/Implement_javax.usb_with_libusb>
>>> > which looks interesting, but I don't know how baked it is.
>>> > Still exploring options ...
>>>
>>> If you need another option then you may want to check out usb4java (
>>> http://kayahr.github.io/**usb4java/ <http://kayahr.github.io/usb4java/>).
>>> It is a pretty young project implementing javax.usb and using libusb 1.0 as
>>> backend.
>>>
>>> --
>>> Bye, K <http://www.ailis.de/~k/>
>>> [A735 47EC D87B 1F15 C1E9 53D3 AA03 6173 A723 E391]
>>>
>>
>>
>>
>> --
>> // Only dead fish go with the flow.
>>
>
>
>
> --
> // Only dead fish go with the flow.
>



-- 
// Only dead fish go with the flow.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
javax-usb-devel mailing list
javax-usb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to