From: Oliver Hartkopp <socketcan@hartkopp.net>
To: "Smith, Christopher - 0999 - MITLL" <chris.smith@ll.mit.edu>,
"Adams, Shawn - 0999 - MITLL" <shawn.adams@ll.mit.edu>
Cc: "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>,
Olivier Sobrie <olivier@sobrie.be>,
"Kvaser Support (support@kvaser.com)" <support@kvaser.com>
Subject: Re: Kvaser socketCAN support
Date: Thu, 01 May 2014 20:46:22 +0200 [thread overview]
Message-ID: <5362967E.4040302@hartkopp.net> (raw)
In-Reply-To: <6073ccq41HkW3ar.RZmta@smtp.rzone.de>
Hi Chris,
On 01.05.2014 19:46, Smith, Christopher - 0999 - MITLL wrote:
> Oliver, thank you for taking a look at this. I'm guessing that other
> testing you did used that same USB command and did not have any problem?
Just to make it clear:
I did no testing with Kvaser USB hardware as I do not have any of it here.
Don't mix me up with Olivier Sobrie (who wrote the Kvaser USB driver).
Regards,
Oliver (Hartkopp)
> If
> so perhaps it's an issue of firmware on our device or perhaps a slightly
> different version of hardware. The device is the Kvaser Memorator with
> firmware 2.2.600.
>
> Thanks,
>
> Chris
>
> -----Original Message-----
> From: Oliver Hartkopp [mailto:socketcan@hartkopp.net]
> Sent: Thursday, May 01, 2014 12:24 PM
> To: Adams, Shawn - 0999 - MITLL
> Cc: Smith, Christopher - 0999 - MITLL; linux-can@vger.kernel.org; Olivier
> Sobrie; Kvaser Support (support@kvaser.com)
> Subject: Re: Kvaser socketCAN support
>
> On 01.05.2014 16:31, Adams, Shawn - 0999 - MITLL wrote:
>> On boot, with the kvaser device attached we see a vcan0 Please find
>> the output of lsusb and dmesg as well as the contents of /proc/net/dev
>>
>> root@localhost:~# cat /proc/net/dev
>> Inter-| Receive |
> Transmit
>> face |bytes packets errs drop fifo frame compressed multicast|bytes
> packets errs drop fifo colls carrier compressed
>> vcan0: 0 0 0 0 0 0 0 0 0
> 0 0 0 0 0 0 0
>> lo: 3432 40 0 0 0 0 0 0 3432
> 40 0 0 0 0 0 0
>> eth0: 0 0 0 0 0 0 0 0 1646
> 11 0 0 0 0 0 0
>
> Ok - you have a vcan0 (which is implemented by the virtual CAN 'vcan'
> driver).
> Nothing like "can0" we would expect from a *real* CAN interface :-(
>
>>
>> root@localhost:~# lsusb
>> Bus 001 Device 002: ID 0bfd:0017 Kvaser AB
>
> Looks like a
> #define USB_LEAF_PRO_LIN_PRODUCT_ID 17
>
>> root@localhost:~# dmesg |grep -i can
>> [ 4.231784] CAN device driver interface
>> [ 5.233369] kvaser_usb 1-1:1.0: Cannot get software infos, error -110
>
> Ugh!
> The driver fails to retrieve the firmware information. Therefore no 'can0'
> is created by the driver.
>
> The return code '-110' is a timeout, see
> linux/include/uapi/asm-generic/errno.h:
>
> #define ETIMEDOUT 110 /* Connection timed out */
>
> So it looks like an USB communication problem - or the hardware does not
> know about the firmware information command.
>
> Besides trying another PC with a different USB host adapter the only guys
> that might help in this situation are Olivier or Troy - I put them in CC.
>
> Regards,
> Oliver
>
next prev parent reply other threads:[~2014-05-01 18:46 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <f0331cq3H1VPknv.RZmta@smtp.rzone.de>
2014-04-21 17:48 ` Kvaser socketCAN support Oliver Hartkopp
2014-04-22 0:40 ` (Case 14359) " Kvaser Support
2014-04-22 5:54 ` Yegor Yefremov
2014-04-23 7:38 ` Kvaser Support
2014-04-23 7:48 ` Yegor Yefremov
2014-04-23 16:19 ` Kvaser Support
2014-04-24 7:46 ` Yegor Yefremov
2014-04-24 9:19 ` Marc Kleine-Budde
2014-04-24 12:01 ` Oliver Hartkopp
2014-04-24 12:06 ` Marc Kleine-Budde
2014-04-24 12:34 ` Yegor Yefremov
2014-04-24 18:56 ` Oliver Hartkopp
2014-04-24 19:29 ` Yegor Yefremov
2014-04-24 22:12 ` Kvaser Support
2014-04-25 20:38 ` SocketCAN Supported Controllers information updates Oliver Hartkopp
2014-04-28 0:25 ` (Case 14383) " Kvaser Support
2014-04-27 17:41 ` elinux wiki Kurt Van Dijck
[not found] ` <r049e3q3UHfiSQJ.RZmta@smtp.rzone.de>
2014-05-01 8:56 ` Kvaser socketCAN support Oliver Hartkopp
[not found] ` <R0595dq41EVg2BS.RZmta@smtp.rzone.de>
2014-05-01 16:24 ` Oliver Hartkopp
[not found] ` <6073ccq41HkW3ar.RZmta@smtp.rzone.de>
2014-05-01 18:46 ` Oliver Hartkopp [this message]
[not found] ` <53628879.751e8c0a.6be4.ffffc061SMTPIN_ADDED_MISSING@mx.google.com>
2014-05-01 20:46 ` Olivier Sobrie
[not found] ` <5363a95a.e3208c0a.bc54.574dSMTPIN_ADDED_MISSING@mx.google.com>
2014-05-03 13:18 ` Olivier Sobrie
2014-05-04 6:00 ` (Case 14420) " Kvaser Support
2014-05-04 20:14 ` Olivier Sobrie
2014-05-04 21:23 ` Kvaser Support
2014-05-11 20:34 ` Olivier Sobrie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5362967E.4040302@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=chris.smith@ll.mit.edu \
--cc=linux-can@vger.kernel.org \
--cc=olivier@sobrie.be \
--cc=shawn.adams@ll.mit.edu \
--cc=support@kvaser.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.