Re: [Mono-dev] Cross platform USB programming
The error is clear, LibUsbDotNet.UsbGlobals.get_HasWinUsbDriver , so the guy wrapped only native WIN32 code, which cannot work on other platform like Linux and so on, i already try libusbdonet and never have it working , i asked to the author (see sourceforge project forum) to have it working under Linux, so ICsharp is obsolete , why ?!!, they invented a new USB protocol :-) Hoho, i post this remark really long time ago and it seems the author disable the forum 2009/7/16 Napcaia edernava...@napcaia.com: ICSharp usb lib is obsolete, all the work it's been done in LibUsbDotNet, you can download it at http://sourceforge.net/projects/libusbdotnet/ and the example code is at http://libusbdotnet.sourceforge.net/V2/Index.html I have try the example code but it doesn't work, I have the following message Finding your device.. Unhandled Exception: System.ArgumentException: An empty file name is not valid. at System.IO.FileSystemInfo.CheckPath (System.String path) [0x0] at System.IO.DirectoryInfo..ctor (System.String path, Boolean simpleOriginalPath) [0x0] at System.IO.DirectoryInfo..ctor (System.String path) [0x0] at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:.ctor (string) at LibUsbDotNet.UsbGlobals.get_HasWinUsbDriver () [0x0] at LibUsbDotNet.UsbGlobals.get_AllDevices () [0x0] at Examples.GettingStarted.Main (System.String[] args) [0xa] in /home/eder/Projects/Prueba/Prueba/Main.cs:23 I have a post with that, if i get the solution i tell you. Greetings from Colombia. -- View this message in context: http://www.nabble.com/Cross-platform-USB-programming-tp24515653p24521064.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Cordially. Small Eric Quotations of the days: --- I have no special talents. I am only passionately curious ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Cross platform USB programming
ICSharp usb lib is obsolete, all the work it's been done in LibUsbDotNet, you can download it at http://sourceforge.net/projects/libusbdotnet/ and the example code is at http://libusbdotnet.sourceforge.net/V2/Index.html I have try the example code but it doesn't work, I have the following message Finding your device.. Unhandled Exception: System.ArgumentException: An empty file name is not valid. at System.IO.FileSystemInfo.CheckPath (System.String path) [0x0] at System.IO.DirectoryInfo..ctor (System.String path, Boolean simpleOriginalPath) [0x0] at System.IO.DirectoryInfo..ctor (System.String path) [0x0] at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:.ctor (string) at LibUsbDotNet.UsbGlobals.get_HasWinUsbDriver () [0x0] at LibUsbDotNet.UsbGlobals.get_AllDevices () [0x0] at Examples.GettingStarted.Main (System.String[] args) [0xa] in /home/eder/Projects/Prueba/Prueba/Main.cs:23 I have a post with that, if i get the solution i tell you. Greetings from Colombia. -- View this message in context: http://www.nabble.com/Cross-platform-USB-programming-tp24515653p24521064.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Cross platform USB programming
Hi, I have a USB device here which is effectively a voting system (it's an EzClickPro job). The software supplied does the job to a fashion, but it's annoying that the likes of Linux and MacOS aren't supported, only Win32 boxes. Add to this that the Win32 box needs admin rights to install the software and you can see what a pain things are! Are there any examples available which demonstrates how to do this in C#? TTFN Paul -- View this message in context: http://www.nabble.com/Cross-platform-USB-programming-tp24515653p24515653.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Cross platform USB programming
Start with ICSharp usb lib 2009/7/16 PFJ pjohns...@uclan.ac.uk: Hi, I have a USB device here which is effectively a voting system (it's an EzClickPro job). The software supplied does the job to a fashion, but it's annoying that the likes of Linux and MacOS aren't supported, only Win32 boxes. Add to this that the Win32 box needs admin rights to install the software and you can see what a pain things are! Are there any examples available which demonstrates how to do this in C#? TTFN Paul -- View this message in context: http://www.nabble.com/Cross-platform-USB-programming-tp24515653p24515653.html Sent from the Mono - Dev mailing list archive at Nabble.com. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list -- Cordially. Small Eric Quotations of the days: --- If one day one reproaches you that your work is not a work of professional, say you that: Amateurs built the arch of Noah, and professionals the Titanic. --- Few people are done for independence, it is the privilege of the powerful ones. --- No key was wounded during the drafting of this message. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list