OESF Portables Forum
Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Windows Issues => Topic started by: yzord on July 15, 2004, 12:12:29 pm
-
I originally posted this in the Sharp Rom forum, but this might be a better place for it. Anyone else see this bizzare behaviour?
Yz
Argh, I'm having a nagging issue with my C760 + Cacko 1.21b.
Everytime I try to connect to a Win2kbox with the USB Storage setting it keeps trying to load the SL-Series3 WDM driver instead of a regular USB Storage driver. This means that I cannot load the Z as a storage card.
I've tried the suggestions on the preceeding pages (that have to do with the usbstorage setting not "keeping" after a reboot), but that hasnt changed anything. I thought it was my computer, but it asks for the same thing on other computers as well. I also had no problems with TCKRom as well as an older version of the Cacko rom (colleague has C760 with older cacko ROM which works in usb storage mode no problem on my computer as well).
That pretty much rules out the computer, so it's gotta be the Z. This is driving me nuts! Any help?
Yz
-
yeah, there's a whole big thread on it. problem is that the pc link applet doesn't update the Z after you reboot. check /etc/hotplug/usbd.storage ??? something like that, it should read either net or storage... change that and plug in your cable.
-
Actually, I already addressed that in my posting (the part about my trying the previous suggestions fixing the usbstorage settings not "keeping" after a reboot), and that is not the issue. usbd.storage reflects the correct settings - it's just Windows that doesnt want to load the correct drivers when I connect as usbstorage versus usb-network...
Yz
-
Do 'lsmod' and see whether storage_fd or net_fd is loaded (they are mutually exclusive). The names should give an indication as to which does which function.
I'm doubtful the problem is with Windows or even with the storage_fd driver (I've had no isseus with either), but more likely that the one you want isn't loaded when you want it.
Si
-
Have you check the perms of the files in /etc/hotplug?
That was the problem with the previous version of cacko and usb storage not sticking.
The ones that were causing problems for me were
/etc/hotplug/usbd.ftype
/etc/hotplug/usbdstorage.conf
make sure they are owned by root and writeable by root and qpe (may as well go all the way and make then mode 666)
Stu
-
There was a problem in the script though wasn't there? Now that i know what the problem is i haven't actually implemented the fix available (editing the script), i just change it back upon reboot if i need to.
-
Okay guys, thanks for the information and help. However, I'm still stuck...
Just so you know, I "suggestions" I referred to were the ones in the Cacko 1.21b thread in the Sharp ROM thread (so I've checked various things already).
Here's the results of my rechecks:
1) lsmod indicates that storage_fd is loaded (actually, "pxa_bi storage_fd") under usbdcore
2) perms for both usbd.ftype and usbdstorage.conf are both 666 already (did that from conversation in the aforementioned thread), owner/group root. I also log on as root, so no need for qpe.
3) I saw the script modification in the aforementioned thread and applied it. Rebooting does not change the setting, which is great, however it is still loading SL-860 drivers upon connection to any win2k station. I've done this to multiple computers, so it's definitely not Windows, it's the Z.
Thanks for the effort, but does anyone have any other suggestions?
Yz
-
When I plug in with storage_fd.o loaded, Windows tells me that it's found a C760 (or whatever device I got the driver from), then that annoying little bubble goes away and it tells me that it's found a disk drive. However I'm not sure that this is what you're getting.
1) lsmod indicates that storage_fd is loaded (actually, "pxa_bi storage_fd") under usbdcore
This is of course during your attempt to make it work, as the scripts may do something else while you're not looking ;-)
Do other mass storage devices work on your WinXP machine?
Si
-
2) perms for both usbd.ftype and usbdstorage.conf are both 666 already (did that from conversation in the aforementioned thread), owner/group root. I also log on as root, so no need for qpe.
Did you change the qpe script to run qtopia as raoot too? If not you will probably need to have the scripts etc in /etc/hotplug owned by root.qpe not root.root as it is qtopia that is changing those file not you as root.
Have you tried changing the values of those files manually - if that works then its a permission problem, otherwise I'm out of ideas
Stu
-
Sorry guys, but I never did get back to you. Unfortunately, this reply will be mainly for anyone who searches for this topic.
lardman: Mine comes up looking for a C860 device, then goes and tries to load as an "SL series Ver3 (WDM)" device, at which point it asks for drivers. It's not a problem with my install of Windows, it does this on any computer I hook it up to. However, for the record, other mass storage devices work fine.
Stubear, unfortunately, root.root or root.qpe make no difference. chmod 766 for the scripts, and 666 for all other files in etc/hotplug dont do anything either. Changing the file manually works fine, but wont make any difference.
At this point, I think the only "solution" I have left is a reinstall of the rom - something I really dont have time for right now (I barely have time to even use my C760 as it is!). Oh well.
Thanks again for taking time to try to help me out though. It is certainly well appreciated.
Yz
-
I am relatively new linux and zaurus user but I am also having the same problem with Cacko 1.21b and USB storage. Yes I have checked all the things suggested.
-
same to me. change all perms and follow all instructions but failed. it was successfully recognized as usb storage at the 1st time b4 i installed the usb driver. after i installed the driver in my PC, it can't be changed to usb storage.
-
Try running these commands (change hda1 to mmcda1 for SD rather than CF):
umount /dev/hda1
/sbin/rmmod pxa_bi
/sbin/rmmod net_fd
/sbin/rmmod usbdcore
/sbin/insmod /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/device/usbdcore.o
/sbin/insmod /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/device/storage_fd/storage_fd.o storage_device=/dev/hda1
/sbin/insmod /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/usb/device/bi/pxa_bi.o shortpacket=1 recvpacket=256
Si