PicoQuantGmbH MultiHarpSoftwareV.3.1.0.0
8.4. Using the Software under Linux
TheMultiHarpsoftwarecanalsobeusedunderLinux(x86platformonly).ThisrequiresthatWineisinstalled
(seehttps://www.winehq.org).Youcanruntheregularsoftwaresetupasexplainedinsection3.4.Insteadofin-
stallingadevicedriver,runningunderLinuxwithWinerequiresthatyouhaveLibusb1.0installed(seehttps://
libusb.info/).Wehavesuccessfullytestedthreeconfigurations:
-Wine4.0andLibusb1.0.21onLinuxMint19.3(64bit).
-Wine5.0andLibusb1.0.23onUbuntu20.04LTS(64bit).
-Wine6.0andLibusb1.0.23onUbuntu20.04LTS(64bit).
Inallcasesweusedthepackagewinehq-stablewhichistypicallymorematurethantheversionprovidedby
theLinuxdistribution.
Libusb Access Permissions
Fordeviceaccessthroughlibusb,yourkernelneedssupportfortheUSBfilesystem(usbfs)andthatfilesystem
mustbemounted.Thisisdoneautomatically,if/etc/fstabcontainsalinelikethis:
usbfs/proc/bus/usbusbfsdefaults00
ThisshouldroutinelybethecaseifyouinstalledanyofthemainstreamLinuxdistributions.
Thepermissionsforthedevicefilesusedbylibusbmustbeadjustedforuseraccess.Otherwiseonlyrootcan
usethedevice(s).Themostappropriatewayofsettingthesuitablepermissionsisbymeansofhotplugging
scriptsorudev.WhichmechanismyoucanusedependsontheLinuxdistributionyouhave.Mostrecent
distributionsuseudev.
Udev
Forautomatedsettingofthedevicefilepermissionswithudevyouhavetoaddanentrytothesetofrulesfiles
thatarecontainedin/etc/udev/rules.d.Udevprocessesthesefilesinalphabeticalorder.Thedefaultfile
isusuallycalled50-udev.rules.Don'tchangethisfileasitcouldbeoverwrittenwhenyouupgradeudev.
Instead,putyourcustomrulefortheMultiHarpinaseparatefile.Thecontentsofthisfileshouldbe:
ATTR{idVendor}=="0d0e",ATTR{idProduct}=="0013",MODE="666"
AsuitablerulesfileMultiHarp.rulesisprovidedinthefolderLinux/udevonthedistributionmedia.You
cansimplycopyittothe/etc/udev/rules.dfolder.Theinstallscriptinthesamedistributionmediafolder
doesjustthis.Notethatthenameoftherulesfileisimportant.Eachtimeadeviceisdetectedbytheudev
system, the files are read in alphabetical order, line by line, until a match is found. Note that different
distributionsmayusedifferentrulefilenamesforvariouscategories.Forinstance,Ubuntuorganizestherules
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)maylateroverridethedesiredacecssrights.ThisisthecaseforUSBdeviceshandledthroughLibusb.
ItisthereforeimportantthatyouusearulesfilefortheMultiHarpthatgetsevaluatedafterthegeneralcase.The
defaultnamingMultiHarp.rulesmostlikelyensuresthisbutifyouseeproblemsyoumaywanttocheck.
Notethattherearedifferentudevimplementationswithdifferentbehavior.OmmostrecentLinuxdistributionsit
issufficienttojustre-plugthedeviceafterinstallingtherulesfile.Onsomedistributionsyoumustrebootto
activatechanges,onothersyoumustreloadtherulesand/orrestartudev.
Wine Limitations
RunningthesoftwareunderWineisanexperimentalfeaturewithlimitedsupport.Aknownissueisthecurrent
implementationofWine'sviewerforchmhelpfiles.Youmayobservefailureorsomeglitcheswhenusingthe
onlinehelpfacility. Another issue is that underWine theWhiteRabbitconfiguration dialogdoes not work
properly.YoucanstilluseWhiteRabbitifyoudotheconfigurationbeforehandunderWindows.
Page93