hi guys im starting this post up again, i've time now. Again, im trying to
install a USB NIC on Xubuntu. It's by Davicom Taiwan, downloaded the driver
here: http://www.davicom.com.tw/eng/download/Driver/driver_9601.htm
when i try running make, I get this error:
[EMAIL PROTECTED]:~/Desktop/dm9601-2.6$ make
make -C /lib/modules/2.6.20-15-generic/build
M=/home/ghmercado/Desktop/dm9601-2.6LDDINCDIR=/home/ghmercado/Desktop/dm9601-
2.6/../include modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /home/ghmercado/Desktop/dm9601-2.6/dm9601.o
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:55:26: error: linux/config.h: No
such file or directory
In file included from /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:65:
/home/ghmercado/Desktop/dm9601-2.6/dm9601.h:100:1: warning: "ALIGN"
redefined
In file included from include/asm/system.h:4,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/capability.h:45,
from include/linux/sched.h:46,
from /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:56:
include/linux/kernel.h:35:1: warning: this is the location of the previous
definition
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function '__check_reg5':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:125: warning: return from
incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function '__check_reg8':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:126: warning: return from
incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function '__check_reg9':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:127: warning: return from
incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function '__check_rega':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:128: warning: return from
incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function '__check_nfloor':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:129: warning: return from
incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function 'get_registers':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:192: warning: passing argument 7
of 'usb_fill_control_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function 'set_registers':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:230: warning: passing argument 7
of 'usb_fill_control_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function 'set_register':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:269: warning: passing argument 7
of 'usb_fill_control_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
'update_eth_regs_async':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:303: warning: passing argument 7
of 'usb_fill_control_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:317: warning: passing argument 7
of 'usb_fill_control_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:331: warning: passing argument 7
of 'usb_fill_control_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
'read_bulk_callback':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:486: warning: passing argument 6
of 'usb_fill_bulk_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
'dm9601_start_xmit':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:605: warning: passing argument 6
of 'usb_fill_bulk_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function 'dm9601_open':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:804: warning: passing argument 6
of 'usb_fill_bulk_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:813: warning: passing argument 6
of 'usb_fill_int_urb' from incompatible pointer type
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
'dm9601_disconnect':
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:1017: warning: ISO C90 forbids
mixed declarations and code
make[2]: *** [/home/ghmercado/Desktop/dm9601-2.6/dm9601.o] Error 1
make[1]: *** [_module_/home/ghmercado/Desktop/dm9601-2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [default] Error 2
so anyway, i think everything goes awry at this point:
/home/ghmercado/Desktop/dm9601-2.6/dm9601.c:55:26: error: linux/config.h: No
such file or directory
obviously Make doesn't push through. Incidentally, I managed to get Make to
run on my Edgy server, but then I still want to use Xubuntu which is
apparently based on Feisty. So what to do? ANy recommendations appreciated.
TIA!
On 5/31/07, Gabriel H. Mercado <[EMAIL PROTECTED]> wrote:
yes yes i meant to say edgy! sorry bout that :) still havent gotten it
going btw, but mostly due to work getting in the way. Will be posting soon,
or at the very least, blog about it so that everyone'd have an idea how to
get CDR King's USB NIC to work on ubuntu.
http://lefthandedlayup.com
On 5/29/07, Michael Tinsay <[EMAIL PROTECTED] > wrote:
>
>
> Good to hear that. But you meant Edgy, right?
>
> Maybe the linux-headers folder structure changed in Feisty.
>
>
> --- mike t.
>
> ----- Original Message ----
> From: Gabriel H. Mercado <[EMAIL PROTECTED]>
> To: Philippine Linux Users' Group (PLUG) Technical Discussion List <
> [email protected]>
> Sent: Monday, May 28, 2007 7:47:45 PM
> Subject: Re: [plug] trying to install USB LAN on Xubuntu
>
> the link was established Mike but make still produces the same errors as
> below.
> I happen to have a 6.10 Feisty server, I managed to get it to work there
> (!?!). I'm now thinking of using 6.10 Feisty just to get this thing to
> work.
>
>
>
> On 5/28/07, Michael Tinsay < [EMAIL PROTECTED]> wrote:
> >
> >
> > The source code, I believe, requires the kernel headers, but not in
> > the way ubuntu lays it out. Try this while in the dm9601 folder:
> >
> > ln -s /usr/src/linux-headers-`uname -r`/include/linux linux
> >
> > then try make again.
> >
> >
> > --- mike t.
> >
> >
> > ----- Original Message ----
> > From: Gabriel H. Mercado <[EMAIL PROTECTED]>
> > To: Philippine Linux Users' Group (PLUG) Technical Discussion List
<[email protected]
> > >
> > Sent: Monday, May 28, 2007 1:46:07 PM
> > Subject: Re: [plug] trying to install USB LAN on Xubuntu
> >
> > no dice Mike. There's no configure script. On 'make configure' I get:
> >
> > make: *** No rule to make target 'configure'. Stop.
> >
> > I posted the contents of the dm9601-2.6.tgz here, and converted them
> > to .txt so you can read it. I hope this helps. I really wanna get this thing
> > going :P
> >
> > http://www.lefthandedlayup.com/dm9601-2.6/
> >
> > thanks so much!
> >
> >
> >
> > On 5/28/07, Michael Tinsay < [EMAIL PROTECTED] > wrote:
> > >
> > >
> > > You have this error:
> > >
> > > /home/ghmercado/Desktop/dm9601- 2.6/dm9601.c:55:26: error:
> > > linux/config.h: No such file or directory
> > >
> > > is there a configure script in /home/ghmercado/Desktop/dm9601-2.6/?
> > > If so, trying running it first: cd to the folder, then do a
> > > ./configure or something. Kung wala, try mo: make configure
> > >
> > >
> > > --- mike t.
> > >
> > > ----- Original Message ----
> > > From: Gabriel H. Mercado <[EMAIL PROTECTED]>
> > > To: Philippine Linux Users' Group (PLUG) Technical Discussion List
> > > < [email protected]>
> > > Sent: Monday, May 28, 2007 10:16:00 AM
> > > Subject: Re: [plug] trying to install USB LAN on Xubuntu
> > >
> > > Hi Mike! Nice to hear from you. I tried these:
> > >
> > > sudo aptitude install build-essential
> > > sudo aptitude install linux-headers-`uname -r`
> > >
> > > and they both installed. However when I try make, I get this:
> > >
> > > [EMAIL PROTECTED]:~/Desktop/dm9601-2.6$ make
> > > make -C /lib/modules/2.6.20-15-generic/build
> > >
M=/home/ghmercado/Desktop/dm9601-2.6LDDINCDIR=/home/ghmercado/Desktop/dm9601-
> > > 2.6/../include modules
> > > make[1]: Entering directory `/usr/src/linux-
> > > headers-2.6.20-15-generic'
> > > CC [M] /home/ghmercado/Desktop/dm9601-2.6/dm9601.o
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:55:26: error:
> > > linux/config.h: No such file or directory
> > > In file included from /home/ghmercado/Desktop/dm9601-2.6
> > > /dm9601.c:65:
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.h:100:1: warning: "ALIGN"
> > > redefined
> > > In file included from include/asm/system.h:4,
> > > from include/asm/processor.h:18,
> > > from include/asm/thread_info.h:16,
> > > from include/linux/thread_info.h:21,
> > > from include/linux/preempt.h:9,
> > > from include/linux/spinlock.h:49,
> > > from include/linux/capability.h:45,
> > > from include/linux/sched.h:46,
> > > from /home/ghmercado/Desktop/dm9601-2.6
> > > /dm9601.c:56:
> > > include/linux/kernel.h:35:1: warning: this is the location of the
> > > previous definition
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > '__check_reg5':
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:125: warning: return
> > > from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6 /dm9601.c: In function
> > > '__check_reg8':
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:126: warning: return
> > > from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > '__check_reg9':
> > > /home/ghmercado/Desktop/dm9601-2.6 /dm9601.c:127: warning: return
> > > from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > '__check_rega':
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:128: warning: return
> > > from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6 /dm9601.c: In function
> > > '__check_nfloor':
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:129: warning: return
> > > from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > 'get_registers':
> > > /home/ghmercado/Desktop/dm9601-2.6 /dm9601.c:192: warning: passing
> > > argument 7 of 'usb_fill_control_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > 'set_registers':
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:230: warning: passing
> > > argument 7 of 'usb_fill_control_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601- 2.6/dm9601.c: In function
> > > 'set_register':
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:269: warning: passing
> > > argument 7 of 'usb_fill_control_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601- 2.6/dm9601.c: In function
> > > 'update_eth_regs_async':
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:303: warning: passing
> > > argument 7 of 'usb_fill_control_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:317: warning: passing
> > > argument 7 of 'usb_fill_control_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:331: warning: passing
> > > argument 7 of 'usb_fill_control_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > 'read_bulk_callback':
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:486: warning: passing
> > > argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > 'dm9601_start_xmit':
> > > /home/ghmercado/Desktop/dm9601- 2.6/dm9601.c:605: warning: passing
> > > argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > 'dm9601_open':
> > > /home/ghmercado/Desktop/dm9601- 2.6/dm9601.c:804: warning: passing
> > > argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c:813: warning: passing
> > > argument 6 of 'usb_fill_int_urb' from incompatible pointer type
> > > /home/ghmercado/Desktop/dm9601-2.6/dm9601.c: In function
> > > 'dm9601_disconnect':
> > > /home/ghmercado/Desktop/dm9601- 2.6/dm9601.c:1017: warning: ISO C90
> > > forbids mixed declarations and code
> > > make[2]: *** [/home/ghmercado/Desktop/dm9601-2.6/dm9601.o] Error 1
> > > make[1]: *** [_module_/home/ghmercado/Desktop/dm9601-2.6] Error 2
> > > make[1]: Leaving directory `/usr/src/linux-
> > > headers-2.6.20-15-generic'
> > > make: *** [default] Error 2
> > >
> > >
> > > @Danny: I'll try ndiswrapper after all else fails I guess. I still
> > > see some hope doing it the 'default' way..
> > > @GOvvin: Thanks so much for the link it helped a lot!
> > >
> > >
> > >
> > > On 5/28/07, Michael Tinsay < [EMAIL PROTECTED]> wrote:
> > > >
> > > > Do you have kernel-headers installed? If not, do apt-get install
> > > > kernel-headers-`uname -r` then run make clean; make; make installagain.
> > > >
> > > >
> > > > --- mike t.
> > > >
> > > > ----- Original Message ----
> > > > From: Gabriel H. Mercado < [EMAIL PROTECTED]>
> > > > To: [email protected]
> > > > Sent: Saturday, May 26, 2007 4:57:54 PM
> > > > Subject: [plug] trying to install USB LAN on Xubuntu
> > > >
> > > > hi I'm trying to install a USB LAN I bought from CDR King onto
> > > > Xubuntu 7.04. Here it is:
> > > >
> > > >
> > > >
http://www.cdrking.com/local/products/index.php?action=mnu&temp=2&typeno=4617684-429030-025874786-9043266&prod=USB%20Devices&prodcode=1101579-724931-190189253-8722910
> > > >
> > > > It said Linux compatibility on the box but the CD only had Win
> > > > drivers. Anyway when I type lsusb I get this:
> > > >
> > > > Bus 001 Device 001: ID 0a46:0286 Davicom Semiconductor, Inc.
> > > >
> > > > So I googled it up and found their product page, which lead me to
> > > > their download page. I couldnt find a product named exactly the same,
but
> > > > these Taiwan Products are frequently rebranded and since the 'DM9601' is
> > > > their only USB LAN product I assume I'm on the right track.
> > > >
> > > > http://www.davicom.com.tw/eng/download/Driver/driver_9601.htm
> > > >
> > > > So I downloaded and untarred it onto my /home/user/desktop. The
> > > > readme file said I should do 'Make', which I did, resulting in the ff.
> > > > errors:
> > > >
> > > > [EMAIL PROTECTED]:~/dm9601-2.6$ make
> > > > make -C /lib/modules/2.6.17-10-server/build
> > > > M=/home/gary/dm9601- 2.6 LDDINCDIR=/home/gary/dm9601-2.6/../include
> > > > modules
> > > > make: *** /lib/modules/2.6.17-10-server/build: No such file or
> > > > directory. Stop.
> > > > make: *** [default] Error 2
> > > >
> > > > At some point I'm assuming a file named 'dm9601.ko' is supposed to
> > > > show up, which accdg to the readme.txt (ff. the 'for redhat' users
> > > > instructions, which I wanna try because I seem to have similar
folders), I
> > > > should do the following to:
> > > >
> > > > 1. login your system used the superuser.
> > > > 2. copy dm9601.ko into /lib/modules/2.6.x/kernel/drivers/net/
> > > > 3. add the new line with "alias eth0 dm9601" in
> > > > "/etc/module.conf".
> > > > 4. execute "netconfig -d eth0".
> > > > 5. Fill your IP address, netmask and gateway
> > > > 6. press <ok> to confirm and exit this setting
> > > > 7 reboot
> > > >
> > > > Pls. any help re that Make issue? Thank you!
> > > >
> > > > Gabriel
> > > > _________________________________________________
> > > > Philippine Linux Users' Group (PLUG) Mailing List
> > > > [email protected] (#PLUG @ irc.free.net.ph)
> > > > Read the Guidelines: http://linux.org.ph/lists
> > > > Searchable Archives: http://archives.free.net.ph
> > > >
> > > >
> > > > _________________________________________________
> > > > Philippine Linux Users' Group (PLUG) Mailing List
> > > > [email protected] (#PLUG @ irc.free.net.ph)
> > > > Read the Guidelines: http://linux.org.ph/lists
> > > > Searchable Archives: http://archives.free.net.ph
> > > >
> > >
> > >
> > >
> > > --
> > > http://mobile.exchange.ph
> > > http://kikay.exchange.ph
> > > http://mom.exchange.ph
> > > http://movie.exchange.ph
> > > http://basketball.exchange.ph
> > > =======================
> > > Make life easier for Webmasters!
> > > http://spreadfirefox.com/community/?q=user/register&r=137994
> > > _________________________________________________
> > > Philippine Linux Users' Group (PLUG) Mailing List
> > > [email protected] (#PLUG @ irc.free.net.ph)
> > > Read the Guidelines: http://linux.org.ph/lists
> > > Searchable Archives: http://archives.free.net.ph
> > >
> > >
> > > _________________________________________________
> > > Philippine Linux Users' Group (PLUG) Mailing List
> > > [email protected] (#PLUG @ irc.free.net.ph)
> > > Read the Guidelines: http://linux.org.ph/lists
> > > Searchable Archives: http://archives.free.net.ph
> > >
> >
> >
> >
> > --
> > http://mobile.exchange.ph
> > http://kikay.exchange.ph
> > http://mom.exchange.ph
> > http://movie.exchange.ph
> > http://basketball.exchange.ph
> > =======================
> > Make life easier for Webmasters!
> > http://spreadfirefox.com/community/?q=user/register&r=137994
> > _________________________________________________
> > Philippine Linux Users' Group (PLUG) Mailing List
> > [email protected] (#PLUG @ irc.free.net.ph)
> > Read the Guidelines: http://linux.org.ph/lists
> > Searchable Archives: http://archives.free.net.ph
> >
> >
> > _________________________________________________
> > Philippine Linux Users' Group (PLUG) Mailing List
> > [email protected] (#PLUG @ irc.free.net.ph)
> > Read the Guidelines: http://linux.org.ph/lists
> > Searchable Archives: http://archives.free.net.ph
> >
>
>
>
> --
> http://mobile.exchange.ph
> http://kikay.exchange.ph
> http://mom.exchange.ph
> http://movie.exchange.ph
> http://basketball.exchange.ph
> =======================
> Make life easier for Webmasters!
> http://spreadfirefox.com/community/?q=user/register&r=137994
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Read the Guidelines: http://linux.org.ph/lists
> Searchable Archives: http://archives.free.net.ph
>
--
http://mobile.exchange.ph
http://kikay.exchange.ph
http://mom.exchange.ph
http://movie.exchange.ph
http://basketball.exchange.ph
=======================
Make life easier for Webmasters!
http://spreadfirefox.com/community/?q=user/register&r=137994
--
http://mobile.exchange.ph
http://kikay.exchange.ph
http://mom.exchange.ph
http://movie.exchange.ph
http://basketball.exchange.ph
=======================
Make life easier for Webmasters!
http://spreadfirefox.com/community/?q=user/register&r=137994
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph