original in en Guido Socher
en to zh Liu Tao
Guidoϲ��Linux,������Ϊ�˽����ϵͳ��ι�����һ����Ȥ���£��� ��Ϊ��ЩDZ����������Ƶ����ǡ�
UNUSUAL_DEV( 0x0686, 0x4008, 0x0001, 0x0001,
"Minolta",
"Dimage 5",
US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP ),
UNUSUAL_DEV( 0x0686, 0x4006, 0x0001, 0x0001,
"Minolta",
"Dimage 7",
US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP ),
��������ѵIJ���!ʣ�µľͺܼ��ˡ��Ұ�����������˸��ļ���ά���ߡ� ϣ���Ժ���ں˻�����⼸�С�
�������±����ںˣ�������ƽ���õ�Ӳ������ѡ���Ҫȷ����ѡ������ѡ�
# General setup
CONFIG_HOTPLUG=y
# SCSI support
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_SR_EXTRA_DEVS=4
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_LOGGING=y
# File systems
CONFIG_FAT_FS=m
CONFIG_VFAT_FS=m
# USB support
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
# USB Controllers
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
# USB Device Class drivers
CONFIG_USB_STORAGE=m
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_JUMPSHOT=y
#�� /usr/include �ィ����������:
scsi -> ../src/linux/include/scsi
asm -> ../src/linux/include/asm-i386
linux -> ../src/linux/include/linux
# ����:
make xconfig
# ����:
make dep
make clean
make bzImage
make modules
make modules_install
cp /usr/src/linux/arch/i386/boot/zbImage /boot/vmlinuz-2.4.17
cp /usr/src/linux/System.map /boot/System.map-2.4.17
cp /boot/System.map-2.4.17 /boot/System.map
cp /usr/src/linux/.config /boot/Config-2.4.17
#�༭ /etc/lilo.conf
#���� lilo (��grup, �������grup)
/sbin/lilo
#��������
modprobe usb-uhci
modprobe usb-storage
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3
Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0686 ProdID=4008 Rev= 0.01
S: Manufacturer=MINOLTA DIMAGE CAMERA
S: Product=DIMAGE CAMERA
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50
Driver=usb-storage
E: Ad=03(O) Atr=02(Bulk) MxPS= 16 Ivl= 0ms
mount -t usbdevfs /proc/bus/usb /proc/bus/usb
��̨�������������һ��SCSI���̡�������Ѿ���������SCSIӲ��(��ʹ���Ǵ��̣� ��SCSI ����),������/dev/sdb1,����Ӧ����/dev/sda1���������fdisk��� ����������Ķ�:fdisk -l /dev/sda
Disk /dev/sda: 4 heads, 32 sectors, 244 cylinders
Units = cylinders of 128 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 245 15664 1 FAT12
/dev/sda1 /mnt/camera0 vfat rw,noauto,user 0 0
����/mnt/camera0Ŀ¼��ʹ����д:
mkdir /mnt/camera0
chmod 777 /mnt/camera0
chmod 666 /dev/sda1
mount /mnt/camera0
��Ϳ��Դ�/mnt/camera0Ŀ¼�µõ������Ƭ�ˡ�