> > > > I added the pci deviceid 0x811b  to both the 
> etc/devices.list and 
> > > > kernel/drv/hdaudio/oss_hdaudio.c file
> > > 
> > > IIRC, the check is disabled there... And devices.list is unused.
> > > 
> > > > and started anewfrom the configure on. Still no show, my device 
> > > > node is not created, but ossdetec says the drive is detected.
> > > 
> > > Did you add the id to kernel/drv/oss_hdaudio/.devices ?
> > 
> > Aha, that is the trick :)
> > I modified the file and the driver builds and inserts fine now.
> > Ossdetect -d makes the /dev/oss/ hdaudio device nodes just 
> fine now :)
> > 
> > Using ossplay now gives me output, garbled as it is, but 
> output none 
> > the less ...
> 
> Try testing with osstest

I can use osstest and it tells me the tests pass ok, but my ears beg to
differ when the speaker is connected ...

Attached is the output of lspci, ossinfo and osstest.


A number of strange side effects :
 - when I run osstest multiple times, the output gets a little bit better.
 - when osstest plays to the spdif output, I also hear the speaker
 - when I change the mut of the blue jack, the next time I play, I get these
RIRB errors ...

Thanks a lot for any possible help,

Sven

Version info: OSS 4.2 (b 2004/201102210713) (0x00040100) GPL
Platform: Linux/i686 2.6.34.7-ELinOS-146 #2 PREEMPT Tue Feb 15 07:31:17 CET 
2011 (128.1.1.5)

Number of audio devices:        9
Number of audio engines:        9
Number of mixer devices:        1


Device objects
 0: osscore0 OSS core services
 1: oss_hdaudio0 Intel HD Audio interrupts=437 (683)
    HD Audio controller Intel HD Audio
    Vendor ID    0x8086811b
    Subvendor ID 0x80868119
     Codec  0: ALC888 (0x10ec0888/0x10ec0888)


Mixer devices
 0: High Definition Audio ALC888 (Mixer 0 of device object 1)
    Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
    Priority: 10
    Caps: 
    Device handle: PCI81198086-0000:00:1b.0-mx01
    Device priority: 10


Audio devices
HD Audio play front               /dev/oss/oss_hdaudio0/pcm0  (device index 0)
    Legacy device /dev/dsp0
    Caps: TRIGGER MMAP 
    Modes: OUTPUT 
      Out engine  1: 0/HD Audio play front
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au01
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 8
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play rear                /dev/oss/oss_hdaudio0/pcm1  (device index 1)
    Legacy device /dev/dsp1
    Caps: TRIGGER MMAP 
    Modes: OUTPUT 
      Out engine  1: 1/HD Audio play rear
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au02
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play center/LFE          /dev/oss/oss_hdaudio0/pcm2  (device index 2)
    Legacy device /dev/dsp2
    Caps: TRIGGER MMAP 
    Modes: OUTPUT 
      Out engine  1: 2/HD Audio play center/LFE
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au03
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play side                /dev/oss/oss_hdaudio0/pcm3  (device index 3)
    Legacy device /dev/dsp3
    Caps: TRIGGER MMAP 
    Modes: OUTPUT 
      Out engine  1: 3/HD Audio play side
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au04
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play pcm4                /dev/oss/oss_hdaudio0/pcm4  (device index 4)
    Legacy device /dev/dsp4
    Caps: TRIGGER MMAP 
    Modes: OUTPUT 
      Out engine  1: 4/HD Audio play pcm4
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au05
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio play spdif-out           /dev/oss/oss_hdaudio0/spdout0  (device index 
5)
    Legacy device /dev/dsp5
    Caps: TRIGGER MMAP 
    Modes: OUTPUT 
      Out engine  1: 5/HD Audio play spdif-out
                     Available for use 
    Input formats (0x00001410):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au06
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 
(44100,48000,88200,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin0  (device index 6)
    Legacy device /dev/dsp6
    Caps: TRIGGER MMAP 
    Modes: INPUT  
      In engine   1: 6/HD Audio rec mix
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au07
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec mix                  /dev/oss/oss_hdaudio0/pcmin1  (device index 7)
    Legacy device /dev/dsp7
    Caps: TRIGGER MMAP 
    Modes: INPUT  
      In engine   1: 7/HD Audio rec mix
                     Available for use 
    Input formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001010):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au08
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 96000 (44100,48000,96000)
    HW Type: Not indicated.
    Minimum latency: Not indicated

HD Audio rec spdifin              /dev/oss/oss_hdaudio0/spdin0  (device index 8)
    Legacy device /dev/dsp8
    Caps: TRIGGER MMAP 
    Modes: INPUT  
      In engine   1: 8/HD Audio rec spdifin
                     Available for use 
    Input formats (0x00001410):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE       - 32 bit signed little endian
    Output formats (0x00001410):
      AFMT_S16_LE       - 16 bit signed little endian
      AFMT_AC3          - AC3 (Dolby Digital) encoded audio
      AFMT_S32_LE       - 32 bit signed little endian
    Device handle: PCI81198086-0000:00:1b.0-au09
    Related mixer dev: 0
    Sample rate source: 0
    Preferred channel configuration: Not indicated
    Supported number of channels (min - max): 2 - 2
    Native sample rates (min - max): 44100 - 192000 (44100,48000,96000,192000)
    HW Type: Not indicated.
    Minimum latency: Not indicated


Nodes
  /dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_in -> /dev/oss/oss_hdaudio0/pcmin0
  /dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_ac3 -> /dev/oss/oss_hdaudio0/spdout0
  /dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
  /dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0
Sound subsystem and version: OSS 4.2 (b 2004/201102210713) (0x00040100)
Platform: Linux/i686 2.6.34.7-ELinOS-146 #2 PREEMPT Tue Feb 15 07:31:17 CET 2011

*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 0): HD Audio play front
- Performing audio playback test... 
  <left> OK <right> OK <stereo> OK <measured srate 47977.00 Hz (-0.05%)> 
/dev/oss/oss_hdaudio0/pcm1 (audio engine 1): HD Audio play rear
- Performing audio playback test... 
  <left> OK <right> OK <stereo> OK <measured srate 47977.00 Hz (-0.05%)> 
/dev/oss/oss_hdaudio0/pcm2 (audio engine 2): HD Audio play center/LFE
- Performing audio playback test... 
  <left> OK <right> OK <stereo> OK <measured srate 47977.00 Hz (-0.05%)> 
/dev/oss/oss_hdaudio0/pcm3 (audio engine 3): HD Audio play side
- Performing audio playback test... 
  <left> OK <right> OK <stereo> OK <measured srate 47977.00 Hz (-0.05%)> 
/dev/oss/oss_hdaudio0/pcm4 (audio engine 4): HD Audio play pcm4
- Performing audio playback test... 
  <left> OK <right> OK <stereo> OK <measured srate 47977.00 Hz (-0.05%)> 
/dev/oss/oss_hdaudio0/spdout0 (audio engine 5): HD Audio play spdif-out
- Performing audio playback test... 
  <left> OK <right> OK <stereo> OK <measured srate 47974.00 Hz (-0.05%)> 
/dev/oss/oss_hdaudio0/pcmin0 (audio engine 6): HD Audio rec mix
- Skipping input only device
/dev/oss/oss_hdaudio0/pcmin1 (audio engine 7): HD Audio rec mix
- Skipping input only device
/dev/oss/oss_hdaudio0/spdin0 (audio engine 8): HD Audio rec spdifin
- Skipping input only device

*** All tests completed OK ***
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:8100] (rev 07)
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:8108] 
(rev 07) (prog-if 00 [VGA controller])
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at dff80000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at e880 [size=8]
        Memory at c0000000 (32-bit, non-prefetchable) [size=256M]
        Memory at dff40000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [d0] Power Management version 2
        Capabilities: [b0] Vendor Specific Information <?>
        Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 
Enable-

00:1b.0 Audio device [0403]: Intel Corporation Device [8086:811b] (rev 07)
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at dff3c000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Kernel driver in use: oss_hdaudio

00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:8110] (rev 07) 
(prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=02, sec-latency=0
        I/O behind bridge: 0000c000-0000cfff
        Memory behind bridge: bf500000-bfcfffff
        Prefetchable memory behind bridge: fcb00000-feafffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [90] Subsystem: Intel Corporation Device [8086:8119]
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1c.1 PCI bridge [0604]: Intel Corporation Device [8086:8112] (rev 07) 
(prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: bfd00000-bfdfffff
        Prefetchable memory behind bridge: 20000000-201fffff
        Capabilities: [40] Express Root Port (Slot+), MSI 00
        Capabilities: [90] Subsystem: Intel Corporation Device [8086:8119]
        Capabilities: [a0] Power Management version 2
        Kernel driver in use: pcieport

00:1d.0 USB Controller [0c03]: Intel Corporation Device [8086:8114] (rev 07) 
(prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0, IRQ 10
        I/O ports at e480 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.1 USB Controller [0c03]: Intel Corporation Device [8086:8115] (rev 07) 
(prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0, IRQ 11
        I/O ports at e080 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.2 USB Controller [0c03]: Intel Corporation Device [8086:8116] (rev 07) 
(prog-if 00 [UHCI])
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0, IRQ 5
        I/O ports at ef00 [size=32]
        Kernel driver in use: uhci_hcd

00:1d.7 USB Controller [0c03]: Intel Corporation Device [8086:8117] (rev 07) 
(prog-if 20 [EHCI])
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0, IRQ 15
        Memory at dff3bc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Kernel driver in use: ehci_hcd

00:1e.0 SD Host controller [0805]: Intel Corporation Device [8086:811c] (rev 
07) (prog-if 01)
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at dff3b800 (32-bit, non-prefetchable) [size=256]

00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:8119] (rev 07)
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: fast devsel
        Kernel driver in use: lpc_sch

00:1f.1 IDE interface [0101]: Intel Corporation Device [8086:811a] (rev 07) 
(prog-if 80 [Master])
        Subsystem: Intel Corporation Device [8086:8119]
        Flags: bus master, fast devsel, latency 0
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] 
[size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] 
[size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] 
[size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] 
[size=1]
        I/O ports at ffa0 [size=16]
        Kernel driver in use: pata_sch

03:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:10d3]
        Subsystem: Intel Corporation Device [8086:0000]
        Flags: bus master, fast devsel, latency 0, IRQ 11
        Memory at bfde0000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at d880 [size=32]
        Memory at bfddc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [c8] Power Management version 2
        Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 
Enable-
        Capabilities: [e0] Express Endpoint, MSI 00
        Capabilities: [a0] MSI-X: Enable- Mask- TabSize=3
        Kernel driver in use: e1000e

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to