All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rt_dev_send() does not timeout
@ 2010-06-21 14:52 Charlton, John
  2010-06-21 17:09 ` Wolfgang Grandegger
  0 siblings, 1 reply; 3+ messages in thread
From: Charlton, John @ 2010-06-21 14:52 UTC (permalink / raw)
  To: 'xenomai@xenomai.org'

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

We are experiencing a problem with the user mode CanFestival library when it calls rt_dev_send() when the CAN bus is disconnected.  In that case the rtcan driver info is:

root@domain.hid:~# cat /proc/rtcan/rtcan0/info
Device     rtcan0
Controller SJA1000
Board      PEAK-PCI
Clock-Hz   8000000
Baudrate   1000000
Bit-time   brp=1 prop_seg=0 phase_seg1=5 phase_seg2=2 sjw=1 sam=0
Ctrl-Mode
State      passive
TX-Counter 1
RX-Counter 0
Errors     2
Refcount   3
root@domain.hid:~#

The rt_dev_send() function hangs and does not timeout or return an error and never returns. We are using Xenomai 2.5.2 with linux 2.6.32.7.

John


[-- Attachment #2: Type: text/html, Size: 2058 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-21 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21 14:52 [Xenomai-help] rt_dev_send() does not timeout Charlton, John
2010-06-21 17:09 ` Wolfgang Grandegger
2010-06-21 20:04   ` Charlton, John

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.