S5PV210 android2.2系统如何添加USB拔插自动识别?
我的系统已经在init.rc里创建了/mnt/udisk1,然后在vold.fstab文件里增加了:dev_mount udisk1 /mnt/udisk1 auto /devices/platform/s5pv210-ehci/usb1/1-1
还是不能识别U盘插入。插入后串口信息显示如下:
usb 1-1.2: USB disconnect, address 14
usb 1-1.2: new high speed USB device using s5pv210-ehci and address 15
usb 1-1.2: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
scsi 5:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 2
sd 5:0:0:0: [sdb] 7837696 512-byte logical blocks: (4.01 GB/3.73 GiB)
sd 5:0:0:0: Attached scsi generic sg0 type 0
sd 5:0:0:0: [sdb] Write Protect is off
sd 5:0:0:0: [sdb] Assuming drive cache: write through
sd 5:0:0:0: [sdb] Assuming drive cache: write through
sdb:
sd 5:0:0:0: [sdb] Assuming drive cache: write through
sd 5:0:0:0: [sdb] Attached SCSI removable disk
FAT: Directory bread(block 15312) failed
FAT: Directory bread(block 15313) failed
FAT: Directory bread(block 15314) failed
FAT: Directory bread(block 15315) failed
FAT: Directory bread(block 15316) failed
FAT: Directory bread(block 15317) failed
FAT: Directory bread(block 15318) failed
FAT: Directory bread(block 15319) failed
FAT: Directory bread(block 42760) failed
FAT: Directory bread(block 42761) failed
FAT: Directory bread(block 42762) failed
FAT: Directory bread(block 42763) failed
FAT: Directory bread(block 42764) failed
FAT: Directory bread(block 42765) failed
FAT: Directory bread(block 42766) failed
FAT: Directory bread(block 42767) failed
我看这个提示是kernel里的fat目录下的dir.c中的fat__get_entry这个函数发出的。
请问这是文件系统不支持fat32的原因吗?还是我android系统里的vold目录下的main.cpp没改的原因呢?