How do I load USB driver under Linux operating system using the command prompt?
usb-storage.ko is USB mass storage driver for Linux. It is usaully installed at the following location:
ls -l /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko
The modprobe command is used to add and remove modules (device drivers) from the Linux Kernel. To load the usb-storage.ko driver type the following command as the root user:
# modprobe usb-storage
OR
$ sudo modprobe usb-storage
Type the following command to see all detected device drivers:
# tail -f /var/log/messages
Sample outputs:
Oct 7 01:00:54 vivek-desktop kernel: [16813.127866] Initializing USB Mass Storage driver... Oct 7 01:00:54 vivek-desktop kernel: [16813.127984] scsi6 : SCSI emulation for USB Mass Storage devices Oct 7 01:00:54 vivek-desktop kernel: [16813.128084] usbcore: registered new interface driver usb-storage Oct 7 01:00:54 vivek-desktop kernel: [16813.128088] USB Mass Storage support registered. Oct 7 01:00:59 vivek-desktop kernel: [16818.125391] scsi 6:0:0:0: Direct-Access Seagate FreeAgent 102D PQ: 0 ANSI: 4 Oct 7 01:00:59 vivek-desktop kernel: [16818.152306] sd 6:0:0:0: [sdd] 2930277168 512-byte hardware sectors: (1.50 TB/1.36 TiB) Oct 7 01:00:59 vivek-desktop kernel: [16818.153604] sd 6:0:0:0: [sdd] Write Protect is off Oct 7 01:00:59 vivek-desktop kernel: [16818.155350] sd 6:0:0:0: [sdd] 2930277168 512-byte hardware sectors: (1.50 TB/1.36 TiB) Oct 7 01:00:59 vivek-desktop kernel: [16818.156597] sd 6:0:0:0: [sdd] Write Protect is off Oct 7 01:00:59 vivek-desktop kernel: [16818.156605] sdd: sdd1 Oct 7 01:00:59 vivek-desktop kernel: [16818.183660] sd 6:0:0:0: [sdd] Attached SCSI disk Oct 7 01:00:59 vivek-desktop kernel: [16818.183732] sd 6:0:0:0: Attached scsi generic sg4 type 0
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop














{ 0 comments… add one now }