Public bug reported: Resource temporarily unavailable: '/dev/ttyUSB0'
The same problem is solved here as a patch https://bugzilla.kernel.org/show_bug.cgi?id=23012 $ python2.7 Python 2.7.1 (r271:86832, Nov 28 2010, 17:12:05) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import serial >>> s=serial.Serial('/dev/ttyUSB0', 19200) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 166, in __init__ self.open() File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 175, in open raise SerialException("could not open port %s: %s" % (self._port, msg)) serial.serialutil.SerialException: could not open port /dev/ttyUSB0: [Errno 11] Resource temporarily unavailable: '/dev/ttyUSB0' ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: linux-image-2.6.37-8-generic-pae 2.6.37-8.21 Regression: Yes Reproducible: Yes ProcVersionSignature: Ubuntu 2.6.37-8.21-generic-pae 2.6.37-rc4 Uname: Linux 2.6.37-8-generic-pae i686 NonfreeKernelModules: nvidia AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23. AplayDevices: aplay: device_list:235: no soundcards found... Architecture: i386 ArecordDevices: arecord: device_list:235: no soundcards found... AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D2', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D2c', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: Error: [Errno 2] Nie ma takiego pliku ani katalogu CheckboxSubmission: 4e191d6419f992c8132165d500b5f160 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Thu Dec 9 07:09:11 2010 HibernationDevice: RESUME=UUID=7c58b617-988e-46d5-9fcf-191a0c6f0511 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1) IwConfig: lo no wireless extensions. eth0 no wireless extensions. MachineType: Gigabyte Technology Co., Ltd. 945P-S3 ProcEnviron: LANG=pl_PL.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-8-generic-pae root=UUID=d8e44d2e-be67-48f1-ae7e-25a2ea39ff58 ro nokms RelatedPackageVersions: linux-firmware 1.40 RfKill: SourcePackage: linux dmi.bios.date: 06/05/2008 dmi.bios.vendor: Award Software International, Inc. dmi.bios.version: F7c dmi.board.name: 945P-S3 dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.chassis.type: 3 dmi.chassis.vendor: Gigabyte Technology Co., Ltd. dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF7c:bd06/05/2008:svnGigabyteTechnologyCo.,Ltd.:pn945P-S3:pvr:rvnGigabyteTechnologyCo.,Ltd.:rn945P-S3:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr: dmi.product.name: 945P-S3 dmi.sys.vendor: Gigabyte Technology Co., Ltd. ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 kernel-uncat natty needs-upstream-testing regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/687685 Title: ftdi_sio /dev/ttyUSB* error: "Resource Temporarily Unavailable" -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
