USBFS 使用

Using usbfs tool cp smokey to device under diags.

  1. 在个人PC设置共享文件夹,终端命令:
    usbfs -f /Users/scott/Desktop/BatteryLeak
  2. Enter Diags using nanokdp.
    usb --setsource kis (for kis)
  3. 使用usbfs
    usbfs --mount
    4.在设备创建文件夹:
    mkdir nandfs:\AppleInternal\Diags\Logs\Smokey\BatteryLeak
    5.同步文件:
    cp usbfs:\Main.plist nandfs:\AppleInternal\Diags\Logs\Smokey\BatteryLeak\Main.plist —> 同步文件进机台
    cp nandfs:\AppleInternal\Diags\Logs\Smokey\BatteryLeak\Main.plist usbfs:\Main.plist 同步机台文件到电脑
    6.同步文件夹
    cp -r usbfs:\QT100. nandfs:\AppleInternal\Diags\Logs\Smokey\QT100\
  4. 查看文件夹里的文件:
    dir nandfs:\AppleInternal\Diags\Logs\Smokey\BatteryLeak
    8.查看文件内容:
    cat nandfs:\AppleInternal\Diags\Logs\Smokey\QT1\Smokey.log
    9.删除文件:
    rm nandfs:\AppleInternal\Diags\Logs\Smokey\QT100\Main.plist
    10.关闭usbfs
    usbfs —unmount

D28 station1110

Enable_usbfs_On_Host
,Rush:createFold,“{”“input”“:{”“customKey”“:”“[working_dir]/AtlasLogs/LogCollector”“},”“output”" : [““LogPath””]}“,
,UsbfsPlugin:setupConnection,”{““args””:[“”-f"“,”“[LogPath]”"]}”,

Enable_usbfs_On_DUT
,Dut:sendCommand,usbfs —mount,

Logs:\MobileMediaFactoryLogs\LogCollector\RcamCoexA149\

Sync_Smoke_Log
,Dut:sendCommand,dir nandfs:\MobileMediaFactoryLogs\LogCollector\RcamCoexA149,
,Dut:sendCommand,cp nandfs:\MobileMediaFactoryLogs\LogCollector\RcamCoexA149\PDCA.plist usbfs:,
,Dut:sendCommand,cp nandfs:\MobileMediaFactoryLogs\LogCollector\RcamCoexA149\results.zip usbfs:,
,Dut:sendCommand,usbfs --unmount,
,UsbfsPlugin:teardownConnection,

Parse_Smoke_PDCA
,Rush:parsePDCAPlist,“{”“path”“: “”[LogPath]/PDCA.plist”“}”,

03-25
### USB Full Speed Specifications Overview USB Full Speed (FS), which operates at a maximum data transfer rate of 12 Mbps, was introduced as part of the original USB specification version 1.0 in January 1996[^1]. This standard provides sufficient performance for many peripheral devices such as keyboards, mice, joysticks, and other low-bandwidth peripherals. The USB Full Speed interface uses differential signaling over twisted-pair cables with a characteristic impedance of approximately 90 ohms. The signals are referred to as D+ and D-, and they operate within voltage levels defined by the USB specification. When connected to a host system, USB Full Speed devices undergo an enumeration process managed through hub events, where the root hub communicates directly with attached devices[^2]. #### Key Characteristics of USB Full Speed - **Data Rate**: Maximum throughput is limited to 12 Mbps. - **Cabling Requirements**: Utilizes four-wire cabling consisting of VBUS (+5V power supply), GND (ground reference), and two signal wires labeled D+ and D-. - **Power Delivery**: Supports up to 500 mA per port under certain conditions specified in the USB Power Delivery standards. For systems requiring enhanced functionality beyond basic operation provided by default drivers included in modern operating environments like Solaris Express releases, additional software packages may need installation depending on specific hardware configurations encountered during deployment scenarios involving custom implementations outside typical usage patterns expected from general consumer electronics applications[^4]. Below demonstrates how you might configure your environment programmatically: ```bash #!/bin/bash # Example script showing configuration steps related to enabling full speed mode support echo "Enabling USB Full-Speed Mode..." modprobe usbcore dmesg | grep -i 'usb' # Check kernel messages regarding detected controllers/devices lsusb # List all currently recognized USB buses & their associated devices ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值