在论坛里只有很少关于USB设备安装贴子,希望我的心得能给大家一点帮助.
USB设备:金存小博士USB移动硬盘
安装环境:RedHat 7.2 (2.4.7-10),核心支持USB设备,网上下载的啦, 8-)
安装、登录rh,
1.检查核心是否加载USB模块
# dmesg | grep usb
有输出如"usb.c: registered....."信息说明模块已加载,否则需要执行:
# modprobe usb-uhci
# modprobe usb-storage
# dmesg
....
....
registered new drver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.259 $ time 17:36:49 Sep 6 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Enabling device 00:07.2 (0000 -> 0001)
PCI: Assigned IRQ 9 for device 00:07.2
usb-uhci.c: USB UHCI at I/O 0x10e0, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
2.连接好USB硬盘,
# dmesg
....
....
hub.c: USB new device connect on bus1/2, assigned device number 3
usb-uhci.c: interrupt, status 3, frame# 1489
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Model: Rev:
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 19640880 512-byte hdwr sectors (10056 MB)
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb.c: USB disconnect on device 3
usb.c: USB disconnect on device 2
发现USB设备,对应的设备为 /dev/sda1
# mkdir /mnt/usbdisk
# mount /dev/sda1 /mnt/usbdisk
哈哈,搞掂!
其他种类的USB设备的安装大同小异,关键是核心支持,当然你所用的USB设备也必需是被认可的,我的朗科优盘(大拇指)就因为没被认可装不上,提示USB device 5 (vend/prod 0xa16/0x1111) is not claimed by any active driver.还要各位指点.
题外话:在台式机安装rh,安装好后核心自动加载USB模块,笔记本电脑就不会(呜呼,费了我好长时间才弄明白);本来想装mandrake试一下,安装过程实在漫长,8-(
欢迎访问最专业的网吧论坛,无盘论坛,网吧经营,网咖管理,网吧专业论坛https://bbs.txwb.com |
关注天下网吧微信,了解网吧网咖经营管理,安装维护:
本文来源:linuxforum.net 作者:佚名