問題:
核心配置時使用smdk2410的預設配置. U盤不能挂載!
插拔U盤提示資訊為:
$ usb 1-1: USB disconnect, address 2
usb 1-1: new full speed USB device using s3c2410-ohci and address 3
usb 1-1: configuration #1 chosen from 1 choice
辦法:
重新配置核心
配置USB裝置支援
General setup --->
[*] Configure standard kernel features (for small systems) --->
[*] Support for hot-pluggable devices (NEW)
Device Drivers --->
Generic Driver Options --->
<*> Userspace firmware loading support //(1)
Block devices --->
<*> Low Performance USB Block driver
SCSI device support --->
<*> SCSI device support
<*> SCSI disk support
<*> SCSI generic support
USB support --->
<*> Support for Host-side USB
[*] USB device filesystem
<*> OHCI HCD support
--- NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
--- may also be needed; see USB_STORAGE Help for more information
<*> USB Mass Storage support
[*] USB Monitor
File systems --->
DOS/FAT/NT Filesystems --->
<*> MSDOS fs support
<*> VFAT (Windows-95) fs support
(936) Default codepage for FAT
(cp936) Default iocharset for FAT
< > NTFS file system support
Partition Types --->
[*] PC BIOS (MSDOS partition tables) support
Native Language Support --->
<*> Simplified Chinese charset (CP936, GB2312)
<*> NLS UTF8
再次插上U盤提示資訊為:
插上U盤後,顯示:
scsi1 : SCSI emulation for USB Mass Storage devices
scsi 1:0:0:0: Direct-Access USB Flash Disk 1.06 PQ: 0 ANSI: 0 CCS
sd 1:0:0:0: [sda] 129312 512-byte hardware sectors (66 MB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sda: p1 exceeds device capacity
sd 1:0:0:0: [sda] Attached SCSI removable disk
U盤的裝置名稱為sda1,執行指令挂載:
#mount -t vfat sda1 /mnt
提示錯誤資訊:
Unable to load NLS charset cp437
FAT: codepage cp437 not found
mount: mounting sda1 on /mnt failed: Invalid argument
原因是核心缺少cp437字元集。
重新配置核心,在filesystems-->native language support-> 中選擇Codepage 437和其他的一些常用的字元集。
再次執行指令挂載:
挂載成功,無任何錯誤資訊輸出!
問題:不支援藍牙
辦法:重新配置核心
相信多數人使用的都是2.6的核心了,在2.6的核心中要支援Bluez,隻要你的核心版本不是太舊,無需打Patch,直接配置好就OK了,核心裡面的代碼相對比較穩定了。當然,Bluez對一些Bluetooth協定棧新特性的支援,還是需要更新kernel代碼的。你應該确認你使用的 kernel版本是否以及包含了對應的支援。
核心的配置,基本上把 networking下 --- Bluetooth subsystem support 裡的以下幾項全部選上即可:
L2CAP protocol support
SCO links support
RFCOMM protocol support
RFCOMM TTY support
BNEP protocol support
HIDP protocol support
此外,在Bluetooth device drivers裡選上你所需要支援的Bluetooth裝置。根據自己使用的裝置接口類型選擇,如果你是通過usb接口使用藍牙擴充卡,需要選擇
HCI USB driver