On 29/01/16 15:02, Jan Kandziora wrote: > Am 29.01.2016 um 08:28 schrieb Johan Ström: > > >> As for the DS9481, it seems to be based on the Prolific PL-2303HXD chip, >> a generic adapter chip similar to the FTDI. Behind that, it emulates a >> DS2480B (owfs source code doesn't even mention this adapter actually). >> I don't see any specific VID/PID info in the Maxim datasheet, >> > That information seems outdated. The adaptor board which came with my > DS28E17 eval kit says DS9481P-300 and it is based on a MAXQ1010 µC. Not > much else in there, the schematics from their datasheet don't match the > circuit at all. > > So, don't check for a PL2303 in there but for 0b6a:5a03. The driver is > cdc_acm rather that pl2303. It works with owfs as a DS2480 on /dev/ttyACMx. > I've now updated the probe to output the following:
vid=0x067B, pid=0x2303 "This device is identified as a generic Prolific USB adapter. It MAY be a DS9481 adapter. If it is, you need to use the DS2480B device, and point it to the appropriate /dev/ttyUSBx device." vid =0x0B6A, pid = 0x5A03 "This device is identified as a DS18E17 / DS9481P-300 USB adapter. To use this, you need to use the DS2480B device, and point it to the appropriate /dev/ttyACMx device" both have instructions to use --device Also, the DS2490/DS9490 detection now says "This device is identified as a DS2490 / DS9490 USB adapter." Have I got everything right now? -- I've had another idea. We are asking user to unplug device to get a baseline, and then reconnect the device and scan, to discover the one new device. We could scan /dev/ for new tty/cua/acm devices in the same way, and at least present the user with a suggestion (and some warnings that it is unstable). Of course this will not work for the -a mode (list all), but it is at least useful in some cases. What do you think? Johan ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers