Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-09 Thread Oliver Neukum
Am Mittwoch, 9. Juli 2003 02:09 schrieb Greg KH: On Wed, Jul 09, 2003 at 12:14:00AM +0200, Oliver Neukum wrote: Am Dienstag, 8. Juli 2003 23:39 schrieb Greg KH: On Tue, Jul 08, 2003 at 04:08:41PM -0400, Alan Stern wrote: .txt. But do you really need all these device numbers?

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-09 Thread w3nlb
On 8 Jul 2003 at 23:30, Oliver Neukum wrote: Don't drag USB into this. There's no reason to specify how the bus is connected to the host. The cleanest way to do this is to get a GPIB major number. That seems like a cleaner way to do it. Hide the USB connectivity from the

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-09 Thread Greg KH
On Wed, Jul 09, 2003 at 10:42:45AM +0200, Oliver Neukum wrote: Am Mittwoch, 9. Juli 2003 02:09 schrieb Greg KH: On Wed, Jul 09, 2003 at 12:14:00AM +0200, Oliver Neukum wrote: Am Dienstag, 8. Juli 2003 23:39 schrieb Greg KH: On Tue, Jul 08, 2003 at 04:08:41PM -0400, Alan Stern wrote:

[linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread w3nlb
Hello all, I'm setting up a device driver for a GPIB (IEEE-488) interface. GPIB is a General-Purpose Interface Bus (hence the name) which enables connection of arbitrary peripherals to a PC. It's used primarily to support automated test facilities in manufacturing environments. Each

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Alan Stern
On Tue, 8 Jul 2003 [EMAIL PROTECTED] wrote: Hello all, I'm setting up a device driver for a GPIB (IEEE-488) interface. GPIB is a General-Purpose Interface Bus (hence the name) which enables connection of arbitrary peripherals to a PC. It's used primarily to support automated test

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Oliver Neukum
Am Dienstag, 8. Juli 2003 18:23 schrieb [EMAIL PROTECTED]: Hello all, I'm setting up a device driver for a GPIB (IEEE-488) interface. GPIB is a General-Purpose Interface Bus (hence the name) which enables connection of arbitrary peripherals to a PC. It's used primarily to support

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Alan Stern
On Tue, 8 Jul 2003 [EMAIL PROTECTED] wrote: Hi Alan, Thanks for the quick response. Right now I'm setting up one device per interface (using my company name ATS) at /dev/usb/ats[0-7]. This gives me access to the base device in the interface. I'm currently using the USB major (180)

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Oliver Neukum
Don't drag USB into this. There's no reason to specify how the bus is connected to the host. The cleanest way to do this is to get a GPIB major number. That seems like a cleaner way to do it. Hide the USB connectivity from the user. But there's still the problem of hotplugging.

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Greg KH
On Tue, Jul 08, 2003 at 04:08:41PM -0400, Alan Stern wrote: .txt. But do you really need all these device numbers? Consider using devfs, which does dynamic device number assignment. It does? Through what calls? thanks, greg k-h ---

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Alan Cox
I wouldnt recommend devfs in 2.4. I really wouldnt --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Oliver Neukum
Am Dienstag, 8. Juli 2003 23:39 schrieb Greg KH: On Tue, Jul 08, 2003 at 04:08:41PM -0400, Alan Stern wrote: .txt. But do you really need all these device numbers? Consider using devfs, which does dynamic device number assignment. It does? Through what calls? devfs_register():

Re: [linux-usb-devel] Need help with USB GPIB driver design

2003-07-08 Thread Greg KH
On Wed, Jul 09, 2003 at 12:14:00AM +0200, Oliver Neukum wrote: Am Dienstag, 8. Juli 2003 23:39 schrieb Greg KH: On Tue, Jul 08, 2003 at 04:08:41PM -0400, Alan Stern wrote: .txt. But do you really need all these device numbers? Consider using devfs, which does dynamic device number