LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 11-11-2004, 06:26 AM   #1
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

Rep: Reputation: 15
FreeBSD usb mouse + mount problem


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

Last edited by scottman; 11-11-2004 at 06:29 AM.
 
Old 11-11-2004, 07:38 AM   #2
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 129

Rep: Reputation: 15
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.
 
Old 11-11-2004, 08:40 AM   #3
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
http://www.freebsd.org/doc/en_US.ISO...UNT-FOREIGN-FS

http://www.freebsd.org/releases/4.10...-i386.html#USB
 
Old 11-11-2004, 07:47 PM   #4
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

Original Poster
Rep: Reputation: 15
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.

Thanks for your help
 
Old 11-12-2004, 12:31 PM   #5
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 129

Rep: Reputation: 15
This is my /etc/rc.conf

# -- 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

This is my /etc/X11/xorg.conf

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5"

HTH
 
Old 12-13-2004, 08:12 PM   #6
ltcstyle
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: FC3
Posts: 12

Rep: Reputation: 0
same problem

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?

any idea?
 
Old 04-11-2005, 10:18 PM   #7
blood_omen
Member
 
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
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.

Any help regarding this, will be apreciated.

Have a nice day
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MANDRIVA2005LE-few probs with mouse+network,MOUNT USB SYSTEMFILE is stucking starup zoobooboozoo Linux - Hardware 1 10-02-2005 09:35 AM
usb mount problem venusian Linux - Hardware 3 04-07-2005 03:16 PM
mouse problem with FreeBSD 5.2.1/ KDE 3.1/ XF86 4.4.0 deesto *BSD 2 09-10-2004 09:03 PM
Problem with Mandrake 10.0 Community, Sagem usb modem and logitech usb mouse. al370601 Mandriva 4 04-29-2004 06:48 PM
USB WLAN problem on FreeBSD 5.1 -=[B0b3K]=- *BSD 0 02-29-2004 07:55 AM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration