using vstusb to talk to a ocean optics usb spectrometer (its like a camera)
Hello,
We're trying to use include/linux/usb/vstusb.h from the linux kernel (we're assuming its with the regular kernel https://git.kernel.org/?p=linux/kern...0c8f035737a5c3 ) on an ARM processor. We currently have a dev machine running Ubuntu however when we try to talk with the software all the usb devices disappear from a /sbin/lsusb Anyway, my question is two pronged .. 1. Are we correct that the driver is part of the distributed kernel? 2. How do we talk over IOCTL or regular read()/write() methods to a USB device? (using vstusb) We're hoping that we are not going to have to write a driver by hand as we struggling to figure out how to talk to USB devices easily we have also looked into Code:
http://qce-ga.sourceforge.net/ hope all is well (and Thank You) |
Quote:
|
Did you find a solution -- I would be able to provide one based on libusb
Hi,
I have drivers for spectrometers of two companies (Avantes and Hamamatsu) and a python programme which adresses OOptics spectrometers via libusb. If you are interested plese contact me. I'm also working (in the (very) long run) to write a kernel driver for the OOptics spectrometers. USB2000 should work, USB 4000 are working. If you have a 'Red Tide' then this 'driver' will not work ... Carsten |
Carsten, how about your progress with Ocean Optics driver or libusb code?
It would be very nice if you share it :) |
Quote:
Sourceforge site While the documentation is not extremely excessive at the moment (nearer to nonexistant) the python modules are more or less well commented. Please note that I do not have a kernel module for the OceanOptics spectrometers (due to lazyness and well I was annoyed by their Win-Software some time ago so I circumvented this company as long as I could) so there is only libusb access. In exchange the Avantes libusb module did not work at all so there is only the kernel module. If you go for the Hamamtsu spectrometer you actually have the choice. The Hamamatsu python module in combination with the kernel module was tested very much as we had a scientific instrument running on it for some time. I am sure that there will be questions about the usage so I would ask you to use the sourceforge wiki thing to ask the questions. Carsten |
All times are GMT -5. The time now is 06:17 AM. |