Re: Tell linux-usb@xxxxxxxxxxxxxxx to add your device to a proper driver

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

 



On Tue, Mar 05, 2024 at 09:50:09PM +0800, Mike Miller wrote:

> Since sending you the email, a couple of things I have also noticed.
> 
> 1. If I run the Audrino IDE (on windows), I have to plug in the device 
> after I initiate the upload of the script (it actally tells me to do it).
> 
> 2. I have to use a specific cable (1 of 3 I have tried).
> 
> 3. It doesnt create the ACM0 device I was expecting and ttyS0 doesnt 
> work (not ttys4, which are the only 2 options).

The generic USB serial driver, which you tried to use and which printed
the message about reporting this upstream, would have created a ttyUSB0
character device if it worked.

But as I mentioned below, and as is clear from the lsusb output you
posted, the device in question does not have any bulk endpoints, which
the USB serial driver requires.

I don't know how this device is expected to work, but it does not look
like a serial device in its current (default) configuration. Perhaps it
needs to be reconfigured before you can use it somehow.

> Anyway, to your particular request, with the "right" cable, the lsusb -v 
> output is

> Bus 001 Device 022: ID 16d0:0753 MCS Digistump DigiSpark
> Device Descriptor:
>    bLength                18
>    bDescriptorType         1
>    bcdUSB               1.10
>    bDeviceClass          255 Vendor Specific Class
>    bDeviceSubClass         0
>    bDeviceProtocol         0
>    bMaxPacketSize0         8
>    idVendor           0x16d0 MCS
>    idProduct          0x0753 Digistump DigiSpark
>    bcdDevice            2.02
>    iManufacturer           0
>    iProduct                0
>    iSerial                 0
>    bNumConfigurations      1
>    Configuration Descriptor:
>      bLength                 9
>      bDescriptorType         2
>      wTotalLength       0x0012
>      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         0
>        bInterfaceSubClass      0
>        bInterfaceProtocol      0
>        iInterface              0
> Device Status:     0x0067
>    Self Powered
>    Remote Wakeup Enabled
>    Test Mode
>    Debug Mode

> On 4/3/24 18:21, Johan Hovold wrote:
> > On Wed, Feb 07, 2024 at 08:48:12PM +0800, Mike Miller wrote:
 
> >> I am struggling to get a cheap arse Chinese knock-off Arduino Nano
> >> working on my
> >>
> >> Linux MyLinux 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC
> >> Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
> >>
> >> and I get the message
> >>
> >> [ 2840.099780] usb 2-1.2: new low-speed USB device number 8 using ehci-pci
> >> [ 2840.210523] usb 2-1.2: New USB device found, idVendor=16d0,
> >> idProduct=0753, bcdDevice= 2.02
> >> [ 2840.210537] usb 2-1.2: New USB device strings: Mfr=0, Product=0,
> >> SerialNumber=0
> >> [ 2840.211335] usbserial_generic 2-1.2:1.0: The "generic" usb-serial
> >> driver is only for testing and one-off prototypes.
> >> [ 2840.211338] usbserial_generic 2-1.2:1.0: Tell
> >> linux-usb@xxxxxxxxxxxxxxx to add your device to a proper driver.
> >> [ 2840.211340] usbserial_generic 2-1.2:1.0: device has no bulk endpoints

> > Hmm. Without bulk endpoints you shouldn't be able to actually use the
> > device with the generic driver.

Johan




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

  Powered by Linux