*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi all, I apologize ahead of time if there is an easy, documented solution to my
problem. I've had FreeBSD installed for about a week now. I've been using only
the command line for this time, familiarizing myself, reading documentation, etc.
I've ran into two roadblocks in configuration.
The first is when I attach to mount my slackware partition. This may be a mistake
on my part regarding either FreeBSD /dev system, or in specifying the proper
filesystem of my Slack install. My slackware install is the second partition of my
second hard drive (/dev/hdb2), or in grub terms (hd1,1). I think I tried it using
/dev/ad1s2 and /dev/ad1s1 for this. The filesystem I'm using is reiserfs. Here is
an example of the command I tried.
#mount /dev/ad1s2 /mnt/slack
I couldn't find a list of supported filesystem types... Is there a way to support reiserfs
under FreeBSD, perhaps as a kernel option?
The second problem I ran into is in configuring X to work with my USB mouse. Here
are the steps I have taken to try to get it to work. Most are based off google,
thread, and documentation searches.
--Read up on FreeBSD kernel, checked for device uhci, ohci, usb, ums.
All were present, and are currently present in my new kernel.
--Ran /dev/MAKEDEV ums0. I forgot if I checked for it's presence first, but it's there
now
--Made various changes to /etc/rc.conf. I based these on a USB mouse howto for
FreeBSD. If I can get the mount working from either slackware, DamnSmallLinux, or
FreeBSD, I can get the current /etc/rc.conf if needed.
--Checked /etc/usbd.conf for proper entries regarding ums under device "Mouse"
--Checked dmesg output. Dmesg let me know that both my USB keyboard AND mouse
are being detected, and that the mouse is mapped to usm0. The kernel is working.
--Checked X windows.
--When I try to start X with /dev/usm0 it crashes. The logs tell me that device
/dev/usm0 is busy. It then crashes due to no corepointer.
--When I try to start X with /dev/sysmouse it logs me in, however my mouse does
not work.
--#less -f /dev/usm0
Device is busy
If I need a lesson on FreeBSD document finding, let me know, otherwise any help,
suggestions, or direction would be appreciated. Thanks
Which protocol did you use for your mouse when you setup X?
I had the same problem with my USB mouse ( X started, but mouse didn't work ) until I used the "Auto" protocol and /dev/sysmouse.
I've tried different combinations with the X config, I think auto is what it was
on last. I can start X with it on /dev/sysmouse, but on /dev/usm0 it crashes.
I'm using Logitech mouse, which is on that hardware list on the link X gave,
and the kernel is able to pick it up (dmesg). Wallison, you think you could
give me an example out of your /etc/rc.conf and X config file regarding mouse?
My problem may lie in there, although I've tried many things, including howtos.
The fact that it says that /dev/usm0 is busy leads me to believe something else
may be using it, however when I did a <ps> I didn't see moused, so I have no clue.
As far as the mounting goes, guess I'm out of luck with the reiserfs, I'll try to set up a
common ext2fs partition, or use a nfs server for file transfering.
# -- sysinstall generated deltas -- # Tue Nov 9 12:34:42 2004
# Created: Tue Nov 9 12:34:42 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="savage.homeunix.net"
ifconfig_dc0="DHCP"
sshd_enable="YES"
usbd_enable="YES"
linux_enable="YES"
# This file now contains just the overrides from /etc/defaults/rc.conf.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# Enable network daemons for user convenience.
# Created: Thu Nov 11 13:32:33 2004
I got the same problem as scottman
in fact, I have a USB HARD DRIVE, I try it in my FreeBSD as well.
Before I startx, all USB stuff going fine. once I startx, they all failed.
I am using 5.3 release#
so the problem could be sure in /etc/X11/xorg.conf, isn't it?
I am having a problem similar to it, I have been running FBSD for about 2 weeks, everything working just fine. The last thing I remember doing was trying to load the sound modules, they didn work, I gave up and went to sleep, next time I booted FBSD the mouse was gone.
My /etc/rc.conf xorg.conf files are exactly as the ones posted by wallison. I ran /etc/rc.d/moused start and it gave no error message, not even an echo saying it was starting moused.
I looked for sysmouse with the find command,
Code:
find / -name sysmouse -print
the only result I got was /dev/sysmouse; however, when I did an ls /dev sysmouse wasn't there, I tryied ls -a but nothing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.