Re: MIDI on FR (was: Re: Some trickery involved in getting USB Host working on FR?)

2010-03-09 Thread Denis Shulyaka
2010/3/9 Paul Fertser :
> And yes, the
> kernel module is missing because CONFIG_SND_SEQUENCER is not set. I
> assume this needs to be corrected. Can you test it's the only option
> needed please?

It appears to be enough. Thanks!
Here are the modules for the latest SHR-U kernel:
ftp://shulyaka.org.ru/pub/kernel-module-snd-seq-device_2.6.29-oe11+gitr1+a15608f241a40b41fed5bffe511355c2067c4e88-r8.4_om-gta02.ipk
ftp://shulyaka.org.ru/pub/kernel-module-snd-seq-midi-event_2.6.29-oe11+gitr1+a15608f241a40b41fed5bffe511355c2067c4e88-r8.4_om-gta02.ipk
ftp://shulyaka.org.ru/pub/kernel-module-snd-seq-midi_2.6.29-oe11+gitr1+a15608f241a40b41fed5bffe511355c2067c4e88-r8.4_om-gta02.ipk
ftp://shulyaka.org.ru/pub/kernel-module-snd-seq_2.6.29-oe11+gitr1+a15608f241a40b41fed5bffe511355c2067c4e88-r8.4_om-gta02.ipk

It would be good to see them in shr repositories.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: MIDI on FR (was: Re: Some trickery involved in getting USB Host working on FR?)

2010-03-09 Thread Denis Shulyaka
2010/3/9 Denis Shulyaka :
> That's where I failed: I can't compile the kernel myself.
> I did everything as advised in
> http://trac.shr-project.org/trac/wiki/Building%20SHR , but `make
> kernel` fails with '/usr/bin/ld: cannot find -lc'.

Well, I've figured that out. My build system didn't have glibc-static
package for -static builds. Added to the Wiki.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: MIDI on FR (was: Re: Some trickery involved in getting USB Host working on FR?)

2010-03-09 Thread Denis Shulyaka
2010/3/9 Paul Fertser :
> I'm not sure why you're writing to me personally, feel free to reply
> on-list if that's a mistake.

That's a mistake, I just pushed 'reply' button. I meant to reply to the list/

> On Tue, Mar 09, 2010 at 02:30:37PM +0300, Denis Shulyaka wrote:
>> The problem is that the device file /dev/snd/seq is missing. For
>> example, if I try to start aseqnet from alsa-utils-aseqnet package I
>> get the following:
>> ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No
such file or directory
snd_seq_open: No such file or directory
>
> I think you want to use a software midi synthesizer and you did
> nothing to actually accomplish that :)
> I guess you need to install and configure timidity.

Actually, already installed timidity :)
You can get my package here
ftp://shulyaka.org.ru/pub/timidity_2.13.2-r0.4_armv4t.ipk , though I
don't remember if it works out-of-the box without manual configuration
or installing of a soundfont.
I can use it as a stand-alone midi player, but if I try to start it as
ALSA server I get the same error:

r...@neo ~ $ timidity -iA
TiMidity starting in ALSA server mode
ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No
such file or directory
error in snd_seq_open

> And yes, the
> kernel module is missing because CONFIG_SND_SEQUENCER is not set. I
> assume this needs to be corrected. Can you test it's the only option
> needed please?

That's where I failed: I can't compile the kernel myself.
I did everything as advised in
http://trac.shr-project.org/trac/wiki/Building%20SHR , but `make
kernel` fails with '/usr/bin/ld: cannot find -lc'. I think it's a
dependency problem and I need to compile something first, but I just
can't guess what. `bitbake glibc` doesn't do the trick and also fails
with "find_exidx.c:(.text+0x901b8): undefined reference to
`fstatat64'".

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


MIDI on FR (was: Re: Some trickery involved in getting USB Host working on FR?)

2010-03-08 Thread Paul Fertser
Denis Shulyaka  writes:
> Please  tell me if you can get MIDI working. I tried it myself but
> some kernel modules seem to be missing and I couldn't manage to build
> them myself due to some dependency problems.

Please describe your problem in details.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Some trickery involved in getting USB Host working on FR?

2010-03-08 Thread Denis Shulyaka
Please  tell me if you can get MIDI working. I tried it myself but
some kernel modules seem to be missing and I couldn't manage to build
them myself due to some dependency problems.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Some trickery involved in getting USB Host working on FR?

2010-03-08 Thread Denis Shulyaka
Please  tell me if you can get MIDI working. I

2010/3/8, Jay Vaughan :
> Hi,
>
> Does anyone have any advice for me on how to get the Freerunner to
> work as a USB Host device?  I'd like to use it as the main PC
> surrounded by USB devices (USBMIDI cable, Powermate) .. is there some
> special cable I need, or is this now all easily handled at the distro
> level somehow, and if so: which distro has the easiest-to-use USB Host
> capabilities?
>
> Sorry for these dumb questions, btw .. I'm just trying to get my
> Freerunner into some useful context in my life, and if I could get it
> set up with USB Host capabilities that'd be pretty good right now ..
>
> ;
> --
> Jay Vaughan
>
>
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Some trickery involved in getting USB Host working on FR?

2010-03-08 Thread Brolin Empey
Timo Juhani Lindfors wrote:
> Paul Fertser  writes:
>> you need the "Y-cable". The best option would be to get a suitable USB
>> hub and modify it accordingly. For more references see [1] and
>
> If you don't want to modify anything you can buy
>
> http://www.dealextreme.com/details.dx/sku.13526
>
> which works without any modifications.

I have this dual-power USB hub too and recommend it.  See my photo on 
Flickr:



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Some trickery involved in getting USB Host working on FR?

2010-03-08 Thread Timo Juhani Lindfors
Paul Fertser  writes:
> you need the "Y-cable". The best option would be to get a suitable USB
> hub and modify it accordingly. For more references see [1] and

If you don't want to modify anything you can buy

http://www.dealextreme.com/details.dx/sku.13526

which works without any modifications.

http://wiki.openmoko.org/wiki/User:Lindi

also has some more tips.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Some trickery involved in getting USB Host working on FR?

2010-03-08 Thread Jay Vaughan
> To be able to charge your FR and use usb perepherals at the same time
> you need the "Y-cable". The best option would be to get a suitable USB
> hub and modify it accordingly. For more references see [1] and
> [2]. Switching to host-mode should be easy with any distro, as it's
> done on kernel level and is controlled by two sysfs nodes.



Great - thanks for the information!  I'll go get myself a USB Hub and  
fire up the soldering iron some time this week .. hope I can share  
some progress.

;
--
Jay Vaughan





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Some trickery involved in getting USB Host working on FR?

2010-03-08 Thread Paul Fertser
Jay Vaughan  writes:
> Does anyone have any advice for me on how to get the Freerunner to  
> work as a USB Host device?  I'd like to use it as the main PC  
> surrounded by USB devices (USBMIDI cable, Powermate) .. is there some  
> special cable I need, or is this now all easily handled at the distro  
> level somehow, and if so: which distro has the easiest-to-use USB Host  
> capabilities?

To be able to charge your FR and use usb perepherals at the same time
you need the "Y-cable". The best option would be to get a suitable USB
hub and modify it accordingly. For more references see [1] and
[2]. Switching to host-mode should be easy with any distro, as it's
done on kernel level and is controlled by two sysfs nodes.

[1] 
http://wiki.openmoko.org/wiki/Specialized_USB_cables#How_to_make_a_USB_cable_for_powering_attached_USB_devices_and_charging_the_Neo_while_in_host_mode_.28aka_Y-Cable.29
[2] http://people.openmoko.org/joerg/Y-Cable/

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Some trickery involved in getting USB Host working on FR?

2010-03-08 Thread Jay Vaughan
Hi,

Does anyone have any advice for me on how to get the Freerunner to  
work as a USB Host device?  I'd like to use it as the main PC  
surrounded by USB devices (USBMIDI cable, Powermate) .. is there some  
special cable I need, or is this now all easily handled at the distro  
level somehow, and if so: which distro has the easiest-to-use USB Host  
capabilities?

Sorry for these dumb questions, btw .. I'm just trying to get my  
Freerunner into some useful context in my life, and if I could get it  
set up with USB Host capabilities that'd be pretty good right now ..

;
--
Jay Vaughan





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community