Opened 13 years ago

Closed 13 years ago

#8377 closed bug (fixed)

KDL with use of outboard MIDI equipment ICE1712 driver

Reported by: SeanCollins Owned by: jerl1
Priority: normal Milestone: R1
Component: Drivers/Audio/ice1712 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

so tantilizingly close to a real pro-audio card. Latency was great, but hot plugging and using the midi device drops into KDL. I am attaching 2 screen shots. gcc2 hybrid version 43819. I am not sure if this is a driver fault or a kernel issue. I will await ticket triage and leave this in general. The audio portion of the cards works fine, but its not really a input like a keyboard. I am unsure of where to leave this ticket.

Attachments (5)

IMG_1382.JPG (2.5 MB ) - added by SeanCollins 13 years ago.
IMG_1381.JPG (2.6 MB ) - added by SeanCollins 13 years ago.
delta1010.patch (11.0 KB ) - added by SeanCollins 13 years ago.
user_memcpy.patch (1.6 KB ) - added by jerl1 13 years ago.
IMG_1427.JPG (4.1 MB ) - added by SeanCollins 13 years ago.

Change History (17)

by SeanCollins, 13 years ago

Attachment: IMG_1382.JPG added

by SeanCollins, 13 years ago

Attachment: IMG_1381.JPG added

by SeanCollins, 13 years ago

Attachment: delta1010.patch added

comment:1 by SeanCollins, 13 years ago

the attached patch, is used to add functionality to the card, audio input/output. It is authored by Jerome Leveque. It should be added to the ice 1712 sources. audio output was prime stable for 24 hours continous, before adding a midi device on to the midi port. It stands by just fine, but anytime you send midi messages, it cuases the above noted KDL situation.

Hot plugging a midi device cuases KDL Sending midi messgaes from a active device, cuases kdl

comment:2 by jerl1, 13 years ago

I have the same issue, but not as soon as I plug a midi device. It can work a while and then crash. (GCC4 build for myself)

Patch added by Sean is not relative to midi. It's a patch for initializing codec on his audio card.

comment:3 by korli, 13 years ago

Component: - GeneralDrivers/Audio/ice1712
Owner: changed from nobody to korli

comment:4 by korli, 13 years ago

I'm currently the default owner. jerl1, if that fits to you, you can become the default owner for ice1712 component in Trac. Please ask on the dev list or IRC.

comment:5 by korli, 13 years ago

Patch applied in hrev43842. Please next time attach a complete patch made with git format-patch.

comment:6 by mmadia, 13 years ago

Owner: changed from korli to jerl1
Status: newassigned

by jerl1, 13 years ago

Attachment: user_memcpy.patch added

comment:7 by jerl1, 13 years ago

Add a patch for fixing this bug.

SeanCollins can you try it and give me feddback?

Version 0, edited 13 years ago by jerl1 (next)

comment:8 by SeanCollins, 13 years ago

Ok, gave the patch a try, Good news is, the Hot plugging issue is resolved, no more KDL when hot plugging midi devices.

Takes about 2x as long to get to KDL now to btw. So forward progress

Also now that I can get some performance time in, there is something going on with the midi player / midi input / audio output. I get allot of noise, like buffer under run noise, the closest visual explination I can think of is pixilation, but audio, not video. Like a hissy digital noise. I know its not the sound font, becuase I ran a piano midi file through the sound font, and I don't here that same noise.

I also still end up in KDL after about 45 seconds.

Als, I get some random cracking, kind of sporadic, hard ot say if thats related, and I mean sporadic, might not here a hiss/pop for a hour, then you'll catch a little snap, and its gone. Very subtle, on the lower bottom end of the noise floor. Could be a media server issue ???

by SeanCollins, 13 years ago

Attachment: IMG_1427.JPG added

comment:9 by jerl1, 13 years ago

Hello, It's a "bad" news for me, cause this patch fix the issue with my hardware... And now I don't have any KDL anymore

comment:10 by SeanCollins, 13 years ago

Well, at a minimum becuase the patch improves and corrects the situation on some hardware, I would geuss the patch should be applied to the haiku sources.

Could this be a unoticed incompatability with other hardware in my machines, like interupt routing etc, that could be cuasing this issue ?

comment:11 by SeanCollins, 13 years ago

This is fixed, so long as the memcopy patch has been applied. I didn't realize I needed to update the mpu401 driver till I plowed back through the source to see what the memcopy patch changed. I though it was automatically building the mpu401 code into the 1712 driver. Doh.

Please mark as fixed !!!

Thanks a Bunch jerl1, mission accomplished ! Haiku now has access to high quality pro-audio cards

Last edited 13 years ago by SeanCollins (previous) (diff)

comment:12 by anevilyak, 13 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.