Clemens Ladisch wrote:
ocset wrote:
  
The keyboard is immediately recognized and I can use it as a midi
device. However, when I try to reboot my laptop, ALSA never shuts down
and the machine can only be re-booted with the on-off switch.
    

Which kernel version?
2.6
Which modules are loaded?
not sure what you want to see so here is the whole lsmod output

Module                  Size  Used by
snd-usb-audio          64672  0
md5                     3872  1
ipv6                  232352  8
snd-seq-midi            8160  0
snd-seq-oss            31232  0
snd-seq-midi-event      7552  2 snd-seq-midi,snd-seq-oss
snd-seq                51024  5 snd-seq-midi,snd-seq-oss,snd-seq-midi-event
snd-pcm-oss            51812  0
snd-mixer-oss          17952  1 snd-pcm-oss
snd-cs46xx             86088  0
snd-rawmidi            23616  3 snd-usb-audio,snd-seq-midi,snd-cs46xx
snd-seq-device          8008  4 snd-seq-midi,snd-seq-oss,snd-seq,snd-rawmidi
snd-ac97-codec         58148  1 snd-cs46xx
snd-pcm                93156  3 snd-usb-audio,snd-pcm-oss,snd-cs46xx
snd-timer              24484  2 snd-seq,snd-pcm
gameport                4480  1 snd-cs46xx
snd-page-alloc         11972  2 snd-cs46xx,snd-pcm
snd                    52484  13
snd-usb-audio,snd-seq-midi,snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-cs46xx,snd-rawmidi,snd-seq-device,snd-ac97-codec,snd-pcm,snd-timer
soundcore               9248  1 snd
af_packet              20520  2
hid                    53312  0
raw                     7616  1
ide-floppy             18752  0
ide-tape               34864  0
ide-cd                 40548  0
cdrom                  37184  1 ide-cd
floppy                 59444  0
orinoco_cs              8936  1
orinoco                39532  1 orinoco_cs
hermes                  8736  2 orinoco_cs,orinoco
ds                     15364  9 orinoco_cs
yenta_socket           16352  1
pcmcia_core            68768  3 orinoco_cs,ds,yenta_socket
eepro100               29740  0
mii                     4992  1 eepro100
nls_iso8859-15          4480  1
ntfs                   85932  1
intel-agp              17372  1
agpgart                31016  1 intel-agp
usb-storage            63136  0
ppa                    12296  0
parport_pc             32832  0
imm                    12360  0
scsi_mod              114744  3 usb-storage,ppa,imm
parport                38952  3 ppa,parport_pc,imm
uhci-hcd               29104  0
usbcore                99132  6 snd-usb-audio,hid,usb-storage,uhci-hcd
rtc                    11576  0
reiserfs              246196  1

What happens when you try to unload the modules (snd-usb-audio,
*uhci*, *ohci*, usbcore) manually?
how would I go about doing that?

  
Another curious thing is that there is a /dev/snd/midiC0D0 device
present at startup even though no midi device is connected.
    

What are the contents of /proc/asound/cards at this time?
  
Only the entry for the sound card

***********  /proc/asound/cards
0 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                     Sound Fusion CS46xx at 0xe8122000/0xe8000000, irq 11
***********
  
Any attempt to access this device with a program like "rawmidi"
will also cause the reboot to hang and the "rawmidi" program will
also not exit but had to be killed.
    

Are there any messages in the system log when you do this?
no

  
System 2.
Suse 9.1 on a Dell desktop

This is a standard install of SUSE 9.1 except for the fact that I have
upgraded ALSA to version 1.0.4 in order to get support for the above
mentioned Yamaha keyboard.  However, the keyboard is not recognized. The
message log shows the usb device being identified, but nothing else
seems to happen. There is no new entry in the /proc/asound/cards file.
    

What are the messages?  Does the snd-usb-audio module get loaded?
Does it work if you load it manually?
The messages in the /var/log/message file is as follows:

**********  /var/log/messages
Apr 20 22:39:49 linux kernel: hub.c: new USB device 00:1f.2-1, assigned address 2
Apr 20 22:39:49 linux kernel: usb.c: USB device 2 (vend/prod 0x499/0x1020) is
not claimed by any active driver.
********** 

I did an lsmod and the snd-usb-audio module is not listed. I used "insmod snd-usb-audio" and it loaded the module successfully  but it does not seem to make any difference. The system log entry is the same as above.

 The entry in the /proc/asound/cards file is as follows:

**********   /proc/asound/cards
0 [I82801AAICH    ]: ICH - Intel 82801AA-ICH
                     Intel 82801AA-ICH at 0xd800, irq 10
********** 


  
ps . why does SUSE have all the /dev/snd/midixxxx devices present at
boot while Mandrake only creates them when a midi device is connected
and removes them again once disconnected (this is how it worked in
Mandrake 9)?
    

Apparently, Mandrake has enabled devfs.


Regards,
Clemens




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

  

Reply via email to