系统管理指南:设备和文件系统

Procedure如何更改多重配置 USB 设备的缺省配置

使用多重配置 USB 设备时,请牢记以下要点:

  1. 确保设备未被使用。

  2. 更改缺省 USB 配置。

    例如:


    # cfgadm -x usb_config -o config=2 usb0/4
    
       Setting the device: /devices/pci@1f,0/usb@c,3:4
    
       to USB configuration 2
    
       This operation will suspend activity on the USB device
    
       Continue (yes/no)? yes
    
  3. 检验设备是否已更改。

    例如:


    # cfgadm -lv usb0/4
    
    Ap_Id  Receptacle   Occupant     Condition  Information When  Type    
    
         Busy     Phys_Id
    
    usb0/4 connected    unconfigured ok         Mfg: Sun  2000   
    
    Product: USB-B0B0 aka Robotech
    
    With 6 EPPS High Clk Mode   NConfigs: 7  Config: 2  : EVAL Board Setup  
    
    unavailable
    
    usb-device   n        /devices/pci@1f,0/usb@c,3:4

    请注意,Config: 现在显示 2。