Thank You for your continued support and contributions!
Hello! I'm a newish owner of a HIFI Walker H2 that came with a 1.5 version firmware. This evening I upgraded a Hosted Rockbox setup that I've been using since November to the Native version. I'd like to volunteer to test in an effort to get the Line Out port functional. What would be required to do this? I'm not sure of the difference between Line Out and the Headphone jack. Assuming someone provides the software changes would a typical low-impedance headphone be suitable for testing the Line Out jack? This is by no means urgent on my part. I'm satisfied currently using the Headphone jack but wish to help in service of the community. And perhaps down the line may find use for a functional Line Out.Thanks for the port and your consideration.
Great that you are willing to help get line out working! I don't know your comfort level with programming in general, but are you able to set up a build environment? That would be the quickest way to be able to test builds yourself. This wiki page under "Set up your environment" has links to how to set that up.Otherwise, I can do some builds here later today and post them for you to try.I think some regular headphones would probably be fine to try the line out, it's a situation where it either works or it doesn't work.We're really shooting in the dark here, but I have a guess that the stereo switch is now hooked up to switch between the headphone and line-out outputs, so maybe changing this line (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/audiohw-erosqnative.c#L79) from 0 to 1 may change the behavior.We might have to just try changing the states of some of the relevant GPIO pins listed here (https://github.com/Rockbox/rockbox/blob/master/firmware/target/mips/ingenic_x1000/erosqnative/gpio-target.h#L28), probably in that same audiohw_postinit() function to see what behavior changes.As a side note, I'm curious - does your player have microUSB or USBC?
That's good that you got life out of the line out - I'll think it over for a bit and try to come up with a next step.EDIT: Ok, I think the next step we can try is to now comment out this line (https://github.com/Rockbox/rockbox/blob/master/firmware/drivers/audio/eros_qn_codec.c#L62).What I'm guessing here is that the line-out is being run through the headphone amp now. I don't know why they would do that - you would think it would go like DAC-->Switch-->HP AMP-->HP, but I wouldn't be surprised if the switch and headphone amp are reversed.
Your latest assumption seems to be getting us closer to the mark. This time the headphone port remained inactive but the Line Out active (with a fully seated headphone jack). It was uncomfortably loud for headphones and further did not respond to volume adjustments, up or down. Even when I bottomed out the GUI volume curve it still was unaffected.
void audiohw_set_volume(int vol_l, int vol_r){ int l, r; vol_l_hw = vol_l; vol_r_hw = vol_r; l = vol_l; r = vol_r;#if (defined(HAVE_HEADPHONE_DETECTION) && defined(HAVE_LINEOUT_DETECTION)) /* make sure headphones aren't present - don't want to * blow out our eardrums cranking it to full */ if (lineout_inserted() && !headphones_inserted()) { l = r = global_settings.volume_limit * 10; /* mute the headphone amp if not plugged in */ /* on newer units, the headphone amp is in circuit for the * line output as well, so do not mute */ //audiohw_mute_hp(1); /* on newer units, the stereo switch actually switches * between the headphone output and the line output */ gpio_set_level(GPIO_ISL54405_SEL, 1); } else { /* unmute the headphone amp when plugged in */ //audiohw_mute_hp(0); /* on newer units, the stereo switch actually switches * between the headphone output and the line output */ gpio_set_level(GPIO_ISL54405_SEL, 0); l = vol_l; r = vol_r; }#endif l = l <= PCM5102A_VOLUME_MIN ? PCM_MUTE_LEVEL : (l / 20); r = r <= PCM5102A_VOLUME_MIN ? PCM_MUTE_LEVEL : (r / 20); pcm_set_master_volume(l, r);}
Success! With the current changes the Line Out works at full volume while the HP port also works and respects the volume setting.I was curious about testing the simultaneous situation and so tried plugging in two headsets. With both plugged in only the HP port connected set was playing. It didn't matter if the HP port was populated first or second, in both cases as soon as there was two connected only the HP port set would play.Personally I find this either/or reasonable.
"The only gotcha is the line-out may be too hot if it's being run through the hp amp... Maybe we could add a new setting specifically for setting the line-out mode volume. Unfortunately the level is kind of hard to test without having someone actually measure it."Is this something that can be measured using an auxiliary cable from the Rockbox Line Out to a Microphone or Line In port on a computer Sound Card, in conjunction with some free software? Or does "too hot" imply some risk to the receiving device?
mrsubway,Thanks for the replies.I contacted HiFi Walker, requesting a link to firmware version 1.5. They informed me that they do not provide access to their firmware versions. In the meantime, I ordered a Surfans F20. Upon the F20’s arrival (firmware version 2.7) I was able to load RockBox without issue. After the successful RockBox installation, I returned the HiFi Walker. The stock sound of the HiFi Walker (EQ off) is very, very good but my inability to get RockBox loaded was a deal breaker. The limited play, sound and display options of the stock firmware are clearly evident to anyone who is accustomed to the plethora of RockBox options. If you do not care about running RockBox, the HiFi Walker is a very good player.I’ve been using (still have) RockBoxed Sansa players (Fuze, Fuze+, clip, clip+, clip zip) and believe any of them, coupled with a pair of Kramer-modded Koss KSC75 [to my ears], is the best sounding budget combination.If you are a vintage Sansa fan looking for a newer alternative, a RockBoxed Surfans F20 is worth a look. The F20 is bulkier (built like a tank) than the Sansas but the RockBoxed F20 offers silky smooth operation with only one minor hiccup I’ve noticed.If there are mixed file types (Mp3 and Opus, for example) in a common folder, when one type of file crossfades with a different type the transition is premature and abrupt. Crossfades between the same type of files are perfect.-Gary
Quote from: speakn2pabst on January 17, 2023, 01:34:03 PM"The only gotcha is the line-out may be too hot if it's being run through the hp amp... Maybe we could add a new setting specifically for setting the line-out mode volume. Unfortunately the level is kind of hard to test without having someone actually measure it."Is this something that can be measured using an auxiliary cable from the Rockbox Line Out to a Microphone or Line In port on a computer Sound Card, in conjunction with some free software? Or does "too hot" imply some risk to the receiving device?That's a good idea regarding using a line-in port on a computer. I don't know if you can typically get an idea for what the actual level is, but I imagine Audacity would probably be the tool for the job. Basically you would probably want to create a full-scale 440Hz FLAC file or some other lossless file to play back.I wouldn't worry about any risk to any devices. Worst case scenario is that it may distort, I think.
I have some lossless 440Hz FLAC files I can play. But I'm not sure of the measurement to report. Is a screenshot while monitoring the plug sufficient? This shows a peak in the volume or very close to it. Tenacity is a fork of Audacity.
Page created in 0.041 seconds with 17 queries.