08-06-2011
Write permission for USB device
Hello,
I need to run an application in wine that requires write permission to a USB device. Wine users must not have root privileges. On FreeBSD this could be accomplished by adding the user to the wheel group but I am using Debian 6.0. From looking at the passwd file it is not obvious what group to use. How can an ordinary user be given write access to USB devices?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I save a script to a pen drive? (3 Replies)
Discussion started by: beginner1
3 Replies
2. Linux
Hi Folks,
I want to know how to mount usb device (cd,dvd etc) in linux,
Regards,
Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies
3. Solaris
AM TRYING TO CONNECT A USB EXTERNAL DRIVE FOR BACKUP,THE USB SLOT IS AVAILABLE,BUT I DONT KNOW IF IT IS READY WHEN I CONNECT IT,AND WHAT COMMANDS DO I NEED.
tHANKS (10 Replies)
Discussion started by: tomjones
10 Replies
4. UNIX and Linux Applications
When I attach a USB storage device to my Solaris server, the mount point is coming up as /rmdisk/unnamed_rmdisk
Is there anyway I can have this device come up as a mounted device with a predetermined mount name eg /morespace rather than unnamed_rmdisk ? (0 Replies)
Discussion started by: jimthompson
0 Replies
5. UNIX for Dummies Questions & Answers
hi, I was wondering if there's a way to safely disconnect a usb device from computer, I ask this because in windows when you disconnect a usb pen with the safe removal, the pen light then turns off, while I tried removing the pen with solaris and the light was still on ? (2 Replies)
Discussion started by: freeware
2 Replies
6. Red Hat
Hi friends,
I wanna know how to block USB devices in my RedHat flavor Operating system.
regards,
Prakash (3 Replies)
Discussion started by: prakashkumar41
3 Replies
7. UNIX for Advanced & Expert Users
In linux system when a pnp usb device is plugged in then how does the system gets a notification of it?
I mean to say in linux usb system there is usb host controller above which is host controller driver above which is usb core.
So does the host controller/usb core keeps on polling the usb bus... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
8. Ubuntu
hi all:
as we know , when usb flash disk plug in and aotu mounted , the default permission of the usb flash disk is 700. that means others have no permission . the question: how to make others have read/write permission when the aotu mounted usb flash disk pluge in ? thanks !! (0 Replies)
Discussion started by: arnold.king
0 Replies
9. UNIX for Dummies Questions & Answers
Hi all
unixware 7.1.3 I'm afraid ! I connected a usb tape drive and it was automatically recognised in the device list (sdiconfig -l) and created devices in /dev/rmt (ctape1 etc.). I could successfully read and write to the device.
Then unplugged the usb cable and plugged it back in again... (0 Replies)
Discussion started by: deel
0 Replies
10. UNIX for Advanced & Expert Users
Hi,
i am developing an application on an ARM 7 architatcure with a small Linux.
i want to run tar on a usb device (~10 Mb) but it runs realy slow. the command only takes 1% of cpu usage.
is there a way to improve the tar command or is the USB-Connection the bottleneck here? (4 Replies)
Discussion started by: louisk
4 Replies
LEARN ABOUT FREEBSD
usbconfig
USBCONFIG(8) BSD System Manager's Manual USBCONFIG(8)
NAME
usbconfig -- configure the USB subsystem
SYNOPSIS
usbconfig [-u unit] [-a addr] [cmds...]
usbconfig [-d [ugen]<unit>.<addr>] [cmds...]
DESCRIPTION
The usbconfig utility is used to configure and dump information about the USB subsystem.
The options are as follows:
-u unit Limit device range to USB devices connected to the given USBUS unit.
-a addr Limit device range to the given USB device index. Should only be used in conjunction with the unit argument.
-d [ugen]<unit>.<addr>
Limit device range to USB devices connected to the given unit and address. The unit and address coordinates may be prefixed by the
lowercased word "ugen".
-h Show help and available commands.
When called without options, usbconfig prints a list of all available USB devices.
EXAMPLES
Show information about the device on USB bus 1 at address 2:
usbconfig -u 1 -a 2 dump_info
Dump HID descriptor for device on USB bus 1 at address 2:
usbconfig -u 1 -a 2 do_request 0x81 0x06 0x2200 0 0x100
Dump string descriptor at index Z for device on USB bus 1 at address 2:
usbconfig -u 1 -a 2 dump_string Z
Dump current configuration descriptor for device on USB bus 1 at address 2:
usbconfig -u 1 -a 2 dump_curr_config_desc
Dump device descriptor for device on USB bus 1 at address 2:
usbconfig -u 1 -a 2 dump_device_desc
Program the device on USB bus 1 at address 2 to suspend, resume, power off, go into power save, or power on:
usbconfig -u 1 -a 2 suspend
usbconfig -u 1 -a 2 resume
usbconfig -u 1 -a 2 power_off
usbconfig -u 1 -a 2 power_save
usbconfig -u 1 -a 2 power_on
Display a list of available quirk names:
usbconfig dump_quirk_names
See usb_quirk(4) for more information on quirks.
SEE ALSO
usb(4), usb_quirk(4)
BSD
January 6, 2010 BSD