I think that's the wrong resource0 file (for bus 0 device 2, rather than bus 2 
device 0).  Probably easier to use the symlinks:
/sys/bus/pci/devices/0000:02:00.0/resource0

However, you can't call read() on those files, they can only be mmap'd.
/dev/mem should work, though.  I would recommend reading a whole page:
dd if=/dev/mem of=asdf bs=4096 skip=1036288 count=1

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in Ubuntu.
https://bugs.launchpad.net/bugs/661248

Title:
  Nvidia GeForce 8600M GT doesn't work with nvidia-current 260

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to