Re: devfs in 5.0

2003-02-13 Thread Giorgos Keramidas
On 2003-02-12 23:04, Jason Barnes <[EMAIL PROTECTED]> wrote:
>   I am sorry to bother you all with this, but I fundamentally don't
> understand the new devfs system in 5.0.  I am trying to get a usb mouse
> working -- under 4.x I would do
>
> cd /dev
> ./MAKEDEV usm0
>
> and it would work!  Now it says that I don't have to, that it should
> already be there.  But of course it isn't.  So now what do I do?
> The fancy automatic system isn't working, or more likely I'm not
> using it correctly.  Is there a good, long, thorough, technical
> discussion with examples of how to get new devices into /dev with
> devfs out there somewhere?

Are you running usbd ?

$ grep usbd /etc/rc.conf
usbd_enable="YES"
usbd_flags=""

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: devfs in 5.0

2003-02-13 Thread Pierrick Brossin
Quoting Jason Barnes <[EMAIL PROTECTED]>:

> 
>   I am sorry to bother you all with this, but I fundamentally don't
> understand the new devfs system in 5.0.  I am trying to get a usb mouse
> working -- under 4.x I would do

OK Here is my understanding of devfs on 5.0

If a device is detected and needs an entry in /dev/ the kernel automatically
creates it.
For example (the test I made):

There is no ttyp0 in /dev/. Now login through SSH on your FBSD 5.0 machine.
You'll see 2 new devices in /dev/ that are needed for the SSH session apparently.

You cant try by doing

cd /dev/
ls -l | wc -l

*ssh the machine

ls -l | wc -l

you'll see there are more devices.

Now for your USB mouse, I assume that if the kernel reconize it (dmesg | grep
ums) it should be created in /dev/.

Double check dmesg to be sure it's in there.

Cya

-- 
Pierrick Brossin
IT Swiss - QUARK Media House
6a Puits Godet, 2000 Neuchatel, Switzerland
Mail Prof: [EMAIL PROTECTED] Mail Priv: [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



devfs in 5.0

2003-02-12 Thread Jason Barnes

I am sorry to bother you all with this, but I fundamentally don't
understand the new devfs system in 5.0.  I am trying to get a usb mouse
working -- under 4.x I would do

cd /dev
./MAKEDEV usm0

and it would work!  Now it says that I don't have to, that it
should already be there.  But of course it isn't.  So now what do I do?
The fancy automatic system isn't working, or more likely I'm not using it
correctly.  Is there a good, long, thorough, technical discussion with
examples of how to get new devices into /dev with devfs out there
somewhere?
Thank you all for your time,

- Jason

  Jason Wayne Barnes    -- "Active on the internet."  


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message