I think I was wrong about what icon the usbstorage mounted/unmounted popup notifications are using.I believe they are still using the usb.png icon from sysinfo, as they did before you added the new icons.

I think I was wrong about what icon the usbstorage mounted/unmounted popup notifications are using.I believe they are still using the usb.png icon from sysinfo, as they did before you added the new icons.

I think I was wrong about what icon the usbstorage mounted/unmounted popup notifications are using.I believe they are still using the usb.png icon from sysinfo, as they did before you added the new icons.

you prolly need to restart qtopia since it caches images...

I reboot each time I make a change (I don't have an option to restart qtopia).Anyway, I renamed /sysinfo/usb.png and the popup notification icon didn't display at all which tells me that it's still using that icon.

EDIT:Just to make sure I was right, I just renamed usbstorage.png to usb.png and copied it to /sysinfo and it's displaying as it should on the popup.

I think I was wrong about what icon the usbstorage mounted/unmounted popup notifications are using.I believe they are still using the usb.png icon from sysinfo, as they did before you added the new icons.

you prolly need to restart qtopia since it caches images...

I reboot each time I make a change (I don't have an option to restart qtopia).Anyway, I renamed /sysinfo/usb.png and the popup notification icon didn't display at all which tells me that it's still using that icon.

EDIT:Just to make sure I was right, I just renamed usbstorage.png to usb.png and copied it to /sysinfo and it's displaying as it should on the popup.

Doug

ok, I checked the code and indeed I forgot to change the icons for the popup messages so the menu was displaying the right icons, but the popup messages for the usbstorage devices were not.

I installed 1.0.3 on sharp rom (c3100, tetsu kernel) and created a file usbkeyboard, which checks $1 using a case statement whether it's start of stop. The usbkeyboard should switch key maps using keyhelper.

When I plug in the keyboard, two items appear in the menu. Now, when I click "start" the zaurus gets stuck for a moment and then a error message (could not be mounted) appears. The script works fine when run from the command line as user zaurus.

Could somebody please post a sample script? Are there any log messages so I can look what went wrong? I assume the script is run as the standard user zaurus?

This is interesting...When I insert/remove an SD card, I usually get a popup notification (I have qtopia-cardmon installed).But if I have a usb drive connected I don't get the SD notification popup, although it does mount and unmount.I'm not sure if this happened before I installed the usb applet or not, but I think I'll check it out.(Regardless, I wouldn't be without the usb applet).

UPDATE:I uninstalled the usb applet and it still acted the same.So it's apparently a little conflict caused when a drive is plugged into the usb port.It must be a sharp rom thing I guess.

I installed 1.0.3 on sharp rom (c3100, tetsu kernel) and created a file usbkeyboard, which checks $1 using a case statement whether it's start of stop. The usbkeyboard should switch key maps using keyhelper.

When I plug in the keyboard, two items appear in the menu. Now, when I click "start" the zaurus gets stuck for a moment and then a error message (could not be mounted) appears. The script works fine when run from the command line as user zaurus.

Could somebody please post a sample script? Are there any log messages so I can look what went wrong? I assume the script is run as the standard user zaurus?

The scripts are executed as root user so it will fail to run qcop command since only zaurus user can run those. you need to add sudo or su to your commands to root user can run the commands as zaurus user.I will update the applet when i have time to also check for the usb client mode so you can enable/disable samba, usbnetworking when the client cable is plugged in....

Wow, can't believe I never saw this before. Works great! Only bother is that it doesn't mount more than one usb drive at a time. Anyone know if this is possible?

you should be able to have lots of USB drives mounted; just be warned of the power limits on the USB host, and/or use a powered hub.

I'm using a powered usb hub. When I plug more than one usb drive into it only the first is mounted and shows in the files tab. I can mount a second one manually so I know they work. Just wondering why this applet and/or the automount package doesn't do more than one.

I'm using a powered usb hub. When I plug more than one usb drive into it only the first is mounted and shows in the files tab. I can mount a second one manually so I know they work. Just wondering why this applet and/or the automount package doesn't do more than one.

No one ever responded to this so I decided (2 years later ) to look into it myself. The /etc/hotplug/usb/usb-storage script is what is called when a drive is inserted and it will by default mount up to 4 drives (sda-sdd). If you connect one flash drive it will run through, check for a remove script and if it does not exist will then go ahead and mount the drive by looking for each of the four in turn. Then, once it is done mounting it will create a remove link under /var/run/usb/. If you then connect a second drive afterwards the script will run again and first check for any remove scripts which in this case will exist and therefore it will not try to mount anything else. On the other hand, if I plug four flash drives into a usb hub and then afterwards plug that hub into the Zaurus the script will run and because there is no remove link yet it will run through and mount all four drives in the first go. Drives can be unmounted individually from the usb tray applet but ALL have to be physically disconnected from the zaurus before it will remove that remove link and allow mounting new drives again. I'm not sure why whoever made this automounter (meanie?) decided to make it this way but it isn't very robust at all. Of course, I'm not very skilled with hotplug as the zaurus is the only linux I have that still uses it. Oh well, good enough as long as you understand how this usb-storage script is working. Maybe a simple change to the script to check if the drive is already mounted before trying to mount it instead of looking for that remove script would fix it. I'll try it but it may be that way for a reason.

I mainly put this here so in the future when I again try to figure this out I will remember where I left off.