Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Mouse and ALSA Sound
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jeropa
n00b
n00b


Joined: 10 May 2002
Posts: 12
Location: Winnipeg

PostPosted: Wed May 15, 2002 3:30 am    Post subject: USB Mouse and ALSA Sound Reply with quote

I am having some difficulty with my USB mouse. It was working fine a while ago, but now whenever I reboot it doesn't work. I have to 'rmmod usb-uhci' and then wait a couple of seconds and them 'modprobe usb-uhci' After that, everything works fine but it doesn't work after a reboot. Any ideas.

I have a feeling the next thing is somewhat related. I had sound working before too (I can't trace back to what point it was working) and now my snd-emu10k1 module says it's failing to load. Is there somewhere in Gentoo that I can look to see why it's not loading?

Thanks.
_________________
- Jeropa
Back to top
View user's profile Send private message
Guest






PostPosted: Wed May 15, 2002 6:03 am    Post subject: Reply with quote

You might want to try compiling usb and hid support as yes(*) rather than a module. that is what I did.
Back to top
pablored
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2002
Posts: 96

PostPosted: Wed May 15, 2002 9:22 am    Post subject: Reply with quote

What is in your modules.autoload?
Could be the file got overwritten recently.

If you have any of the ALSA modules such as snd-pcm-oss or snd-mixer-oss being loaded here then the ALSA driver (the new 0.9 version) will fail to load.

All of my USB is as modules:
hid, mousedev, input, usb-uhci, usbcore
Back to top
View user's profile Send private message
jeropa
n00b
n00b


Joined: 10 May 2002
Posts: 12
Location: Winnipeg

PostPosted: Wed May 15, 2002 12:30 pm    Post subject: Reply with quote

Oops, I have the following in my modules.autoload
Code:
snd-pcm-oss

I'm not at my linux box but I'll try that.

As to the USB, I've got it ALL compiled as modules... I'll keep digging and post back if I get a fix. :?
_________________
- Jeropa
Back to top
View user's profile Send private message
pablored
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2002
Posts: 96

PostPosted: Wed May 15, 2002 3:25 pm    Post subject: Reply with quote

I put the snd-pcm-oss and snd-mixer-oss modules into the /etc/init.d/alsasound file. See the two lines labelled # mod for oss.

I have an SBLive as well (works great). Need snd-pcm-oss for Jedi Outcast, and snd-mixer-oss for completeness (oss volume control in XMMS)

Code:
....
  #
  # insert all sound modules
  #

  ebegin "Initialising ALSA."

  drivers="`/sbin/modprobe -c | \
    grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | \
    awk '{print $3}'`"
  for i in $drivers; do
    if [ "$i" != off ]; then
      einfon "Starting sound driver: $i "
      /sbin/modprobe $i
      /sbin/modprobe snd-pcm-oss        # mod for oss
      /sbin/modprobe snd-mixer-oss      # mod for oss
      eend 0
    fi
  done
  #
....


It might not be a snazzy way of doing it, but it does the job for me.

Good luck with the rodent!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum