aMSN Forums
June 23, 2018, 03:20:32 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: 1 2 [3] 4
  Print  
Author Topic: How I did to make USB/webcam microphone work with aMSN SVN  (Read 124090 times)
jokker
Power user
*
Offline Offline

Posts: 55


View Profile
« Reply #30 on: July 20, 2007, 07:54:29 pm »

bon alors je teste avec aliases ...
Logged
overflow1990
Power user
*
Offline Offline

Posts: 59


View Profile
« Reply #31 on: July 20, 2007, 07:55:15 pm »

Quote from: "ramadhian"
kenzo@ramadhian:~$ cat /etc/modprobe.d/aliases | grep snd
## alias sound-slot-1 snd-usb-audio
alias sound-card-1 snd-usb-audio
options snd-usb-audio index=1

Now I already set for ALSA Only


./configure --prefix=/usr --enable-alsa for Snack


Apparament pour lui c'était ça , en plus , sauf si je me trompe il était sous Ubuntu
Logged
jokker
Power user
*
Offline Offline

Posts: 55


View Profile
« Reply #32 on: July 20, 2007, 07:57:07 pm »

dis moi, je n'ai aucun autre sound-slot-X dans ce fichier donc je peux mettre X=0 ?
Logged
overflow1990
Power user
*
Offline Offline

Posts: 59


View Profile
« Reply #33 on: July 20, 2007, 07:57:39 pm »

Quote from: "jokker"
dis moi, je n'ai aucun autre sound-slot-X dans ce fichier donc je peux mettre X=0 ?


tu pourrais le poster , son contenu, s'il te plait ?
Logged
jokker
Power user
*
Offline Offline

Posts: 55


View Profile
« Reply #34 on: July 20, 2007, 07:58:23 pm »

Code:
# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.

# network protocols ##########################################################
alias net-pf-1  unix
alias net-pf-2  ipv4
alias net-pf-3  ax25
alias net-pf-4  ipx
alias net-pf-5  appletalk
alias net-pf-6  netrom
alias net-pf-7  bridge
alias net-pf-8  atm
alias net-pf-9  x25
alias net-pf-10 ipv6
alias net-pf-11 rose
alias net-pf-12 decnet
# 13 NETBEUI
alias net-pf-15 af_key
alias net-pf-16 af_netlink
alias net-pf-17 af_packet
# 18 ASH
alias net-pf-19 af_econet
alias net-pf-20 atm
# 22 SNA
alias net-pf-23 irda
alias net-pf-24 pppoe
alias net-pf-25 wanrouter
alias net-pf-26 llc
alias net-pf-31 bluetooth

# executables formats ########################################################
install binfmt-0000 /bin/true
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout

# block devices ##############################################################
alias block-major-3-*  ide_generic
alias block-major-8-*  sd_mod
alias block-major-9-*  md
alias block-major-11-* sr_mod
alias block-major-22-* ide_generic
alias block-major-33-* ide_generic
alias block-major-34-* ide_generic
alias block-major-37-* ide_tape
alias block-major-44-* ftl
alias block-major-46-* pcd
alias block-major-47-* pf
alias block-major-56-* ide_generic
alias block-major-57-* ide_generic
alias block-major-58-* lvm_mod
alias block-major-88-* ide_generic
alias block-major-89-* ide_generic
alias block-major-90-* ide_generic
alias block-major-91-* ide_generic
alias block-major-93-* nftl
alias block-major-97-* pg

# character devices ##########################################################
alias char-major-9-* st
alias char-major-10-1 psmouse
alias char-major-10-139 openprom
alias char-major-10-157 applicom
alias char-major-10-181 toshiba
alias char-major-10-183 hw_random
alias char-major-10-187 irnet
alias char-major-10-189 ussp
alias char-major-10-250 hci_vhci
alias char-major-13-0  joydev
alias char-major-13-1  joydev
alias char-major-13-2  joydev
alias char-major-13-3  joydev
alias char-major-13-32 mousedev
alias char-major-13-33 mousedev
alias char-major-13-34 mousedev
alias char-major-13-35 mousedev
alias char-major-13-63 mousedev
alias char-major-13-64 evdev
alias char-major-13-65 evdev
alias char-major-13-66 evdev
alias char-major-13-67 evdev
alias char-major-19-* cyclades
alias char-major-20-* cyclades
alias char-major-22-* pcxx
alias char-major-23-* pcxx
alias char-major-27-* ftape
alias char-major-34-* scc
alias char-major-35-* tclmidi
alias char-major-48-* riscom8
alias char-major-49-* riscom8
alias char-major-57-* esp
alias char-major-58-* esp
alias char-major-63-* kdebug
alias char-major-67-* coda
alias char-major-75-* specialix
alias char-major-76-* specialix
alias char-major-81-* videodev
alias char-major-83-* vtx
alias char-major-89-* i2c_dev
alias char-major-90-* mtdchar
alias char-major-96-* pt
alias char-major-97-* pg
alias char-major-107-* 3dfx
alias char-major-109-* lvm_mod
alias char-major-166-* cdc_acm
alias char-major-171-0 raw1394
alias char-major-171-1 video1394
alias char-major-171-2 dv1394
alias char-major-171-3 amdtp
alias char-major-180-* usbcore
alias char-major-195-* nvidia
alias char-major-200-* vxspec
alias char-major-202-* msr
alias char-major-203-* cpuid
alias char-major-206-* osst
alias char-major-208-* ussp
alias char-major-227-* tub3270
#alias char-major-240-* usb-serial
#alias char-major-240-* hsfserial
#alias char-major-241-* hsfserial

# misc #######################################################################
alias xfrm-type-2-4 xfrm4_tunnel
alias xfrm-type-2-50 esp4
alias xfrm-type-2-51 ah4
alias xfrm-type-2-108 ipcomp
alias xfrm-type-10-41 xfrm6_tunnel
alias xfrm-type-10-50 esp6
alias xfrm-type-10-51 ah6
alias xfrm-type-10-108 ipcomp6

alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias bt-proto-5 cmtp
alias bt-proto-6 hidp
alias bt-proto-7 avdtp

alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias dummy0 dummy
alias dummy1 dummy
alias plip0 plip
alias plip1 plip
alias slip0 slip
alias slip1 slip
alias tunl0 ipip
alias gre0 ip_gre

alias usbdevfs usbcore
Logged
overflow1990
Power user
*
Offline Offline

Posts: 59


View Profile
« Reply #35 on: July 20, 2007, 08:03:13 pm »

Et bien, écoute oui essaye, après on verra

normalement ça devrait marcher, il y a plein de gens sous Ubuntu, et si il y avait eu un problème, ils l'auraient reporté sur ce forum ^_^
Logged
jokker
Power user
*
Offline Offline

Posts: 55


View Profile
« Reply #36 on: July 20, 2007, 08:05:14 pm »

Code:
david@sneaker:~$ sudo modprobe usb-snd-audio
FATAL: Module usb_snd_audio not found.
Logged
overflow1990
Power user
*
Offline Offline

Posts: 59


View Profile
« Reply #37 on: July 20, 2007, 08:07:01 pm »

Quote from: "jokker"
Code:
david@sneaker:~$ sudo modprobe usb-snd-audio
FATAL: Module usb_snd_audio not found.


mmm à mon avis le module usb-snd-audio est plus spécifique à la Fedora ou aux Redhats :-s

puis-je te demander d'aller sur le chan #ubuntu-fr du serveur Freenode s'il te plait ? ( irc.freenode.net )

mon pseudo c'est BehnamFedora
Logged
jokker
Power user
*
Offline Offline

Posts: 55


View Profile
« Reply #38 on: July 20, 2007, 08:08:12 pm »

lol j'y suis 24/24/365/365 je suis P_Kable
Logged
jokker
Power user
*
Offline Offline

Posts: 55


View Profile
« Reply #39 on: July 20, 2007, 08:19:13 pm »

Well, we got it.
For ubuntu / Debian guys out there ... the module is called snd_usb_audio on such distros instead of usb-snd-audio on Fedora.
Code:
sudo modprobe snd_usb_audio
Logged
jonno
Newbie

Offline Offline

Posts: 1


View Profile WWW
« Reply #40 on: July 29, 2007, 04:06:10 pm »

Thanks for this howto, I got the snack library to work on Ubuntu Gutsy with this. Just for reference I didn't have to alter the modprobe.conf file (which is good news as there isn't one in Gutsy!) but after compiling I had to copy the libsnack library across from /lib/ to /usr/lib/

Code:
sudo cp /lib/libsnackstub2.2.a /usr/lib/
sudo cp -R /lib/snack2.2 /usr/lib/


 - I guess i should have compiled with the switch --prefix=/usr?

I'm using the Logitech Quickcam Zoom for reference, thanks again!
Logged
Rom1_se
Power user
*
Offline Offline

Posts: 93


View Profile
« Reply #41 on: August 21, 2007, 09:13:04 pm »

I installed Snack from the sources with ubuntu. when I perform the audio test it said :
"An Error Accoured When Trying to record the Sound
Could not gain access to /dev/dsp for writting"
It's a probem of configuration from snack?
thx
Logged
why.arent.guests.allowed
Power user
*
Offline Offline

Posts: 63


View Profile
« Reply #42 on: October 06, 2007, 08:00:57 pm »

YATTA!
I got sound working!
Thanks a lot overflow1990 and aMSN developers as well  :mrgreen:  (BTW this forum should have more smilies)

Debian "how-to" for amd64 (should be the same for x86)
Code:
tar -xzf snack2.2.10.tar.gz
cd snack2.2.10/unix/
./configure --prefix=/usr/lib --with-tk=/usr/lib/tk8.4 --with-tcl=/usr/lib/tcl8.4 --enable-alsa
very important!!! edit Makefile to "DESTDIR=/usr", otherwise it will install to /lib and aMSN will complain of not finding snack
make && make install
# DON'T install snack from aptitude (it doesn't work because it wasn't built with --enable-alsa)
On aMSN the audio output device should be something like "plughw:0" and mixer "hw:0". The input device should be "plughw:2".

*rant* why wasn't the Debian package built with --enable-alsa ?!

Now I know that my Logitech Quickcam Fusion sound works fine (well, at least it seems so).
I am just missing a program to record video+audio since aMSN doesn't seem to support this.
Logged

kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #43 on: October 07, 2007, 05:55:49 am »

humm... yeah, enabling alsa *would* fix it.. otherwise, you still have my patch that fixes the bug from libsnack (the author of libsnack never answered, seems he doesn't care about my patch Sad )
enabling alsa could make it work for you, but not everyone, a lot of people have problems with snack + alsa, others have snack working only with alsa.. depends on the system...
alsa support being experimental might be the reason debian package didn't have the --enable-alsa
Logged

KaKaRoTo
wildnux
Newbie

Offline Offline

Posts: 9


View Profile
« Reply #44 on: June 27, 2008, 06:16:18 am »

i am using openSuSE 11
i tried everything listed in this topic and other ideas searching the internet but couldnot get my webcam microphone working. i had the snack rpm installed from the opensuse  oss repo. but it only showed
/dev/dsp1
/dev/dsp2
/dev/audio1
/dev/audio2

in the list for the microphone. The usb mic works great for other programs like audacity and it is also shown under my mixer window.

I removed snack, deleted the /usr/lib/snack2.2.10/ directory, and again made a clean installation from the source using -enable-alsa -with-tk=/usr/lib/ -with-tcl=/usr/lib/  (compiled and installed without any error). i added those
alias sound-slot-1 snd-usb-audio
alias sound-card-1 snd-usb-audio
options snd-usb-audio index=1

lines in my /etc/modprobe.conf file. and tried being root to rmmod and modprobe the snd-usb-audio ( it gave me no errors while doing modprobe). now when i restart amsn and tried to configure the devices, it shows only webcam, but says "checking if snack is loaded.." and does nothing. it even does not show the oss devices.  I tried creating symbolic link of /usr/lib/snack2.2.10/  in ~/.amsn/plugins but still no success.

anyone out there who can help me. ( BTW i tried these whole process with the same results before in suse10.3 also but i had no time to try it once more.. but now i want to fix it if i get any help.  :x )
Logged
Pages: 1 2 [3] 4
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!