libftdi Archives

Subject: Re: CANUSB at Synology Diskstation DS209

From: David Wiberg <dwiberg@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 26 Sep 2011 18:29:21 +0200
Hello,


2011/9/26 Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>:
>>>>>> "Bernd" == Bernd Rehlinger <breh@xxxxxx> writes:
>
>    Bernd> Hello !  I try to get the CANUSB-Interface (www.canusb.com) work
>    Bernd> on my Synology Diskstation (DS209)
>
>    Bernd> I can't run the original driver on this machine, because there is
>    Bernd> no support for ARM-Processors.
>
>    Bernd> On ma Diskstation works an Marvell Kirkwood ARMv5TE compliant
>    Bernd> (FeroceonR family) Processor with Linux Kernel Version 2.6.32
>
>
>
>    Bernd> My idea is to install the libftdi, to read the data out of my
>    Bernd> interface.
>
> Does the device include an FTDI chip?

Yes

>
>
>    Bernd> Unfortunately I don't know how to do this.
>
>  libftdi is for writing programs, not for emulation.
>
>
>    Bernd> Is anybody able to help me solve this problem ?
>
> Is the device a SLCAN (serial line CAN) device. Is there perhaps a socketcan
> driver already in the kernel. The kernel config indicates so:
> config CAN_SLCAN
>        tristate "Serial / USB serial CAN Adaptors (slcan)"
>        depends on CAN
>        default N
>        ---help---
>          CAN driver for several 'low cost' CAN interfaces that are attached
>          via serial lines or via USB-to-serial adapters using the LAWICEL
>          ASCII protocol. The driver implements the tty linediscipline N_SLCAN.
>
>          As only the sending and receiving of CAN frames is implemented, this
>          driver should work with the (serial/USB) CAN hardware from:
>          www.canusb.com / www.can232.com / www.mictronics.de / www.canhack.de
>
> Otherwise a lot of reverse engineerung effort is needed.

There is a manual which outlines the protocol used but I agree that
using Socket-CAN is probably much easier.

>
> Bye
>
> --
> Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
> --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
>
>

/ David

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread