Access to CAN-Bus

John Schroeder jschroed at
Mon Jun 9 09:27:16 CEST 2008

Isn't a CAN bus accessed via the COM ports (serial or parallel)?  If this is
the case, then you should use pySerial and/or pyParallel but you would have
to define the protocol yourself.  (I've used pyserial to implement a LAPB

On Mon, Jun 9, 2008 at 12:15 AM, Diez B. Roggisch <deets at>

> Thin Myrna schrieb:
>> I'd like to access some drive hardware via CAN bus from Python under Linux
>> (sending rec'ing PDOs). Googling around I couldn't find a Python package,
>> but people who said that they are doing this, though. I guess they are
>> using their home brewn software.
>> Any pointer to -  such software (anyone willing to share his experience?)
>> -  how to write such software?
>> Under Windows, I guess, I could use some COM or ctypes functionality to
>> access the hardware vendor's hardware. What if I wanted to access such
>> hardware from Linux? Is there a package that allows that in a vendor (who
>> doesn't support Linux) independent way?
> I've never heard of a OS-level CAN-bus-integration. So I doubt that there
> is any vendor-independent way.
> Doesn't your CAN-bus-interface have some library or driver support?
> Diez
> --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list