Skip to contentSkip to conversation

ESD CAN-USB/2 Linux Mint 16 kernel 3.11

DISCUSSION Brian Gregory 1 participant 2 messages Sep 26, 2014 – Sep 29, 2014 CAN network drivers

lore
Share & tools
lore
#0 lore raw

Thomas,

Thanks for your response. I did have it working for Ubuntu 10.04 (kernel 2.6).
That said, I think the driver came from ESD.

I will look into it and post the details to the list shortly.

-Brian

Quoted 58 lines · Thomas Körper

Hi Brian,

the dmesg output shows that it's actually a "CAN USB/Mini", not a CAN USB/2. (The label at the back shows CAN USB instead of CAN USB/2)

No SocketCAN driver for this device exists, sorry.

Regards,
Thomas

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Brian Gregory
Gesendet: Donnerstag, 25. September 2014 19:02
An: [email protected]
Betreff: ESD CAN-USB/2 Linux Mint 16 kernel 3.11

I am having trouble trying to get this to work and I have been unable to find a relevant email on the list.

I am running Linux Mint 16 64bit (kernel 3.11) and I have confirmed that can-dev and esd_usb2 support is configured as kernel modules. I have loaded these modules and confirmed with lsmod:

slcan 13049 0
vcan 12726 0
can_dev 20692 4 esd_usb2,ems_usb,peak_usb,usb_8dev can_raw 17120 0
can 36503 1 can_raw

The device (ESD CAN-USB/2) is recognized when plugged in (dmesg output):

[ 1672.932148] usb 4-2: new full-speed USB device number 2 using uhci_hcd
[ 1673.100268] usb 4-2: New USB device found, idVendor=0ab4,
idProduct=0001 [ 1673.100281] usb 4-2: New USB device strings: Mfr=4,
Product=22,
SerialNumber=46
[ 1673.100289] usb 4-2: Product: CAN-USB 543 [ 1673.100296] usb 4-2:

Manufacturer: esd-gmbh [ 1673.100303] usb 4-2: SerialNumber: GL002971

Although there is no output indicating that the /sys/class/net/can0 node is created, and there are no can# nodes under /sys/class/net. I have confirmed that the virtual can bus works via the tutorial.

What am I missing?

Thanks,
Brian Gregory

--
To unsubscribe from this list: send the line "unsubscribe linux-can" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

#1 lore raw

Thomas,

I have received this confirmation from the vendor (ESD):

---
Please note:

With the release of the Linux kernel 2.6.25 an extension was added, which only accepts USB drivers, which are published under a GPL license, and which code must therefore be open source. The company esd however is not able to place their USB drivers under a GPL license and therefore cannot offer an USB driver for the standard esd CAN-API starting from kernel version 2.6.25.

In the mean time we found a solution for our model CAN-USB/2, unfortunately not for the CAN-USB-Mini. There is an open source project for Linux drivers for CAN interfaces which is called "Socket CAN". We offer a support of Linux drivers for our CAN USB/2 modules which are compatible to this CAN-API. Additionally to that we offer a wrapper to the most of the esd CAN-API functionalities which is based on the Socket CAN driver. Please note that not all esd CAN-API function calls are supported.

So you have to change to the CAN-USB/2 if you want to use later Linux kernel versions.
---

Thanks for your support.

-Brian Gregory

Quoted 76 lines · Brian Gregory

Thomas,

Thanks for your response. I did have it working for Ubuntu 10.04 (kernel 2.6).
That said, I think the driver came from ESD.

I will look into it and post the details to the list shortly.

-Brian

Quoted 48 lines · Thomas Körper

Hi Brian,

the dmesg output shows that it's actually a "CAN USB/Mini", not a CAN USB/2. (The label at the back shows CAN USB instead of CAN USB/2)

No SocketCAN driver for this device exists, sorry.

Regards,
Thomas

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Brian Gregory
Gesendet: Donnerstag, 25. September 2014 19:02
An: [email protected]
Betreff: ESD CAN-USB/2 Linux Mint 16 kernel 3.11

I am having trouble trying to get this to work and I have been unable to find a relevant email on the list.

I am running Linux Mint 16 64bit (kernel 3.11) and I have confirmed that can-dev and esd_usb2 support is configured as kernel modules. I have loaded these modules and confirmed with lsmod:

slcan 13049 0
vcan 12726 0
can_dev 20692 4 esd_usb2,ems_usb,peak_usb,usb_8dev can_raw 17120 0
can 36503 1 can_raw

The device (ESD CAN-USB/2) is recognized when plugged in (dmesg output):

[ 1672.932148] usb 4-2: new full-speed USB device number 2 using uhci_hcd
[ 1673.100268] usb 4-2: New USB device found, idVendor=0ab4,
idProduct=0001 [ 1673.100281] usb 4-2: New USB device strings: Mfr=4,
Product=22,
SerialNumber=46
[ 1673.100289] usb 4-2: Product: CAN-USB 543 [ 1673.100296] usb 4-2:

Manufacturer: esd-gmbh [ 1673.100303] usb 4-2: SerialNumber: GL002971

Although there is no output indicating that the /sys/class/net/can0 node is created, and there are no can# nodes under /sys/class/net. I have confirmed that the virtual can bus works via the tutorial.

What am I missing?

Quoted 10 lines

Thanks,
Brian Gregory

--
To unsubscribe from this list: send the line "unsubscribe linux-can" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-can" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html