Re: Neo as usb host and providing power to attached device - omhacks
Eric Smith writes: > I will ask openhackable1 guys on freenode. Which channel are they on? I'd like to hear :-) > How would I stop the timeout on my device that breaks the usb > connection with the pc. Its extremely frustrating having to tap > the screen every few minutes to keep it alive - whoops there it > goes again ... You need to figure out what causes it. Perhaps it's network manager misconfiguration on your PC? Perhaps you have more than one default route? Perhaps your USB cable is just broken? I've seen all of these. -Timo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Neo as usb host and providing power to attached device - omhacks
Thanks Timo I will ask openhackable1 guys on freenode. How would I stop the timeout on my device that breaks the usb connection with the pc. Its extremely frustrating having to tap the screen every few minutes to keep it alive - whoops there it goes again ... - Eric Smith Timo Juhani Lindfors said: > Eric Smith writes: > > lenny with openhackable1. > > > > Just installed some binaries from anothger dist and have errors. > > Considering now squeeze binaries. > > > > What is the best thing to do in order to install omhacks? Upgrade to > > squeeze? > > You should be able to backport it to lenny if you really want to since > it's just a C program. Can you ask the openhackable1 folks or do you > have experience on debian packaging yourself? > > > ___ > 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: Neo as usb host and providing power to attached device - omhacks
Eric Smith writes: > lenny with openhackable1. > > Just installed some binaries from anothger dist and have errors. > Considering now squeeze binaries. > > What is the best thing to do in order to install omhacks? Upgrade to > squeeze? You should be able to backport it to lenny if you really want to since it's just a C program. Can you ask the openhackable1 folks or do you have experience on debian packaging yourself? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Neo as usb host and providing power to attached device - omhacks
I should have said, Timo. lenny with openhackable1. Just installed some binaries from anothger dist and have errors. Considering now squeeze binaries. What is the best thing to do in order to install omhacks? Upgrade to squeeze? -- - Eric Smith Timo Juhani Lindfors said: > Eric Smith writes: > > I cannot find omhacks package in main andcannot (for some reason) add > > universe repository for armel. > > What distribution are you using? > > omhacks is in debian main (squeeze, wheezy and sid). > > -Timo > > ___ > 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: Neo as usb host and providing power to attached device - omhacks
Eric Smith writes: > I cannot find omhacks package in main andcannot (for some reason) add > universe repository for armel. What distribution are you using? omhacks is in debian main (squeeze, wheezy and sid). -Timo ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: Neo as usb host and providing power to attached device - omhacks
I cannot find omhacks package in main andcannot (for some reason) add universe repository for armel. Could someone point to alocation where I could download the omhacks package manually? (Usb networking sometimes provides internet access of the neo, sometimes not. Why is it so unpredictable.) -- - Eric Smith Timo Juhani Lindfors said: > Eric Smith writes: > > /sys/devices/platform/s3c-ohci/usb_host:usb_host1 > > /sys/devices/platform/s3c-ohci/usb_mode > > /sys/devices/platform/s3c2440-sdi/mmc_host:mmc1 > > > > Thanks for advice on how to set the neo to provide power over usb. > > The /sys paths change with kernel versions. I personally don't think it > is a good idea for users to try to directly access them. If you install > the "omhacks" package you can control usb power without having to > remember direct /sys paths. > > > ___ > 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: Neo as usb host and providing power to attached device
Supercool, I will check this out. -- - Eric Smith Timo Juhani Lindfors said: > Eric Smith writes: > > /sys/devices/platform/s3c-ohci/usb_host:usb_host1 > > /sys/devices/platform/s3c-ohci/usb_mode > > /sys/devices/platform/s3c2440-sdi/mmc_host:mmc1 > > > > Thanks for advice on how to set the neo to provide power over usb. > > The /sys paths change with kernel versions. I personally don't think it > is a good idea for users to try to directly access them. If you install > the "omhacks" package you can control usb power without having to > remember direct /sys paths. > > > ___ > 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: Neo as usb host and providing power to attached device
Eric Smith writes: > /sys/devices/platform/s3c-ohci/usb_host:usb_host1 > /sys/devices/platform/s3c-ohci/usb_mode > /sys/devices/platform/s3c2440-sdi/mmc_host:mmc1 > > Thanks for advice on how to set the neo to provide power over usb. The /sys paths change with kernel versions. I personally don't think it is a good idea for users to try to directly access them. If you install the "omhacks" package you can control usb power without having to remember direct /sys paths. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Neo as usb host and providing power to attached device
Hi Using: Linux hackable1 2.6.29-rc3-hackable1 #2 PREEMPT Tue Sep 15 13:07:51 CEST 2009 armv4tl GNU/Linux I am following instructions at http://wiki.openmoko.org/wiki/Neo1973_USB_host So far this command seems to work: root@hackable1:~# echo host > /sys/devices/platform/s3c-ohci/usb_mode In order to provide power to the attached device wiki article advises the following command: echo 1 > /sys/devices/platform/neo1973-pm-host.0/hostmode But I cannot see any file called hostmode in /sys/devices/platform and FWIW; root@hackable1:~# find /sys/devices/platform/|egrep 'mode|host' /sys/devices/platform/s3c-ohci/usb_host:usb_host1 /sys/devices/platform/s3c-ohci/usb_mode /sys/devices/platform/s3c2440-sdi/mmc_host:mmc1 Thanks for advice on how to set the neo to provide power over usb. -- - Eric Smith ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community