Re: Which serial driver for the development board?
- In reply to: Hans Petter Selasky : "Re: Which serial driver for the development board?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Mar 2023 09:51:35 UTC
On Fri, 24 Mar 2023 09:43:29 +0100 Hans Petter Selasky <hps@selasky.org> wrote: > On 3/23/23 22:03, Milan Obuch wrote: > > # usbconfig -d ugen0.5 dump_all_desc > > ugen0.5: <vendor 0x1d50 product 0x6141> at usbus0, cfg=255 md=HOST > > spd=FULL (12Mbps) pwr=ON (100mA) > > > > bLength = 0x0012 > > bDescriptorType = 0x0001 > > bcdUSB = 0x0200 > > bDeviceClass = 0x0002 <Communication device> > > bDeviceSubClass = 0x0000 > > bDeviceProtocol = 0x0000 > > bMaxPacketSize0 = 0x0020 > > idVendor = 0x1d50 > > idProduct = 0x6141 > > bcdDevice = 0x0000 > > iManufacturer = 0x0000 <no string> > > iProduct = 0x0000 <no string> > > iSerialNumber = 0x0000 <no string> > > bNumConfigurations = 0x0001 > > > > I think there is some bug in device's firmware, but as MacOS was > > able to communicate with it out-of-the-box, no configuration > > necessary on MAC, there should be a way. > > Hi, > > You may need to run "usbdump" before plugging the device to figure > out exactly what goes wrong. > > cfg=255 means there is a permanent issue using the USB control > endpoint data channel. Yes - likely a bug in the firmware that it > does not handle error conditions properly. > > --HPS > I found how I can produce basic USB dumps yesterday. Just a quick question - could using '-s <snaplen>' option help produce better dumps? I need some time to prepare the dumps, using '-w <file>' to save them for examination, I'd just like to know if there is anything special to use for dump in addition to '-d 0.5' for device filter. Regards, Milan