[Top] [All Lists]

Re: "No such device" with PCI card

To: jospehchan <>
Subject: Re: "No such device" with PCI card
From: Dominique Quatravaux <>
Date: Tue, 15 Jun 2004 11:02:46 +0200
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mozilla Thunderbird 0.4 (X11/20040306)
jospehchan wrote:

> After loading the 8139too or usb-uhci module, the same problem
> still happened. So I doubt that something missed when configuring
> the kernel.

Sorry, but your diagnosis is not quite correct. I'm guessing you are
new to Linux kernel programming, device drivers etc (BTW, Jan-Benedict
suggested you *modify* your kernel source then recompile). Why not try
and get your USB PCI card working on a Linux PC computer first? That
would get most of your questions sorted out without compositing them
with MIPS issues. Then come back on this list and knowing that "it
works on i386" we could help you crossing the little gap remaining.
(Right now it's not even clear whether your USB card is supported by
Linux at all!)

Not to mean that this list is not ready to provide assistance to you
:-) but the MIPS platform still has rough edges, and better suited for
hardcore programmers to date. I know that because I've jumped through
those hoops myself before: I bought a desktop PCI Alpha computer
almost a decade ago and suffered no end of a pain on it :-). This was
a fun and teaching experience, sure - but also a frustrating one at times.

> BTW, how to mount the sysfs to /sys? I can not find the sysfs file
> system in kernel configuration.

As root, type:

mkdir /sys # Ignore error if already
# exists
mount /sys /sys -t sysfs

Then read up on the "Linux 2.6 device driver model":
Documentation/driver-model/* in the kernel source, and

<< Tout n'y est pas parfait, mais on y honore certainement les
jardiniers >>

Dominique Quatravaux <>

<Prev in Thread] Current Thread [Next in Thread>