Amira Solomovici wrote:
>>What kind of device do you have?
>>
>A SmartCard reader. Are there allocated major:minor numbers for such devices
>(as there are for scanners, for example)?
>
Check out this link: http://www.linuxnet.com/software.html
You'll need to install PC/SC Lite and the appropria
On Tue, Jan 01, 2002 at 08:28:56AM +0200, Amira Solomovici wrote:
>
>
> > What kind of device do you have?
>
> A SmartCard reader. Are there allocated major:minor numbers for such devices
> (as there are for scanners, for example)?
No there isn't. You have to apply for one, and convince me, a
> What kind of device do you have?
A SmartCard reader. Are there allocated major:minor numbers for such devices
(as there are for scanners, for example)?
> > 3. If my driver should be able to manage more than one device, should I
> > register at init() or probe() all the entries? or do it only
On Mon, Dec 31, 2001 at 10:29:42AM +0200, Amira Solomovici wrote:
> Hi,
>
> Thanks for your help.
>
> Assuming that the usb driver is written for kernel v2.4 and above, I suppose
> I can use the devfs and dynamic allocation of major and minor numbers
> instead of fixed minors.
No, you still ne
Hi,
Thanks for your help.
One small question I still have:
> You in the driver decide the minor.
If I use the DEVFS_FL_AUTO_DEVNUM flag in devfs_register(), can I still
control the minor given? Or is this given automatically as well?
Thanks,
Amira.
___
> 1. What's the difference between usbdevfs and devfs? Is there a way of
> searching the /proc/bus/usb directory for a file entry (driver) that manages
> a certain device (by checking its vendor and product id)?
Usbdevfs is a file system for getting information about usb devices and
user space dr
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 30, 2001 7:21 PM
To: Amira Solomovici
Cc: Linux_Usb_Develop (E-mail)
Subject: Re: [linux-usb-devel] USB devices major/minor numbers
On Thu, Dec 27, 2001 at 01:39:00PM +0200, Amira Solomovici wrote:
> Hi,
>
> I am writing a usb device driver t
On Thu, Dec 27, 2001 at 01:39:00PM +0200, Amira Solomovici wrote:
> Hi,
>
> I am writing a usb device driver that is loaded as a module into the kernel.
> My question is who allocates the major and minor numbers for my device
> driver (it's for a smartcard reader)? I saw in the device list that t
Hi,
I am writing a usb device driver that is loaded as a module into the kernel.
My question is who allocates the major and minor numbers for my device
driver (it's for a smartcard reader)? I saw in the device list that there
are allocated major number for other usb devices, but not for the type