Re: atmel & OQO

"David A. De Graaf" <dad-ucVp/[email protected]> Thu, 10 Feb 2005 16:18:28 -0500
Newsgroups gmane.linux.drivers.atmel-wlan
Message-ID <[email protected]>
On Thu, Feb 10, 2005 at 01:19:00PM -0700, Jesus Arango wrote:
> Hello,
> 
> I need some help getting my atmel interface working. 
> 
> I have an OQO machine (www.oqo.com) that has a built-in Atmel
> AT76C505A Wifi interface. I am running kernel 2.6.8-2-386 (Debian
> kernel).
> 
> I dowloaded the cvs tarball of the at76c503a berlios driver from their
> website. I compiled and installed the drivers and I also installed the
> firmware in the atmel-firmware-1.2.tar.gz tarball. I have the hotplug
> package installed too.
> 
> Problem description:
> 
> First of all, my drivers don't get loaded automatically. I am guessing
> this could be because the WIFI is built-in son I can't plug it on and
> off.
> 
> Second, nothing happens when I load the driver manually using
> "modprobe at76c505a-rfmd2958". The following drivers got loaded but no
> interface is reported by iwconfig or ifconfig.
> 
> - at76c505a-rfmd2958
> - at76c503
> - at76_usbdfu
> 
> I noticed there are some atmel in-kernel drivers with the 2.6 kernel.
> These are called atmel.ko, atmel_pci.ko and atmel_cs.ko (there is no
> atmel_usb.ko). I don't know at this point which drivers I really need
> or how to make them work.
> 
> I need some guidence on making this work or on troubleshooting the problem.


My experience is with Fedora Core 3, not debian, but I am happily
using this driver package with a Belkin USB wireless adapter. 
My device is displayed with
    $ /sbin/lsusb
    Bus 002 Device 001: ID 0000:0000  
    Bus 001 Device 003: ID 050d:0050 Belkin Components 
    Bus 001 Device 002: ID 03f0:2811 Hewlett-Packard PSC2100
    Bus 001 Device 001: ID 0000:0000  
so it has a vendor:product identifier of 050d:0050.

I think you need these additional items:

1)  In /etc/modprobe.conf
    alias wlan0 at76c503-rfmd

2)  A configuration file for the wlan0 interface.  Mine is in
/etc/sysconfig/network-scripts/ifcfg-wlan0:
    $ cat ifcfg-wlan0
    # Please read /usr/share/doc/initscripts-*/sysconfig.txt
    # for the documentation of these parameters.
    IPV6INIT=no
    ONBOOT=yes
    USERCTL=yes
    PEERDNS=yes
    GATEWAY=192.168.2.1
    TYPE=Wireless
    DEVICE=wlan0
    HWADDR=00:30:bd:65:c0:bd
    BOOTPROTO=dhcp
    NETMASK=255.255.255.0
    DHCP_HOSTNAME=datbird
    IPADDR=192.168.2.115
    DOMAIN=
    ESSID=DATIX
    CHANNEL=7
    MODE=Managed
    RATE=Auto

3)  Try to activate it (as root):
    ifup wlan0

4)  See if it came up:
    ifconfig
        shows all currently active interfaces
    iwconfig
        shows wireless parameters of active interfaces

5)  See if debian honors the 'ONBOOT=yes' and automatically activates
the interface when you reboot.


-- 
	David A. De Graaf    DATIX, Inc.    Hendersonville, NC
	dad-ucVp/[email protected]     www.datix.2y.net