Re: [micro-manager-general] CoolLed PrecisExcite in Linux
Status: Beta
Brought to you by:
nicost
From: Gordon S. <Gor...@ci...> - 2009-08-25 09:32:23
|
Hi Guys, > -----Original Message----- > From: Nico Stuurman [mailto:ni...@cm...] > Sent: 24 August 2009 21:04 > To: Micro-Manager General > Subject: Re: [micro-manager-general] CoolLed PrecisExcite in Linux > > Hi Martin, > > > When I try to add the precisExcite DeviceAdapter to an existing > > setup I can only choose /dev/ttyS0 as Port. However that is where > > the Microscope Body is connected. > > > So I guess I need some Linux kernel module that will expose the > > connected USB device as a serial port. I tried 'modprobe usbserial'. > > Indeed. From your lsusb output, it appears that this is a CDC > device. Yes, it's a CDC/ACM device "virtual serial port". > I do think that the usbserial driver should be able to talk > to this device (although there might be a requirement for a cdc_atm > driver). However, MicroManager only looks for serial ports with a > name starting with "ttyS" or ttyUSB". It is possible that this port > appears under another name on your system. If you can figure > out what > that name is, then we can add it to the code recognizing valid ports > in the SerialManagerUnix adapter. On only one of the few occasions I've tried a precisExcite on Linux was I unable to find what device name one should use. I think it may well very from Linux system to Linux system. I've seen: /dev/usb/ttyACM0 etc. <-- seems to be the 'preferred' name /dev/ttyUSB0 etc. /dev/usb/acm/0 etc. /dev/acm/ttyACM0 etc. /dev/usb/acm0 etc. /dev/ttyUSB0 etc. /dev/ttyGS0 etc. ("Gadget Serial Driver" apparently, or "Generic"?) The appropriate module appears to be cdc-acm.o or cdc-acm.ko, though I've also seen ACM.o mentioned. Huge fan though I am of Linux, this level of confusion is a maintenance nightmare and does it no favours. I'm afraid that I walked from this particular issue. If I get some time, I _will_ walk back again. > It might also be worth to ask PrecisExcite about connections > to their device under Linux. If it helps, as an alternative interface, TCP/IP works fine and I guess MM will interface that way. Kind regards, Gordon. -- Gordon Scott Design Engineering Custom Interconnect Ltd. http://www.cil-uk.co.uk CoolLED http://www.coolled.com Phone +44-1264-321321 CIL House, Charlton Road, Andover SP10 3JL, UK This message has been scanned by MailController - www.MailController.altohiway.com This message and any attachments are strictly confidential and intended solely for the addressee. Any unauthorized use or disclosure, in whole or in part, is prohibited. E-mails are subject to possible alteration. Custom Interconnect Ltd and the sender decline any liability if this message and/or any attachments have been altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender immediately. Custom Interconnect Limited is a limited company registered in England and Wales. Registered number: 2026753. Registered office: CIL House 48 Charlton road Andover, Hampshire United Kingdom SP103JL. |