lkml.org 
[lkml]   [2013]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 3.7.3, ttyUSB0 serial problem - devices stop working and only reboot helps (Inappropriate ioctl for device)
On Fri, Jan 18, 2013 at 11:28:43PM +0100, Arkadiusz Miskiewicz wrote:
> Hi.
>
> Using 3.7.3 kernel and connecting two rs232 usb adapters, CP2102 and FT232RL,
> one after disconnecting another.
>
> After few cycles of reconnecting and using socat (below) I'm getting problems
> accessing ttyUSB0:
> ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS,
> 0x7fffb70c6ae0) = -1 ENOTTY (Inappropriate ioctl for device)
>
> Unloading and reloading (by udev) modules ftdio_sio, cp210x, usbserial doesn't
> help. I have to reboot to get ttyUSB0 working (regardless of which driver,
> ftdio_sio or cp210x is handling ttyUSB0 - both stop working).
>
> Any clues?

The kernel log shows the device getting removed a bunch and then coming
back, which implies electrical issues (flaky connection, low power,
etc.) Are you really removing it and plugging it back in? Or is it
doing it all by itself?

Can you try better cables?

thanks,

greg k-h


\
 
 \ /
  Last update: 2013-01-19 02:01    [W:0.632 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site