Re: [linux-usb-devel] USB Storage major and minor number

2006-04-18 Thread gary clark
Much appreciated Alan. Thanks, Garyc --- Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 18 Apr 2006, gary clark wrote: > > > Hello, > > > > Is there a system call maybe an ioctl that can be > > performed within usb storage driver to obtain the > >

[linux-usb-devel] USB Storage major and minor number

2006-04-18 Thread gary clark
Hello, Is there a system call maybe an ioctl that can be performed within usb storage driver to obtain the major and minor numbers corresponding to those found in /dev on a USB device. I perform an open system call using usbfs i.e /proc/bus/usb/001/001 and and use CONNECT and DISCONNECT in the io

Re: [linux-usb-devel] Question concerning message sequence to usb storage

2005-12-18 Thread gary clark
s going to be a long hard road. Anyway Randy again thanks for the code snippets. Much appreciated, Garyc --- "Randy.Dunlap" <[EMAIL PROTECTED]> wrote: > On Sat, 17 Dec 2005 14:51:12 -0800 (PST) gary clark > wrote: > > > > > Hi Randy, > > > >

Re: [linux-usb-devel] Question concerning message sequence to usb storage

2005-12-17 Thread gary clark
the contents to a local file. I've just started to think about this problem and well it may take some time before I start to implement. On the windows issue I'm told "they" think they have it working. Thanks, Garyc --- Alan Stern <[EMAIL PROTECTED]> wrote: > On Sat,

Re: [linux-usb-devel] Question concerning message sequence to usb storage

2005-12-17 Thread gary clark
ot;Randy.Dunlap" <[EMAIL PROTECTED]> wrote: > On Sat, 17 Dec 2005 14:12:42 -0800 (PST) gary clark > wrote: > > > Hi Randy, > > > > Much appreciate the read snippet. However I'm a > little > > unsure how a write maps to say those functions i

Re: [linux-usb-devel] Question concerning message sequence to usb storage

2005-12-17 Thread gary clark
pies of a > mail-archive digest message in your postings!! > > > On Sat, 17 Dec 2005, gary clark wrote: > > > Hello, > > > > I want to trace what happens when a file is copied > to > > a usb storage device. The linux "cp" command will > &g

[linux-usb-devel] Question concerning message sequence to usb storage

2005-12-17 Thread gary clark
Hello, I want to trace what happens when a file is copied to a usb storage device. The linux "cp" command will perform an open on the path given and obtain the inode which is used to access the usb device. Can somebody tell me what driver is used that has the write function or an ioctl call to th

[linux-usb-devel] Logging file transfers

2005-12-13 Thread gary clark
Hello, I want to be able to log file transfers from a PC to USB storage devices? Can this be achieved in user space or will I have to patch the kernel usb storage driver to achieve this. I was thinking the latter would be the obvious choice. Any ideas on this would be appreciated. Thanks, Garyc

[linux-usb-devel] Re: linux-usb-devel digest, Vol 1 #5217 - 4 msgs

2005-12-10 Thread gary clark
Hi, I managed to get a system built connecting and disconnecting selected USB storage devices in user space. However one of the issues I did find was that when RECONNECTING an endpoint it was also connecting also other devices which I disconnected? The way around this was to first cycle through t

[linux-usb-devel] Using linux libusb.a

2005-11-01 Thread gary clark
Hello, I am writing an application in user space that uses libusb.a. I want to know that if I call usb_claim_interface will in an application will this prevent a user from attempting to mount that device? i.e state that the device is busy. Is there documentation out there that can point me in the

[linux-usb-devel] Notification of usb devices?

2005-10-24 Thread gary clark
Hello, I have two questions for the gurus: 1) Does libusb support notification of usb devices connected/disconnected? 2) What is the correct API to disable/enable a usb device in libusb? Much appreciated, Garyc --- This SF.Net email is spo

Re: [linux-usb-devel] Re: [PATCH 01/04] USB: add notifier

2005-10-19 Thread gary clark
GPLed without too many people getting their pants on fire. 3) Learn from people. Much appreciated, Garyc --- "Randy.Dunlap" <[EMAIL PROTECTED]> wrote: > On Wed, 19 Oct 2005, Greg KH wrote: > > > On Wed, Oct 19, 2005 at 01:24:58PM -0700, gary > clark wrote: > >

[linux-usb-devel] Re: [PATCH 01/04] USB: add notifier

2005-10-19 Thread gary clark
Hello, I am new to this evolving linux USB list. Hence please excuse my lack of understanding of the current state of design. What I want to achieve is to have the ability to enable/disable a USB device based upon the device descriptor information. Write a kernel module to sit onto top of the USB