Current-Users archive

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

Re: USB networking (cdce) with Linux host (g_ether)



From: Martin Husemann <martin%duskware.de@localhost>, Date: Sat, 4 Apr 2015 07:15:20 +0200

> On Sat, Apr 04, 2015 at 08:50:01AM +0900, Ryo ONODERA wrote:
>> blymn@ provides me the program to print interface detail.
>> See http://mail-index.netbsd.org/current-users/2014/01/21/msg024127.html
>> or attached probe_usb.c .
> 
> Yes, that is what I was thinking of - we should make it work with any usb
> driver and integrate it into usbdevs(8).
> 
> Can you show the output on your device as well?

Hi,

I had posted my output.
See http://mail-index.netbsd.org/current-users/2014/01/21/msg024128.html or

=== === === === === === === === === === === === === === === ===
length: 9
descriptor type: 2
total length: -9178
num interface: 2
config value: 1
configuration: 0
Attributes: (0x80) 
max power: 100 mA

Interface 0:
  Length: 9
  Descriptor Type: 4
  Interface No: 0
  Alt Setting: 0
  Num Endpoints: 1
  Interface Class: 2
  Interface SubClass: 2
  Interface Protocol: 1
  Interface: 0
  Endpoint 0:
    Length: 7
    Length: 5
    Length: (0x81) 1 (in)
    Attributes: (0x3) interrupt 
    Max Packet Size: -9228
    Interval: 128

Interface 1:
  Length: 9
  Descriptor Type: 4
  Interface No: 1
  Alt Setting: 0
  Num Endpoints: 2
  Interface Class: 10
  Interface SubClass: 0
  Interface Protocol: 0
  Interface: 0
  Endpoint 0:
    Length: 7
    Length: 5
    Length: (0x82) 2 (in)
    Attributes: (0x2) bulk 
    Max Packet Size: -9228
    Interval: 1
  Endpoint 1:
    Length: 7
    Length: 5
    Length: (0x2) 2 (out)
    Attributes: (0x2) bulk 
    Max Packet Size: -9228
    Interval: 1

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index