Home > OS > Linux usb card reader how to detect insert sd card inserted after event
Linux usb card reader how to detect insert sd card inserted after event
Time:09-25
Doing an embedded Linux project recently, with the help of usb card reader for SD storage, electricity, insert SD card system can not detect the usb card reader device, the sda, for example, now need to insert SD card, dynamic partition system can automatically detect the storage devices, such as sda1, but now phenomenon does not have any message, dev directory also can not find related storage devices, desktop distribution system if can do, however, have a great god knows this is how to implement, how to detect this kind of circumstance of SD plug, system kernel version is 3.2. Thanks
CodePudding user response:
Can identify the sda1, you see the log which is automatically mount to the directory, or, the driver is not perfect, there is no automatic hanging in no create equipment, The former, see more pay attention to, the latter by adding a log to track down, may be more troublesome,