[haiku-bugs] Re: [Haiku] #9138: HDMI HDA can't find codec

  • From: "jessicah" <trac@xxxxxxxxxxxx>
  • Date: Mon, 12 Nov 2012 13:28:02 -0000

#9138: HDMI HDA can't find codec
---------------------------------+----------------------------
   Reporter:  jessicah           |      Owner:  korli
       Type:  bug                |     Status:  new
   Priority:  normal             |  Milestone:  R1
  Component:  Drivers/Audio/HDA  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------

Comment (by jessicah):

 Replying to [comment:9 korli]:
 > It seems the digital format isn't set in case of a digital output.
 >
 > You could try to add the following in the loop [http://cgit.haiku-
 os.org/haiku/tree/src/add-
 ons/kernel/drivers/audio/hda/hda_controller.cpp#n772 here]
 >
 > {{{
 > if (widget->capabilities.audio & AUDIO_CAP_DIGITAL) != 0) {
 >     verb[0] = MAKE_VERB(codec->addr, stream->io_widgets[i],
 >                       VID_SET_DIGITAL_CONVERTER_CONTROL1, format);
 >     hda_send_verbs(audioGroup->codec, verb, response, 1);
 > }
 > }}}

 I'm not sure how to fix `widget` in the above. There's no variable
 `widget` in this function =( I tried `audioGroup->widget` (and a few other
 combinations), but no joy.

 It's almost 3am, so need to get some sleep about now. #9132 looks like
 it's same issue as this, btw. I'm happy to try out any new patches/ideas
 in the morning though =)

 Also still have the weird MediaPlayer behaviour of it playing too fast, if
 you can call no output playing. Think 2.5 minute song in about 10 seconds
 or less...

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9138#comment:10>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: