From: "Maróy Ákos" <akos@maroy.hu>
To: Oliver Neukum <oliver@neukum.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: cdc-acm driver hangs on poll() call - 2.6.27, works on 2.6.24
Date: Wed, 22 Apr 2009 14:34:31 +0200 [thread overview]
Message-ID: <49EF0ED7.3060706@maroy.hu> (raw)
In-Reply-To: <200904211952.25616.oliver@neukum.org>
Oliver,
I made additional tests: made a clean compilation of 2.6.29.1 with
CONFIG_USB_DEBUG=y , but the dmesg output is the same.
Strangely enough, I compiled 2.6.24.7, and got the same results (the
communication hangs at the poll() call), on the same machine. This is
despite the fact that when running the same application on an ubuntu
8.04, it runs fine, which reports a kernel version of 2.6.24-23-generic.
one interesting message I get on the console when plugging in the device is:
drivers/usb/class/cdc-acm.c: This device cannot do calls on its own. It
is no modem.
the dmesg output for 2.6.29.1 when inserting the device is:
Apr 22 14:08:19 tomodachi kernel: [ 259.088065] usb 2-1: new full speed
USB device using uhci_hcd and address 2
Apr 22 14:08:19 tomodachi kernel: [ 259.245307] usb 2-1: New USB device
found, idVendor=ffff, idProduct=0005
Apr 22 14:08:19 tomodachi kernel: [ 259.245312] usb 2-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Apr 22 14:08:19 tomodachi kernel: [ 259.245316] usb 2-1: Product: USBSerial
Apr 22 14:08:19 tomodachi kernel: [ 259.245319] usb 2-1: Manufacturer:
LPCUSB
Apr 22 14:08:19 tomodachi kernel: [ 259.245322] usb 2-1: SerialNumber:
DEADC0DE
Apr 22 14:08:19 tomodachi kernel: [ 259.245842] usb 2-1: configuration
#1 chosen from 1 choice
Apr 22 14:08:19 tomodachi kernel: [ 259.294225] cdc_acm 2-1:1.0:
ttyACM0: USB ACM device
Apr 22 14:08:19 tomodachi kernel: [ 259.297156] usbcore: registered new
interface driver cdc_acm
Apr 22 14:08:19 tomodachi kernel: [ 259.297162] cdc_acm: v0.26:USB
Abstract Control Model driver for USB modems and ISDN adapters
for 2.6.24.7, it is:
Apr 22 14:13:47 tomodachi kernel: [ 181.049644] usb 2-1: new full speed
USB device using uhci_hcd and address 2
Apr 22 14:13:47 tomodachi kernel: [ 181.210892] usb 2-1: configuration
#1 chosen from 1 choice
Apr 22 14:13:47 tomodachi kernel: [ 181.213045] usb 2-1: Product: USBSerial
Apr 22 14:13:47 tomodachi kernel: [ 181.213047] usb 2-1: Manufacturer:
LPCUSB
Apr 22 14:13:47 tomodachi kernel: [ 181.213050] usb 2-1: SerialNumber:
DEADC0DE
Apr 22 14:13:48 tomodachi kernel: [ 181.240322] cdc_acm 2-1:1.0:
ttyACM0: USB ACM device
Apr 22 14:13:48 tomodachi kernel: [ 181.243117] usbcore: registered new
interface driver cdc_acm
Apr 22 14:13:48 tomodachi kernel: [ 181.243127]
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for
USB modems and ISDN adapters
what could be the problem?
Akos
next prev parent reply other threads:[~2009-04-22 12:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-21 13:04 cdc-acm driver hangs on poll() call - 2.6.27, works on 2.6.24 Maróy Ákos
2009-04-21 13:26 ` Oliver Neukum
2009-04-21 13:33 ` Maróy Ákos
2009-04-21 13:39 ` Oliver Neukum
2009-04-21 15:21 ` Maróy Ákos
2009-04-21 16:55 ` Maróy Ákos
2009-04-21 17:52 ` Oliver Neukum
2009-04-22 12:34 ` Maróy Ákos [this message]
2009-04-22 13:14 ` Oliver Neukum
2009-04-22 13:25 ` Maróy Ákos
2009-04-23 13:11 ` Oliver Neukum
2009-04-24 10:14 ` Maróy Ákos
2009-04-22 12:51 ` Maróy Ákos
2009-04-22 10:06 ` Maróy Ákos
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=49EF0ED7.3060706@maroy.hu \
--to=akos@maroy.hu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oliver@neukum.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