Re: [Debian] read GPS logger i-blue 747 on freerunner over USB

2009-03-13 Thread Carsten Gerlach
Hello,

Am Donnerstag 12. März 2009 22:12:06 schrieb Rask Ingemann Lambertsen:
 On Wed, Mar 11, 2009 at 05:46:19PM +0100, Carsten Gerlach wrote:
  The kernel has the right module for this chipset, cp2101, wich I can load
  with modprobe cp2101.

It should happen automatically.

Yes, now it works.

  I know, that i have to set the Freerunner to USB host mode. I used the
  openmoko-panel to switch to USB host mode.

That hasn't worked for a few months now. To switch to USB host mode:

 # echo /sys/devices/platform/s3c2410-ohci/usb_mode host
 # echo /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-host.0/hostmode 1

To switch back to USB device mode:

 # echo /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-host.0/hostmode 0
 # echo /sys/devices/platform/s3c2410-ohci/usb_mode device

Yeah, that was the right hint. Now it works. But the Freerunner is _very_ 
slow. I should take the laptop with me ;-)

Greetings, Carsten


-- 
Hier ist mein öffentlicher GPG-Schlüssel:
http://daswaldhorn.funpic.de/gpg.html
=
www.stopptdievorratsdatenspeicherung.de



signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] read GPS logger i-blue 747 on freerunner over USB

2009-03-12 Thread Rask Ingemann Lambertsen
On Wed, Mar 11, 2009 at 05:46:19PM +0100, Carsten Gerlach wrote:

 The kernel has the right module for this chipset, cp2101, wich I can load 
 with 
 modprobe cp2101.

   It should happen automatically.

 I know, that i have to set the Freerunner to USB host mode. I used the 
 openmoko-panel to switch to USB host mode.

   That hasn't worked for a few months now. To switch to USB host mode:

# echo /sys/devices/platform/s3c2410-ohci/usb_mode host
# echo /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-host.0/hostmode 1

   To switch back to USB device mode:

# echo /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-host.0/hostmode 0
# echo /sys/devices/platform/s3c2410-ohci/usb_mode device

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


Re: [Debian] read GPS logger i-blue 747 on freerunner over USB

2009-03-11 Thread Ed Kapitein
Just for trouble shooting purposes:
What happens if you connect an USB stick?

Kind regards,
Ed

Carsten Gerlach wrote:
 Hello everybody,

 next week i want to go skiing and track the piste for Openstreetmap. But I 
 don't want to use the Freerunner for that but the i-blue 747 from Transystem. 
 I want to use the Freerunner only as storage device for the log files.

 So, I have installed mtkbabel for reading the logger.
 The kernel has the right module for this chipset, cp2101, wich I can load 
 with 
 modprobe cp2101.

 I know, that i have to set the Freerunner to USB host mode. I used the 
 openmoko-panel to switch to USB host mode.

 My problem now is, the Freerunner doesn't record, that I connect the i-blue 
 to 
 it.

 On my Ubuntu desktop PC i get the following messages:

 cars...@laptop:~$ dmesg
 [ 2665.368067] usb 2-1: new full speed USB device using uhci_hcd and address 2
 [ 2665.550347] usb 2-1: configuration #1 chosen from 1 choice
 [ 2665.677846] usbcore: registered new interface driver usbserial
 [ 2665.678744] usbserial: USB Serial support registered for generic
 [ 2665.679423] usbcore: registered new interface driver usbserial_generic
 [ 2665.679428] usbserial: USB Serial Driver core
 [ 2665.699452] usbserial: USB Serial support registered for cp2101
 [ 2665.700338] cp2101 2-1:1.0: cp2101 converter detected
 [ 2665.812054] usb 2-1: reset full speed USB device using uhci_hcd and 
 address 
 2
 [ 2665.959323] usb 2-1: cp2101 converter now attached to ttyUSB0
 [ 2665.960230] usbcore: registered new interface driver cp2101
 [ 2665.960236] cp2101: Silicon Labs CP2101/CP2102 RS232 serial adaptor driver 
 v0.07


 But on the Freerunner I don't get any new message, wenn I put the i-blue to 
 the USB slot.

 My question now is, what do I have to install or configure, to get a 
 connection between the Freerunner and the i-blue? I would be glad for any 
 hint 
 in the right direction.

 Thank you.

 Greetings, Carsten


   
 

 ___
 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