|
Server IP : 10.2.73.233 / Your IP : 216.73.216.223 Web Server : Apache/2.4.59 (Debian) System : Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : www-data ( 33) PHP Version : 5.6.40-64+0~20230107.71+debian10~1.gbp673146 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/../../usr/share/java/../python-apt/../python-support/../bug/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
#!/bin/sh
PATH=/sbin:$PATH
if which lspci > /dev/null 2>&1; then
echo lspci: >&3
LC_ALL=C lspci -nn >&3
printf "\n" >&3
fi
if which lsusb > /dev/null 2>&1; then
echo lsusb: >&3
(
LC_ALL=C lsusb
) | sort >&3
printf "\n" >&3
fi
# XXX No idea how to do this with discover v2
#echo discover: >&3
#discover --format="%m:%V %M\n" all >&3
if [ -d /sys/bus/pci/devices/ ] ; then
echo loaded modules: >&3
(
cd /sys/bus/pci/devices/
for address in * ; do
if [ -d "$address/driver/module" ] ; then
module=`cd $address/driver/module ; pwd -P | xargs basename`
if grep -q "^$module " /proc/modules ; then
address=$(echo $address |sed s/0000://)
echo "`lspci -n -s $address | tail -n 1 | awk '{print $3}'` $module" >&3
fi
fi
done
)
echo >&3
fi
# Report X settings
if which debconf-get-selections > /dev/null 2>&1; then
echo X setting: >&3
debconf-get-selections | egrep xserver-.*/config/device/driver >&3
fi