Author Topic: Problem w/ Win2k & C760 USB Storage driver  (Read 6268 times)

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« 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

Quote
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

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« Reply #1 on: July 16, 2004, 04:21:32 am »
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.
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« Reply #2 on: July 16, 2004, 03:49:30 pm »
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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problem w/ Win2k & C760 USB Storage driver
« Reply #3 on: July 16, 2004, 09:00:06 pm »
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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« Reply #4 on: July 17, 2004, 12:53:23 am »
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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« Reply #5 on: July 17, 2004, 01:47:29 pm »
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.
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« Reply #6 on: July 17, 2004, 09:54:02 pm »
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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problem w/ Win2k & C760 USB Storage driver
« Reply #7 on: July 18, 2004, 07:16:38 am »
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.

Quote
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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« Reply #8 on: July 18, 2004, 12:01:25 pm »
Quote
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
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

yzord

  • Full Member
  • ***
  • Posts: 162
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« Reply #9 on: August 08, 2004, 01:56:14 pm »
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

phillvs

  • Newbie
  • *
  • Posts: 38
    • View Profile
Problem w/ Win2k & C760 USB Storage driver
« Reply #10 on: August 11, 2004, 06:42:12 pm »
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.  
Phill

Using:
C860 with pdaXrom
5600 with theKompany Rom

snufkin

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • http://
Problem w/ Win2k & C760 USB Storage driver
« Reply #11 on: August 16, 2004, 05:31:52 am »
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.

 
SL-C760
Cacko Rom 1.22a
Nokia CF BT Card
Pretec CF wifi
Lexar 1GB SD

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problem w/ Win2k & C760 USB Storage driver
« Reply #12 on: August 16, 2004, 07:13:51 am »
Try running these commands (change hda1 to mmcda1 for SD rather than CF):

Code: [Select]
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
« Last Edit: August 16, 2004, 07:15:04 am by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva