Search found 8 matches

by thorpey01
Fri 1. Apr 2016, 16:38
Forum: Linux
Topic: Super Large /var/log files
Replies: 6
Views: 9710

Re: Super Large /var/log files

I've done a bit of research on this .. it could be a bug with Ubuntu.. possible solutions are to turn off ACPI in the BIOS.. I can't beleive Ubuntu could just let these log files grow to such large files as 50 GB .. and fill up your hardrive so that your PC is inoperable..
by thorpey01
Thu 31. Mar 2016, 17:15
Forum: Linux
Topic: Super Large /var/log files
Replies: 6
Views: 9710

Re: Super Large /var/log files

*------------- PEAK-System CAN interfaces (www.peak-system.com) -------------
*------------- Release_20150729_n (7.15.2) Mar 9 2016 13:02:06 --------------
*------------- [mod] [isa] [pci] [pec] [dng] [par] [usb] [pcc] --------------
*--------------------- 2 interfaces @ major 246 found ...
by thorpey01
Thu 31. Mar 2016, 13:02
Forum: Linux
Topic: Super Large /var/log files
Replies: 6
Views: 9710

Super Large /var/log files

I have been using the CharDev drivers and the PCAN Basic API to write Python code to send and receive CAN messages.

How do I turn off logging of CAN messages to /var/log/ kern.log and syslog etc
I am seeing massive log files being produced .. one is 50GB ! .. i look in the logs and they are full ...
by thorpey01
Thu 17. Mar 2016, 15:37
Forum: Linux
Topic: CANBasic API
Replies: 1
Views: 5660

CANBasic API

Hi, I'm trying to use the CANBasic API for Python. I have downloaded the API folder for linux .. in the folder is a PCANBasic.h file which is a C file.. and the libpcanbasic.so as well as the examples folder (containing python folder, which includes PCANBAsic.py, PCANBasic.pyc and PCANBasicExample ...
by thorpey01
Tue 15. Mar 2016, 15:42
Forum: Linux
Topic: Chardev or Netdev driver compilation?
Replies: 1
Views: 6209

Chardev or Netdev driver compilation?

Hi,

I am new to using PEAK CANBUSB Pro. I have successfully installed the device drivers under Ubuntu (14.04)
I would like to develop in Python read and write CAN messages .. I currently have built the device drivers with the option : make NET=NO .. so I have Chardev device drivers installed. I ...
by thorpey01
Tue 1. Mar 2016, 09:23
Forum: Linux
Topic: error counts when using transmitest
Replies: 5
Views: 7164

Re: error counts when using transmitest

Hi Michael, yes I may have not started transmitting without receiving first and also broken off receive before transmit.

Michael, because I have errors logged now on the device.. when typing cat /proc/pcan .. how do I clear the errors?

I am also wondering if the loop back cable i have is long ...
by thorpey01
Fri 26. Feb 2016, 12:20
Forum: Linux
Topic: error counts when using transmitest
Replies: 5
Views: 7164

Re: error counts when using transmitest

Hi Michael,

I'm using two channels connected via a terminated can loopback cable.

i have two terminal windows open.. sending transmit in one window and receive in the other..
the command i use is :
transmitest transmit.txt -f=/dev/pcan32 -b=0x001c -e
receivetest -f=/dev/pcan33 -b=0x001c -e

the ...
by thorpey01
Fri 26. Feb 2016, 11:23
Forum: Linux
Topic: error counts when using transmitest
Replies: 5
Views: 7164

error counts when using transmitest

hi,

I'm using Ubuntu 15.04 32bit with kernel 3.19.0.51-generic
Im running on Ubuntu on a Virtual Box VM version 5.0.14
I've installed the latest drivers... peak-linux-driver-7.15.2

built to use Chardev version of drivers.
I have a loop back terminated cable connecting CAN1 and CAN2

this is my ...