Re: cdc-acm driver hangs on poll() call - 2.6.27, works on 2.6.24

From: MarÃy Ãkos
Date: Wed Apr 22 2009 - 06:07:20 EST


Oliver,

> Does it happen with 2.6.29?
> Could you get dmesg of 2.6.2(7/9) with CONFIG_USB_DEBUG and debug
> activated in drivers/usb/class/cdc-acm.c ?

interesting, the dmesg output is not that talkative:

Apr 22 11:50:37 tomodachi kernel: [ 623.236068] usb 2-1: new full speed
USB device using uhci_hcd and address 2
Apr 22 11:50:37 tomodachi kernel: [ 623.400102] usb 2-1: New USB device
found, idVendor=ffff, idProduct=0005
Apr 22 11:50:37 tomodachi kernel: [ 623.400107] usb 2-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Apr 22 11:50:37 tomodachi kernel: [ 623.400111] usb 2-1: Product: USBSerial
Apr 22 11:50:37 tomodachi kernel: [ 623.400114] usb 2-1: Manufacturer:
LPCUSB
Apr 22 11:50:37 tomodachi kernel: [ 623.400117] usb 2-1: SerialNumber:
DEADC0DE
Apr 22 11:50:37 tomodachi kernel: [ 623.400654] usb 2-1: configuration
#1 chosen from 1 choice
Apr 22 11:50:37 tomodachi kernel: [ 623.453590] cdc_acm 2-1:1.0:
ttyACM0: USB ACM device
Apr 22 11:50:37 tomodachi kernel: [ 623.457094] usbcore: registered new
interface driver cdc_acm
Apr 22 11:50:37 tomodachi kernel: [ 623.457100] cdc_acm: v0.26:USB
Abstract Control Model driver for USB modems and ISDN adapters


even though:

$ zcat /proc/config.gz | grep CONFIG_USB_DEBUG
CONFIG_USB_DEBUG=y


maybe it did not recompile the cdc-acm module after I changed the
CONFIG_USB_DEBUG setting in .config? I'll do a clean recompile..


Akos

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/