Hello,

I'm having troubles accessing my Samsung A670 cell phone via a USB
data cable and the CDC-ACM driver. I'm posting here because I can
access the phone just fine using both Windows and Mac OS X 10.3 with
the same exact software (bitpim 0.7.33), which leads me to believe it
may be an issue with the driver.

The problem that I'm seeing is that bitpim begins issuing AT commands
to /dev/ttyACM0 and seems to initially receive data from the phone.
Inevitably, however, the phone times out waiting for a response and
communication is lost. The amount of data that is received prior to
the timeout seems to be random and isn't the same every time. For
instance, sometimes a number of responses are received before
communication is lost, and sometimes communication is never there to
begin with (i.e. it times out waiting for the response to the very
first AT command). Once communication is lost, it seems to be hosed
for good until I disconnect and reconnect the phone.

If there was _never_ any communication with the phone, I would be
convinced that it was a kernel configuration issue or a matter of
unsupported hardware. However, because there _is_ initial
communication, I believe something may be happening in the driver.

I'm running Gentoo with the latest stable gentoo-sources
(2.6.11-gentoo-r11). My kernel is custom-configured and cdc-acm is
compiled statically into the kernel. Other USB devices such as mass
storage seem to work fine.

Below I've included a bunch of information which might help diagnose
my problem. I apologize in advance for the length of the data, but it
never hurts to be prepared! I'm including here the logs from bitpim
from both my gentoo system and Mac OS X Panther to compare and
contrast. First, the one from linux:

23:17:16.292 /dev/ttyACM0: Opening port /dev/ttyACM0, 115200 baud,
timeout 10.000000, hardwareflow 0, softwareflow 0
23:17:16.293 /dev/ttyACM0: Open of comm port suceeded
23:17:16.293 SCH-A670: Switching to modem
23:17:16.293 /dev/ttyACM0: Writing Data - 8 bytes
00000000 41 54 45 30 56 31 0d 0a                             ATE0V1..

23:17:16.307 /dev/ttyACM0: Reading remaining data Data - 4 bytes
00000000 4f 4b 0d 0a                                         OK..

23:17:16.307 SCH-A670: Now in modem mode
23:17:16.307 SCH-A670: Switching from modem to phonebook
23:17:16.308 /dev/ttyACM0: Writing Data - 12 bytes
00000000 41 54 23 50 4d 4f 44 45 3d 31 0d 0a                 AT#PMODE=1..

23:17:16.308 /dev/ttyACM0: Reading remaining data Data - 4 bytes
00000000 4f 4b 0d 0a                                         OK..

23:17:16.308 SCH-A670: Now in phonebook mode
23:17:16.308 SCH-A670: Now in phonebook mode
23:17:16.308 SCH-A670: Retrieving fundamental phone information
23:17:16.309 SCH-A670: Reading phone serial number
23:17:16.309 /dev/ttyACM0: Writing Data - 8 bytes
00000000 41 54 2b 67 73 6e 0d 0a                             AT+gsn..

23:17:16.313 /dev/ttyACM0: Reading remaining data Data - 22 bytes
00000000 2b 47 53 4e 3a 20 32 39 39 43 43 31 30 31 0d 0a     +GSN: 299CC101..
00000010 0d 0a 4f 4b 0d 0a                                   ..OK..

23:17:16.313 SCH-A670: Reading group information
23:17:16.314 /dev/ttyACM0: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 30 0d 0a                 AT#PBGRR=0..

23:17:16.334 /dev/ttyACM0: Reading remaining data Data - 46 bytes
00000000 23 50 42 47 52 52 3a 20 30 2c 22 46 72 69 65 6e     #PBGRR: 0,"Frien
00000010 64 22 2c 30 2c 4d 2c 31 39 38 30 30 31 30 36 54     d",0,M,19800106T
00000020 30 30 30 30 30 30 0d 0a 0d 0a 4f 4b 0d 0a           000000....OK..

23:17:16.335 /dev/ttyACM0: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 31 0d 0a                 AT#PBGRR=1..

23:17:16.348 /dev/ttyACM0: Reading remaining data Data - 46 bytes
00000000 23 50 42 47 52 52 3a 20 31 2c 22 46 61 6d 69 6c     #PBGRR: 1,"Famil
00000010 79 22 2c 30 2c 4d 2c 31 39 38 30 30 31 30 36 54     y",0,M,19800106T
00000020 30 30 30 30 30 30 0d 0a 0d 0a 4f 4b 0d 0a           000000....OK..

23:17:16.350 /dev/ttyACM0: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 32 0d 0a                 AT#PBGRR=2..

23:17:16.362 /dev/ttyACM0: Reading remaining data Data - 49 bytes
00000000 23 50 42 47 52 52 3a 20 32 2c 22 43 6f 6c 6c 65     #PBGRR: 2,"Colle
00000010 61 67 75 65 22 2c 30 2c 4d 2c 31 39 38 30 30 31     ague",0,M,198001
00000020 30 36 54 30 30 30 30 30 30 0d 0a 0d 0a 4f 4b 0d     06T000000....OK.
00000030 0a                                                  .

23:17:16.386 /dev/ttyACM0: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 33 0d 0a                 AT#PBGRR=3..

23:17:16.400 /dev/ttyACM0: Reading remaining data Data - 43 bytes
00000000 23 50 42 47 52 52 3a 20 33 2c 22 56 49 50 22 2c     #PBGRR: 3,"VIP",
00000010 30 2c 4d 2c 31 39 38 30 30 31 30 36 54 30 30 30     0,M,19800106T000
00000020 30 30 30 0d 0a 0d 0a 4f 4b 0d 0a                    000....OK..

23:17:16.401 /dev/ttyACM0: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 34 0d 0a                 AT#PBGRR=4..

23:17:16.414 /dev/ttyACM0: Reading remaining data Data - 47 bytes
00000000 23 50 42 47 52 52 3a 20 34 2c 22 4e 6f 20 4e 61     #PBGRR: 4,"No Na
00000010 6d 65 22 2c 30 2c 4d 2c 31 39 38 30 30 31 30 36     me",0,M,19800106
00000020 54 30 30 30 30 30 30 0d 0a 0d 0a 4f 4b 0d 0a        T000000....OK..

23:17:16.419 SCH-A670: Switching from phonebook to modem
23:17:16.419 /dev/ttyACM0: Writing Data - 12 bytes
00000000 41 54 23 50 4d 4f 44 45 3d 30 0d 0a                 AT#PMODE=0..

23:17:16.428 /dev/ttyACM0: Reading remaining data Data - 4 bytes
00000000 4f 4b 0d 0a                                         OK..

23:17:16.428 SCH-A670: Now in modem mode
23:17:16.428 SCH-A670: Switching from modem to BREW
23:17:16.428 /dev/ttyACM0: Writing Data - 10 bytes
00000000 41 54 24 51 43 44 4d 47 0d 0a                       AT$QCDMG..

23:17:26.426 SCH-A670: Retry switching from modem to BREW
23:17:26.428 /dev/ttyACM0: Writing Data - 10 bytes
00000000 41 54 24 51 43 44 4d 47 0d 0a                       AT$QCDMG..

23:17:36.424 SCH-A670: Switching from None to BREW
23:17:36.427 SCH-A670: Switching to modem
23:17:36.427 /dev/ttyACM0: Writing Data - 8 bytes
00000000 41 54 45 30 56 31 0d 0a                             ATE0V1..

23:17:46.424 SCH-A670: trying to switch from BREW mode
23:17:46.425 SCH-A670: Switching from BREW to modem
23:18:06.423 SCH-A670: Switching from None to BREW
23:18:06.423 SCH-A670: Switching to modem
23:18:06.426 /dev/ttyACM0: Writing Data - 8 bytes
00000000 41 54 45 30 56 31 0d 0a                             ATE0V1..

23:18:06.438 /dev/ttyACM0: Reading remaining data Data - 15 bytes
00000000 4f 4b 0d 0a 44 01 c8 3f 7e 0d 0a 4f 4b 0d 0a        OK..D..?~..OK..

23:18:06.439 SCH-A670: Switching from modem to BREW
23:18:06.439 /dev/ttyACM0: Writing Data - 10 bytes
00000000 41 54 24 51 43 44 4d 47 0d 0a                       AT$QCDMG..

23:18:16.438 SCH-A670: Retry switching from modem to BREW
23:18:16.441 /dev/ttyACM0: Writing Data - 10 bytes
00000000 41 54 24 51 43 44 4d 47 0d 0a                       AT$QCDMG..

23:18:26.440 Error: Device needs attention - SCH-A670 on /dev/ttyACM0
SCH-A670 on /dev/ttyACM0: The phone is not responding while
transitioning mode from phonebook to brew.

See the help for troubleshooting tips

##########

Next, the one from Mac OS X:

19:44:54.122 /dev/cu.usbmodem: Opening port /dev/cu.usbmodem, 115200
baud, timeout 3.000000, hardwareflow 0, softwareflow 0
19:44:54.195 /dev/cu.usbmodem: Open of comm port suceeded
19:44:54.196 SCH-A670: Switching to modem
19:44:54.197 /dev/cu.usbmodem: Writing Data - 8 bytes
00000000 41 54 45 30 56 31 0d 0a                             ATE0V1..

19:44:57.172 SCH-A670: trying to switch from BREW mode
19:44:57.172 SCH-A670: Switching from BREW to modem
19:45:00.274 /dev/cu.usbmodem: Writing Data - 8 bytes
00000000 41 54 45 30 56 31 0d 0a                             ATE0V1..

19:45:00.306 /dev/cu.usbmodem: Reading remaining data Data - 4 bytes
00000000 4f 4b 0d 0a                                         OK..

19:45:00.320 SCH-A670: Now in modem mode
19:45:00.321 SCH-A670: Switching from modem to phonebook
19:45:00.322 /dev/cu.usbmodem: Writing Data - 12 bytes
00000000 41 54 23 50 4d 4f 44 45 3d 31 0d 0a                 AT#PMODE=1..

19:45:00.323 /dev/cu.usbmodem: Reading remaining data Data - 4 bytes
00000000 4f 4b 0d 0a                                         OK..

19:45:00.324 SCH-A670: Now in phonebook mode
19:45:00.325 SCH-A670: Now in phonebook mode
19:45:00.326 SCH-A670: Retrieving fundamental phone information
19:45:00.327 SCH-A670: Reading phone serial number
19:45:00.327 /dev/cu.usbmodem: Writing Data - 8 bytes
00000000 41 54 2b 67 73 6e 0d 0a                             AT+gsn..

19:45:00.371 /dev/cu.usbmodem: Reading remaining data Data - 22 bytes
00000000 2b 47 53 4e 3a 20 32 39 39 43 43 31 30 31 0d 0a     +GSN: 299CC101..
00000010 0d 0a 4f 4b 0d 0a                                   ..OK..

19:45:00.386 SCH-A670: Reading group information
19:45:00.386 /dev/cu.usbmodem: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 30 0d 0a                 AT#PBGRR=0..

19:45:00.403 /dev/cu.usbmodem: Reading remaining data Data - 46 bytes
00000000 23 50 42 47 52 52 3a 20 30 2c 22 46 72 69 65 6e     #PBGRR: 0,"Frien
00000010 64 22 2c 30 2c 4d 2c 31 39 38 30 30 31 30 36 54     d",0,M,19800106T
00000020 30 30 30 30 30 30 0d 0a 0d 0a 4f 4b 0d 0a           000000....OK..

19:45:00.405 /dev/cu.usbmodem: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 31 0d 0a                 AT#PBGRR=1..

19:45:00.455 /dev/cu.usbmodem: Reading remaining data Data - 46 bytes
00000000 23 50 42 47 52 52 3a 20 31 2c 22 46 61 6d 69 6c     #PBGRR: 1,"Famil
00000010 79 22 2c 30 2c 4d 2c 31 39 38 30 30 31 30 36 54     y",0,M,19800106T
00000020 30 30 30 30 30 30 0d 0a 0d 0a 4f 4b 0d 0a           000000....OK..

19:45:00.456 /dev/cu.usbmodem: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 32 0d 0a                 AT#PBGRR=2..

19:45:00.458 /dev/cu.usbmodem: Reading remaining data Data - 49 bytes
00000000 23 50 42 47 52 52 3a 20 32 2c 22 43 6f 6c 6c 65     #PBGRR: 2,"Colle
00000010 61 67 75 65 22 2c 30 2c 4d 2c 31 39 38 30 30 31     ague",0,M,198001
00000020 30 36 54 30 30 30 30 30 30 0d 0a 0d 0a 4f 4b 0d     06T000000....OK.
00000030 0a                                                  .

19:45:00.460 /dev/cu.usbmodem: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 33 0d 0a                 AT#PBGRR=3..

19:45:00.487 /dev/cu.usbmodem: Reading remaining data Data - 43 bytes
00000000 23 50 42 47 52 52 3a 20 33 2c 22 56 49 50 22 2c     #PBGRR: 3,"VIP",
00000010 30 2c 4d 2c 31 39 38 30 30 31 30 36 54 30 30 30     0,M,19800106T000
00000020 30 30 30 0d 0a 0d 0a 4f 4b 0d 0a                    000....OK..

19:45:00.515 /dev/cu.usbmodem: Writing Data - 12 bytes
00000000 41 54 23 50 42 47 52 52 3d 34 0d 0a                 AT#PBGRR=4..

19:45:00.519 /dev/cu.usbmodem: Reading remaining data Data - 47 bytes
00000000 23 50 42 47 52 52 3a 20 34 2c 22 4e 6f 20 4e 61     #PBGRR: 4,"No Na
00000010 6d 65 22 2c 30 2c 4d 2c 31 39 38 30 30 31 30 36     me",0,M,19800106
00000020 54 30 30 30 30 30 30 0d 0a 0d 0a 4f 4b 0d 0a        T000000....OK..

19:45:00.550 SCH-A670: Switching from phonebook to modem
19:45:00.551 /dev/cu.usbmodem: Writing Data - 12 bytes
00000000 41 54 23 50 4d 4f 44 45 3d 30 0d 0a                 AT#PMODE=0..

19:45:00.554 /dev/cu.usbmodem: Reading remaining data Data - 4 bytes
00000000 4f 4b 0d 0a                                         OK..

19:45:00.555 SCH-A670: Now in modem mode
19:45:00.556 SCH-A670: Switching from modem to BREW
19:45:00.557 /dev/cu.usbmodem: Writing Data - 10 bytes
00000000 41 54 24 51 43 44 4d 47 0d 0a                       AT$QCDMG..

19:45:00.617 /dev/cu.usbmodem: Reading remaining data Data - 4 bytes
00000000 4f 4b 0d 0a                                         OK..

19:45:00.652 SCH-A670: Now in brew mode
19:45:00.653 SCH-A670: Now in brew mode
19:45:00.653 SCH-A670: Getting file contents 'nvm/nvm/brew_melody'
19:45:00.653 SCH-A670: brew request Data - 24 bytes
<#! p_brew.readfilerequest !#>
00000000 59 04 00 14 6e 76 6d 2f 6e 76 6d 2f 62 72 65 77     Y...nvm/nvm/brew
00000010 5f 6d 65 6c 6f 64 79 00                             _melody.

19:45:00.723 SCH-A670: brew response Data - 267 bytes
<#! p_brew.readfileresponse !#>
00000000 59 04 00 00 01 08 0c 00 00 00 01 01 00 00 00 00     Y...............
00000010 73 6f 6d 6d 66 6f 72 74 61 72 32 00 00 00 00 00     sommfortar2.....
00000020 00 08 62 72 65 77 2f 72 69 6e 67 65 72 2f 73 6f     ..brew/ringer/so
00000030 6d 6d 66 6f 72 74 2e 6d 69 64 6d 69 64 00 00 00     mmfort.midmid...
00000040 00 05 00 00 00 00 00 00 00 00 00 00 00 00 00 00     ................
00000050 00 00 00 00 00 18 00 00 01 01 00 01 00 33 77 6f     .............3wo
00000060 72 6c 64 36 74 61 72 32 00 00 00 00 00 00 07 62     rld6tar2.......b
00000070 72 65 77 2f 72 69 6e 67 65 72 2f 33 77 6f 72 6c     rew/ringer/3worl
00000080 64 36 2e 6d 69 64 64 6d 69 64 00 00 00 00 05 00     d6.middmid......
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00     ................
000000a0 00 00 17 00 00 01 02 00 00 00 62 61 72 6f 6e 31     ..........baron1
000000b0 36 74 61 72 32 00 00 00 00 00 00 06 62 72 65 77     6tar2.......brew
000000c0 2f 72 69 6e 67 65 72 2f 62 61 72 6f 6e 31 2e 6d     /ringer/baron1.m
000000d0 69 64 64 64 6d 69 64 00 00 00 00 05 00 00 00 00     idddmid.........
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16     ................
000000f0 00 00 01 03 00 00 00 71 75 69 63 6b 31 5f 30 61     .......quick1_0a
00000100 72 32 00 00 00 00 00 00 08 62 72                    r2.......br

(There's a lot more after that, but sufficeth to say, there is never a timeout.)

############

Here's my dmesg output from the time I plug my phone in until the loss
of communication occurs:

hub 1-0:1.0: state 5 ports 8 chg 0000 evt ff80
ehci_hcd 0000:00:1d.7: GetStatus port 7 status 001803 POWER sig=j  CSC CONNECT
hub 1-0:1.0: port 7, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 7: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:1d.7: port 7 full speed --> companion
ehci_hcd 0000:00:1d.7: GetStatus port 7 status 003801 POWER OWNER sig=j  CONNECT
uhci_hcd 0000:00:1d.3: wakeup_hc
hub 5-0:1.0: state 5 ports 2 chg 0000 evt 0002
uhci_hcd 0000:00:1d.3: port 1 portsc 0083,00
hub 5-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 5-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
usb 5-1: new full speed USB device using uhci_hcd and address 2
usb 5-1: ep0 maxpacket = 16
usb 5-1: skipped 4 descriptors after interface
usb 5-1: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-1: default language 0x0409
usb 5-1: Product: SAMSUNG CDMA Technologies
usb 5-1: Manufacturer: SAMSUNG Electronics Co.,Ltd.
usb 5-1: SerialNumber: 
usb 5-1: hotplug
usb 5-1: adding 5-1:1.0 (config #1, interface 0)
usb 5-1:1.0: hotplug
cdc_acm 5-1:1.0: usb_probe_interface
cdc_acm 5-1:1.0: usb_probe_interface - got id
drivers/usb/class/cdc-acm.c: interfaces are valid
cdc_acm 5-1:1.0: ttyACM0: USB ACM device
drivers/usb/class/cdc-acm.c: acm_control_msg: rq: 0x22 val: 0x0 len:
0x0 result: 0
drivers/usb/class/cdc-acm.c: acm_control_msg: rq: 0x20 val: 0x0 len:
0x7 result: 7
usb 5-1: adding 5-1:1.1 (config #1, interface 1)
usb 5-1:1.1: hotplug
drivers/usb/class/cdc-acm.c: Entering acm_tty_open.

drivers/usb/class/cdc-acm.c: acm_control_msg: rq: 0x22 val: 0x3 len:
0x0 result: 0
drivers/usb/class/cdc-acm.c: set line: 115200 0 0 8
drivers/usb/class/cdc-acm.c: acm_control_msg: rq: 0x20 val: 0x0 len:
0x7 result: 7
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 8 bytes,

drivers/usb/class/cdc-acm.c: Get 8 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 7 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 12 bytes,

drivers/usb/class/cdc-acm.c: Get 12 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 7 bytes to tty layer
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 8 bytes,

drivers/usb/class/cdc-acm.c: Get 8 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 25 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 12 bytes,

drivers/usb/class/cdc-acm.c: Get 12 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 49 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 12 bytes,

drivers/usb/class/cdc-acm.c: Get 12 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring+ framing- parity- overrun-
drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 49 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 12 bytes,

drivers/usb/class/cdc-acm.c: Get 12 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 52 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 12 bytes,

drivers/usb/class/cdc-acm.c: Get 12 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 46 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 12 bytes,

drivers/usb/class/cdc-acm.c: Get 12 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 50 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 12 bytes,

drivers/usb/class/cdc-acm.c: Get 12 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 7 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 10 bytes,

drivers/usb/class/cdc-acm.c: Get 10 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr- break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 10 bytes,

drivers/usb/class/cdc-acm.c: Get 10 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 8 bytes,

drivers/usb/class/cdc-acm.c: Get 8 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 4 bytes,

drivers/usb/class/cdc-acm.c: Get 4 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 4 bytes,

drivers/usb/class/cdc-acm.c: Get 4 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr- break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 8 bytes,

drivers/usb/class/cdc-acm.c: Get 8 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_rx_tasklet
drivers/usb/class/cdc-acm.c: Handed 18 bytes to tty layer
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 10 bytes,

drivers/usb/class/cdc-acm.c: Get 10 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr- break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 10 bytes,

drivers/usb/class/cdc-acm.c: Get 10 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: acm_control_msg: rq: 0x22 val: 0x0 len:
0x0 result: 0
drivers/usb/class/cdc-acm.c: acm_ctrl_irq - urb shutting down with status: -2
drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status -2

drivers/usb/class/cdc-acm.c: Entering acm_tty_open.

drivers/usb/class/cdc-acm.c: acm_control_msg: rq: 0x22 val: 0x3 len:
0x0 result: 0
drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 8 bytes,

drivers/usb/class/cdc-acm.c: Get 8 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 4 bytes,

drivers/usb/class/cdc-acm.c: Get 4 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: Entering acm_tty_write to write 4 bytes,

drivers/usb/class/cdc-acm.c: Get 4 bytes...
drivers/usb/class/cdc-acm.c:   Successfully copied.

drivers/usb/class/cdc-acm.c: Entering acm_write_bulk with status 0

drivers/usb/class/cdc-acm.c: Entering acm_softint.

drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr- break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: input control lines: dcd- dsr+ break-
ring- framing- parity- overrun-
drivers/usb/class/cdc-acm.c: acm_control_msg: rq: 0x22 val: 0x0 len:
0x0 result: 0
drivers/usb/class/cdc-acm.c: acm_ctrl_irq - urb shutting down with status: -2
drivers/usb/class/cdc-acm.c: Entering acm_read_bulk with status -2

#################

I apologize in advance if this sort of information is supposed to go
to the linux-usb-devel mailing list. This is my first foray into
driver debugging. If anyone has any ideas, I would greatly appreciate
it. I can also provide my lsusb output and kernel config if anyone
would is interested. I would love to get this device working under
Linux, and because it works on two other platforms, I have hope that
it can. Thanks in advance!

-- 
Brad Fish
[EMAIL PROTECTED]


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to