x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Sigmarion 2 mod: Adding USB port

1 2 3
hpcboy Page Icon Posted 2020-11-05 6:57 AM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
I've embarked on a new quest to add a USB port on my Sigmarion II.
Part I of the story
Part II of the story



TL: DR:
I think I've reached the late stage of the operation. When I plugged in a USB thumb drive, the NEC Clik! program immediately recognized the hardware change, which suggested that my soldered connection was working. However, I got stuck at a missing driver issue when plugging in a USB thumb drive:



Tried usbd, usbd.dll, usbclik, usbclik.dll. No luck so far.

Also I want to make the USB port available for ActiveSync. What DLL or files do I need to make this happen?

Any input is much appreciated. Thanks, folks!


Edited by hpcboy 2020-11-05 7:41 AM
 Top of the page
stingraze Page Icon Posted 2020-11-05 7:59 AM
#
Avatar image of stingraze
Writing Team
H/PC Vanguard

Posts:
2,664
Location:
Japan
Status:
Just wondering, but what format is the USB drive formatted as?

I think it needs to be FAT32.

Also, usbmsc.dll and usbdisk6.dll are needed ? (Type usbmsc at prompt)
(Refer to this: https://air.ap.teacup.com/douraku/52.html )

Edited by stingraze 2020-11-05 8:06 AM
 Top of the page
hpcboy Page Icon Posted 2020-11-05 12:12 PM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Thanks, I am still trying to locate these two .dll, but to no avail.

They are not available on J720/728 (kinda expected), neither are they found on Sigmarion III (usbforma.dll and xsusbser.dll are present but do not work in this case).


Edited by hpcboy 2020-11-05 12:13 PM
 Top of the page
hpcboy Page Icon Posted 2020-11-05 12:50 PM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Found an old thread here which contains very useful information: https://www.hpcfactor.com/forums/forums/thread-view.asp?tid=89&start...

Particularly C:Amie's instructions for the registry edit. Let me post it here in case others may not find that old thread.
Quote
The site that published the archive you sent, is here:
http://www.softclub.jp/~zoro/ce/

Direct Link:
http://www.softclub.jp/~zoro/ce/usb020522.lzh

You may need to add the following registry settings for it:

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class]
"DLL"="USBMSC.DLL"
"Prefix"="DSK"
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\2]
"DLL"="USBDISK6.DLL"
"Prefix"="DSK"
"FSD"="UDFS.DLL"
"Folder"="USB Disk"
"IOCTL"=dword:4
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\6]
"DLL"="USBDISK6.DLL"
"Prefix"="DSK"
"FSD"="FATFS.DLL"
"Folder"="USB Disk"
"IOCTL"=dword:4


Since the original download link isn't working anymore, a copy of the files is attached here for anyone interested.




Attachments
----------------
Attachments usb020522.lzh (42KB - 1 downloads)
 Top of the page
CE Geek Page Icon Posted 2020-11-05 1:39 PM
#
Avatar image of CE Geek
Global Moderator
H/PC Oracle

Posts:
12,271
Location:
Southern California
Status:
These files are available for the Sig 3 - we have the package here in H/PC:Update:

https://www.hpcfactor.com/support/update/aggregator.asp?cid=7

But they're ARM and CE 4.1. Are you trying to recompile?

If you could solve this, maybe we could finally cure the loss of USB support in the NEC MobilePro 880 with the 790 (H/PC 200) ROM (what some of us call an "890" ).

Check Geared2003's comment in the middle of the below-linked page for another possibility:

https://www.hpcfactor.com/forums/forums/thread-view.asp?tid=9978&sta...
 Top of the page
hpcboy Page Icon Posted 2020-11-05 5:32 PM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Hmm. Thanks CE Geek for the important link. Didn't know the whole long-winded backstory of the USB issue for HPC2000 and MIPS (HPC was not even a thing for me back then)... I need another day or two to sort this out (during commute ).
 Top of the page
hpcboy Page Icon Posted 2020-11-05 7:12 PM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Thanks for stingraze's hint, I've got my first success!



Will do more testing and keep updating both here and in my blog.
 Top of the page
hpcboy Page Icon Posted 2020-11-05 7:26 PM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Another quick update:

Yes, the USB disk has to be FAT32.
Read and Write are done properly.
Way to go!

If I could just make ActiveSync via USB work ...
 Top of the page
stingraze Page Icon Posted 2020-11-06 12:19 AM
#
Avatar image of stingraze
Writing Team
H/PC Vanguard

Posts:
2,664
Location:
Japan
Status:
Another hint:

Check out this site:

http://nice.kaze.com/activesync35.html

Seems like it works even for Windows XP using this method.
(You can use LAN for Activesync too)

-stingraze

Edited by stingraze 2020-11-06 12:34 AM
 Top of the page
hpcboy Page Icon Posted 2020-11-06 1:50 AM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
That's super nice. Thanks a bunch, stingraze! Without your help the little champion would be getting nowhere in this quest. Doubtlessly setting usb activesync will be the next big quest ...

... and finally the USB implantation is successful!


For the complete coverage, please check out Chapter 6 of my Book of Sigmarion II adventures.

 Top of the page
hpcboy Page Icon Posted 2020-11-06 9:17 AM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Quote
stingraze - 2020-11-06 7:19 PM

Another hint:

Check out this site:

http://nice.kaze.com/activesync35.html

Seems like it works even for Windows XP using this method.
(You can use LAN for Activesync too)

-stingraze


I've read the translation of this page a couple of times but still cannot get the full picture. That discussion seems to be about using a proprietary rs232c to usb cable, which I don't have (and I don't think it's possible to get one today). As far as I understand, the solution is about using a modified driver of the rs232-usb cable with the PL2302 chipset to get Windows recognize the device connected via this specific cable. Can this possibly apply to a pure USB connection as in my case?

I've downloaded the PL2032 installer in question from Prolific TW, but it was an installer program and there was no separate .INF file as described in that page.

Also, in the bottom section the page talks about setting up a fast USB connection via LAN. But I got lost as the instructions refer to a certain network device which is not clear to me which one specifically.
 Top of the page
hpcboy Page Icon Posted 2020-11-07 4:59 AM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Just created a 3D print to protect the custom USB port.





And two more missions down the road:
- To test different USB peripheral devices (keyboard, mouse, etc.) and their drivers with this port.

- To unlock the secret of how to enable ActiveSync via USB using this new port.

I'm love the Sigmarion II more and more.
 Top of the page
hpcboy Page Icon Posted 2020-11-07 9:46 AM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Quote
CE Geek - 2020-11-06 8:39 AM

These files are available for the Sig 3 - we have the package here in H/PC:Update:

https://www.hpcfactor.com/support/update/aggregator.asp?cid=7

But they're ARM and CE 4.1. Are you trying to recompile?

If you could solve this, maybe we could finally cure the loss of USB support in the NEC MobilePro 880 with the 790 (H/PC 200) ROM (what some of us call an "890" ). ...


The link is dead. Not sure what it is supposed to be.
The DLL files refered to by C:Amie back in 2004 (!?) do work for H/PC2000 on Sigmarion II. I simply dropped all the four DLLs (fsdmgr.dll, udfs.dll, usbdisk6.dll, usbmsc.dll) to Windows\ and chose "usbmsc" to name the USB driver in USB-Clik's prompt. As said in my other posts, now my Sigmarion II can work with regular FAT32 formatted USB thumb drives.
 Top of the page
C:Amie Page Icon Posted 2020-11-07 10:49 AM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
15,648
Location:
United Kingdom
Status:
Quote
hpcboy - 2020-11-07 4:59 AM

Just created a 3D print to protect the custom USB port.





And two more missions down the road:
- To test different USB peripheral devices (keyboard, mouse, etc.) and their drivers with this port.

- To unlock the secret of how to enable ActiveSync via USB using this new port.

I'm love the Sigmarion II more and more.


Good 3D print job, don't forget to publish the model!

To use AS, the port has to be a client port instead of a host port. It won't support USB OTG or Type-C, so I believe that the physical wiring spec has to be different and logically terminate in a Type-B or Micro-B.
 Top of the page
hpcboy Page Icon Posted 2020-11-07 11:45 AM
#
Avatar image of hpcboy
Subscribers
H/PC Philosopher

Posts:
256
Location:
Hong Kong SAR
Status:
Sure. The v1.0 file has been released on Thingiverse:
https://www.thingiverse.com/thing:4645949



 Top of the page
hpc:factor« View previous thread · Hardware Support · View next thread »
1 2 3
Jump to forum:
Seconds to generate: 0.25 - Cached queries : 55 - Executed queries : 26
Server Time now is: Sunday, 18 April 2021 - 1:24