Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2010, 07:03 PM   #1
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
How should I eject the DR?

Sometimes after I eject/disconnect the reader from the computer, the DR's menu and status bar icon got messed up, I have to reboot to restore the correct menu and status bar icons.

Question one: what is the correct way to eject the DR? I realized recently that I am supposed to use "eject" on Windows 7 and "safely remove" on XP. But still happens.

Question two: (to IREX guys here) what is going on under the hood after the reader is disconnected from the computer?
CoolDragon is offline   Reply With Quote
Old 06-28-2010, 05:14 AM   #2
Gertjan
IRX developer
Gertjan doesn't litterGertjan doesn't litterGertjan doesn't litter
 
Gertjan's Avatar
 
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
Quote:
Originally Posted by CoolDragon View Post
Question one: what is the correct way to eject the DR? I realized recently that I am supposed to use "eject" on Windows 7 and "safely remove" on XP. But still happens.
"Eject" should be good on all OSes. "Safely Remove" only works on WinXp.

Quote:
Question two: (to IREX guys here) what is going on under the hood after the reader is disconnected from the computer?
The device acts as a USB Removable Mass Storage device which uses a SCSI like command set. On Eject, the PC sends a Media Eject command to the device which closes the USB session. The device mounts its file system again, indexes for new files, and goes to the desktop like it does on a cold boot.
Gertjan is offline   Reply With Quote
 
Enthusiast
Old 06-28-2010, 04:23 PM   #3
CoolDragon
Addict
CoolDragon doesn't litterCoolDragon doesn't litter
 
Posts: 232
Karma: 122
Join Date: Feb 2010
Device: none
Quote:
The device acts as a USB Removable Mass Storage device which uses a SCSI like command set. On Eject, the PC sends a Media Eject command to the device which closes the USB session. The device mounts its file system again, indexes for new files, and goes to the desktop like it does on a cold boot.
Thanks Gertjan, so what kind of signals/messages were sent to popupmenu after this procedure?

A related question: is it possible to emulate the "eject" event in the emulator?

Last edited by CoolDragon; 06-28-2010 at 07:14 PM.
CoolDragon is offline   Reply With Quote
Old 06-29-2010, 03:44 AM   #4
Gertjan
IRX developer
Gertjan doesn't litterGertjan doesn't litterGertjan doesn't litter
 
Gertjan's Avatar
 
Posts: 158
Karma: 224
Join Date: Oct 2008
Device: Irex DR800S, DR1000S, iLiad
Quote:
Originally Posted by CoolDragon View Post
Thanks Gertjan, so what kind of signals/messages were sent to popupmenu after this procedure?
Most of it is handled by Sysd. It broadcasts a signal over IPC to report that the volume (SD card) is mounted. Popupmenu does not receive any specific events.
Quote:
A related question: is it possible to emulate the "eject" event in the emulator?
The emulator does not "connect" over USB so you cant "eject" it. In contrast to the real device, the emulator does not actually mount a second volume for the user data. In this case, the "volume mounted" signal is emulated by Sysd.
Gertjan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle doesn't disconnect/eject from PC?? AFK_Matrix Amazon Kindle 4 05-21-2011 08:27 PM
How do I eject the reader? Mememememe Kobo Reader 19 07-05-2010 10:24 PM
PRS-600 won't eject Petey Sony Reader 7 05-04-2010 08:11 AM
Can't Eject Kindle Sydney's Mom Calibre 2 02-03-2010 06:03 PM
Cybook Eject pthwaite Calibre 13 03-04-2009 08:12 AM


All times are GMT -4. The time now is 04:11 AM.


MobileRead.com is a privately owned, operated and funded community.