![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2007
Beans: 2
|
Hi, sorry for my poor English. it's a great honor to be a part of this forum, i have just installed Ubuntu 7.04 and absolutely fell in love with it. Instalation went great, Ubuntu booted and i thought everything went well.
My problems are theese: 1. My resolution is stuck in 800x600 mode, and somehow can't change it... I've searched in many forums, found drivers on viaarena.com but they can't be installed, since either i'm being a major jackass (because im used to work in windows enviroment) and doing something wrong or i simply can't understand what to do 2. My sound card which works on my laptop speaker, but when i plug in my headphones it stops, i take my headphones out, it works again (funny huh)... Btw VIA HD Audio Codec VT1708 paired with VT8237A As i said http://www.viaarena.com/default.aspx...Type=3&OSID=45 has drivers for almoust everything i need but i can't install them. Can someone PLEASE PLEASE PLEASE help me out a bit, this is one hell of an operating system and i intend to learn more and more about it! Thank You In Advance!!! |
|
|
|
|
|
#2 | |
|
Just Give Me the Beans!
![]() Join Date: May 2007
Beans: 68
|
Re: Ubuntu 7.04 on Amilo Li 1705 problem
Quote:
Otherwise some laptops have lots of different switches for the audio card. You can see these switches if you open the mixer window. One laptop i used had a switch "headphone sense", and this would enable or disable the automatically muting of the speakers when the headphones are inserted. Maybe you can find some setting there. |
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Beans: 24
|
Re: Ubuntu 7.04 on Amilo Li 1705 problem
I had the same problem and found the solution which works me:
You must patch the hda_codec.c in alsa-driver sources, recompile and install: http://forums.viaarena.com/messagevi...threadid=77358 That's all |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2007
Beans: 3
|
Re: Ubuntu 7.04 on Amilo Li 1705 problem
I got it to work as well !
the main steps are the following : Download the latest alsa driver Code:
tar -xvjf alsa-driver-1.x.xx.tar.bz2 change Code:
static int patch_vt1708(struct hda_codec *codec)
{
struct via_spec *spec;
int err;
/* create a codec specific record */
spec = kcalloc(1, sizeof(*spec), GFP_KERNEL);
if (spec == NULL)
return -ENOMEM;
codec->spec = spec;
/* automatic parse from the BIOS config */
err = vt1708_parse_auto_config(codec);
if (err < 0) {
via_free(codec);
return err;
} else if (!err) {
printk(KERN_INFO "hda_codec: Cannot set up configuration "
"from BIOS. Using genenic mode...\n");
}
spec->stream_name_analog = "VT1708 Analog";
spec->stream_analog_playback = &vt1708_pcm_analog_playback;
spec->stream_analog_capture = &vt1708_pcm_analog_capture;
spec->stream_name_digital = "VT1708 Digital";
spec->stream_digital_playback = &vt1708_pcm_digital_playback;
spec->stream_digital_capture = &vt1708_pcm_digital_capture;
if (!spec->adc_nids && spec->input_mux) {
spec->adc_nids = vt1708_adc_nids;
spec->num_adc_nids = ARRAY_SIZE(vt1708_adc_nids);
spec->mixers[spec->num_mixers] = vt1708_capture_mixer;
spec->num_mixers++;
}
codec->patch_ops = via_patch_ops;
codec->patch_ops.init = via_auto_init;
#ifdef CONFIG_SND_HDA_POWER_SAVE
spec->loopback.amplist = vt1708_loopbacks;
#endif
return 0;
}
Code:
static int patch_vt1708(struct hda_codec *codec)
{
unsigned int pin_hp;
struct via_spec *spec;
int err;
/* create a codec specific record */
spec = kcalloc(1, sizeof(*spec), GFP_KERNEL);
if (spec == NULL)
return -ENOMEM;
codec->spec = spec;
/* Ajout SQ071031 */
pin_hp=snd_hda_codec_read(codec, 0x20, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
pin_hp=pin_hp&0x3FFFFFFF;
snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, pin_hp>>24);
/* automatic parse from the BIOS config */
err = vt1708_parse_auto_config(codec);
if (err < 0) {
via_free(codec);
return err;
} else if (!err) {
printk(KERN_INFO "hda_codec: Cannot set up configuration "
"from BIOS. Using genenic mode...\n");
}
spec->stream_name_analog = "VT1708 Analog";
spec->stream_analog_playback = &vt1708_pcm_analog_playback;
spec->stream_analog_capture = &vt1708_pcm_analog_capture;
spec->stream_name_digital = "VT1708 Digital";
spec->stream_digital_playback = &vt1708_pcm_digital_playback;
spec->stream_digital_capture = &vt1708_pcm_digital_capture;
if (!spec->adc_nids && spec->input_mux) {
spec->adc_nids = vt1708_adc_nids;
spec->num_adc_nids = ARRAY_SIZE(vt1708_adc_nids);
spec->mixers[spec->num_mixers] = vt1708_capture_mixer;
spec->num_mixers++;
}
codec->patch_ops = via_patch_ops;
codec->patch_ops.init = via_auto_init;
#ifdef CONFIG_SND_HDA_POWER_SAVE
spec->loopback.amplist = vt1708_loopbacks;
#endif
return 0;
}
now, in order to compile : Code:
cd alsa-driver-1.xx.xx ./configure make sudo make install Last edited by squil; October 31st, 2007 at 01:22 PM.. |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2007
Beans: 2
|
Re: Ubuntu 7.04 on Amilo Li 1705 problem
I am so sorry for not responding for such a long time, i've had soo many work this past weeks it was impossible to have some spare time... Anyway THANK YOU a lot, i've done what you told me and it's all working now... Just love the 7.04 version
|
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 4
|
Re: Ubuntu 7.04 on Amilo Li 1705 problem
I found the solution which works witch Amilo Pro (Fujitsu Siemens)
You have to add two lines to file /etc/modprobe.d/alsa-base //add this lines options snd-hda-intel model=3stack enable=yes options snd-hda-intel model=auto position_fix=1 enable=yes and restart laptop. I hope it helps. |
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Jun 2006
Beans: 69
Ubuntu Karmic Koala (testing)
|
Re: Ubuntu 7.04 on Amilo Li 1705 problem
Has anyone test the hardware on 8.04 yet??
|
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2006
My beans are hidden!
|
Re: Ubuntu 7.04 on Amilo Li 1705 problem
I have an everex gbook va1500v, which has the same sound hardware as the poster that started the thread, and I can report than squil's patch to alsa-drivers works on 8.04, but ONLY if you remove the alsa-driver folder from your /lib/modules/`uname -r`/ubuntu/sound/ directory and replace it with a symbolic link to "../../kernel/sound/" where your new alsa-driver modules are stored.
|
|
|
|
|
|
#9 |
|
Just Give Me the Beans!
![]() Join Date: Nov 2007
Beans: 79
|
Re: Ubuntu 7.04 on Amilo Li 1705 problem
Thanks,
This works for me in Hardy as well with a Hi-grade computer and via vt1708 audio chip after following squil and gnuslov's instructions. Do you know if this fix going to make it into the unpatched version of alsa at some stage? (it took me about 6 months to find this fix, after i first started with Linux) |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|