Newbie can't get the driver to work.
Dan Eskildsen <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all.
I am a real newbie on linux - hope that you don't mind helping me.
Here is the setup:
I have a computer with win2k installed. I connect to the net using a
usb wireless lan adapter called Topcom Skr@cer 3511. I have downloaded
SUSE and now installed Suse 9.0 but I can't get the adapter to work in SuSE.
I found my adapter listed on the page
http://at76c503a.berlios.de/devices.html
So I downloaded: at76c503a driver, unpacked it and then did a make
command but the result was a heap of errors (see below).
When I connect my usb-wlan device the following lines appear in my
var/log/messages (syslog).
I don't know what kernel I have or how to find that out. I have Suse 9.0
Can anyone help me understand these error messages and what i need to do?
**********************************************************************************************
messages in syslog:
**********************************************************************************************
Jan 2 01:06:20 linux kernel: hub.c: new USB device 00:11.4-2.2,
assigned address 7
Jan 2 01:06:20 linux kernel: usb-uhci.c: interrupt, status 2, frame# 1598
Jan 2 01:06:20 linux kernel: usb.c: USB device not accepting new
address=7 (error=-110)
Jan 2 01:06:20 linux kernel: hub.c: new USB device 00:11.4-2.2,
assigned address 8
Jan 2 01:06:20 linux kernel: usb.c: USB device 8 (vend/prod 0x1371/0x2)
is not claimed by any active driver.
**********************************************************************************************
Errors when make the driver follows:
**********************************************************************************************
linux:/home/dan/Documents/wlan_driver/at76c503-0.11 # make
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing
-fno-common -Wno-sign-compare -Wno-unused
-D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\"
-I/lib/modules/2.4.21-144-athlon/build/i
nclude -c at76c503.c
In file included from /usr/include/linux/mm.h:205,
from /usr/include/linux/poll.h:10,
from at76c503.c:82:
/usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared here (not in a function
)
/usr/include/linux/page-flags.h:119: error: requested alignment is not a
constant
In file included from /usr/include/linux/module.h:20,
from at76c503.c:86:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from /usr/include/linux/irq.h:19,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from /usr/include/linux/usb.h:15,
from at76c503.c:91:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from /usr/include/linux/usb.h:15,
from at76c503.c:91:
/usr/include/linux/irq.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared here (not in a function)
/usr/include/linux/irq.h:67: error: requested alignment is not a constant
/usr/include/linux/irq.h:69: error: `NR_IRQS' undeclared here (not in a
function)
In file included from /usr/include/linux/irq.h:71,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:10,
from /usr/include/linux/usb.h:15,
from at76c503.c:91:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a
function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a
function)
In file included from /usr/include/linux/interrupt.h:10,
from /usr/include/linux/usb.h:15,
from at76c503.c:91:
/usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared here (not in a function)
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from at76c503.c:92:
/usr/include/linux/netdevice.h:165: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared here (not in a function)
/usr/include/linux/netdevice.h:165: error: requested alignment is not a
constant
In file included from at76c503.c:100:
at76c503.h:459: error: field `tqueue' has incomplete type
at76c503.h:465: error: field `kevent' has incomplete type
at76c503.c: In function `send_mgmt_bulk':
at76c503.c:1427: error: `USB_ST_URB_PENDING' undeclared (first use in
this function)
at76c503.c:1427: error: (Each undeclared identifier is reported only once
at76c503.c:1427: error: for each function it appears in.)
at76c503.c:1466: warning: implicit declaration of function `FILL_BULK_URB'
at76c503.c:1474: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `defer_kevent':
at76c503.c:1757: warning: passing arg 2 of `set_bit' from incompatible
pointer type
at76c503.c:1758: warning: implicit declaration of function `schedule_task'
at76c503.c: In function `kevent':
at76c503.c:1782: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:1782: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:1790: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:1794: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:1794: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:1821: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:1825: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:1825: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:1829: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:1832: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:1832: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:1833: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:1838: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:1838: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:1840: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:1877: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:1877: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:1878: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:1948: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:1948: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:1949: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:1999: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:1999: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:2000: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:2005: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:2005: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:2006: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c:2014: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
at76c503.c:2014: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
at76c503.c:2015: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
at76c503.c: In function `submit_rx_urb':
at76c503.c:3089: warning: passing arg 6 of `usb_fill_bulk_urb' from
incompatible pointer type
at76c503.c:3090: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_write_bulk_callback':
at76c503.c:3235: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx':
at76c503.c:3321: error: too few arguments to function `usb_submit_urb'
at76c503.c: In function `at76c503_tx_timeout':
at76c503.c:3346: error: `USB_ASYNC_UNLINK' undeclared (first use in this
function)
at76c503.c: In function `ethtool_ioctl':
at76c503.c:3689: error: structure has no member named `owner'
at76c503.c:3695:41: missing binary operator before token "("
at76c503.c: In function `at76c503_delete_device':
at76c503.c:4353: warning: implicit declaration of function
`flush_scheduled_tasks'
at76c503.c: In function `at76c503_alloc_urbs':
at76c503.c:4384: warning: initialization from incompatible pointer type
at76c503.c:4390: error: structure has no member named `endpoint'
at76c503.c:4396: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4407: error: too few arguments to function `usb_alloc_urb'
at76c503.c:4429: error: too few arguments to function `usb_alloc_urb'
at76c503.c: In function `at76c503_new_device':
at76c503.c:4463: warning: implicit declaration of function `INIT_TQUEUE'
at76c503.c:4507: warning: assignment from incompatible pointer type
at76c503.c: In function `at76c503_do_probe':
at76c503.c:4595: warning: implicit declaration of function `usb_inc_dev_use'
at76c503.c:4597: warning: implicit declaration of function
`usb_get_configuration'
at76c503.c:4610: error: `USB_ST_STALL' undeclared (first use in this
function)
at76c503.c:4625: error: structure has no member named `owner'
at76c503.c:4640: warning: implicit declaration of function `usb_dec_dev_use'
make: *** [at76c503.o] Error 1
linux:/home/dan/Documents/wlan_driver/at76c503-0.11 #