OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: leo20w on August 10, 2005, 06:58:42 pm
-
I just got Scandisk Connect plus and try to make it working on my C860 runing Cacko 1.22. I loaded pm 010101.hex in /etc/pcmcia/firmware. But When I run
prism2_srec -gs wlan0 /etc/pcmcia/firmware/PM010101.hex
It said:
Fail to open "/proc/net/hostap/wlano/debug' for reading
Incompatible update data
Of course the card is not working. Any suggestions?
Thanks a lot,
Leo
-
After extensive search, I realized that most people made this card working were using OZ3.5.2. Does anyone make this card work under Cacko1.22 ROM?
Thanks,
Leo
-
Did you try to run the command with sudo in front, ie. as root user?
-
Hi!
I have this card working very well in OpenZaurus 3.5.3beta in a C3000. I'll reflash for cacko rom (sharp based) and I'll tell you, babi.. jijij
see you.still in contact.
-
Hi,
I also had it working in OZ-3.5.3 but now when I put in Cacko ROM the wifi doesn't work.
I'm running C3000, and T-RuX if you get it to work please share your knowledge with us.
I don't know if the hostap drivers aren't working properly. The card is detected by the cardmanager but then nothing else happens. Any ideas?
-
Hi everyone, I have one of the SanDisk ConnectPlus WiFi cards too. I'm trying to get it working on my SL-C3100 with stock Sharp ROM. II spent a significant amount of time last night compiling the required parts of host ap and trying to make it work. I did succeed in getting the three modules to load when the card was inserted but attempting to upload the firmware fails.
This is the relevant dmesg:
hostap_crypt: registered algorithm 'NULL'
hostap_crypt: registered algorithm 'WEP'
hostap_cs: 0.3.9 - 2005-06-10 (Jouni Malinen <jkmaline@cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0047, io.base=0x0000, len=128
hostap_cs: Registered netdevice wifi0
wifi0: Interrupt, but dev not OK
hostap_cs: index 0x01: Vcc 3.3, irq 135, io 0xf6000000-0xf600007f
wifi0: Multi-function SanDisk ConnectPlus detected - using vendor-specific initialization
hostap_cs: assuming no Primary image in flash - card initialization not completed
wifi0: test Genesis mode with HCR 0x1f
prism2_pccard_cor_sreset: original COR 4b
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 ce a1 ce
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset: original COR 4f
Readback test succeeded, HCR 0x0f
wifi0: registered netdevice wlan0
wlan0: could not set interface UP - no PRI f/w
hostap_cs: CS_EVENT_PM_SUSPEND
hostap_cs: CS_EVENT_RESET_PHYSICAL
wifi0: hfa384x_cmd: entry still in list? (entry=c39dfda0, type=0, res=0)
wifi0: hfa384x_cmd: command was not completed (res=0, entry=c39dfda0, type=0, cmd=0x0002, param0=0x0000, EVSTAT=0000 INTEN=0010)
hostap_cs: Shutdown failed
pxa_pcmcia_suspend(0)
prism2_download: dl_cmd=4 start_addr=0x003f0000 num_areas=3
wifi0: test Genesis mode with HCR 0x0f
prism2_pccard_cor_sreset failed 1 (29)
Readback test failed, HCR 0x0f write 00 e1 a1 ff read 88 88 88 88
wifi0: Failed to set Genesis mode (sram_type=16)
This is the output in the terminal when trying to upload the firmware:
bash-2.05# prism2_srec -gs wlan0 pm010102.hex
srec summary for pm010102.hex
Included file name: PM010102.HEX
Component: 0x0015 1.1.2 (primary firmware)
Verifying update compatibility and combining data:
Plugging PDR 0400 (NIC configuration): ram16=1 pci=0 (03 00)
OK.
Downloading to volatile memory (RAM).
ioctl[PRISM2_IOCTL_DOWNLOAD]: Input/output error
Download failed!
Anyone have any ideas where to go from here?
-
Anyone have any ideas where to go from here?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=93895\")
it is strange that your hostap driver is receiving a card suspend during initialization. I've posted one possibility perhaps to explore in this thread:
[a href=\"https://www.oesf.org/forums/index.php?showtopic=12567&st=15&p=94951entry94951]https://www.oesf.org/forums/index.php?showt...951entry94951[/url]
hope this is somewhat helpful!
-
Hi,
I've been trying to get the Sandisk Connectplus card to work for some time now... I'm using the Sharp Rom and I've cross compiled hostap-0.3.9, so I have the necessary hostap modules now (hostap.o, hostap_cs.o, hostap_crypt_wep.o). I have followed previous instructions found on this forum and downloaded firmware from http://www.red-bean.com/~proski/firmware/ (http://www.red-bean.com/~proski/firmware/) and prism2_srec from https://www.oesf.org/forums/index.php?act=A...ype=post&id=590 (https://www.oesf.org/forums/index.php?act=Attach&type=post&id=590) and added the following in /etc/pcmcia/hostap_cs.conf
card "SanDisk ConnectPlus"
version "SanDisk", "ConnectPlus"
manfid 0xd601, 0x0101
bind "ide-cs" to 1
bind "hostap_cs" to 0
When I plug in the card cardctl ident gives
Socket 0:
product info: "SanDisk", "ConnectPlus"
manfid: 0xd601, 0x0101
function: 6 (network)
but dmesg doesn't give any output at all...
Needless to say the card isn't working
Any help would really be appreciated.
Thanks!
-
daiceman, first of all in hostap_cs.conf desactivate this
#bind "Ide-cs" to 1
The drivers for now not support the 2 fuctions at the same time for the moment.I'll Compiled the tools drivers and hostapd and fail to upload the firmware :S
See you...
-
T-RuX,
Thanks for your reply.
I commented bind "ide-cs" to 1 as you said
but dmesg still doesn't show me any information when I plug in the card.
Have you made any other changes to files in /etc/pcmcia/ ?
I've put the hostap modules in /lib/modules/2.4.20/net/wireless and I can modprobe them and they load cleanly but I don't get any wlan0
How did you get it to load the modules when you plug in the card?
Thanks for reply.
-
I check this post almost everyday to see if anyone is successful to make this card work under the Cacko Rom. I really have no clue why the firmware can not be uploaded. Hopefully your guys (IT professionals !!) can solve this problem.
Looking forward to hearing the good news!
Leo
T-RuX,
Thanks for your reply.
I commented bind "ide-cs" to 1 as you said
but dmesg still doesn't show me any information when I plug in the card.
Have you made any other changes to files in /etc/pcmcia/ ?
I've put the hostap modules in /lib/modules/2.4.20/net/wireless and I can modprobe them and they load cleanly but I don't get any wlan0
How did you get it to load the modules when you plug in the card?
Thanks for reply.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=95564\"][{POST_SNAPBACK}][/a][/div]
-
I check this post almost everyday to see if anyone is successful to make this card work under the Cacko Rom. I really have no clue why the firmware can not be uploaded. Hopefully your guys (IT professionals !!) can solve this problem.
Looking forward to hearing the good news!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=98062\"][{POST_SNAPBACK}][/a][/div]
Ok, bringing some life to this thread once again. As I read the 1.23 final changelog one of the added features is support for prisim3 firmware. However, when I insert the card it recognizes it as a 128meg flash, not the wireless card. I see the .conf file has the wireless commented out and a comment of 'only supported as flash' but I'm hoping this card can finally be used for wireless as that is the ONLY reason I don't use Cacko.
Hopefully someone can point me in the right direction of getting this card up and running.
Thanks in advance.....
-
Ok, bringing some life to this thread once again. As I read the 1.23 final changelog one of the added features is support for prisim3 firmware. However, when I insert the card it recognizes it as a 128meg flash, not the wireless card. I see the .conf file has the wireless commented out and a comment of 'only supported as flash' but I'm hoping this card can finally be used for wireless as that is the ONLY reason I don't use Cacko.
No, I've spent quite a lot of time trying to make this card work out of the box. There are some problems in the driver - the firmware gets loaded first time when card is inserted and initialized, but after is gets suspended it can never get back to life again. Other cards without fimware in flash (such as Planex/IO-Data) work fine, so problem is specific to SanDisk Plus card.
I contacted the author of the driver and asked him to have a closer look, but you never know when this will happen.
-
... the firmware gets loaded first time when card is inserted and initialized, but after is gets suspended it can never get back to life again. ..
I'd be happy with the information to do that at least. (please please) It works the same on the other roms, all I do is run a script to re-initialize the card after suspend (load firmware and kick on wlan0). A bit of a bother but at least it works... unlike now where it doesn't even load the first time.
I hate to buy another card when I know this method, although not so out of the box, works.
-
I'd be happy with the information to do that at least. (please please) It works the same on the other roms, all I do is run a script to re-initialize the card after suspend (load firmware and kick on wlan0). A bit of a bother but at least it works... unlike now where it doesn't even load the first time.
I hate to buy another card when I know this method, although not so out of the box, works.
Change binding from ide_cs to hostap_cs in /etc/pcmcia/sandisk.conf and restart pcmcia
When you insert the card watch syslog messages and you'll see that the card gets initialized (/etc/hostap_fw script takes care of it), then suspended immidiately. After that the card cannot be initialized again.
-
I have to inform that my wifi card also works. I reinstalled the rom and then it works fine.
I don't know why it doesn't work the first time, but perhaps I should have done more test before posting. I'm sorry.
My donation is on the way. Thanks
-
I have to inform that my wifi card also works. I reinstalled the rom and then it works fine.
I don't know why it doesn't work the first time, but perhaps I should have done more test before posting. I'm sorry.
My donation is on the way. Thanks
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101888\"][{POST_SNAPBACK}][/a][/div]
Which rom do you have?
I am also trying to get it working on Cacko. I know, that OZ 3.5.3 is running on kernel 2.6. It seems, that 2.6 has better pcmcia managment... I'll get it working on 2.6 first, and after that may be, it will be clear how to get it working on 2.4.
-
well, I also have the damned card, got it cheap and thought it may run, well the Cacko 1.23 recognise it, you see it but...what now ?
The lame thing is I'm a lamer on the Zaurus / Linux but I like to try, that's why I also installed some time ago on my PC Fedora Core on the 2nd system :-)
-
I just picked up one of these cards super cheap. Anyway, I found a quick work around to the suspend problem. There's a line in /etc/pcmcia/network that calls suspend, I just commented it out by adding a '#' character at the beginning of the line:
# /sbin/cardctl suspend $SOCKET
With this kludge, the card initializes successfully, does not go back to sleep, and I can then use the iwconfig and dhcpcd commands to get on the network. However, the networking applet does not work for me (it puts the card into an unuseable state), so it's command-line only for now.
[ EDIT: I just got the network applet to work. It turns out the card doesn't like having the firmware uploaded multiple times, so I changed the scripts to prevent that from happening. ]
Of course the reason I got the card was the 128 megs of flash, and right now I can do one or the other, but not both at the same time, depending on which line I activate in sandisk_plus.conf. But if I try to do both, then I get lots of dmesg errors and nothing works, so it kinda defeats the purpose...
Has anyone gotten them both to work simultaneously? Right now I'm using Cacko 1.23, does it work better on OpenZaurus?
-
DrWowe:
Would you mind very much giving more explicit directions on how you got the wireless working on the ConnectPlus with the Cacko 1.2.3 ROM on your cxxxx??
VERY simple instructions would be great.
Maybe you could even attach a copy of your conf file for us Linux ignoramuses here. I've had this card for months and have only had it working on my 5500 with OZ. Want it to work with my C1000.
Thanks!
I just picked up one of these cards super cheap. Anyway, I found a quick work around to the suspend problem. There's a line in /etc/pcmcia/network that calls suspend, I just commented it out by adding a '#' character at the beginning of the line:
# /sbin/cardctl suspend $SOCKET
With this kludge, the card initializes successfully, does not go back to sleep, and I can then use the iwconfig and dhcpcd commands to get on the network. However, the networking applet does not work for me (it puts the card into an unuseable state), so it's command-line only for now.
[ EDIT: I just got the network applet to work. It turns out the card doesn't like having the firmware uploaded multiple times, so I changed the scripts to prevent that from happening. ]
Of course the reason I got the card was the 128 megs of flash, and right now I can do one or the other, but not both at the same time, depending on which line I activate in sandisk_plus.conf. But if I try to do both, then I get lots of dmesg errors and nothing works, so it kinda defeats the purpose...
Has anyone gotten them both to work simultaneously? Right now I'm using Cacko 1.23, does it work better on OpenZaurus?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111498\"][{POST_SNAPBACK}][/a][/div]
-
Sure thing. I also wrote a nifty little program that auto-switches between memory and WiFi mode from the command-line. I'll package the whole thing into an ipk and post it in a few days.
-
Thanks...that's great.
Sure thing. I also wrote a nifty little program that auto-switches between memory and WiFi mode from the command-line. I'll package the whole thing into an ipk and post it in a few days.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111586\"][{POST_SNAPBACK}][/a][/div]
-
DrWowe:
I hate to be a nag....but did you get the ipk done?
Thanks.
Sure thing. I also wrote a nifty little program that auto-switches between memory and WiFi mode from the command-line. I'll package the whole thing into an ipk and post it in a few days.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111586\"][{POST_SNAPBACK}][/a][/div]
-
DrWowe:
I hate to be a nag....but did you get the ipk done?
Thanks.
Sure thing. I also wrote a nifty little program that auto-switches between memory and WiFi mode from the command-line. I'll package the whole thing into an ipk and post it in a few days.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=111586\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=112237\"][{POST_SNAPBACK}][/a][/div]
I'd like to know how to get it work too, thanks in advance.
-
Hobbies have to take a back seat to work deadlines.
Here's the ipk. The Sandisk card should function like any other network card after installing. Other networking cards should also still work same as before.
It installes a command line program. You can run "sandisk_plus net" or "sandisk_plus mem" to switch between network and memory mode. If you are adventurous, you can also try "sandisk_plus both" although for me it makes both of them not work.
The ipk overwrites files in /etc/pcmcia, so please back up this directory first. If you want to uninstall, you'll need to restore this directory.
-
Thanks a million!
I hope you don't mind, but I posted the ipk to my web site with your instructions. I think a lot of people have this card and have been wanting to use it. You the MAN!
Oh, I had to rename the ipk to "sandisk-plus_arm.ipk" because the package installer complained that it had to have that name to be installed.
Hobbies have to take a back seat to work deadlines.
Here's the ipk. The Sandisk card should function like any other network card after installing. Other networking cards should also still work same as before.
It installes a command line program. You can run "sandisk_plus net" or "sandisk_plus mem" to switch between network and memory mode. If you are adventurous, you can also try "sandisk_plus both" although for me it makes both of them not work.
The ipk overwrites files in /etc/pcmcia, so please back up this directory first. If you want to uninstall, you'll need to restore this directory.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=113606\"][{POST_SNAPBACK}][/a][/div]
-
Does anyone know if this ipk will work with an sl-5500? Or if it can be adapted to work?
The card works under OZ 3.5.3 just the same as indicated in this forum, not being able to come out of suspend w/o a reflash.
I'd love to make it work with cacko/sharp, as would many others.
I Appreciate it,
Bryan
Thanks a million!
I hope you don't mind, but I posted the ipk to my web site with your instructions. I think a lot of people have this card and have been wanting to use it. You the MAN!
Oh, I had to rename the ipk to "sandisk-plus_arm.ipk" because the package installer complained that it had to have that name to be installed.
Hobbies have to take a back seat to work deadlines.
Here's the ipk. The Sandisk card should function like any other network card after installing. Other networking cards should also still work same as before.
It installes a command line program. You can run "sandisk_plus net" or "sandisk_plus mem" to switch between network and memory mode. If you are adventurous, you can also try "sandisk_plus both" although for me it makes both of them not work.
The ipk overwrites files in /etc/pcmcia, so please back up this directory first. If you want to uninstall, you'll need to restore this directory.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=113606\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=113647\"][{POST_SNAPBACK}][/a][/div]
-
Hello
Looks like using the memory and wifi at the same time are now possible. They require a 2.6 however...
See http://lists.infradead.org/pipermail/linux...ber/004266.html (http://lists.infradead.org/pipermail/linux-pcmcia/2006-December/004266.html)
Guylhem