EasyManua.ls Logo

PicoQuant MultiHarp 150 - Using the Software under Linux

PicoQuant MultiHarp 150
94 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PicoQuantGmbH MultiHarpSoftwareV.3.1.0.0
8.4. Using the Software under Linux
TheMultiHarpsoftwarecanalsobeusedunderLinux(x86platformonly).ThisrequiresthatWineisinstalled
(seehttps://www.winehq.org).Youcanruntheregularsoftwaresetupasexplainedinsection3.4.Insteadofin-
stallingadevicedriver,runningunderLinuxwithWinerequiresthatyouhaveLibusb1.0installed(seehttps://
libusb.info/).Wehavesuccessfullytestedthreeconfigurations:
-Wine4.0andLibusb1.0.21onLinuxMint19.3(64bit).
-Wine5.0andLibusb1.0.23onUbuntu20.04LTS(64bit).
-Wine6.0andLibusb1.0.23onUbuntu20.04LTS(64bit).
Inallcasesweusedthepackagewinehq-stablewhichistypicallymorematurethantheversionprovidedby
theLinuxdistribution.
Libusb Access Permissions
Fordeviceaccessthroughlibusb,yourkernelneedssupportfortheUSBfilesystem(usbfs)andthatfilesystem
mustbemounted.Thisisdoneautomatically,if/etc/fstabcontainsalinelikethis:
usbfs/proc/bus/usbusbfsdefaults00
ThisshouldroutinelybethecaseifyouinstalledanyofthemainstreamLinuxdistributions.
Thepermissionsforthedevicefilesusedbylibusbmustbeadjustedforuseraccess.Otherwiseonlyrootcan
usethedevice(s).Themostappropriatewayofsettingthesuitablepermissionsisbymeansofhotplugging
scriptsorudev.WhichmechanismyoucanusedependsontheLinuxdistributionyouhave.Mostrecent
distributionsuseudev.
Udev
Forautomatedsettingofthedevicefilepermissionswithudevyouhavetoaddanentrytothesetofrulesfiles
thatarecontainedin/etc/udev/rules.d.Udevprocessesthesefilesinalphabeticalorder.Thedefaultfile
isusuallycalled50-udev.rules.Don'tchangethisfileasitcouldbeoverwrittenwhenyouupgradeudev.
Instead,putyourcustomrulefortheMultiHarpinaseparatefile.Thecontentsofthisfileshouldbe:
ATTR{idVendor}=="0d0e",ATTR{idProduct}=="0013",MODE="666"
AsuitablerulesfileMultiHarp.rulesisprovidedinthefolderLinux/udevonthedistributionmedia.You
cansimplycopyittothe/etc/udev/rules.dfolder.Theinstallscriptinthesamedistributionmediafolder
doesjustthis.Notethatthenameoftherulesfileisimportant.Eachtimeadeviceisdetectedbytheudev
system, the files are read in alphabetical order, line by line, until a match is found. Note that different
distributionsmayusedifferentrulefilenamesforvariouscategories.Forinstance,Ubuntuorganizestherules
intofurtherfiles: 20-names.rules,40-permissions.rules,and 60-symlinks.rules.InFedorathey
arenotseparatedbythosecategories,asyoucanseebystudying50-udev.rules.Insteadofeditingthe
existingfiles,itisthereforeusuallyrecommendedtoputallofyourmodificationsinaseparatefilelike 10-
udev.rules or 10-local.rules.Thelownumberatthebeginningofthefilenameensuresitwillbe
processedbeforethedefaultfile.However,laterrulesthataremoregeneral(applyingtoawholeclassof
devices)maylateroverridethedesiredacecssrights.ThisisthecaseforUSBdeviceshandledthroughLibusb.
ItisthereforeimportantthatyouusearulesfilefortheMultiHarpthatgetsevaluatedafterthegeneralcase.The
defaultnamingMultiHarp.rulesmostlikelyensuresthisbutifyouseeproblemsyoumaywanttocheck.
Notethattherearedifferentudevimplementationswithdifferentbehavior.OmmostrecentLinuxdistributionsit
issufficienttojustre-plugthedeviceafterinstallingtherulesfile.Onsomedistributionsyoumustrebootto
activatechanges,onothersyoumustreloadtherulesand/orrestartudev.
Wine Limitations
RunningthesoftwareunderWineisanexperimentalfeaturewithlimitedsupport.Aknownissueisthecurrent
implementationofWine'sviewerforchmhelpfiles.Youmayobservefailureorsomeglitcheswhenusingthe
onlinehelpfacility. Another issue is that underWine theWhiteRabbitconfiguration dialogdoes not work
properly.YoucanstilluseWhiteRabbitifyoudotheconfigurationbeforehandunderWindows.
Page93

Table of Contents