[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

etch udev not working with bttv capture card nor via82xx sound? WAS Re: upgrading gnome-desktop-environment broke via82xx sound



Hi again,

So after a little more digging I see that my third video capture device
(bttv) is also not working, in fact according to the kernel and dmesg it
is registered to /dev/video2, but there is no such device file.

So I bet udev is not working right, not creating the correct devices for
sound, nor for this video card.

So I guess gnome-desktop-environment depends on a new version of udev.

How can I get back my old sarge udev without breaking the other packages?

Or fix etch udev so that it works (at least for my video capture and
sound).

Help!

Thanks,
B.

> Hey all,
> 
> I'm running debian sarge (i386) with a couple unstable/testing packages
> on an AMD64. I had sound working fine on my via82xx with the same kernel
> (2.6.13-ck5) under oss before upgrading gnome.
> 
> All I did today was change my gnome-desktop-environment to testing
> (etch) as it was buggy with my old sarge/unstable mix of packages. I
> upgraded using:
> 
> apt-get install gnome-desktop-environment
> 
> I had to manually reinstall libgconf2-4 (from etch) using dpkg to get
> apt to install gnome without package errors.
> 
> Now those old bugs are gone from gnome, but now sound is no longer
> working (from any application, through OSS or ALSA)
> 
> I've only changed the packages gnome directly depends on, I'm using the
> very same kernel (compiled with both oss, and alsa as modules).
> 
> I installed alsa to give that a try (via apt-get install alsa-base
> alsa-utils), which seems to have disabled the oss stuff (I don't see any
> oss modules in lsmod output) and I do see the appropriate alsa modules.
> alsaconf finds the card and tried to configure it, all seems well until:
> 
> bbogart@insitu:~$ sudo /usr/sbin/alsaconf
> Unloading ALSA sound driver modules: snd-seq-dummy snd-seq-oss
> snd-seq-midi snd-seq-midi-event snd-seq snd-via82xx snd-ac97-codec
> snd-pcm-oss snd-mixer-oss snd-pcm snd-timer snd-page-alloc
> snd-mpu401-uart snd-rawmidi snd-seq-device.
> Building card database...
> 
> 	alsa finds the correct card...
> 
> Configuring snd-via82xx
> Do you want to modify /etc/modprobe.d/sound
> (and /etc/modprobe.conf if present)?
> 
> 	Yes.
> 
> OK, sound driver is configured.
> 
> 	Ok.
> 
> Running update-modules...
> Loading driver...
> Setting default volumes...
> Saving the mixer setup used for this in /var/lib/alsa/asound.state.
> /usr/sbin/alsactl: save_state:1163: No soundcards found...
> 
> 
> ===============================================================================
> 
>  Now ALSA is ready to use.
>  For adjustment of volumes, use your favorite mixer.
> 
>  Have a lot of fun!
> 
> So It autodetected the right soundcard, adds stuff to the modules.conf
> and then can't access the device any longer.
> 
> Stopping alsa gives me:
> 
> bbogart@insitu:~$ /etc/init.d/alsa-utils stop
> Shutting down ALSA...warning: 'alsactl store' failed with error message
> 'alsactl: save_state:1163: No soundcards found...'...Invalid card number.
> Usage: amixer <options> command
> Available options:
>   -h,--help       this help
>   -c,--card N     select the card
>   -D,--device N   select the device, default 'default'
>   -d,--debug      debug mode
>   -n,--nocheck    do not perform range checking
>   -v,--version    print version of this program
>   -q,--quiet      be quiet
>   -i,--inactive   show also inactive controls
>   -a,--abstract L select abstraction level (none or basic)
> 
> Starting alsa gives me:
> 
> bbogart@insitu:~$ /etc/init.d/alsa-utils start
> Setting up ALSA...Invalid card number.
> Usage: amixer <options> command
> Available options:
>   -h,--help       this help
>   -c,--card N     select the card
>   -D,--device N   select the device, default 'default'
>   -d,--debug      debug mode
>   -n,--nocheck    do not perform range checking
>   -v,--version    print version of this program
>   -q,--quiet      be quiet
>   -i,--inactive   show also inactive controls
>   -a,--abstract L select abstraction level (none or basic)
> 
> I used the same configuration from the stock debian kernels as a
> starting point for my custom ck kernel.
> 
> What got installed with gnome-desktop that killed my sound?
> 
> Any suggestions?
> 
> (Is there a debian-alsa list? I could not find one on the debian site)
> 
> Thanks all.
> 
> Here are my loaded modules:
> 
> bbogart@insitu:~$ lsmod
> Module                  Size  Used by
> snd_seq_dummy           3716  0
> snd_seq_oss            30464  0
> snd_seq_midi            8480  0
> snd_seq_midi_event      6912  2 snd_seq_oss,snd_seq_midi
> snd_seq                47504  6
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
> snd_via82xx            26560  0
> gameport               14856  1 snd_via82xx
> snd_ac97_codec         73340  1 snd_via82xx
> snd_pcm_oss            46496  0
> snd_mixer_oss          16768  1 snd_pcm_oss
> snd_pcm                81288  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
> snd_timer              23172  2 snd_seq,snd_pcm
> snd_page_alloc         10248  2 snd_via82xx,snd_pcm
> snd_mpu401_uart         7168  1 snd_via82xx
> snd_rawmidi            23584  2 snd_seq_midi,snd_mpu401_uart
> snd_seq_device          8332  5
> snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
> snd                    51588  11
> snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
> soundcore               9312  1 snd
> nvidia               3712388  12
> ipv6                  229312  10
> bt878                  10168  0
> tvaudio                21148  0
> i2c_viapro              7952  0
> bttv                  150928  1 bt878
> firmware_class          9856  1 bttv
> parport_pc             33092  0
> parport                33608  1 parport_pc
> reiserfs              208752  2
> ext3                  125064  0
> jbd                    54040  1 ext3
> joydev                  9152  0
> mousedev               11168  1
> tsdev                   7232  0
> evdev                   8960  1
> pcspkr                  3800  0
> tda9887                12944  0
> tuner                  34600  0
> cx8800                 30220  0
> cx88xx                 55712  1 cx8800
> video_buf              20740  3 bttv,cx8800,cx88xx
> ir_common               8196  1 cx88xx
> tveeprom               11664  2 bttv,cx88xx
> v4l1_compat            13444  1 cx8800
> v4l2_common             5888  2 bttv,cx8800
> btcx_risc               4872  3 bttv,cx8800,cx88xx
> videodev                9344  3 bttv,cx8800,cx88xx
> shpchp                 86500  0
> pci_hotplug            27188  1 shpchp
> amd64_agp              12104  1
> agpgart                33096  2 nvidia,amd64_agp
> psmouse                30468  0
> raid5                  20736  0
> xor                    14600  1 raid5
> raid1                  17664  1
> raid0                   8320  0
> md_mod                 60752  4 raid5,raid1,raid0
> eth1394                19080  0
> sk98lin               149984  0
> sr_mod                 16292  0
> sbp2                   22664  0
> sd_mod                 18192  4
> ide_cd                 39556  0
> cdrom                  36384  2 sr_mod,ide_cd
> ide_disk               16512  0
> ide_generic             1408  0 [permanent]
> pdc202xx_new            8192  0 [permanent]
> aec62xx                 7040  0 [permanent]
> alim15x3               11020  0 [permanent]
> amd74xx                13340  0 [permanent]
> atiixp                  5904  0 [permanent]
> cmd64x                 10908  0 [permanent]
> cs5520                  4736  0 [permanent]
> cs5530                  5376  0 [permanent]
> cy82c693                4612  0 [permanent]
> generic                 4612  0 [permanent]
> hpt34x                  4992  0 [permanent]
> ns87415                 4296  0 [permanent]
> opti621                 4356  0 [permanent]
> pdc202xx_old           10240  0 [permanent]
> piix                    9988  0 [permanent]
> rz1000                  2688  0 [permanent]
> sc1200                  6912  0 [permanent]
> serverworks             8712  0 [permanent]
> siimage                11136  0 [permanent]
> sis5513                14600  0 [permanent]
> slc90e66                5632  0 [permanent]
> triflex                 3840  0 [permanent]
> trm290                  4228  0 [permanent]
> floppy                 54996  0
> usb_storage            59456  0
> via82cxxx              12444  0 [permanent]
> ide_core              115688  28
> ide_cd,ide_disk,ide_generic,pdc202xx_new,aec62xx,alim15x3,amd74xx,atiixp,cmd64x,cs5520,cs5530,cy82c693,generic,hpt34x,ns87415,opti621,pdc202xx_old,piix,rz1000,sc1200,serverworks,siimage,sis5513,slc90e66,triflex,trm290,usb_storage,via82cxxx
> ohci1394               32564  0
> ieee1394               95544  3 eth1394,sbp2,ohci1394
> fbcon                  34432  71
> tileblit                2432  1 fbcon
> font                    8448  1 fbcon
> bitblit                 4992  1 fbcon
> vga16fb                12360  1
> vgastate                8576  1 vga16fb
> usbserial              28776  0
> usbhid                 31456  0
> usbkbd                  6784  0
> ehci_hcd               30600  0
> uhci_hcd               30736  0
> usbcore               109692  7
> usb_storage,usbserial,usbhid,usbkbd,ehci_hcd,uhci_hcd
> thermal                13704  0
> processor              23484  1 thermal
> fan                     4740  0
> sata_via                8580  3
> sata_promise           10244  0
> libata                 43780  2 sata_via,sata_promise
> scsi_mod              134504  6
> sr_mod,sbp2,sd_mod,usb_storage,sata_promise,libata
> unix                   26032  468



Reply to: