SPL is 1.33.2013, S-OFF
In ubuntu, enter the lsusb command to display
Bus 001 Device 004: ID 0bb4:0c02 High Tech Computer Corp. Dream / ADP1 / G1 Phone (Debug)Bus 001 Device 002: ID 80ee:0021
The first device is my mobile phone, So Ubuntu has detected this device.
In addition, this device can be selected in the active USB status of virtualbox.
In the command line
Fastboot Devices
But cannot display any devices
Fastboot reboot
Show waiting for devices
Solution: configure the udev rule file and adjust the permissions.
Modify the 51-android.rules file in the/etc/udev/rule. d directory (depending on the situation, the file name may be slightly different). Backup is a good habit of modifying files.
# adb protocol on passion (Nexus One)SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e12", MODE="0600", OWNER="<tom>"# fastboot protocol on passion (Nexus One)SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0600", OWNER="<tom>"# adb protocol on crespo (Nexus S)SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e22", MODE="0600", OWNER="<tom>"# fastboot protocol on crespo (Nexus S)SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e20", MODE="0600", OWNER="<tom>"
I noticed that idvendor is the ID displayed when lsusb is used. I displayed 0bb4, and then read the note. The second sentence is to change the mode to 0666.
# fastboot protocol on passion (Nexus One)SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0fff", MODE="0666", OWNER="<tom>"
Save.
Then
Sudo chmod A + x 51-android.rules
Sudo udevadm control -- reload-Rules
Re-unplug the USB and enter the fastboot devices command to find the device.
If not, shut down and restart.