usb host mode on GTA02 - can't see any external devices

2011-05-31 Thread Uri Savoray
whatever I do I only get the following from lsusb:
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle 
(HCI mode)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


I use a powered hub to connect to usb peripherals...
I used echo host  /sys/devices/platform/s3c2410-ohci/usb_mode ...

Just to be sure, here is the output from usb-device :
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=02.06
S:  Manufacturer=Linux 2.6.34-qtmoko ohci_hcd
S:  Product=S3C24XX OHCI
S:  SerialNumber=s3c24xx
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0a12 ProdID=0001 Rev=19.58
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb



any help would be appreciated...
Uri
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Buiding qtmoko kernel - mssing files ...

2011-05-23 Thread Uri Savoray
Thanks - it is compiling away for the past hour and a half :-)
I want to add usbfs (or usbdevfs?) to the kernel - any clue you can add?
Thanks,
Uri 

-Original Message-
From: community-boun...@lists.openmoko.org 
[mailto:community-boun...@lists.openmoko.org] On Behalf Of Radek Polak
Sent: Monday, May 23, 2011 9:45 AM
To: List for Openmoko community discussion
Subject: Re: Buiding qtmoko kernel - mssing files ...

On Sunday 22 May 2011 20:23:18 Uri Savoray wrote:

 Following the instructions on the source README file, after issuing 
the  make, I get: make: running qbuild default  Project 
(/src/libraries/qfso) WARNING: Missing header:
...
 make: *** [all] Aborted

Hmm i didnt know that the new FSO library is getting build, but it's now fixed 
anyway.

Alternatively you can also build from translations branch, but it should not 
be needed now.

Regards

Radek

___
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: Buiding qtmoko kernel - mssing files ...

2011-05-23 Thread Uri Savoray
See here: http://www.tombom.co.uk/blog/?p=144
I want to connect the gta02 to a USRP.  

-Original Message-
From: community-boun...@lists.openmoko.org 
[mailto:community-boun...@lists.openmoko.org] On Behalf Of Radek Polak
Sent: Monday, May 23, 2011 11:51 AM
To: List for Openmoko community discussion
Subject: Re: Buiding qtmoko kernel - mssing files ...

On Monday 23 May 2011 10:30:57 Uri Savoray wrote:

 Thanks - it is compiling away for the past hour and a half :-) I want 
 to add usbfs (or usbdevfs?) to the kernel - any clue you can add?

I am not sure what you mean by usbdevfs. If you mean usb mass storage, then 
it's already working (there is icon for usb-mass-storage-on.sh or something 
like that in devtools menu).

Regards

Radek

___
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: Buiding qtmoko kernel - mssing files ...

2011-05-23 Thread Uri Savoray
Thanks! 

-Original Message-
From: community-boun...@lists.openmoko.org 
[mailto:community-boun...@lists.openmoko.org] On Behalf Of Radek Polak
Sent: Monday, May 23, 2011 1:44 PM
To: List for Openmoko community discussion
Subject: Re: Buiding qtmoko kernel - mssing files ...

On Monday 23 May 2011 10:51:19 Uri Savoray wrote:

 See here: http://www.tombom.co.uk/blog/?p=144
 I want to connect the gta02 to a USRP.
 

Then you need to rebuild linux kernel with CONFIG_USB_DEVICESFS option enabled.

Please note that this option is now deprecated.

For building qtmoko kernel you can use

https://github.com/radekp/linux-2.6/tree/qtmoko-v35-base

build instructions can be found here:

https://github.com/radekp/qtmoko/blob/master/doc/txt/debian_rootfs_howto.txt

(search for CROSS_COMPILE)

and you will need toolchain - how to get it is described here:

https://github.com/radekp/qtmoko/blob/master/README

Regards

Radek

___
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


Buiding qtmoko kernel - mssing files ...

2011-05-22 Thread Uri Savoray
Following the instructions on the source README file, after issuing the make, 
I get:
make: running qbuild default
Project (/src/libraries/qfso) WARNING: Missing header: org.freesmartphone.Device
.LED.h
Project (/src/libraries/qfso) WARNING: Missing header: org.freesmartphone.GSM.De
vice.h
Project (/src/libraries/qfso) WARNING: Missing header: org.freesmartphone.GSM.Ca
ll.h
Project (/src/libraries/qfso) WARNING: Missing header: org.freesmartphone.GSM.Ne
twork.h
Project (/src/libraries/qfso) WARNING: Missing header: org.freesmartphone.GSM.Ca
llDetail.h
Project (/src/libraries/qfso) WARNING: Missing header: org.freesmartphone.GSM.Ca
llDetailList.h
Project (/src/libraries/qfso) WARNING: Missing header: org.freesmartphone.GSM.Ne
tworkProviderList.h
Project (/src/libraries/qfso) WARNING: Missing header: org.freesmartphone.GSM.Ne
tworkProvider.h
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.Device.LED.cpp
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.Device.cpp
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.Call.cpp
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.Network.cpp
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.CallDetail.cpp
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.CallDetailList.cpp
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.NetworkProviderList.cpp
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.NetworkProvider.cpp
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.Device.LED.h
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.Device.h
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.Call.h
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.Network.h
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.CallDetail.h
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.CallDetailList.h
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.NetworkProviderList.h
Project (/src/libraries/qfso) WARNING: Missing moc input file org.freesmartphone
.GSM.NetworkProvider.h
Project (/src/libraries/qfso) WARNING: Unable to find file org.freesmartphone.De
vice.LED.cpp
Project (/src/libraries/qfso) WARNING: Unable to find file org.freesmartphone.GS
M.Device.cpp
Project (/src/libraries/qfso) WARNING: Unable to find file org.freesmartphone.GS
M.Call.cpp
Project (/src/libraries/qfso) WARNING: Unable to find file org.freesmartphone.GS
M.Network.cpp
Project (/src/libraries/qfso) WARNING: Unable to find file org.freesmartphone.GS
M.CallDetail.cpp
Project (/src/libraries/qfso) WARNING: Unable to find file org.freesmartphone.GS
M.CallDetailList.cpp
Project (/src/libraries/qfso) WARNING: Unable to find file org.freesmartphone.GS
M.NetworkProviderList.cpp
Project (/src/libraries/qfso) WARNING: Unable to find file org.freesmartphone.GS
M.NetworkProvider.cpp
Project (/src/libraries/qfso) ERROR: Terminated due to warnings
make: *** [all] Aborted
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community