Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Arun Shrimali
On Tue, Jan 18, 2011 at 1:16 PM, निशांत / Nishant nishantsharma.in@ gmail.com wrote: Pl give me the steps how can I do that. modprobe -r usb_storage Using above command will work until you reboot the machine. For a permanent solution edit /etc/modprobe.d/blacklist and add following

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Nitesh Mistry
On Tue, Jan 18, 2011 at 01:16:40PM +0530, निशांत / Nishant wrote: Pl give me the steps how can I do that. modprobe -r usb_storage Using above command will work until you reboot the machine. For a permanent solution edit /etc/modprobe.d/blacklist and add following line: blacklist

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Jkhatri
You can do one trick ( just remove the usb storage drivers ) ( even root will not be able to use the usb storage without some process [3] ) see usb-storage drives loads from here [1] [1] ls /lib/modules/$(uname -r)/kernel/drivers/usb/storage/usb-storage.ko Move it to somewhere else[2]

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread निशांत / Nishant
Yep, This has got me interested as well. As Arun asked, do other usb devices work after this. Devices like usb keyboards, modems, printers, etc.? Other devices shall work. Mouse and keyboard use usbhid, USB cameras and printers shall use uhci_hcd or ehci_hcd, modems shall use usb_serial.

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Bhavani Shankar R
On Tue, Jan 18, 2011 at 1:51 PM, निशांत / Nishant nishantsharma...@gmail.com wrote: Yep, This has got me interested as well. As Arun asked, do other usb devices work after this. Devices like usb keyboards, modems, printers, etc.? Other devices shall work. +1 here Mouse and keyboard use

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Jkhatri
On Tuesday 18 January 2011 01:45 PM, Nitesh Mistry wrote: On Tue, Jan 18, 2011 at 01:16:40PM +0530, ?? / Nishant wrote: Pl give me the steps how can I do that. modprobe -r usb_storage Using above command will work until you reboot the machine. For a permanent solution edit

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread निशांत / Nishant
Bhavani, my system output as an example bhavani@flyingmonster:~$  modprobe -l | grep usb kernel/drivers/net/wireless/at76c50x-usb.ko kernel/drivers/net/wireless/libertas/usb8xxx.ko kernel/drivers/net/wireless/libertas_tf/libertas_tf_usb.ko

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread निशांत / Nishant
To again start the USB port for mass storage undo step 2 restart pc You actually don't need to re-start PC. Simply do modprobe -v usb_storage and it should start working again. -Nishant -- ubuntu-in mailing list ubuntu-in@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Arun Shrimali
On Tue, Jan 18, 2011 at 2:40 PM, निशांत / Nishant nishantsharma.in@ gmail.com wrote: To again start the USB port for mass storage undo step 2 restart pc You actually don't need to re-start PC. Simply do modprobe -v usb_storage and it should start working again. -Nishant -- ubuntu-in

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-18 Thread Arun Shrimali
On Tue, Jan 18, 2011 at 3:15 PM, Arun Shrimali arun.r...@gmail.com wrote: On Tue, Jan 18, 2011 at 2:40 PM, निशांत / Nishant nishantsharma.in@ gmail.com wrote: To again start the USB port for mass storage undo step 2 restart pc You actually don't need to re-start PC. Simply do

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-17 Thread Arun Shrimali
Dear Nishant, Pl give me the steps how can I do that. (after that printers should work ...) Arun On Tue, Jan 18, 2011 at 12:17 PM, निशांत / Nishant nishantsharma.in@ gmail.com wrote: can anybody help me how to disable usb mass storage devices in Ubuntu 10.04 I would suggest blocking it at

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-17 Thread Jkhatri
On Tuesday 18 January 2011 12:23 PM, Arun Shrimali wrote: Dear Nishant, Pl give me the steps how can I do that. modprobe -r usb_storage (after that printers should work ...) Arun On Tue, Jan 18, 2011 at 12:17 PM, निशांत / Nishant nishantsharma.in http://nishantsharma.in@gmail.com

Re: [ubuntu-in] Disable USB port for Mass Storage

2011-01-17 Thread निशांत / Nishant
Pl give me the steps how can I do that. modprobe -r usb_storage Using above command will work until you reboot the machine. For a permanent solution edit /etc/modprobe.d/blacklist and add following line: blacklist usb_storage then save and reboot. regards, Nishant -- ubuntu-in mailing