Re: cdc_acm driver with Arduino USB2SERIAL problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
do you mean that it should never had been working (past situation) or
now it should not (current state)?
I ask this because it was working... now the doubt you make me it is
that for some unknown reasons the device got something changed in the
firmware or lost some configurations...
The strange thing is that to check this I bought another device still
from Arduino and also that it's not working/detected by cdc_acm driver.
In this case the dmesg output is different. See Below. I CC'ed also
johan since he asked the lsusb -v output and to avoid two people
"working" on the same matter...

The following is the dmesg and lsusb -v output of Arduino ISP
(http://arduino.cc/en/Main/ArduinoISP)
*******************************************************
[50765.439538] usb 1-1.3: new low-speed USB device number 7 using
xhci_hcd
[50765.531655] usb 1-1.3: New USB device found, idVendor=2341,
idProduct=0049
[50765.531660] usb 1-1.3: New USB device strings: Mfr=0, Product=2,
SerialNumber=0
[50765.531663] usb 1-1.3: Product: ArduinoISP

as root I typed
echo '0x2341 0x0049' > /sys/bus/usb/drivers/cdc_acm/new_id

dmesg additional output
[50823.826785] cdc_acm 1-1.3:1.0: Zero length descriptor references
[50823.826799] cdc_acm: probe of 1-1.3:1.0 failed with error -22

lsusb -v output
Bus 001 Device 007: ID 2341:0049 Arduino SA 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x2341 Arduino SA
  idProduct          0x0049 
  bcdDevice            1.04
  iManufacturer           0 
  iProduct                2 ArduinoISP
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           18
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               40mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
Device Status:     0x0000
  (Bus Powered)

*******************************************************

Thanks again for your support! If I had imagined it would have been so
fast... :-)
/r0b


On gio, 2015-02-19 at 09:38 +0100, Oliver Neukum wrote:
> On Thu, 2015-02-19 at 09:31 +0100, Roberto Bianchi wrote:
> > Wow! What a support!
> > 
> > ***************************************************************
> > Bus 001 Device 005: ID 03eb:2ff7 Atmel Corp. 
> > Device Descriptor:
> >   bLength                18
> >   bDescriptorType         1
> >   bcdUSB               1.10
> >   bDeviceClass            0 (Defined at Interface level)
> >   bDeviceSubClass         0 
> >   bDeviceProtocol         0 
> >   bMaxPacketSize0        32
> >   idVendor           0x03eb Atmel Corp.
> >   idProduct          0x2ff7 
> >   bcdDevice            0.00
> >   iManufacturer           0 
> >   iProduct                1 Arduino USB-Serial DFU
> >   iSerial                 0 
> >   bNumConfigurations      1
> >   Configuration Descriptor:
> >     bLength                 9
> >     bDescriptorType         2
> >     wTotalLength           27
> >     bNumInterfaces          1
> >     bConfigurationValue     1
> >     iConfiguration          0 
> >     bmAttributes         0x80
> >       (Bus Powered)
> >     MaxPower              100mA
> >     Interface Descriptor:
> >       bLength                 9
> >       bDescriptorType         4
> >       bInterfaceNumber        0
> >       bAlternateSetting       0
> >       bNumEndpoints           0
> >       bInterfaceClass       254 Application Specific Interface
> >       bInterfaceSubClass      1 Device Firmware Update
> >       bInterfaceProtocol      2 
> >       iInterface              0 
> >       Device Firmware Upgrade Interface Descriptor:
> >         bLength                             9
> >         bDescriptorType                    33
> >         bmAttributes                        3
> >           Will Not Detach
> >           Manifestation Intolerant
> >           Upload Supported
> >           Download Supported
> >         wDetachTimeout                      0 milliseconds
> >         wTransferSize                    3072 bytes
> >         bcdDFUVersion                   1.00
> > Device Status:     0x0001
> >   Self Powered
> > *******************************************************************
> 
> That is a DFU device. It cannot work with CDC-ACM. Did you mean
> to use it with CDC-ACM after uploading firmware? If so, I need
> the descriptor in that state.
> In the current state the device lacks endpoints. It cannot
> possibly work with CDC-ACM.
> 
> 	Regards
> 		Oliver
> 
> 


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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux