From: Greg KH <gregkh@linuxfoundation.org>
To: David Robillard <david.robillard@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-serial@vger.kernel.org
Subject: Re: Edgeport/416 io_edgeport problem.
Date: Fri, 14 Dec 2012 18:03:31 -0800 [thread overview]
Message-ID: <20121215020331.GA21221@kroah.com> (raw)
In-Reply-To: <CADH15GiJeTmL=WPNoc_8g17AkzyrU4w-jRB0H2wy_+OoGGQByQ@mail.gmail.com>
On Fri, Dec 14, 2012 at 11:47:47AM -0500, David Robillard wrote:
> Hello Alan,
>
> Thank you for the suggestion.
>
> > Please try a recent upstream kernel. 2.6.32 is old, and the Red
> > Hat/CentOS version quite a bit different. If 3.6/3.7 break then yes we
> > might care about it.
>
> I've tried with kernel 3.7.0-1.el6.elrepo.i686 from
> http://elrepo.org/tiki/kernel-ml but unfortunately it's even worse.
> Now the OS only sees half of the Edgeport/416. Ports 1 to 8 are seen
> and /dev/ttyUSB0 to 7 are created. But I still can't access them.
> Ports 10 to 16 are not seen and the character devices are not created.
>
> Performing `sudo strace cat /dev/ttyUSB0` results in this error :
>
> open("/dev/ttyUSB0", O_RDONLY|O_LARGEFILE) = -1 ENODEV (No such device)
>
> Which is exactly the same error I used to get with kernel
> 2.6.32-279.14.1.el6.i686. But at least with that kernel version, the
> OS would see the full 16 ports of the Edgeport/416.
>
> This Edgeport/416 hardware successfully passed the Digi digital
> loopback test as explained in this article
> http://www.digi.com/support/kbase/kbaseresultdetl?id=3061. The test
> was performed on a Windows 7 machine.
>
> The model's PN is (1P) 50000780-01 E.
>
> This device appears to be faulty according this Digi forum thread :
> http://forums.digi.com/support/forum/viewthread_thread,4977#15792
>
> Any help would be appreciated.
> Dec 14 11:30:54 solo kernel: usb 1-2.6: New USB device found,
> idVendor=1608, idProduct=0012
> Dec 14 11:30:54 solo kernel: usb 1-2.6: New USB device strings: Mfr=1,
> Product=2, SerialNumber=5
> Dec 14 11:30:54 solo kernel: usb 1-2.6: Product: Edgeport/416
> Dec 14 11:30:54 solo kernel: usb 1-2.6: Manufacturer: Inside Out Networks
> Dec 14 11:30:54 solo kernel: usb 1-2.6: SerialNumber: V70430350-1
> Dec 14 11:30:54 solo kernel: usb 1-2.6: Inside Out Networks
> Edgeport/416 detected
> Dec 14 11:30:56 solo kernel: usb 1-2.6: Edgeport 8 port adapter
> converter now attached to ttyUSB0
> Dec 14 11:30:56 solo kernel: usb 1-2.6: Edgeport 8 port adapter
> converter now attached to ttyUSB1
> Dec 14 11:30:56 solo kernel: usb 1-2.6: Edgeport 8 port adapter
> converter now attached to ttyUSB2
> Dec 14 11:30:56 solo kernel: usb 1-2.6: Edgeport 8 port adapter
> converter now attached to ttyUSB3
> Dec 14 11:30:56 solo kernel: usb 1-2.6: Edgeport 8 port adapter
> converter now attached to ttyUSB4
> Dec 14 11:30:56 solo kernel: usb 1-2.6: Edgeport 8 port adapter
> converter now attached to ttyUSB5
> Dec 14 11:30:56 solo kernel: usb 1-2.6: Edgeport 8 port adapter
> converter now attached to ttyUSB6
> Dec 14 11:30:56 solo kernel: usb 1-2.6: Edgeport 8 port adapter
> converter now attached to ttyUSB7
This looks good, so you should be able to talk to the device, the fact
that it returns -ENODEV is odd.
Can you do the following from a command line as root:
Clear out the kernel log:
dmesg -c
remove the io_edgeport driver
rmmod io_edgeport
Unplug the device.
load the edgeport driver with debugging enabled:
modprobe io_edgeport debug=1
plug the device in.
Try to access the device
cat /dev/ttyUSB0
Send us the output of the kernel log:
dmesg
Hopefully that should show us what is going on here.
thanks,
greg k-h
next prev parent reply other threads:[~2012-12-15 2:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 20:03 Edgeport/416 io_edgeport problem David Robillard
2012-12-14 9:52 ` Alan Cox
2012-12-14 16:47 ` David Robillard
2012-12-15 2:03 ` Greg KH [this message]
2012-12-18 16:56 ` David Robillard
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=20121215020331.GA21221@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=david.robillard@gmail.com \
--cc=linux-serial@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).