Rob Owens wrote:
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jim
> McQuillan
> Sent: Wednesday, June 20, 2007 9:58 AM
> To: [email protected]
> Subject: Re: [Ltsp-discuss] local usb card reader
> 
> 
> 
> Rob Owens wrote:
>> Hi, I'm new to the list.  I've been on the K12LTSP list for a while, 
>> and I posted a question there that was never answered fully so I 
>> figured I'd see if you guys had any advice for me.
>>
>> I have a Sandisk card reader that I'm using successfully on my thin 
>> clients.  It only has one slot, for SD cards.  Like this one:
>> http://www.amazon.com/Sandisk-ImageMate-Hi-speed-SDDR-89-A15-Package/d
>> p/ 
>> B00064V6RG/ref=pd_bbs_sr_1/103-4682886-3202265?ie=UTF8&s=electronics&q
>> id
>> =1181768340&sr=8-1
>>
>> I also have a Sandisk 12-in-1 usb card reader which requires some 
>> trickery to use on a thin client, and I'm wondering why.  It's like 
>> this
>> one:
>> http://www.amazon.com/Sandisk-ImageMate-Hi-speed-SDDR-89-A15-Package/d
>> p/ 
>> B00064V6RG/ref=pd_bbs_sr_1/103-4682886-3202265?ie=UTF8&s=electronics&q
>> id
>> =1181768340&sr=8-1
>>
>> The 12-in-1 card reader works as a local storage device if I insert 
>> the card, then plug the card reader into the usb port.  If I do it the
> 
>> other way around it does not work.  ie, the normal way:  Plug the card
> 
>> reader into the usb port and leave it there, then insert the card.  
>> The card does not get recognized -- no event is triggered (when I 
>> monitor a shell on the thin client).
>>
> 
> this is because inserting a USB device (such as your card reader) into a
> USB port generates a kernel event that we can detect.  Inserting media
> into a card reader doesn't generate such an event.
> 
> One way around this is to constantly poll the reader, to see if there
> was a media change.  this is how we do CDRom detecting.  We don't
> currently do this for usb card readers.  There might be something in
> LTSP-5 for doing this, but you'd have to ask Scott Balneaves.  Best
> place to talk about this is on the #ltsp IRC channel on
> irc.freenode.net.
> 
> Jim McQuillan
> [EMAIL PROTECTED]
> 
> 
> Thanks Jim.  I'm using LTSP 4.2, by the way.  I checked the IRC channel
> once before and only one person responded, but I'll give it another
> shot.
> 
> Are there any drawbacks to constantly polling the card reader?

No, it's just a simple matter of programming (SMOP).

Jim.



> 
> -Rob
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _____________________________________________________________________
> Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
>       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help,   try #ltsp channel on irc.freenode.net

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to