Just where is USBDEVFS_DEVICES_NEW?

Regards,

Gary Anson
Senior Software Engineer


From: Tim Noell [mailto:tno...@lexmark.com]
Sent: Wednesday, May 08, 2013 10:48 AM
To: Klaus Reimer
Cc: javax-usb-devel@lists.sourceforge.net
Subject: Re: [javax-usb-devel] javax-usb-ri-linux vs Linux kernel >= 3.5? No 
usbfs!!!

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<mailto: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<mailto: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<mailto: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/). It is a pretty young project implementing 
javax.usb and using libusb 1.0 as backend.

--
Bye, K <http://www.ailis.de/~k/<http://www.ailis.de/%7Ek/>>
[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.


CONFIDENTIALITY NOTICE. This message is for the sole use of the intended 
recipient(s) and may contain confidential and/or privileged information. Any 
unauthorized review, use, disclosure, or distribution is prohibited. If you are 
not the intended recipient, please destroy all copies of the original message, 
including any and all attachments, and notify the sender immediately.

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