USB-Serial adapter locks up minicom - cypress_m8

Bug #244958 reported by Lewis Bergman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: minicom

lbergman@lbergman-laptop:~$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

lbergman@lbergman-laptop:~$ apt-cache policy minicom
minicom:
  Installed: 2.3~rc1-2
  Candidate: 2.3~rc1-2
  Version table:
 *** 2.3~rc1-2 0
        500 http://us.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status
The reason I included this next package is the cypress files are part of it.

root@lbergman-laptop:/home/lbergman# apt-cache policy linux-headers-2.6.24-19-generic
linux-headers-2.6.24-19-generic:
  Installed: 2.6.24-19.34
  Candidate: 2.6.24-19.34
  Version table:
 *** 2.6.24-19.34 0
        500 http://us.archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status

Ubuntu 8.04 updated today. I expected to get a blinking cursor and then to hit enter a couple of times to start the connection. Instead, what I got follows.

The USB to Serial device appears to be recognized and configured normally. a device is created at /dev/ttyUSB0. Upon starting minicom with a config to use the ttyUSB0 port minicom freezes with the standard "initializing modem" box on the screen and remains until the usb device is unplugged. Immediately after unplugging the device the terminal reports "Minicom: Device disappeared, aborting!" and returns control to the terminal. I have not tried to use pyserial or any other serial control program to check if it is a minicom or hardware issue. I could find no markings to positively identify the hardware as being what is reported via dmesg and messages. I looked through dozens of bugs and found references to brltty and removed this package which had no impact on the results.

Here is some output to shed some light.

minirc:
lbergman@lbergman-laptop:~$ cat /etc/minicom/minirc.dfl
# Machine-generated file - use "minicom -s" to change parameters.
pu port /dev/ttyUSB0
pu baudrate 9600

/etc/minicom/minicom.users:
The only uncommented entry is the following:
# Everyone has access to all configurations.
ALL

uname -a: Linux lbergman-laptop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux

dmesg:
[ 5951.259108] usb 3-1: new low speed USB device using uhci_hcd and address 5
[ 5956.432452] usb 3-1: configuration #1 chosen from 1 choice
[ 5961.436910] cypress 3-1:1.0: HID->COM RS232 Adapter converter detected
[ 5961.440138] usb 3-1: HID->COM RS232 Adapter converter now attached to ttyUSB0
---ALL AFTER THIS IS UPON STARTING MINICOM ---
[ 5966.801688] /build/buildd/linux-2.6.24/drivers/usb/serial/cypress_m8.c: cypress_serial_control - failed to retrieve serial line settings - -71
[ 5966.801699] /build/buildd/linux-2.6.24/drivers/usb/serial/cypress_m8.c: cypress_m8 suspending failing port 0 - interval might be too short
[ 5966.804692] usb 3-1: cypress_write_int_callback - unexpected nonzero write status received: -71
[ 5966.820649] usb 3-1: cypress_read_int_callback - unexpected nonzero read status received: -84

/var/log/messages:
Jul 1 15:12:21 lbergman-laptop kernel: [ 6340.830785] usb 3-1: new low speed USB device using uhci_hcd and address 6
Jul 1 15:12:26 lbergman-laptop kernel: [ 6346.004131] usb 3-1: configuration #1 chosen from 1 choice
Jul 1 15:12:31 lbergman-laptop kernel: [ 6351.008591] cypress 3-1:1.0: HID->COM RS232 Adapter converter detected
Jul 1 15:12:31 lbergman-laptop kernel: [ 6351.011834] usb 3-1: HID->COM RS232 Adapter converter now attached to ttyUSB0

lsusb:
lbergman@lbergman-laptop:~$ lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 007: ID 04b4:5500 Cypress Semiconductor Corp. HID->COM RS232 Adapter
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

Chuck Short (zulcss)
affects: minicom (Ubuntu) → linux (Ubuntu)
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Lewis,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/lucid.

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 244958

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
tryp (cdouglass) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: chris 1928 F.... pulseaudio
 /dev/snd/pcmC0D0p: chris 1928 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe020000 irq 17'
   Mixer name : 'Analog Devices AD1984'
   Components : 'HDA:11d41984,17aa20d7,00100400'
   Controls : 29
   Simple ctrls : 18
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7KHT21WW-1.05'
   Mixer name : 'ThinkPad EC 7KHT21WW-1.05'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=e6f4edd8-5320-41ab-a042-f1c7faa1011f
MachineType: LENOVO 7732CTO
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: root=UUID=6a5c1f4a-dc4a-413a-b2bb-3dbef671d63a ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
Tags: lucid regression-release needs-upstream-testing
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin mythtv plugdev sambashare
WpaSupplicantLog:

dmi.bios.date: 05/14/2007
dmi.bios.vendor: LENOVO
dmi.bios.version: 7LET39WW (1.09 )
dmi.board.name: 7732CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7LET39WW(1.09):bd05/14/2007:svnLENOVO:pn7732CTO:pvrThinkPadR61:rvnLENOVO:rn7732CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7732CTO
dmi.product.version: ThinkPad R61
dmi.sys.vendor: LENOVO

tags: added: apport-collected
Revision history for this message
tryp (cdouglass) wrote : AlsaDevices.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : AplayDevices.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : BootDmesg.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : CRDA.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : CurrentDmesg.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : IwConfig.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : Lspci.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : Lsusb.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : PciMultimedia.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : ProcInterrupts.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : ProcModules.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : RfKill.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : UdevDb.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : UdevLog.txt

apport information

Revision history for this message
tryp (cdouglass) wrote : WifiSyslog.txt

apport information

Revision history for this message
tryp (cdouglass) wrote :

I just ran into this one as well. This USB->rs232 converter worked about 2 years ago and has sat unused since, so I'm not able to confirm the kernel version under which it last worked.

uname -a reports
"Linux thinkpad 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux"

The relevant dmesg snippet:
[814192.352299] cypress 5-1:1.0: device disconnected
[814196.012104] usb 5-1: new low speed USB device using uhci_hcd and address 3
[814201.194483] usb 5-1: configuration #1 chosen from 1 choice
[814206.207473] cypress 5-1:1.0: HID->COM RS232 Adapter converter detected
[814206.210573] usb 5-1: HID->COM RS232 Adapter converter now attached to ttyUSB0
[814221.157545] cyphidcom ttyUSB0: cypress_serial_control - failed to retrieve serial line settings - -71
[814221.157557] cyphidcom ttyUSB0: cypress_m8 suspending failing port 0 - interval might be too short
[814221.181482] usb 5-1: cypress_read_int_callback - unexpected nonzero read status received: -84

I'm using GtkTerm, which reports "Unable to open device: I/O Error"

I just ran the apport-collect script, and will try a mainline kernel next.

Revision history for this message
tryp (cdouglass) wrote : apport information

Architecture: i386
DistroRelease: Ubuntu 10.04
Package: linux (not installed)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
Tags: lucid
Uname: Linux 2.6.34-999-generic i686
UnreportableReason: The running kernel is not an Ubuntu kernel
UserGroups: adm admin cdrom dialout lpadmin mythtv plugdev sambashare

Revision history for this message
tryp (cdouglass) wrote :

Problem replicated using mainline kernel (apport information #22)

tags: removed: needs-upstream-testing
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.