Re: 3.7.3, ttyUSB0 serial problem - devices stop working and only reboot helps (Inappropriate ioctl for device)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux