--- menu.c.bak	Thu Aug 22 11:02:44 2002
+++ menu.c	Thu Aug 22 11:01:00 2002
@@ -295,6 +295,28 @@
                 break;
 #endif
 
+#ifndef SIMULATOR
+            case SYS_USB_CONNECTED: {
+#ifdef HAVE_LCD_BITMAP
+                bool laststate=statusbar(false);
+#endif
+                /* Tell the USB thread that we are safe */
+                DEBUGF("menubrowse got SYS_USB_CONNECTED\n");
+                usb_acknowledge(SYS_USB_CONNECTED_ACK);
+                
+                /* Wait until the USB cable is extracted again */
+                usb_wait_for_disconnect(&button_queue);
+                
+                /* Force a re-draw of the menu */
+                menu_draw(m);
+			    lcd_icon(ICON_PARAM, true);
+#ifdef HAVE_LCD_BITMAP
+                statusbar(laststate);
+#endif
+            }
+            break;
+#endif
+
             default:
                 break;
         }

