OK, it is an idea !
Do  you know how to rmmod and insmod a driver from an application ?

Cordialement,
Xavier MONTAGNE
Pragmatec
06.98.06.21.55


  ----- Original Message ----- 
  From: Daniele Ziglioli 
  To: uClinux development list 
  Sent: Tuesday, September 11, 2007 4:56 PM
  Subject: Re: [uClinux-dev] USB and /dev/sdx interface


  xavier.montagne ha scritto: 
    Hi,

    Everytime I insert a new USB key to my SL811 controler, the kernel detects 
properly the key and affect a new interface :
    /dev/sda1
    /dev/sdb1
    /dev/sdc1

    If I reuse the same key Linux succeeds to see it and affect the same 
previous interface (/dev/sdb for instance).
    But how to use everytime the same interface /dev/sda, even if I remove the 
key and insert a different one into the same slot ?
    Is it a standard Linux behavior to lock a /dev/sdx interface for a 
dedicated peripheral once detected ?

    Cordialement,
    Xavier MONTAGNE
    Pragmatec
    06.98.06.21.55

----------------------------------------------------------------------------
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-devIf applicable, I do 
rmmod/insmod  of the usb storage kernel module, every time insert a usbkey, to 
avoid this.


-- 
Daniele Ziglioli
Signal S.r.l.

------------------------------------------------------------------------------


  _______________________________________________
  uClinux-dev mailing list
  [email protected]
  http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
  This message was resent by [email protected]
  To unsubscribe see:
  http://mailman.uclinux.org/mailman/options/uclinux-dev


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition. 
  Version: 7.5.485 / Virus Database: 269.13.14/999 - Release Date: 10/09/2007 
17:43
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to