[Openchrome-users] "No device found" after compiling

Enrique userforum
Tue Aug 21 16:51:47 PDT 2007


"No device found" after compiling
Hello,

 I compiled a driver for an Epia EX system. 
 I'm running Debian 4.0.

 ~# uname -a
Linux box00001 2.6.22 #6 Mon Aug 20 22:52:24 CEST 2007 i686 GNU/Linux

First I "prepared" the compilation enviroment:
apt-get install gcc
apt-get install bzip2
apt-get install autogen
apt-get install autoconf
apt-get install automake
apt-get install libtool
apt-get install pkg-config
apt-get install libxvmcw-dev
apt-get install xorg-dev
apt-get install libdrm-dev
apt-get install libgl1-mesa-dev

Compiled as explained in http://wiki.openchrome.org/tikiwiki/tiki-index.php?page=Compiling+the+source+code

Just tree warnings:
via_accel.c:2641: warning: passing argument 2 of 'viaOrder' from incompatible pointer type
via_accel.c:2642: warning: passing argument 2 of 'viaOrder' from incompatible pointer type
via_vbe.c:162:16: warning: extra tokens at end of #ifdef directive

 via_drv.so is correctly generated. I move it to /usr/lib/xorg/modules/drivers. I move libviaXvMC* .soto /usr/lib/.

 Xorg start fails with next error:

(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(EE) No devices detected.               <<-------

Fatal server error:
no screens found

Some extra data for your information:

#~ lspci -bv

01:00.0 VGA compatible controller: VIA Technologies, Inc. Unknown device 3157 (rev 03) (prog-if 00 [VGA])
        Subsystem: VIA Technologies, Inc. Unknown device 3157
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 10
        Memory at a0000000 (32-bit, prefetchable)
        Memory at dd000000 (32-bit, non-prefetchable)
        Capabilities: [60] Power Management version 2
        Capabilities: [70] AGP version 3.0

#~ lsmod
Module                  Size  Used by
via                    39040  0 
drm                    74388  1 via
serio_raw               6532  0 
i2c_viapro              8340  0 
i2c_core               23440  1 i2c_viapro
uhci_hcd               21776  0 

 The VGA shares the IRQ 10 with an USB controller in PCI bus 0:
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. Unknown device aa09
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at f800
        Capabilities: [80] Power Management version 2

( I guess that's not the source of problems anyway)

 Thanks in advance for any help, hint or link!

Enrique

----

Reply Link: <http://wiki.openchrome.org/tikiwiki/tiki-view_forum_thread.php?forumId=1&comments_parentId=3885#form>





More information about the Openchrome-users mailing list