Author Topic: How is WLAN card of SL6000L addressed?  (Read 3477 times)

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
How is WLAN card of SL6000L addressed?
« on: July 13, 2004, 04:14:38 pm »
Hi all SL6000 owners,

I am currently preparing an application using PCMCIA raw access. Since I do not have access to an SL6000 but want to be prepared, please could somebody issue the following commands

Code: [Select]
more /var/lib/pcmcia/stab
cardctl status
cardctl config

and post the results?

Many thanks,

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

boosalis

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
    • http://
How is WLAN card of SL6000L addressed?
« Reply #1 on: July 13, 2004, 10:36:41 pm »
Here you go (Note I have expansion jacket with barcode reader)

BusyBox on alpha login: zaurus
$ su
# more /var/lib/pcmcia/stab
Socket 0: ATA/IDE Fixed Disk
0       ide     ide_cs  0       hda     3       0
Socket 1: SDG Systems MobiliScan HS2
1       sdgmhs  sdgmhs_cs       0       sdgmhs0 251   0
*****************************************************
$ cardctl status
Socket 0:
  3.3V 16-bit PC Card
  function 0: [ready], [bat dead], [bat low]
Socket 1:
  3.3V 16-bit PC Card
  function 0: [ready]
******************************************************
$ cardctl config
Socket 0:
  Vcc 3.3V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 43 [exclusive] [level]
  function 0:
    config base 0x0200
      option 0x41 status 0x00 pin 0x00 copy 0x00
    io 0xf6000000-0xf600000f [auto]
Socket 1:
  Vcc 3.3V  Vpp1 0.0V  Vpp2 0.0V
  interface type is "memory and I/O"
  irq 58 [exclusive] [level]
  function 0:
    config base 0x0400
      option 0x4d status 0x00
    io 0xf70003f8-0xf70003ff [8bit]
$
Zaurus 6000 with expansion jacket

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
How is WLAN card of SL6000L addressed?
« Reply #2 on: July 14, 2004, 07:19:01 am »
Many thanks,

could you please also issue a cardctl ident command?

But I already suspect that my assumption that it is simply a CF card attached to the second PCMCIA slot seems not to be correct. Rather, the second slot is used by the expansion jackedt.

So WiFi appears to have its own driver. Does anybody have an idea? SDIO? Serial?

-- hns
« Last Edit: July 14, 2004, 07:20:22 am by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

nevarrie

  • Full Member
  • ***
  • Posts: 188
    • View Profile
    • http://www.thegrantclan.org
How is WLAN card of SL6000L addressed?
« Reply #3 on: July 14, 2004, 05:48:39 pm »
Quote
So WiFi appears to have its own driver. Does anybody have an idea? SDIO? Serial?

I believe it is using USB.  Here is what dmesg gives if I disconnect and then reconnect to my AP


Code: [Select]
usb.c: USB disconnect on device 10
hub.c: USB new device connect on bus1/2, assigned device number 11
ident: nic h/w: id=0x8026 1.0.0
ident: pri f/w: id=0x15 1.1.3
ident: sta f/w: id=0x1f 1.7.4
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
p80211knetdev_hard_start_xmit: Tx attempt prior to association, frame dropped.
linkstatus=CONNECTED
***********************
Jeremy "Nevarrie" Grant
SL-6000L
OpenZaurus 3.5.4.1 GPE(2.6 kernel)|GrantRom 0.01(e-image clone)
Targus IR Keyborad

boosalis

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
    • http://
How is WLAN card of SL6000L addressed?
« Reply #4 on: July 15, 2004, 12:08:03 am »
cardcntl ident produces:
BusyBox on alpha login: zaurus
$ su
# cd /sbin
# ./cardctl ident
Socket 0:
  product info: "SunDisk", "SDP", "5/3 0.6"
  manfid: 0x0045, 0x0401
  function: 4 (fixed disk)
Socket 1:
  product info: "SDG Systems LLC", "MobiliScan HS", "Rev 2.3", "0001"
  manfid: 0x0104, 0x009f
  function: 2 (serial)
#
Zaurus 6000 with expansion jacket

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
How is WLAN card of SL6000L addressed?
« Reply #5 on: July 15, 2004, 04:53:51 am »
Quote
I believe it is using USB.  Here is what dmesg gives if I disconnect and then reconnect to my AP
Yes, it looks like - and would be a reasonable solution if it is not CF/PCMCIA as the logs from bosalis have shown.

Makes it much more difficult to write my architecture in a way that it addresses either CF WiFi cards and and the USB based SL6000L...

Many thanks,
Nikolaus
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com