Discussion:
ESD CAN-USB/2 Linux Mint 16 kernel 3.11
Brian Gregory
2014-09-25 17:01:43 UTC
Permalink
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 ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thomas Körper
2014-09-26 05:35:44 UTC
Permalink
Hi Brian,

the dmesg output shows that it's actually a "CAN USB/Mini", not a CAN U=
SB/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=FCngliche Nachricht-----
Von: linux-can-***@vger.kernel.org [mailto:linux-can-***@vger.kerne=
l.org] Im Auftrag von Brian Gregory
Gesendet: Donnerstag, 25. September 2014 19:02
An: linux-***@vger.kernel.org
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 t=
o find a relevant email on the list.

I am running Linux Mint 16 64bit (kernel 3.11) and I have confirmed tha=
t 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_h=
cd [ 1673.100268] usb 4-2: New USB device found, idVendor=3D0ab4, idPro=
duct=3D0001 [ 1673.100281] usb 4-2: New USB device strings: Mfr=3D4, Pr=
oduct=3D22,
SerialNumber=3D46
[ 1673.100289] usb 4-2: Product: CAN-USB 543 [ 1673.100296] usb 4-2: Ma=
nufacturer: esd-gmbh [ 1673.100303] usb 4-2: SerialNumber: GL002971

Although there is no output indicating that the /sys/class/net/can0 nod=
e 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 ***@vger.kernel.org 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 ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Brian Gregory
2014-09-26 11:21:30 UTC
Permalink
Thomas,

Thanks for your response. I did have it working for Ubuntu 10.04 (kerne=
l
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
Post by 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=FCngliche Nachricht-----
Gesendet: Donnerstag, 25. September 2014 19:02
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
Post by Thomas Körper
find a relevant email on the list.
I am running Linux Mint 16 64bit (kernel 3.11) and I have confirmed th=
at
Post by Thomas Körper
can-dev and esd_usb2 support is configured as kernel modules.
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
Post by Thomas Körper
[ 1673.100268] usb 4-2: New USB device found, idVendor=3D0ab4,
idProduct=3D0001 [ 1673.100281] usb 4-2: New USB device strings: Mfr=3D=
4,
Post by Thomas Körper
Product=3D22,
SerialNumber=3D46
Manufacturer: esd-gmbh [ 1673.100303] usb 4-2: SerialNumber: GL002971
Although there is no output indicating that the /sys/class/net/can0 no=
de
Post by Thomas Körper
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" i=
n
at
Post by Thomas Körper
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 ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Brian Gregory
2014-09-29 14:05:34 UTC
Permalink
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, whi=
ch
only accepts USB drivers, which are published under a GPL license, and
which code must therefore be open source. The company esd however is no=
t
able to place their USB drivers under a GPL license and therefore canno=
t
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 CA=
N
driver. Please note that not all esd CAN-API function calls are support=
ed.

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
Post by Brian Gregory
Thomas,
Thanks for your response. I did have it working for Ubuntu 10.04 (kern=
el
Post by Brian Gregory
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
Post by 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=FCngliche Nachricht-----
Gesendet: Donnerstag, 25. September 2014 19:02
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
Post by Brian Gregory
Post by Thomas Körper
find a relevant email on the list.
I am running Linux Mint 16 64bit (kernel 3.11) and I have confirmed t=
hat
Post by Brian Gregory
Post by Thomas Körper
can-dev and esd_usb2 support is configured as kernel modules.
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 outpu=
[ 1672.932148] usb 4-2: new full-speed USB device number 2 using uhci=
_hcd
Post by Brian Gregory
Post by Thomas Körper
[ 1673.100268] usb 4-2: New USB device found, idVendor=3D0ab4,
idProduct=3D0001 [ 1673.100281] usb 4-2: New USB device strings: Mfr=3D=
4,
Post by Brian Gregory
Post by Thomas Körper
Product=3D22,
SerialNumber=3D46
Manufacturer: esd-gmbh [ 1673.100303] usb 4-2: SerialNumber: GL002971
Although there is no output indicating that the /sys/class/net/can0 n=
ode
Post by Brian Gregory
Post by Thomas Körper
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
o at
Post by Brian Gregory
Post by Thomas Körper
http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-can" i=
n
Post by Brian Gregory
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 ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...