That is correct, we receive only pre-programmed CAN ids and "all" or "range"
implementation is not there in the PRU firmware.
Will check the sysfs option and update.
--------------------------------------------------
From: "Wolfgang Grandegger" <redacted>
Sent: Monday, February 14, 2011 12:53 PM
To: "Subhasish Ghosh" <redacted>
Cc: "Kurt Van Dijck" <redacted>;
[off-list ref];
[off-list ref]; [off-list ref];
[off-list ref]; [off-list ref]; "open list:CAN NETWORK
DRIVERS" [off-list ref]; "open list:CAN NETWORK DRIVERS"
[off-list ref]; "open list" [off-list ref]
Subject: Re: [PATCH v2 09/13] can: pruss CAN driver.
On 02/14/2011 05:54 AM, Subhasish Ghosh wrote:
quoted
Hello,
I had a discussion regarding this with Wolfgang:
http://www.mail-archive.com/socketcan-users@lists.berlios.de/msg00324.html
The problem here is that we must configure the mailbox ID's and this
support is not available in the socketCan sub-system.
To understand you correctly. A mailbox (or message object) can *only*
receive messages with the pre-programmed CAN id? Isn't there a chance to
receive all or a range of CAN ids? That's a very unusual piece of
hardware. Anyway, using kernel configuration parameters to define the
CAN id's would be the less flexible method. The user will not have a
chance to change them at run-time. Using SysFS files would already be
much better.
Wolfgang.