Opened 5 months ago

Last modified 2 months ago

#15158 new bug

HDA. Failed to setup new audio function group

Reported by: kaban4ik Owned by: korli
Priority: low Milestone: Unscheduled
Component: Drivers/Audio/HDA Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86-64

Description

No sound HDA in haiku. There is sound in ubuntu. I assume that pins are not correctly defined. In attach, screenshots are determined by Ubuntu.

Attachments (10)

syslog.zip (36.5 KB ) - added by kaban4ik 5 months ago.
Ubuntu pin.txt (7.6 KB ) - added by kaban4ik 5 months ago.
Ubuntu pin.png (127.1 KB ) - added by kaban4ik 5 months ago.
Ubuntu pin 2.png (140.3 KB ) - added by kaban4ik 5 months ago.
hdajacksenesttest.png (9.7 KB ) - added by kaban4ik 5 months ago.
listdev (2.2 KB ) - added by kaban4ik 5 months ago.
listimage grep drivers (1.9 KB ) - added by kaban4ik 5 months ago.
media.png (22.2 KB ) - added by kaban4ik 5 months ago.
haiku.png (44.9 KB ) - added by kaban4ik 5 months ago.
grep hda (32.2 KB ) - added by kaban4ik 5 months ago.

Download all attachments as: .zip

Change History (11)

by kaban4ik, 5 months ago

Attachment: syslog.zip added

by kaban4ik, 5 months ago

Attachment: Ubuntu pin.txt added

by kaban4ik, 5 months ago

Attachment: Ubuntu pin.png added

by kaban4ik, 5 months ago

Attachment: Ubuntu pin 2.png added

by kaban4ik, 5 months ago

Attachment: hdajacksenesttest.png added

by kaban4ik, 5 months ago

Attachment: listdev added

by kaban4ik, 5 months ago

Attachment: listimage grep drivers added

by kaban4ik, 5 months ago

Attachment: media.png added

by kaban4ik, 5 months ago

Attachment: haiku.png added

by kaban4ik, 5 months ago

Attachment: grep hda added

comment:1 by nielx, 2 months ago

Initial analysis:

  • The device is an Intel (PCI vendor 8086) Sunrise Point-LP HD Audio (PCI Device 9d70).
  • Your device publishes five output pins in codec 0, numbers 22, 23, 29, 33 and 34. The ones to watch are 22 and 23.
  • Those pins are actually enabled, as evidenced in the syslog.
  • The Linux drivers actually do quite some custom code paths. The card is identified as AZX_DRIVER_SKL, which in turn sets POS_FIX_SKL.
  • This affects playback, see azx_get_pos_skl()

Details of the output pins:

KERN: hda: 22: Pin complex
KERN: hda: 	[Output]
KERN: hda: 	Jack, Left HP out, 1/8", Black, Association:4
KERN: hda: 	Supported power states: D0 D1 D2 D3 
KERN: hda: 	[Power] [Conn. list] [Unsol. responses] [Stereo] 
KERN: hda: 	Inputs: 16 17 
KERN: hda: 23: Pin complex
KERN: hda: 	[Output]
KERN: hda: 	Fixed, Speaker, Other analog, N/A, Association:1
KERN: hda: 	Supported power states: D0 D1 D2 D3 
KERN: hda: 	[Power] [Conn. list] [Stereo] 
KERN: hda: 	Inputs: 16 17
KERN: hda: 29: Pin complex
KERN: hda: 	[Input] [Output]
KERN: hda: 	None, Other, N/A, N/A, Association:15
KERN: hda: 	Supported power states: D0 D1 D2 D3 
KERN: hda: 	[Power] [Conn. list] [Unsol. responses] [Amplifier override] [In amplifier] [Stereo] 
KERN: hda: 	In Amp: step size: 12 dB, # steps: 3, offset to 0 dB: 0
KERN: hda: 	Inputs: 16 17 
KERN: hda: 33: Pin complex
KERN: hda: 	[Output]
KERN: hda: 	None, Other, N/A, N/A, Association:15
KERN: hda: 	Supported power states: D0 D1 D2 D3 
KERN: hda: 	[Power] [Digital] [Conn. list] [Stereo] 
KERN: hda: 	Inputs: <32> 
KERN: hda: 34: Pin complex
KERN: hda: 	[Output]
KERN: hda: 	None, Other, N/A, N/A, Association:15
KERN: hda: 	Supported power states: D0 D1 D2 D3 
KERN: hda: 	[Power] [Conn. list] [Stereo] 
KERN: hda: 	Inputs: 16 17 
Note: See TracTickets for help on using tickets.