GPS-CS1KThis is a featured page

GPS-CS1K - たちこま - taticoma @ wetpaint
SONY製のGPSユニット。
ツールを使うことでデジカメで撮った写真に位置情報を付加する事ができる。




Zaurusでバックアップでもとれたらいいなぁ。と思い、使えるか試してみました。


[システム情報] - [デバイス]

GPS-CS1K - たちこま - taticoma @ wetpaint


接続されているUSBデバイスに関する情報を表示

-- lsusb
-- lsusb -v
-- lsusb -v -s デバイス番号

# lsusb

Bus 001 Device 001: ID 0000:0000
Bus 001 Device 004: ID 054c:0298 Sony Corp.


# lsusb -v -s 004

Bus 001 Device 004: ID 054c:0298 Sony Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 Interface
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x054c Sony Corp.
idProduct 0x0298
bcdDevice 1.00
iManufacturer 1 Sony Corporation
iProduct 2 Sony DI Accessory
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type none
wMaxPacketSize 64
bInterval 0
Language IDs: (length=4)
0409 English(US)


-- /proc/bus/usb/001/ 最初のUSBインターフェイス
-- /proc/bus/usb/001/001 最初のUSBデバイス(ホストコントローラ)バイナリファイル
-- /proc/bus/usb/001/その他 他のUSBデバイス バイナリファイル
-- /proc/bus/usb/devices デバイスの情報 テキスト
-- /proc/bus/usb/drivers ドライバの情報 テキスト

-- /proc/scsi/scsi SCSIデバイスに関する情報 テキスト
-- /proc/scsi/sg その他のさまざまな情報 テキスト
-- /proc/scsi/usb-storage-0/ usb-storageデバイスのSCSIエミュレーション情報
-- /proc/scsi/usb-storage-0/0 最初のデバイス テキスト

最初のデバイス テキスト
# more /proc/scsi/usb-storage-0/0

Host scsi0: usb-storage
Vendor: Sony Corporation
Product: Sony DI Accessory
Serial Number: None
Protocol: Transparent SCSI
Transport: Bulk
GUID: 054c02980000000000000000
Attached: Yes


パーティション表示
# fdisk -l /dwv/sda

Disk /dev/sda: 33 MB, 33546752 bytes
2 heads, 32 sectors/track, 1023 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System


ガーン!!

パーティションが見えない。
これでは、マウントできない。

⇒ fdiskでフォーマットしなおせば使えるようになりそうな気もするが・・・
 そうすると、GPSはちゃんと機能してファイルが作られるか心配。

誰か 『試してみる人』 いない?


Windows につなげてみると


フォルダ「GPS」の下に、ファイルが作成される模様。




No user avatar
Taticoma
Latest page update: made by Taticoma , Sep 16 2006, 3:09 AM EDT (about this update About This Update Taticoma Edited by Taticoma

3 words added

view changes

- complete history)
Keyword tags: GPS
More Info: links to this page
Started By Thread Subject Replies Last Post
Anonymous Zaurus でマウントできますよ。 0 Jan 2 2008, 11:45 AM EST by Anonymous
 
Thread started: Jan 2 2008, 11:45 AM EST  Watch
とおりがかりの Hiroon ともうします。

root 権限で mount -t vfat -o ro /dev/sda /mnt などとするか、
fdisk コマンドで FAT16 パーティションを作ってから
mount -o ro /dev/sda /mnt とすれば、"GPS" フォルダの
中身を(壊すことなく)読みだせますよ。

/dev/sda1 ではなく、/dev/sda とするのがミソです。

お試しください。
少なくとも自分はこの方法でうまくやれてます。

もちろん自己責任でということになりますが ^_^;

-Hiroon
Do you find this valuable?    
Keyword tags: None (edit keyword tags)

Anonymous  (Get credit for your thread)


Showing 1 of 1 threads for this page