![]() |
|
|||||||
| Open-Source AMD/ATI Linux Technical support and discussion of the open-source Radeon, RadeonHD, and Avivo drivers. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi there,
i have been trying the radeonhd driver, but get stuck. It used to say my card was EXPERIMENTAL and not work. That message has gone away, but is replaced by the error below. do you know who to send the Xorg.0.log to? --edit-- is it here:radeonhd@opensuse.org --edit-- thanks, Dan (WW) RADEONHD(0): Unknown card detected: 0x7149:0x17AA:0x2005. Your card might not work or might not work optimally. To rectify this, please contact MAILINGLIST. Include your X log and the full name of the device. Last edited by danielpugh; 09-21-2007 at 11:30 AM. |
|
#2
|
|||
|
|||
|
Hi,
That error is saying your card is not supported by the driver(yet). Each card has a different mapping of outputs and have to be explicitly stated in the driver. To help developers complete this task, there is a utility called conntest. In the source tree (utils/conntest) is a utility. Read the readme and follow the instructions there. (yes the mailing list is as you entered it) Brian |
|
#3
|
|||
|
|||
|
will do,
thanks |
|
#4
|
|||
|
|||
|
make failes:
[root@dan-laptop conntest]# make gcc -Wall -o rhd_conntest rhd_conntest.c -lpci -lz rhd_conntest.c:37:21: error: pci/pci.h: No such file or directory rhd_conntest.c: In function ‘device_locate’: ... pci.h pci/pci.h seems to be available: [root@dan-laptop conntest]# locate pci.h /usr/include/linux/pci.h /usr/include/sys/pci.h /usr/lib/syslinux/com32/include/sys/pci.h tried copying pci.h to local directory - im sure its just a case of specifying library location, but nothing in the README.. |
|
#5
|
|||
|
|||
|
If you are using Debian or some derived distribution installing pciutils-dev should solve the problem. I don't know about other distributions.
|
|
#6
|
|||
|
|||
|
thanks for response,
its pciutils-devel on fedora8 (rawhide) as well, but thats already installed. below are the complete compile errors in case its something else... [root@dan-laptop conntest]# make gcc -Wall -o rhd_conntest rhd_conntest.c -lpci -lz rhd_conntest.c:37:21: error: pci/pci.h: No such file or directory rhd_conntest.c: In function ‘device_locate’: rhd_conntest.c:258: error: dereferencing pointer to incomplete type rhd_conntest.c:259: error: dereferencing pointer to incomplete type rhd_conntest.c:259: error: dereferencing pointer to incomplete type rhd_conntest.c:260: error: dereferencing pointer to incomplete type rhd_conntest.c: In function ‘device_match’: rhd_conntest.c:274: error: dereferencing pointer to incomplete type rhd_conntest.c:275: error: dereferencing pointer to incomplete type rhd_conntest.c: In function ‘map_bar’: rhd_conntest.c:289: error: dereferencing pointer to incomplete type rhd_conntest.c:289: error: dereferencing pointer to incomplete type rhd_conntest.c:292: error: dereferencing pointer to incomplete type rhd_conntest.c:293: error: dereferencing pointer to incomplete type rhd_conntest.c: In function ‘main’: rhd_conntest.c:884: warning: implicit declaration of function ‘pci_alloc’ rhd_conntest.c:884: warning: assignment makes pointer from integer without a cast rhd_conntest.c:885: warning: implicit declaration of function ‘pci_init’ rhd_conntest.c:886: warning: implicit declaration of function ‘pci_scan_bus’ rhd_conntest.c:911: error: dereferencing pointer to incomplete type rhd_conntest.c:921: error: dereferencing pointer to incomplete type rhd_conntest.c:921: error: dereferencing pointer to incomplete type rhd_conntest.c:931: error: dereferencing pointer to incomplete type rhd_conntest.c:931: warning: implicit declaration of function ‘pci_read_word’ rhd_conntest.c:931: error: ‘PCI_SUBSYSTEM_VENDOR_ID’ undeclared (first use in this function) rhd_conntest.c:931: error: (Each undeclared identifier is reported only once rhd_conntest.c:931: error: for each function it appears in.) rhd_conntest.c:932: error: ‘PCI_SUBSYSTEM_ID’ undeclared (first use in this function) rhd_conntest.c:933: error: dereferencing pointer to incomplete type rhd_conntest.c:933: error: dereferencing pointer to incomplete type rhd_conntest.c:933: error: dereferencing pointer to incomplete type make: *** [rhd_conntest] Error 1 [root@dan-laptop conntest]# |
|
#7
|
|||
|
|||
|
$ dpkg -L pciutils-dev
/. /usr /usr/include /usr/include/pci /usr/include/pci/pci.h /usr/include/pci/header.h /usr/include/pci/config.h /usr/include/pci/types.h /usr/lib /usr/lib/libpci.a /usr/share /usr/share/doc /usr/share/doc/pciutils-dev your locate doesn't show the file, are you sure it's correctly installed? |
|
#8
|
|||
|
|||
|
[root@dan-laptop conntest]# locate pci.h
/usr/include/linux/pci.h /usr/include/sys/pci.h adjusted compile comand to: gcc -Wall -o rhd_conntest rhd_conntest.c -lpci -lz -I/usr/include/sys/ it now finds it, but compile still fails. ill attach logs |
|
#9
|
|||
|
|||
|
[root@dan-laptop conntest]# make
gcc -Wall -o rhd_conntest rhd_conntest.c -lpci -lz -I/usr/include/sys/ In file included from /usr/include/sys/fcntl.h:1, from /usr/include/sys/fcntl.h:1, from /usr/include/sys/fcntl.h:1, --repeated many times-- from /usr/include/sys/fcntl.h:1, from rhd_conntest.c:33: /usr/include/sys/fcntl.h:1:19: error: #include nested too deeply In file included from /usr/include/sys/errno.h:1, from /usr/include/sys/errno.h:1, --repeated many times-- from /usr/include/sys/errno.h:1, from rhd_conntest.c:34: /usr/include/sys/errno.h:1:19: error: #include nested too deeply rhd_conntest.c:37:21: error: pci/pci.h: No such file or directory In file included from /usr/include/sys/unistd.h:1, from /usr/include/sys/unistd.h:1, --repeated many times-- from /usr/include/sys/unistd.h:1, from rhd_conntest.c:38: /usr/include/sys/unistd.h:1:20: error: #include nested too deeply rhd_conntest.c: In function ‘device_locate’: rhd_conntest.c:258: error: dereferencing pointer to incomplete type rhd_conntest.c:259: error: dereferencing pointer to incomplete type rhd_conntest.c:259: error: dereferencing pointer to incomplete type rhd_conntest.c:260: error: dereferencing pointer to incomplete type rhd_conntest.c: In function ‘device_match’: rhd_conntest.c:274: error: dereferencing pointer to incomplete type rhd_conntest.c:275: error: dereferencing pointer to incomplete type rhd_conntest.c: In function ‘map_bar’: rhd_conntest.c:289: error: dereferencing pointer to incomplete type rhd_conntest.c:289: error: dereferencing pointer to incomplete type rhd_conntest.c:292: error: dereferencing pointer to incomplete type rhd_conntest.c:293: error: dereferencing pointer to incomplete type rhd_conntest.c: In function ‘DACALoadDetect’: rhd_conntest.c:383: warning: implicit declaration of function ‘usleep’ rhd_conntest.c: In function ‘main’: rhd_conntest.c:884: warning: implicit declaration of function ‘pci_alloc’ rhd_conntest.c:884: warning: assignment makes pointer from integer without a cast rhd_conntest.c:885: warning: implicit declaration of function ‘pci_init’ rhd_conntest.c:886: warning: implicit declaration of function ‘pci_scan_bus’ rhd_conntest.c:911: error: dereferencing pointer to incomplete type rhd_conntest.c:921: error: dereferencing pointer to incomplete type rhd_conntest.c:921: error: dereferencing pointer to incomplete type rhd_conntest.c:931: error: dereferencing pointer to incomplete type rhd_conntest.c:931: warning: implicit declaration of function ‘pci_read_word’ rhd_conntest.c:931: error: ‘PCI_SUBSYSTEM_VENDOR_ID’ undeclared (first use in this function) rhd_conntest.c:931: error: (Each undeclared identifier is reported only once rhd_conntest.c:931: error: for each function it appears in.) rhd_conntest.c:932: error: ‘PCI_SUBSYSTEM_ID’ undeclared (first use in this function) rhd_conntest.c:933: error: dereferencing pointer to incomplete type rhd_conntest.c:933: error: dereferencing pointer to incomplete type rhd_conntest.c:933: error: dereferencing pointer to incomplete type rhd_conntest.c:936: warning: implicit declaration of function ‘open’ rhd_conntest.c:936: error: ‘O_RDWR’ undeclared (first use in this function) rhd_conntest.c:938: error: ‘errno’ undeclared (first use in this function) make: *** [rhd_conntest] Error 1 |
|
#10
|
|||
|
|||
|
I think you shouldn't add -I/usr/include/sys/ because it will break things. If you take a look at the file in /usr/include/sys/errno.h you will notice that it will include errno.h, which should then be /usr/include/errno.h. But because you added -I/usr/include/sys/ it will find /usr/include/sys/errno.h first and end up in an infinite loop.
And make seems to find a pci.h but not the right one. Did you change the source code? And remove the pci.h file in your local directory. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|