Re: request for pointer to documentation on WUSB

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

 



On Tue, 2014-02-25 at 14:26 -0600, Thomas Pugliese wrote:

> Hi Oliver,
> There is some documentation for WUSB scattered across the files below but 
> it is not very detailed.
> 
>     Documentation/usb/wusb-cbaf
>     Documentation/ABI/testing/sysfs-class-uwb_rc-wusbhc
>     Documentation/ABI/testing/sysfs-wusb_cbaf
>     Documentation/ABI/testing/sysfs-bus-usb
> 
> The basic set of steps to set up a WUSB connection are:

Thank you, there is some documentation. I am trying to get
my head around it.

	Thanks
		Oliver

> 1.  Start the wireless channel by storing a CHID value to the host 
> controller's wusb_chid sysfs attribute.

That unfortunately fails:
[66488.705043] usb 1-1.2: new high-speed USB device number 9 using
ehci-pci
[66488.791581] usb 1-1.2: New USB device found, idVendor=13cf,
idProduct=1200
[66488.791587] usb 1-1.2: New USB device strings: Mfr=2, Product=1,
SerialNumber=3
[66488.791599] usb 1-1.2: Product: Wireless USB Dongle
[66488.791601] usb 1-1.2: Manufacturer:  
[66488.791603] usb 1-1.2: SerialNumber: 123456789
[66489.947323] usb 1-1.2: supported encryption types: CCM-1 (0x01) 
[66489.947347] hwa-hc 1-1.2:1.0: Wireless USB HWA host controller
[66489.947355] hwa-hc 1-1.2:1.0: new USB bus registered, assigned bus
number 5
[66490.000964] hwa-hc 1-1.2:1.0: Wireless USB Cluster ID set to 0xfe
[66490.001146] usb usb5: New USB device found, idVendor=1d6b,
idProduct=0002
[66490.001150] usb usb5: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[66490.001152] usb usb5: Product: Wireless USB HWA host controller
[66490.001154] usb usb5: Manufacturer: Linux 3.14.0-rc1-12-desktop+
hwa-hcd
[66490.001156] usb usb5: SerialNumber: wusb-hwa
[66490.001346] hub 5-0:1.0: USB hub found
[66490.001378] hub 5-0:1.0: 5 ports detected
[66490.004861] uwb_rc uwb0: new uwb radio controller (mac
03:00:00:00:1c:af dev 70:b6) on usb 1-1.2:1.1

[66571.177082] uwb_rc uwb0: Cannot set new IE on device: -110


> 
> 2.  As child devices connect, verify that the value read from their 
> wusb_cdid sysfs attribute matches a known device.
> 
> 3.  If the device is known, set the device's wusb_ck attribute to the 
> private CKEY value for that device in order to authenticate it.
> 
> 4.  Once authenticated, set the authorized attribute to 1 to allow the usb 
> core to enumerate the device.
> 
> Once that is done, the device should look like any other USB device in the 
> system.
> 
> Hope this helps,
> 
> Thomas
> --
> 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



--
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