Raw USB mass storage device access
-
- Newbie
- Posts: 2
- Joined: Sat Jun 26, 2010 7:15 pm
Raw USB mass storage device access
Hello. I am posting here because I can't find a simple answer for something I want to do.
I want raw device access to a USB mass storage device. A CF card to be more precise. The card is not set up in a way Linux can recognise as a mountable volume.
I just want to know two things:
how can I point Wine at the block device, and how can I give the program read/write access to it?
I know it would have been easy a long time ago, but Wine has changed a lot and I'm a little lost with its advanced configuration now.
I want raw device access to a USB mass storage device. A CF card to be more precise. The card is not set up in a way Linux can recognise as a mountable volume.
I just want to know two things:
how can I point Wine at the block device, and how can I give the program read/write access to it?
I know it would have been easy a long time ago, but Wine has changed a lot and I'm a little lost with its advanced configuration now.
Raw USB mass storage device access
On Sat, Jun 26, 2010 at 8:30 PM, General_Failure
<[email protected]> wrote:
before you can use it in wine.
John
<[email protected]> wrote:
You most likely need to get linux to recognize the CF card deviceHello. I am posting here because I can't find a simple answer for something I want to do.
I want raw device access to a USB mass storage device. A CF card to be more precise. The card is not set up in a way Linux can recognise as a mountable volume.
I just want to know two things:
how can I point Wine at the block device, and how can I give the program read/write access to it?
I know it would have been easy a long time ago, but Wine has changed a lot and I'm a little lost with its advanced configuration now.
before you can use it in wine.
John
Raw USB mass storage device access
On Sat, 2010-06-26 at 19:30 -0500, General_Failure wrote:
Martin
Reformat it as ext2?I want raw device access to a USB mass storage device. A CF card to be
more precise. The card is not set up in a way Linux can recognise as a
mountable volume.
Martin
Raw USB mass storage device access
On Sun, Jun 27, 2010 at 11:46, Martin Gregorie wrote:
from within Wine?
I'm also guessing that Linux have a device for the card? (Probably no
partitions that can be mounted though, since he itendes to access the
disk, not a filesystem on top if it?)
Gert
I'm getting the idea he wants to do the equivalent of dd-type accessReformat it as ext2?
from within Wine?
I'm also guessing that Linux have a device for the card? (Probably no
partitions that can be mounted though, since he itendes to access the
disk, not a filesystem on top if it?)
Gert
Raw USB mass storage device access
On Sun, 2010-06-27 at 13:37 +0200, Gert van den Berg wrote:
directly attached disk. I haven't tried to reformat an SD or CF card,
but I have successfully used fdisk to define a USB disk drive as a
single ext3 partition and fsck to format it as ext3.
not as root, can do that.
Martin
I guess we'll find out when he replies.On Sun, Jun 27, 2010 at 11:46, Martin Gregorie wrote:I'm getting the idea he wants to do the equivalent of dd-type accessReformat it as ext2?
from within Wine?
AFAIK you can do anything to a USB storage device that you can to aI'm also guessing that Linux have a device for the card?
directly attached disk. I haven't tried to reformat an SD or CF card,
but I have successfully used fdisk to define a USB disk drive as a
single ext3 partition and fsck to format it as ext3.
I'd be quite surprised if a program running in normal user space, i.e.(Probably no partitions that can be mounted though, since he itendes to access the
disk, not a filesystem on top if it?)
not as root, can do that.
Martin
Raw USB mass storage device access
On Sun, Jun 27, 2010 at 13:48, Martin Gregorie <[email protected]> wrote:
Gert
Possibly after some 'sudo chmod oga+w /dev/sda' kind of commands?I'd be quite surprised if a program running in normal user space, i.e.(Probably no partitions that can be mounted though, since he itendes to access the
disk, not a filesystem on top if it?)
not as root, can do that.
Gert
Raw USB mass storage device access
On Sun, 2010-06-27 at 14:09 +0200, Gert van den Berg wrote:
root and are in the disk group with ug+rw permissions, so the simplest
solution may be to add the user, where wine is run, to the disk group.
This applies to both the internal disk and a USB mass storage device. I
just plugged a key-fob camera, which uses a micro-SD card to store
images, into this laptop to check:
Martin
In my system (Fedora 12) both the disk and its partitions are owned byOn Sun, Jun 27, 2010 at 13:48, Martin Gregorie <[email protected]> wrote:Possibly after some 'sudo chmod oga+w /dev/sda' kind of commands?I'd be quite surprised if a program running in normal user space, i.e.(Probably no partitions that can be mounted though, since he itendes to access the
disk, not a filesystem on top if it?)
not as root, can do that.
root and are in the disk group with ug+rw permissions, so the simplest
solution may be to add the user, where wine is run, to the disk group.
This applies to both the internal disk and a USB mass storage device. I
just plugged a key-fob camera, which uses a micro-SD card to store
images, into this laptop to check:
Martin
Raw USB mass storage device access
Martin Gregorie wrote:
special kernel level code or a specific driver. Wine supports neither
of these options. However, I'm wondering if RAW access (like that
preferred by Oracle) is possible from within Windows. It may not be
impossible to do this with Wine, but it will be very difficult.
James McKenzie
Access to raw devices within Windows is very difficult without eitherOn Sun, 2010-06-27 at 14:09 +0200, Gert van den Berg wrote:
In my system (Fedora 12) both the disk and its partitions are owned byOn Sun, Jun 27, 2010 at 13:48, Martin Gregorie <[email protected]> wrote:
Possibly after some 'sudo chmod oga+w /dev/sda' kind of commands?I'd be quite surprised if a program running in normal user space, i.e.
not as root, can do that.
root and are in the disk group with ug+rw permissions, so the simplest
solution may be to add the user, where wine is run, to the disk group.
This applies to both the internal disk and a USB mass storage device. I
just plugged a key-fob camera, which uses a micro-SD card to store
images, into this laptop to check:
special kernel level code or a specific driver. Wine supports neither
of these options. However, I'm wondering if RAW access (like that
preferred by Oracle) is possible from within Windows. It may not be
impossible to do this with Wine, but it will be very difficult.
James McKenzie