protected function _usb()
    {
        if (CommonFunctions::executeProgram('listusb', '', $bufr, PSI_DEBUG)) {
            $devices = preg_split("/\n/", $bufr);
            foreach ($devices as $device) {
                if (preg_match("/^\S+\s+\S+\s+\"(.*)\"\s+\"(.*)\"/", $device, $ar_buf)) {
                    $dev = new HWDevice();
                    $dev->setName(trim($ar_buf[1]." ".$ar_buf[2]));
                    $this->sys->setUSBDevices($dev);
                }
            }
        }
    }
protected function _usb()
    {
        if (CommonFunctions::executeProgram('listusb', '', $bufr, PSI_DEBUG)) {
            $devices = preg_split("/\n/", $bufr);
            foreach ($devices as $device) {
                if (preg_match("/^\S+\s+\S+\s+\"(.*)\"\s+\"(.*)\"/", $device, $ar_buf)) {
                    $dev = new HWDevice();
                    $dev->setName(trim($ar_buf[1]." ".$ar_buf[2]));
                    $this->sys->setUSBDevices($dev);
                }
            }
        }
    }
protected function _usb ( ) { if ( CommonFunctions :: executeProgram ( 'listusb' , '' , $ bufr , PSI_DEBUG ) ) { $ devices = preg_split ( "/\n/" , $ bufr ) ; foreach ( $ devices as $ device ) { if ( preg_match ( "/^\S+\s+\S+\s+\"(.*)\"\s+\"(.*)\"/" , $ device , $ ar_buf ) ) { $ dev = new HWDevice ( ) ; $ dev -> setName ( trim ( $ ar_buf [ 1 ] . " " . $ ar_buf [ 2 ] ) ) ; $ this -> sys -> setUSBDevices ( $ dev ) ; } } } }
USB devices
get the usb device information

@return void
USB devices get the usb device information