On Fri, 21 Jul 2006 11:09:52 +1200
Roger Searle wrote:
> Nick Rout wrote:
> > On Thu, 20 Jul 2006 06:06:17 +1200
> > Roger Searle <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Nick Rout wrote:
> >>
> >>>> The drivers are included with kubuntu dapper. Try modprobe ath_pci
> >>>> and see what happens.
> >>>>
> >>>> Otherwise tell us what lspci says about the card, with and without
> >>>> the -n option.
> >>>>
> >>> [EMAIL PROTECTED]:~# modprobe ath_pci
> >>> FATAL: Module ath_pci not found.
> >>> [EMAIL PROTECTED]:~# lspci -n
> >>> 0000:00:00.0 0600: 8086:2560 (rev 03)
> >>> 0000:00:02.0 0300: 8086:2562 (rev 03)
> >>> 0000:00:1d.0 0c03: 8086:24c2 (rev 02)
> >>> 0000:00:1d.1 0c03: 8086:24c4 (rev 02)
> >>> 0000:00:1d.2 0c03: 8086:24c7 (rev 02)
> >>> 0000:00:1d.7 0c03: 8086:24cd (rev 02)
> >>> 0000:00:1e.0 0604: 8086:244e (rev 82)
> >>> 0000:00:1f.0 0601: 8086:24c0 (rev 02)
> >>> 0000:00:1f.1 0101: 8086:24cb (rev 02)
> >>> 0000:00:1f.3 0c05: 8086:24c3 (rev 02)
> >>> 0000:00:1f.5 0401: 8086:24c5 (rev 02)
> >>> 0000:00:1f.6 0703: 8086:24c6 (rev 02)
> >>> 0000:02:05.0 0200: 10ec:8139 (rev 10)
> >>> 0000:02:09.0 0607: 1217:6972
> >>> 0000:03:00.0 0200: 168c:001a (rev 01)
> >>>
> >>> [EMAIL PROTECTED]:~# lspci | grep Ath
> >>> 0000:03:00.0 Ethernet controller: Atheros Communications, Inc.:
> >>> Unknown device 001a (rev 01)
> >>>
> >
> > This means it has found an atheros device on the pci bus (vendor number
> > 168C in the numerical output, Atheros Comunications Inc in the text output)
> > but doesn't know what this particular device is (Device ID 001A / Unknown
> > Device).
> >
> > However this isn't actually helpful as the PCI bus is not the PCMCIA bus.
> > Odd though that there is an atheros device on the pci bus - are you sure
> > wireless is not built in - the built in wireless in a notebook is generally
> > mini-pci.
> >
> > Is the pcmcia service yurned on on your machine?
> >
> > /etc/init.d/pcmcia status
> >
> > does it beep when you pulg and unplug the pcmcia card?
> >
> > what do dmesg and syslog tell you about what happens when you plug and
> > unplug?
> >
> >
> >
> >
> >> So what does this tell me? Apart from the device being detected... Is
> >> it that there is a module (or should I say driver?) available and I can
> >> now proceed with configuring /etc/network/interfaces as Steve suggested,
> >> or is there more that needs to be done? From the modprobe ath_pci I'm
> >> guessing the latter.
> >>
> >
> > ath_pci is the driver for a pci card, not a pcmcia card so it is not
> > surprising t did not work.
> >
> >
> >> But at this point, it is no more than a guess.
> >>
> >> Also, if anyone could clarify what the difference is between a module
> >> and a driver, that would be great as this is a point of confusion for me
> >> generally.
> >>
> >> Cheers,
> >> Roger
> >>
> >>
> >
> > A driver is a part of the kernel that communicates with a device such as a
> > network card. A module is that driver built so that it is not a permanenet
> > part of the kernel, it can be inserted into the running kernel with
> > modprobe.
> >
> Thanks Nick, this is all good learning for me and makes good sense.
>
> relevant dmesg lines:
> [17180756.812000] pccard: card ejected from slot 0
> [17180781.176000] pccard: CardBus card inserted into slot 0
>
> relevant syslog lines:
> Jul 20 22:36:03 notebook kernel: [17180279.104000] pccard: CardBus card
> inserted into slot 0
> Jul 20 22:37:29 notebook kernel: [17180365.628000] pccard: card ejected
> from slot 0
> Jul 20 22:38:14 notebook kernel: [17180410.488000] pccard: CardBus card
> inserted into slot 0
>
> Showing basically the same thing. Interestingly though maybe not
> relevant - inserting the card may or may not result in it becoming
> powered and adding lines to dmesg or syslog on first attempt. seems to
> be related to "how" I insert it - slowly is successful. No beeping,
> however only the power light flashes - the second light for activity
> does not.
>
> This notebook definitely has no built in wireless. The only wireless
> card is this pcmcia one - don't ask me why it appears to be on the pci bus!
>
> [EMAIL PROTECTED]:~$ /etc/init.d/pcmcia status
> * Linux >= 2.6.13-rc1 requires pcmciautils instead of pcmcia-cs
> [EMAIL PROTECTED]:~$ /etc/init.d/pcmciautils status
> * Usage: /etc/init.d/pcmciautils {start|stop|restart|reload|force-reload}
> [EMAIL PROTECTED]:~$ /etc/init.d/pcmciautils start (this hung -
> guess that it must already be started, so...)
> [EMAIL PROTECTED]:~$ /etc/init.d/pcmciautils stop
> [EMAIL PROTECTED]:~$ /etc/init.d/pcmciautils start
> * Starting PCMCIA services...
> [ ok ]
>
> So yes, the service is/was running.
>
> I suspect this is not relevant but just in case: I see in adept
> manager, that there are various kernel-pcmcia-modules-2.4.27-2 packages,
> none of which are installed. No reference to my kernel version
> 2.6.15-26-386...
>
> So where to from here? Do I need to do a modprobe because the correct
> module isn't in the kernel? How would I know - how do I check? Or is
> it time to move on to installing the madwifi drivers I have downloaded?
Some further reading seems to suggest that in pcmcia devices will in
fact show up on the pci bus (at least according to lspci anyway) so it
may be entirely proper that the card shows in lspci.
normally there is a base module and then modules for the various
interfaces, like
ath
ath_pci
ath_cs
But I dunno where you get the ath_cs module from in this case.
>
> Cheers,
> Roger
--
Nick Rout <[EMAIL PROTECTED]>