Re: Cnet 611 support

sfg <[email protected]>
Newsgroups gmane.linux.drivers.at76c503a.user
Organization GNU Linux
Message-ID <[email protected]>
OK I got it! 1371/0001 Device is now pinging back after lots of time and
hair pulling.

Problem was that Mandrake 9.2 puts and expects its drivers for this at
series in a directory called /3rdParty/at76c503 not /usb. This meant
that the  usbdfu.c routine knew it needed to load the driver but could
not find it (I think). More debug messages would have saved me lots of
time here as I am not a competent driver person at all.

I made this change to the CVS Makefile and it loaded the modules where I
needed them:

Makefile:

# SFG altered from usb to 3rdParty/at76c503 for Mandrake 9.2
#OLD ONE MODULE_DIR =
$(DESTDIR)/lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb
new one >>>MODULE_DIR =
$(DESTDIR)/lib/modules/$(KERNEL_VERSION)/kernel/drivers/3rdParty/at76c503

Also made this change to ID the device:

at76c503-rfmd.c:

#define PRODUCT_ID_WL_200U            0x0002 /* WL-200U */
new bit >>>#define PRODUCT_ID_611                0x0001 /* SFG */

        { USB_DEVICE(VENDOR_ID_DICK_SMITH_ELECTR, PRODUCT_ID_DSE_XH1153)
},
        { USB_DEVICE(VENDOR_ID_DICK_SMITH_ELECTR, PRODUCT_ID_WL_200U) },
new bit >>>        { USB_DEVICE(VENDOR_ID_DICK_SMITH_ELECTR,
PRODUCT_ID_611) },

This now starts up and recognises the cnet-611 gadget.

I am not sure how the Makefile can be made to cope with Mandrake as it
obviously works fine for Debian??

Thanks to Joerg for help.

BFN


Stuart Guthrie



On Mon, 2004-01-12 at 06:19, Joerg Albert wrote:
> Hi,
> 
> On Sun, 11 Jan 2004, sfg wrote:
> 
> > Just resubmitting this as I still need some guidance if anyone can help:
> >
> > I got a little further thanks to Joerg. I compiled the kernel without
> > USBDEVFS support (CONFIG_USB_DEVICEFS). Try again with debug also in
> > place and I get this:
> > ...
> > Wireless LAN Driver v0.11beta4
> 
> you went back to version 0.11beta4, while one of your previous postings
> (firmware download failed with -22) was with 0.12beta4?
> Are you sure that's the version you patched your USB id into
> at76c503-rfmd.c ??
> 
> /Jörg
> 
> 
> _______________________________________________
> at76c503a-user mailing list
> [email protected]
> http://lists.berlios.de/mailman/listinfo/at76c503a-user
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.