disableing my USB devices using a script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting disableing my USB devices using a script
# 1  
Old 03-28-2008
disableing my USB devices using a script

hi guys

I would like to disable my USB devices using a shell script(Linux machine)
i.e(hoteplug,kernelpcmciacs,pcmciacs)
Kindly suggest me at the earliest
Thnks in advance
regards
ash
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Questions about remote access and install USB devices.

I have a server running openindiana, it hosts virtualbox and several VMs on it. My first question is if I can run openindiana desktop from my windows on same network, now I am using XWin server under cygwin-X, I can run GUI of VirtualBox etc. but can I have the openindiana desktop show on my... (2 Replies)
Discussion started by: wyx2000
2 Replies

2. Cybersecurity

How to disable USB for storage devices in Suse?

Hello folks, for some confidential reason, I need to disable the USB to access the storage devices in Suse11.2, but I still need two USB for the mouse and keyboard. Anyone knows? Thanks a lot in advance! (3 Replies)
Discussion started by: gnsxhj
3 Replies

3. Shell Programming and Scripting

1 usb stick -> 2 mounted devices

Hello, i am using a solaris thinclient that tries to connecting to a terminalserver. (RDP) Everything works fine, but the usb redirection. If i put in a usb stick i always get 2 usb-drives mounted. If i look in /tmp/SUNWut/mnt/<name of the host> i see 2 devices. One with the name of the... (2 Replies)
Discussion started by: anarcy
2 Replies

4. Shell Programming and Scripting

bash script to get all mounted devices

Hi, to all I'm writing script with zenity to benchmark selected disk with tools like; hdparm, seeker (to found in here > How fast is your disk? | LinuxInsight) With this piece of code i try to get all mounted devices to variables to use it with selection menu, but i stuck and don't know how... (5 Replies)
Discussion started by: m0z4rt
5 Replies

5. Linux

Can USB Devices Be Exported Over a Network?

While I know that it's possible to use something like SANE to share a USB scanner over a network, or use NBD or iSCSI to share a USB flash or external HD over the network, I've been wondering about a raw USB <--> TCP/IP transport. Back in the late 90s, I swear I remember hearing about a project... (2 Replies)
Discussion started by: deckard
2 Replies

6. UNIX for Advanced & Expert Users

How to enumerate USB Mass Storage devices?

Hi all, I want to write a program in C that can enumerate all USB massand their mount point storage on my system. i want to give ability to copy one file to desired USB mass storage or read a file from it. I have posted another question about how can recieve USB arrival in this forum. I think... (0 Replies)
Discussion started by: aghashahi
0 Replies

7. UNIX for Dummies Questions & Answers

passthrough devices vs. named devices

I am having trouble understanding the difference between a passthrough device and a named device and when you would use one or the other to access equipment. As an example, we have a tape library and giving the command "camcontrol devlist" gives the following output: akx# camcontrol... (1 Reply)
Discussion started by: thumper
1 Replies

8. UNIX for Advanced & Expert Users

Detecting USB Flash Devices (plugged and hot-plugged)

I am trying to script the process of looking for a usb-key inside another application. I have gotten some success by recording "ls /dev" and comparing it to a new "ls /dev" periodically. However this has made it so I have to prompt the user to take out the usb-key (if plugged in), let my... (1 Reply)
Discussion started by: jjinno
1 Replies

9. Red Hat

USB Devices

I am trying to get a flash card reader to work with my machine. My question is, are all of my USB ports screwed up? Do I need to buy a seperate USB controller? I does not appear that the onboard USB ports work. In trying to get it to work, I typed cat /proc/scsi/scsi and got this: # cat... (2 Replies)
Discussion started by: davidkretsch
2 Replies
Login or Register to Ask a Question
USBIP(8)						  System Administration Utilities						  USBIP(8)

NAME
usbipd - USB/IP server daemon SYNOPSIS
usbipd [options] DESCRIPTION
usbipd provides USB/IP clients access to exported USB devices. Devices have to explicitly be exported using usbip bind before usbipd makes them available to other hosts. The daemon accepts connections from USB/IP clients on TCP port 3240. The clients authorised to connect may be configured as documented in hosts_access(5). OPTIONS
-D, --daemon Run as a daemon process. -d, --debug Print debugging information. -v, --version Show version. LIMITATIONS
usbipd offers no authentication or authorization for USB/IP. Any USB/IP client running on an authorised host can connect and use exported devices. EXAMPLES
server:# modprobe usbip server:# usbipd -D - Start usbip daemon. server:# usbip list - List driver assignments for usb devices. server:# usbip bind -b 1-2 - Bind usbip-host.ko to the device of busid 1-2. - A usb device 1-2 is now exportable to other hosts! - Use 'usbip unbind -b 1-2' when you want to shutdown exporting and use the device locally. SEE ALSO
usbip(8) usbip February 2009 USBIP(8)