No space left on device!!

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
sofarawayi
Posts: 1
Joined: Thu 20. Jun 2019, 11:32

No space left on device!!

Post by sofarawayi » Thu 20. Jun 2019, 11:51

Hello!

I'm trying to get to work the PEAK interface IPEH-004061.
The problem is that I can't open a CAN 2.0 channel. I tried it several ways:

Code: Select all

int fd = pcanfd_open("/dev/pcan32", OFD_BITRATE, 500000);
int fd = pcanfd_open("/dev/pcan33", OFD_BITRATE, 500000);
int fd = pcanfd_open("/dev/pcan32", PCANFD_INIT_LISTEN_ONLY);
int fd = pcanfd_open("/dev/pcan33", PCANFD_INIT_FD);
Each time it gives me "(-28): No space left on device" error.
I notices that I got the same error when I just do 'cat /dev/pcan32' or 'cat /dev/pcan33'

What's wrong?

My environment details:

Code: Select all

==================================================
Driver: 8.2.0.
OS: Ubuntu 16.04 on Oracle VirtualBox using dynamic partitions.
==================================================
lspcan -T -t -i 
dev name	port	irq	clock	btrs	bus
[PCAN-USB Pro FD 0]
|_ pcanusbfd32	CAN1	-	80MHz	500k+2M	CLOSED
|_ pcanusbfd33	CAN2	-	80MHz	500k+2M	CLOSED
==================================================
df -h 
Filesystem Size Used Avail Use% Mounted on
udev 981M 0 981M 0% /dev
tmpfs 201M 3,6M 197M 2% /run
/dev/sda1 2,0T 16G 1,9T 1% /
tmpfs 1001M 164K 1000M 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 1001M 0 1001M 0% /sys/fs/cgroup
TEMP 298G 260G 39G 88% /media/sf_TEMP
tmpfs 201M 44K 200M 1% /run/user/1000
Last edited by M.Gerber on Thu 20. Jun 2019, 12:56, edited 1 time in total.
Reason: Inserted [code] tags for improved readability

User avatar
S.Grosjean
Software Development
Software Development
Posts: 357
Joined: Wed 4. Jul 2012, 17:02

Re: No space left on device!!

Post by S.Grosjean » Thu 20. Jun 2019, 11:58

Hello,

Please first upgrade with last version of the pcan driver you'll find at: http://www.peak-system.com/fileadmin/me ... 8.0.tar.gz.

Thank you,
— Stéphane

Post Reply