Opened 5 years ago

Closed 2 years ago

#15158 closed bug (fixed)

HDA. Failed to setup new audio function group

Reported by: kaban4ik Owned by: korli
Priority: low Milestone: R1/beta4
Component: Drivers/Audio/HDA Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
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 years ago.
Ubuntu pin.txt (7.6 KB ) - added by kaban4ik 5 years ago.
Ubuntu pin.png (127.1 KB ) - added by kaban4ik 5 years ago.
Ubuntu pin 2.png (140.3 KB ) - added by kaban4ik 5 years ago.
hdajacksenesttest.png (9.7 KB ) - added by kaban4ik 5 years ago.
listdev (2.2 KB ) - added by kaban4ik 5 years ago.
listimage grep drivers (1.9 KB ) - added by kaban4ik 5 years ago.
media.png (22.2 KB ) - added by kaban4ik 5 years ago.
haiku.png (44.9 KB ) - added by kaban4ik 5 years ago.
grep hda (32.2 KB ) - added by kaban4ik 5 years ago.

Download all attachments as: .zip

Change History (15)

by kaban4ik, 5 years ago

Attachment: syslog.zip added

by kaban4ik, 5 years ago

Attachment: Ubuntu pin.txt added

by kaban4ik, 5 years ago

Attachment: Ubuntu pin.png added

by kaban4ik, 5 years ago

Attachment: Ubuntu pin 2.png added

by kaban4ik, 5 years ago

Attachment: hdajacksenesttest.png added

by kaban4ik, 5 years ago

Attachment: listdev added

by kaban4ik, 5 years ago

Attachment: listimage grep drivers added

by kaban4ik, 5 years ago

Attachment: media.png added

by kaban4ik, 5 years ago

Attachment: haiku.png added

by kaban4ik, 5 years ago

Attachment: grep hda added

comment:1 by nielx, 5 years 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 

comment:2 by mmlr, 4 years ago

Depending on the underlying issue, this might be affected by hrev54464, please retest with a nightly that includes that fix.

comment:3 by Coldfirex, 3 years ago

I have a laptop with the same card and same log outputs from what I can tell. No change on latest nightly. No sound via speakers or headphones.

I cant tell from the logs but are we using a different pin out than linux?

comment:4 by Coldfirex, 2 years ago

Sounds now working with an Intel (PCI vendor 8086) Sunrise Point-LP HD Audio (PCI Device 9d70) on hrev55845.

comment:5 by korli, 2 years ago

Milestone: UnscheduledR1/beta4
Resolution: fixed
Status: newclosed

No feedback from original reporter. Assumes fixed.

Note: See TracTickets for help on using tickets.