[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: Problem with usb in FreeBSD 4.8....help!!!
From: Bernd Walter <ticso () cicely12 ! cicely ! de>
Date: 2004-03-29 19:09:46
Message-ID: 20040329190944.GM26269 () cicely12 ! cicely ! de
[Download RAW message or body]
On Mon, Mar 29, 2004 at 06:15:56AM -0800, jitendra pande wrote:
> Hi Toni,
>
> Thanks a lot for the information.
>
> My device is the one which supports control transfers only thus i understand that \
> for a second device i need to use /dev/ugen1 and so on.
Yes - /dev/ugen? is the control endpoint - if your device only supports
controll transfers that's all you need.
Otherwise you may need /dev/ugen?.? for the endpoints, but
./MAKEDEV ugen1 will also create /dev/ugen1.1 to ugen1.15.
While ugen0 uses /dev/ugen0* node ugen1 uses /dev/ugen1*, and so on.
So if your are using 6 devices of ugen type at the same time you want
to have at least /dev/ugen0 to /dev/ugen5.
> Does that mean, i need to explictly make a node /dev/ugen1 and /dev/ugen2 and so on \
> for every newly added USB device using MAKEDEV script.
You can create them forhanded.
No need to wait until you really need them.
The following will create ugen0* to ugen19*:
cd /dev && jot 20 0 | sed 's/\(.*\)/.\/MAKEDEV ugen\1' | sh
--
B.Walter BWCT http://www.bwct.de
ticso@bwct.de info@bwct.de
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic