christopher@Xyz:~$ readlink -f /sys/dev/char/$((0x$(stat -c %t /dev/dri/card0))):$((0x$(stat -c %T /dev/dri/card0)))/device/driver /sys/bus/pci/drivers/nouveau christopher@Xyz:~$ ls -l /sys/dev/char/$((0x$(stat -c %t /dev/dri/card0))):$((0x$(stat -c %T /dev/dri/card0)))/device/ total 0 -r--r--r-- 1 root root 4096 2011-10-16 12:23 boot_vga -rw-r--r-- 1 root root 4096 2011-10-16 14:24 broken_parity_status -r--r--r-- 1 root root 4096 2011-10-16 12:23 class -rw-r--r-- 1 root root 256 2011-10-16 12:23 config -r--r--r-- 1 root root 4096 2011-10-16 14:24 consistent_dma_mask_bits -r--r--r-- 1 root root 4096 2011-10-16 12:23 device -r--r--r-- 1 root root 4096 2011-10-16 14:24 dma_mask_bits lrwxrwxrwx 1 root root 0 2011-10-16 12:23 driver -> ../../../bus/pci/drivers/nouveau drwxr-xr-x 4 root root 0 2011-10-16 12:23 drm -rw------- 1 root root 4096 2011-10-16 14:24 enable lrwxrwxrwx 1 root root 0 2011-10-16 14:24 firmware_node -> ../../LNXSYSTM:00/device:00/PNP0A08:00/device:13 drwxr-xr-x 3 root root 0 2011-10-16 12:23 graphics drwxr-xr-x 3 root root 0 2011-10-16 12:23 hwmon drwxr-xr-x 3 root root 0 2011-10-16 12:23 i2c-2 drwxr-xr-x 3 root root 0 2011-10-16 12:23 i2c-3 -r--r--r-- 1 root root 4096 2011-10-16 12:23 irq -r--r--r-- 1 root root 4096 2011-10-16 14:24 local_cpulist -r--r--r-- 1 root root 4096 2011-10-16 12:23 local_cpus -r--r--r-- 1 root root 4096 2011-10-16 14:24 modalias -rw-r--r-- 1 root root 4096 2011-10-16 14:24 msi_bus -r--r--r-- 1 root root 4096 2011-10-16 14:24 name -r--r--r-- 1 root root 4096 2011-10-16 14:24 numa_node -rw-r--r-- 1 root root 4096 2011-10-16 14:24 performance_level -r--r--r-- 1 root root 4096 2011-10-16 14:24 performance_level_0 drwxr-xr-x 2 root root 0 2011-10-16 14:24 power --w--w---- 1 root root 4096 2011-10-16 14:24 remove --w--w---- 1 root root 4096 2011-10-16 14:24 rescan --w------- 1 root root 4096 2011-10-16 14:24 reset -r--r--r-- 1 root root 4096 2011-10-16 12:23 resource -rw------- 1 root root 16777216 2011-10-16 14:24 resource0 -rw------- 1 root root 268435456 2011-10-16 14:24 resource1 -rw------- 1 root root 268435456 2011-10-16 14:24 resource1_wc -rw------- 1 root root 16777216 2011-10-16 14:24 resource3 -rw------- 1 root root 131072 2011-10-16 14:24 rom lrwxrwxrwx 1 root root 0 2011-10-16 12:23 subsystem -> ../../../bus/pci -r--r--r-- 1 root root 4096 2011-10-16 14:24 subsystem_device -r--r--r-- 1 root root 4096 2011-10-16 14:24 subsystem_vendor -rw-r--r-- 1 root root 4096 2011-10-16 14:24 temp1_crit -r--r--r-- 1 root root 4096 2011-10-16 14:24 temp1_input -rw-r--r-- 1 root root 4096 2011-10-16 14:24 temp1_max -rw-r--r-- 1 root root 4096 2011-10-16 12:23 uevent -r--r--r-- 1 root root 4096 2011-10-16 14:24 update_rate -r--r--r-- 1 root root 4096 2011-10-16 12:23 vendor christopher@Xyz:~$