Bug 222025

Summary: [patch] snd_envy24ht: add ESI Juli@ XTe into list of supported devices
Product: Documentation Reporter: Vladyslav Movchan <vladislav.movchan>
Component: Manual PagesAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: doc, netchild
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for snd_envy24ht.4 none

Description Vladyslav Movchan 2017-09-03 14:11:52 UTC
Created attachment 186030 [details]
patch for snd_envy24ht.4

ESI Juli@ XTe is the PCIe version ESI Juli@ sound card and it works fine with snd_envy24ht driver.
Attached patch adds ESI Juli@ XTe into list of devices supported by snd_envy24ht driver.

Part of verbose dmesg related to this device:
pci3: driver added
found-> vendor=0x1412, dev=0x1724, revid=0x01
        domain=0, bus=3, slot=0, func=0
        class=04-01-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0001, statreg=0x0210, cachelnsz=0 (dwords)
        lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=18
        powerspec 1  supports D0 D2 D3  current D0
pci0:3:0:0: reprobing on driver added
pcm13: <Envy24HT audio (ESI Juli@)> port 0xd080-0xd09f,0xd000-0xd07f irq 18 at device 0.0 on pci3
pcm13: system configuration
  SubVendorID: 0x3031, SubDeviceID: 0x4553
  XIN2 Clock Source: 24.576MHz(96kHz*256)
  MPU-401 UART(s) #: 1
  ADC #: 1
  DAC #: 1
  Multi-track converter type: I2S(with volume, 192KHz support, 24bit resolution, ID#0x0)
  S/PDIF(IN/OUT): 1/1 ID# 0x00
  GPIO(mask/dir/state): 0x7fff9f/0x7fff9f/0x8016
pcm13: Mixer "vol":
pcm13: Mixer "treble":
pcm13: Mixer "synth":
pcm13: Mixer "pcm":
pcm13: Mixer "speaker":
pcm13: Mixer "line":
pcm13: Mixer "mic":
pcm13: Mixer "cd":
pcm13: Mixer "mix":
pcm13: Soft PCM mixer ENABLED
random: harvesting attach, 8 bytes (4 bits) from pcm13

pciconf -lv:
pcm13@pci0:3:0:0:       class=0x040100 card=0x45533031 chip=0x17241412 rev=0x01 hdr=0x00
    vendor     = 'VIA Technologies Inc.'
    device     = 'VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller'
    class      = multimedia
    subclass   = audio

cat /dev/sndstat 
Installed devices:
pcm0: <EMU10Kx DSP front PCM interface> (play/rec)
pcm1: <EMU10Kx DSP rear PCM interface> (play)
pcm2: <EMU10Kx DSP center PCM interface> (play)
pcm3: <EMU10Kx DSP subwoofer PCM interface> (play)
pcm4: <EMU10Kx DSP side PCM interface> (play)
pcm5: <Realtek ALC1150 (Rear Analog 5.1/2.0)> (play/rec)
pcm6: <Realtek ALC1150 (Front Analog)> (play/rec)
pcm7: <Realtek ALC1150 (Onboard Digital)> (play)
pcm8: <Realtek ALC1150 (Rear Digital)> (play)
pcm9: <NVIDIA (0x0041) (HDMI/DP 8ch)> (play)
pcm10: <NVIDIA (0x0041) (HDMI/DP 8ch)> (play)
pcm11: <NVIDIA (0x0041) (HDMI/DP 8ch)> (play)
pcm12: <NVIDIA (0x0041) (HDMI/DP 8ch)> (play)
pcm13: <Envy24HT audio (ESI Juli@)> (play/rec) default
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-08-11 13:02:05 UTC
A commit references this bug:

Author: netchild
Date: Sat Aug 11 13:01:47 UTC 2018
New revision: 337620
URL: https://svnweb.freebsd.org/changeset/base/337620

Log:
  Add "ESI Juli@ XTe" as a supported device.

  Submitted by:	Vladislav Movchan  <vladislav.movchan@gmail.com>
  PR:		222025
  Sponsored by:	Essen Hackathon

Changes:
  head/share/man/man4/snd_envy24ht.4
Comment 2 Alexander Leidinger freebsd_committer freebsd_triage 2018-08-11 13:02:48 UTC
Committed. Thanks!