From: Dominic J. E. <sa...@th...> - 2005-03-10 06:43:48
|
In playing with a new -g stix and the audiostix, I seem to be unable to adjust volume, etc: # lsmod | grep 'ac97' pxa_ac97 5684 0 - Live 0xbf024000 soundcore 7460 1 pxa_ac97, Live 0xbf021000 ac97_codec 18636 1 pxa_ac97, Live 0xbf01b000 pxa_audio 9280 1 pxa_ac97, Live 0xbf017000 # aumix -q aumix: SOUND_MIXER_READ_DEVMASK # ls -la /dev/mixer* crw-rw-rw- 1 root root 14, 0 Feb 11 2005 /dev/mixer Using madplay to play back an mp3 file, gives no sound - thus me trying to play with the audio volume. Also - can I just wire up a serial cable to either the X4 pad on the audiostix (the 2-3 pads in question), or onto the appropriate holes on the breakout-th, and hook the cable up to a pc - or does it need any extra stuff inbetween? (I noticed some of the schematics have extra chips, but I didn't look that closely) - d. -- Dominic J. Eidson "Baruk Khazad! Khazad ai-menu!" - Gimli ------------------------------------------------------------------------------- http://www.the-infinite.org/ |
From: Darren G. <ts...@ya...> - 2005-03-10 18:23:30
|
On Mar 9, 2005, at 10:43 PM, Dominic J. Eidson wrote: > In playing with a new -g stix and the audiostix, I seem to be unable to > adjust volume Hmm... in the "Doh" department: are you sure you're plugged into the output jack (the one furthest from the power jack)? When I run aumix, I get more info: # aumix -q vol 67, 67 bass 67, 67 treble 67, 67 aumix: MIXER_READ Try this: # cat /proc/driver/ucb1400/ac97 Vendor name : Philips UCB1400 Vendor id : 5053 4304 AC97 Version : 2.0 or later Capabilities : -loudness- DAC resolutions : -16-bit- -20-bit- ADC resolutions : -16-bit- -20-bit- 3D enhancement : No 3D Stereo Enhancement POP path : pre 3D Sim. stereo : off 3D enhancement : off Loudness : off Mono output : MIX MIC select : MIC1 ADC/DAC loopback : off Ext Capabilities : -var rate PCM audio- Front DAC rate : 48000 Reg. 0x02 : 0x1515 Reg. 0x0e : 0x0000 Reg. 0x1a : 0x0000 Reg. 0x1c : 0x0a0a Reg. 0x26 : 0x000b Reg. 0x2a : 0x0001 Reg. 0x2c : 0xbb80 Reg. 0x32 : 0xbb80 Reg. 0x6a : 0x44d9 Reg. 0x6c : 0x1000 > Also - can I just wire up a serial cable to either the X4 pad on the > audiostix (the 2-3 pads in question), or onto the appropriate holes on > the > breakout-th, and hook the cable up to a pc - or does it need any extra > stuff inbetween? (I noticed some of the schematics have extra chips, > but I > didn't look that closely) If you want to hook it up to a PC, get a Tweener board, they work great. darren |
From: Dominic J. E. <sa...@th...> - 2005-03-10 19:49:54
|
On Thu, 10 Mar 2005, Darren Gibbs wrote: > On Mar 9, 2005, at 10:43 PM, Dominic J. Eidson wrote: > > > In playing with a new -g stix and the audiostix, I seem to be unable to > > adjust volume s/-g/connex :) > Hmm... in the "Doh" department: are you sure you're plugged into the > output jack (the one furthest from the power jack)? Yep, I was - when plugging into the line/mic input, you don't get anything - when plugging into the line out, if the audiostix is sitting next to a monitor, you'll get a local radiostation and lots of RF interference. > # cat /proc/driver/ucb1400/ac97 > > Vendor name : Philips UCB1400 > Vendor id : 5053 4304 > AC97 Version : 2.0 or later > Capabilities : -loudness- > DAC resolutions : -16-bit- -20-bit- > ADC resolutions : -16-bit- -20-bit- > 3D enhancement : No 3D Stereo Enhancement > POP path : pre 3D > Sim. stereo : off > 3D enhancement : off > Loudness : off > Mono output : MIX > MIC select : MIC1 > ADC/DAC loopback : off > Ext Capabilities : -var rate PCM audio- > Front DAC rate : 48000 > Reg. 0x02 : 0x1515 > Reg. 0x0e : 0x0000 > Reg. 0x1a : 0x0000 > Reg. 0x1c : 0x0a0a > Reg. 0x26 : 0x000b > Reg. 0x2a : 0x0001 > Reg. 0x2c : 0xbb80 > Reg. 0x32 : 0xbb80 > Reg. 0x6a : 0x44d9 > Reg. 0x6c : 0x1000 # cat /proc/driver/ucb1400/ac97 | more Vendor name : Philips UCB1400 Vendor id : 5053 4304 AC97 Version : 2.0 or later Capabilities : -loudness- DAC resolutions : -16-bit- -20-bit- ADC resolutions : -16-bit- -20-bit- 3D enhancement : No 3D Stereo Enhancement POP path : pre 3D Sim. stereo : off 3D enhancement : off Loudness : off Mono output : MIX MIC select : MIC1 ADC/DAC loopback : off Ext Capabilities : -var rate PCM audio- Front DAC rate : 48000 Reg. 0x02 : 0x1515 Reg. 0x0e : 0x0000 Reg. 0x1a : 0x0000 Reg. 0x1c : 0x0a0a Reg. 0x26 : 0x000b Reg. 0x2a : 0x0001 Reg. 0x2c : 0xbb80 Reg. 0x32 : 0xbb80 Reg. 0x6a : 0x44d9 Reg. 0x6c : 0x1000 I tried to compile strace to find out where it's failing - but it failed to compile, and I was too tired last night to look deeper into the compile failure. Craig, I'll send you a patch when/if I fix that. :) > > Also - can I just wire up a serial cable to either the X4 pad on the > > audiostix (the 2-3 pads in question), or onto the appropriate holes on > > the > > breakout-th, and hook the cable up to a pc - or does it need any extra > > stuff inbetween? (I noticed some of the schematics have extra chips, > > but I > > didn't look that closely) > > If you want to hook it up to a PC, get a Tweener board, they work great. Tweener doesn't work with breakout-th, or breakout-smt. :( And, you can't do cfstix+breakout-{th,smt}+audiostix yet - with or without the tweener.... Don't ask. :) - d. -- Dominic J. Eidson "Baruk Khazad! Khazad ai-menu!" - Gimli ------------------------------------------------------------------------------- http://www.the-infinite.org/ |
From: Darren G. <ts...@ya...> - 2005-03-10 20:13:13
|
On Mar 10, 2005, at 11:49 AM, Dominic J. Eidson wrote: > Yep, I was - when plugging into the line/mic input, you don't get > anything - when plugging into the line out, if the audiostix is sitting > next to a monitor, you'll get a local radiostation and lots of RF > interference. Can you get any sound at all.. i.e. does # cat somebigfile > /dev/dsp produce satisfying noise? >> If you want to hook it up to a PC, get a Tweener board, they work >> great. > > Tweener doesn't work with breakout-th, or breakout-smt. :( > > And, you can't do cfstix+breakout-{th,smt}+audiostix yet - with or > without the tweener.... It'd be cool to have breakout friendly versions of tweener and audiostix, which could either be part of a stack via the 60pin connector, or could lie side by side and plug into the breakout board via cables/connectors. |
From: Craig H. <cr...@hu...> - 2005-03-10 20:21:41
|
On Mar 9, 2005, at 10:43 PM, Dominic J. Eidson wrote: > # aumix -q > aumix: SOUND_MIXER_READ_DEVMASK I've seen that before on some 'stix, and I don't know why. But reflashing has fixed it in the past. I think that the ucb1400 ac97 driver I wrote doesn't report properly what mixer features it supports or something. I'll fix that. > # ls -la /dev/mixer* > crw-rw-rw- 1 root root 14, 0 Feb 11 2005 /dev/mixer > > Using madplay to play back an mp3 file, gives no sound - thus me > trying to > play with the audio volume. Try reflashing. The default volume should be 66 OSS units, which equates to about "6" on a 10-peg volume knob (or 6.6 if your volume goes all the way to 11). Booting then immediately trying to madplay should work fine for headphones or external speakers set to a "normal" volume level. > Also - can I just wire up a serial cable to either the X4 pad on the > audiostix (the 2-3 pads in question), or onto the appropriate holes on > the > breakout-th, and hook the cable up to a pc - or does it need any extra > stuff inbetween? (I noticed some of the schematics have extra chips, > but I > didn't look that closely) X4 I believe provides logic-level signals, not RS232 level. So you'll have to put them through a level shifter to work as a serial port. You can copy the level-shifter part of the waysmall schematic to do that. C |
From: Dominic J. E. <sa...@th...> - 2005-03-10 20:39:23
|
On Thu, 10 Mar 2005, Craig Hughes wrote: > > # aumix -q > > aumix: SOUND_MIXER_READ_DEVMASK > > I've seen that before on some 'stix, and I don't know why. But > reflashing has fixed it in the past. I think that the ucb1400 ac97 > driver I wrote doesn't report properly what mixer features it supports > or something. I'll fix that. Which leads to the next interesting question - how do you reflash if you don't have the tweener/waysmall/something else with a RS232 level serial port? (See questio below :) > Try reflashing. The default volume should be 66 OSS units, which > equates to about "6" on a 10-peg volume knob (or 6.6 if your volume > goes all the way to 11). Booting then immediately trying to madplay > should work fine for headphones or external speakers set to a "normal" > volume level. If there's another way to reflash the gumstix (e.g. through usb) - let me know.. > > Also - can I just wire up a serial cable to either the X4 pad on the > > audiostix (the 2-3 pads in question), or onto the appropriate holes on > > the > > breakout-th, and hook the cable up to a pc - or does it need any extra > > stuff inbetween? (I noticed some of the schematics have extra chips, > > but I > > didn't look that closely) > > X4 I believe provides logic-level signals, not RS232 level. So you'll > have to put them through a level shifter to work as a serial port. You > can copy the level-shifter part of the waysmall schematic to do that. Hum, that should be easy enough. - d. -- Dominic J. Eidson "Baruk Khazad! Khazad ai-menu!" - Gimli ------------------------------------------------------------------------------- http://www.the-infinite.org/ |
From: <da...@ma...> - 2005-03-10 23:31:38
|
On Mar 10, 2005, at 12:39 PM, Dominic J. Eidson wrote: > Which leads to the next interesting question - how do you reflash if > you > don't have the tweener/waysmall/something else with a RS232 level > serial > port? (See questio below :) There are apparently ways to connect to a network with u-boot/cf-stix. Or you could just get a tweener, disconnect the breakout board, boot into u-boot to reflash, reconnect breakout without tweener. My tweener works fine with the connex/audiostix. |