* Dell-laptop is not working without wireless
@ 2009-08-18 5:32 Dmitry Torokhov
2009-08-18 12:10 ` Matthew Garrett
0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Torokhov @ 2009-08-18 5:32 UTC (permalink / raw)
To: Matthew Garrett; +Cc: LKML
Matthew,
Not sure if this has already been reported, but here it goes:
dell-laptop module does not work on my Latitude d630 unless driver for
my wireless card (which happens to be iwl3945) is already loaded.
Otherwise dcsbas_smi_request() returns all zeroes which causes
dell-laptop to not create any rfkill devices nor install backlight
device:
[ 766.262842] dell-laptop: dell_setup_rfkill() - 0, 0, 0, 0
[ 766.263087] dell-laptop: max intensity is 0
[ 780.388460] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network
Connection driver for Linux, 1.2.26kds
[ 780.388464] iwl3945: Copyright(c) 2003-2009 Intel Corporation
[ 780.388584] iwl3945 0000:0c:00.0: PCI INT A -> GSI 17 (level, low) ->
IRQ 17
[ 780.388605] iwl3945 0000:0c:00.0: setting latency timer to 64
[ 780.446318] iwl3945 0000:0c:00.0: Tunable channels: 11 802.11bg, 13
802.11a channels
[ 780.446322] iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link
3945ABG
[ 780.446474] iwl3945 0000:0c:00.0: irq 29 for MSI/MSI-X
[ 780.451713] phy1: Selected rate control algorithm 'iwl-3945-rs'
[ 785.216846] iwl3945 0000:0c:00.0: firmware: requesting
iwlwifi-3945-2.ucode
[ 785.233257] iwl3945 0000:0c:00.0: loaded firmware version 15.32.2.9
[ 785.303299] Registered led device: iwl-phy1::radio
[ 785.303445] Registered led device: iwl-phy1::assoc
[ 785.303522] Registered led device: iwl-phy1::RX
[ 785.303597] Registered led device: iwl-phy1::TX
[ 799.213373] dell-laptop: dell_setup_rfkill() - 0, 1031f, 100, 1
[ 799.213383] dell-laptop: setting up dell-wifi rfkill
[ 799.213971] dell-laptop: setting up dell-bluetooth rfkill
[ 799.214726] dell-laptop: max intensity is 7
Thanks.
--
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Dell-laptop is not working without wireless
2009-08-18 5:32 Dell-laptop is not working without wireless Dmitry Torokhov
@ 2009-08-18 12:10 ` Matthew Garrett
2009-09-03 14:59 ` Dmitry Torokhov
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Garrett @ 2009-08-18 12:10 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: LKML
On Mon, Aug 17, 2009 at 10:32:27PM -0700, Dmitry Torokhov wrote:
> dell-laptop module does not work on my Latitude d630 unless driver for
> my wireless card (which happens to be iwl3945) is already loaded.
> Otherwise dcsbas_smi_request() returns all zeroes which causes
> dell-laptop to not create any rfkill devices nor install backlight
> device:
That's quite bizarre. I'd had one report of the backlight setup failing,
but hadn't connected it with wireless driver loading. Long shot, but I
don't suppose you can figure out which bit of the wifi config is needed
to get dell-laptop working by just bailing at various bits of the probe
and seeing if you get sensible answers?
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Dell-laptop is not working without wireless
2009-08-18 12:10 ` Matthew Garrett
@ 2009-09-03 14:59 ` Dmitry Torokhov
2009-09-03 16:42 ` Mario Limonciello
0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Torokhov @ 2009-09-03 14:59 UTC (permalink / raw)
To: Matthew Garrett; +Cc: LKML, Mario Limonciello
On Tue, Aug 18, 2009 at 01:10:49PM +0100, Matthew Garrett wrote:
> On Mon, Aug 17, 2009 at 10:32:27PM -0700, Dmitry Torokhov wrote:
>
> > dell-laptop module does not work on my Latitude d630 unless driver for
> > my wireless card (which happens to be iwl3945) is already loaded.
> > Otherwise dcsbas_smi_request() returns all zeroes which causes
> > dell-laptop to not create any rfkill devices nor install backlight
> > device:
>
> That's quite bizarre. I'd had one report of the backlight setup failing,
> but hadn't connected it with wireless driver loading. Long shot, but I
> don't suppose you can figure out which bit of the wifi config is needed
> to get dell-laptop working by just bailing at various bits of the probe
> and seeing if you get sensible answers?
>
Admittedly I have not spend much time on it but it looks like my box
_really_ wants wifi interface to be fully operational before
dcsbas_smi_request() starts returning proper data. I wonder if iwl3945's
rfkill support interferes somehow here...
Maybe Mario (being a Dell guy) has an idea why this might be happening?
--
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Dell-laptop is not working without wireless
2009-09-03 14:59 ` Dmitry Torokhov
@ 2009-09-03 16:42 ` Mario Limonciello
2009-09-03 17:15 ` Dmitry Torokhov
0 siblings, 1 reply; 6+ messages in thread
From: Mario Limonciello @ 2009-09-03 16:42 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: Matthew Garrett, LKML
[-- Attachment #1: Type: text/plain, Size: 1903 bytes --]
Hi Dmitry:
Dmitry Torokhov wrote:
> On Tue, Aug 18, 2009 at 01:10:49PM +0100, Matthew Garrett wrote:
>
>
> Admittedly I have not spend much time on it but it looks like my box
> _really_ wants wifi interface to be fully operational before
> dcsbas_smi_request() starts returning proper data. I wonder if iwl3945's
> rfkill support interferes somehow here...
>
> Maybe Mario (being a Dell guy) has an idea why this might be happening?
>
>
I'm on 2.6.31-rc8 or so. I can't actually reproduce this on a d630. I
get all of the rfkill devices populated.
$ rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
$ sudo rmmod iwl3945 iwlcore dell-laptop
$ rfkill list
$ sudo modprobe dell-laptop
$ rfkill list
3: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
4: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
<hit the hardware killswitch>
$ rfkill list
3: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
4: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
5: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
$ sudo modprobe iwl3945
$ rfkill list
3: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
4: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
5: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
6: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
There *is* a problem here that the hardware killswitch status doesn't
get updated, but Matthew is aware of that. Make sure you're not getting
false data because of it.
--
Mario Limonciello
*Dell | Linux Engineering*
mario_limonciello@dell.com
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Dell-laptop is not working without wireless
2009-09-03 16:42 ` Mario Limonciello
@ 2009-09-03 17:15 ` Dmitry Torokhov
2009-09-03 17:20 ` Mario Limonciello
0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Torokhov @ 2009-09-03 17:15 UTC (permalink / raw)
To: Mario Limonciello; +Cc: Matthew Garrett, LKML
On Thursday 03 September 2009 09:42:35 am Mario Limonciello wrote:
> Hi Dmitry:
>
> Dmitry Torokhov wrote:
> > On Tue, Aug 18, 2009 at 01:10:49PM +0100, Matthew Garrett wrote:
> >
> >
> > Admittedly I have not spend much time on it but it looks like my box
> > _really_ wants wifi interface to be fully operational before
> > dcsbas_smi_request() starts returning proper data. I wonder if iwl3945's
> > rfkill support interferes somehow here...
> >
> > Maybe Mario (being a Dell guy) has an idea why this might be happening?
> >
> >
> I'm on 2.6.31-rc8 or so. I can't actually reproduce this on a d630. I
> get all of the rfkill devices populated.
>
Hmm, what is the BIOS version in your box? Also, mine used to have
broadcom-based wifi and I replaced it with iwl3945, would that make
any difference?
Thanks!
--
Dmitry
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-09-03 17:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18 5:32 Dell-laptop is not working without wireless Dmitry Torokhov
2009-08-18 12:10 ` Matthew Garrett
2009-09-03 14:59 ` Dmitry Torokhov
2009-09-03 16:42 ` Mario Limonciello
2009-09-03 17:15 ` Dmitry Torokhov
2009-09-03 17:20 ` Mario Limonciello
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox