![]() |
2012-03-15
, 09:05
|
Posts: 2,154 |
Thanked: 8,464 times |
Joined on May 2010
|
#1002
|
![]() |
2012-03-15
, 15:57
|
Posts: 72 |
Thanked: 184 times |
Joined on Apr 2011
@ Germany
|
#1003
|
For audio output from N900 is NOT host mode needed. Instead g_nokia or g_file_storage, you can load g_audio module. It is USB audio gadget, which do what you want (it acts as usb sound card). You also need to configure pulseaudio for that support and compile kernel with g_audio module...
![]() |
2012-03-15
, 20:56
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#1004
|
![]() |
2012-03-15
, 21:51
|
Posts: 72 |
Thanked: 184 times |
Joined on Apr 2011
@ Germany
|
#1005
|
The Following 4 Users Say Thank You to Oblomow For This Useful Post: | ||
![]() |
2012-03-16
, 02:17
|
Posts: 72 |
Thanked: 184 times |
Joined on Apr 2011
@ Germany
|
#1006
|
sudo modprobe snd-usb-audio
cat /proc/asound/cards cat /proc/asound/devices
mplayer FILE.mp3 -ao alsa:device=hw=1.0
arecord --device=hw:default,DEV=0 -f cd -t wav FILE.wav
The Following 5 Users Say Thank You to Oblomow For This Useful Post: | ||
![]() |
2012-03-16
, 21:29
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#1007
|
Next step would be to reroute the standard output to the USB if someone's interested - should be possible with pulse-audio somehow
The Following User Says Thank You to fpp For This Useful Post: | ||
![]() |
2012-03-18
, 15:51
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#1008
|
Ok, got replay running. Little howto (for kp49):
Packages installed: alsa-utils,mplayer (all on maemo, not Easy Debian).
![]() |
2012-03-18
, 16:55
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#1009
|
![]() |
2012-03-18
, 17:58
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#1010
|
* redirection of the standard sound output to USB so that any music player can be used
pacmd set-default-sink X
/Estel
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!