Is it possible from Android device to access a local pc?

by Michael Leung » Fri, 24 Jul 2009 05:25:19 GMT


Sponsored Links
 USB.
But whether sdk model allows the phone to access the resources in the my pc.



On Thu, Jul 23, 2009 at 11:47 PM, Sean Hodges






-- 
Regards,
Michael Leung
 http://www.itblogs.info 
 http://www.michaelleung.info 

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Error in function driver configuration

Hello guys,

I've been trying to figure out why is this. I have a function driver
based on adb driver. The code was working fine with my first dev
phone1 (2.6.29). Unfortunately, the phone was damaged (hw?) & I've got
a new dev phone1 replacement. I made some updating (repo sync) but I
can't remember if there was some updates in the kernel. But now, code
is no longer running in new phone. There were no changes in the code
actually. Any idea why is this? Are there some changes in the 2.6.29
kernel recently? Or this has to do with the new phone? I'm pasting my
dmesg. See the emphasized lines.

In case this could help:
old phone s/n: HT98XLZ00076
new phone s/n:  HT99FLZ00603

<6>[    5.029327] flash_id: 5510baad size 10000000
<5>[    5.029388] Creating 6 MTD partitions on "msm_nand":
<5>[    5.029418] 0x0000024c0000-0x000002500000 : "misc"
<5>[    5.031890] 0x0000026c0000-0x000002bc0000 : "recovery"
<5>[    5.036987] 0x000002bc0000-0x000002e40000 : "boot"
<5>[    5.040313] 0x000002e40000-0x0000071c0000 : "system"
<5>[    5.100402] 0x0000071c0000-0x00000b540000 : "cache"
<5>[    5.167877] 0x00000b540000-0x000010000000 : "userdata"
<6>[    5.244293] usb_probe() io=c68c8000, irq=47, dma=ffa0c000
(16191000)
<6>[    5.245971] ar_init: initialization
<6>[    5.246002] usb_function_register() 'ar_sensor'
<-----------------------------------------------
<6>[    5.246063] usb_function_register() 'adb'
<6>[    5.247039] usb_function_register() 'usb_mass_storage'
<6>[    5.247100] msm_hsusb: functions bound. starting.
<6>[    5.247131] usb_bind_func() 'usb_mass_storage'
<6>[    5.249664] usb_mass_storage usb_mass_storage: Number of LUNs=1
<6>[    5.249938] usb_bind_func() 'adb'
<6>[    5.250000] adb_bind() c61d8478, c61d8638
<6>[    5.251403] adb_bind() allocated 4 tx requests
<6>[    5.252960] usb_bind_func() 'ar_sensor'
<---------------------------------------------------------
<6>[    5.253021] ar_bind: c61d8494, c61d8654
<6>[    5.254211] ar_bind: allocated 4 tx requests
<6>[    5.254974] usb_start: count fi->endpoints: 3
<6>[    5.256958] hsusb: IDLE -> ONLINE
<6>[    5.257080] hsusb: reset controller
<6>[    5.257232] ekt8232_probe enter.
<3>[    5.257385] elan-touch 0-0010: without platform data??!!
<3>[    5.457916] elan-touch 0-0010: __hello_packet_handler: failed!
<6>[    5.457977] looks like it's not Elan, so..i'll quit
<4>[    5.490936] ulpi: write 0x40 to 0x31
<4>[    5.490997] ulpi: write 0x1d to 0x0d
<4>[    5.490997] ulpi: write 0x1d to 0x10
<6>[    5.491027] ept #0 out max:64 head:ffa0c000 bit:0
<6>[    5.491058] ept #1 out max:512 head:ffa0c080 bit:1
<6>[    5.491088] ept #2 out max:512 head:ffa0c100 bit:2
<6>[    5.491119] ept #3 out max:512 head:ffa0c180 bit:3
<6>[    5.491149] ept #0 in max:64 head:ffa0c040 bit:16
<6>[    5.491180] ept #1 in max:512 head:ffa0c0c0 bit:17
<6>[    5.491180] ept #2 in max:512 head:ffa0c140 bit:18
<6>[    5.491210] ept #3 in max:512 head:ffa0c1c0 bit:19
<6>[    5.491363] usb: notify offline
<6>[    5.491424] adb_configure() 0
<6>[    5.491455] ar_configure: int configured = 0
<6>[    5.491455] hsusb: ONLINE -> OFFLINE
<6>[    5.491607] adb_configure() 0
<6>[    5.491607] ar_configure: int configured = 0
<3>[    5.511535] msm_i2c msm_i2c.0: error, status 43c8
<----------------------------------------------------
<3>[    5.511657] msm_i2c msm_i2c.0: Error during data xfer (-5)
<-----------------------------------------------
<3>[    5.596862] trout_gpio_irq_handler: got masked interrupt: 0:80
<3>[    5.627044] trout_gpio_irq_handler: got masked interrupt: 0:80
<6>[    5.627868] synaptics_ts_probe: Product Major Version 1
<3>[    5.629608] trout_gpio_irq_handler: got masked interrupt: 0:80
<6>[    5.630371] synaptics_ts_probe: Product Minor Version c
<3>[    5.632507] trout_gpio_irq_handler: got masked interrupt: 0:80
<6>[    5.633270] synaptics_ts_probe: product property 2
<3>[    5.634979] trout_gpio_irq_handler: got masked interrupt: 0:80
<6>[    5.635742] synaptics_ts_probe: device control 81
<3>[    5.637390] trout_gpio_irq_handler: got masked interrupt: 0:80
<6>[    5.638153] synaptics_ts_probe: interrupt enable 3
<6>[    5.642211] synaptics_ts_probe: 0xe0: 1 1 1 2 1 c 0 0
<6>[    5.645050] synaptics_ts_probe: Sensor properties 601
<6>[    5.654479] synaptics_ts_probe: max_x 3480, max_y 5368
<6>[    5.654998] synaptics_ts_probe: inactive_x -80 -80, inactive_y
-32 -32
<6>[    5.655639] synaptics_ts_probe: snap_x 240-248 240-248, snap_y
80-88 80-88
<6>[    5.670776] input: synaptics-rmi-touchscreen as /devices/virtual/
input/input1
<6>[    5.682525] synaptics_ts_probe: Start touchscreen synaptics-rmi-
touchscreen in interrupt mode
<6>[    5.708343] GPIO Input Driver: Start gpio inputs for trout-nav
in interrupt mode
<6>[    5.724182] input: trout-nav as /devices/virtual/input/input2
<6>[    5.745849] GPIO Matrix Keypad Driver: Start keypad matrix for
trout-keypad-v3 in interrupt mode
<6>[    5.750762] GPIO Input Driver: Start gpio inputs for trout-
keypad-v3 in interrupt mode
<6>[    5.756927] GPIO Input Driver: Start gpio inputs for trout-
keypad-v3 in interrupt mode
<6>[    5.773132] input: trout-keypad-v3 as /devices/virtual/input/
input3
<6>[    5.795806] using input dev h2w headset for key reset
<6>[    5.797058] using input dev trout-nav for key reset
<6>[    5.797637] using input dev trout-keypad-v3 for key reset
<6>[    5.837768] rs30000048:0da5b528 rs30000048:0da5b528: rtc core:
registered msm_rtc as rtc0
<6>[    5.845642] AKM8976A compass driver: init
<6>[    5.854919] input: compass as /devices/virtual/input/input4
<6>[    5.860504] Registered led device: blue
<6>[    5.860961] Registered led device: green
<6>[    5.861389] Registered led device: red
<6>[    5.862030] device-mapper: uevent: version 1.0.3
<6>[    5.863281] device-mapper: ioctl: 4.14.0-ioctl (2008-04-23)
initialised: dm-de...@redhat.com
<6>[    5.863464] Bluetooth: HCI UART driver ver 2.2
<6>[    5.863494] Bluetooth: HCI H4 protocol initialized
<6>[    5.863525] Bluetooth: HCILL protocol initialized
<6>[    5.865631] mmc0: Qualcomm MSM SDCC at 0x00000000a0400000 irq
24,0 dma 8
<6>[    5.865661] mmc0: 4 bit data mode enabled
<6>[    5.865692] mmc0: MMC clock 144000 -> 50000000 Hz, PCLK 64000000
Hz
<6>[    5.865722] mmc0: Slot eject status = 1
<6>[    5.865722] mmc0: Power save feature enable = 1
<6>[    5.865753] mmc0: DM non-cached buffer at ffa0e000, dma_addr
0x1620e000
<6>[    5.865783] mmc0: DM cmd busaddr 0x1620e000, cmdptr busaddr
0x1620e300
<4>[    5.867279] trout_sdslot_switchvdd: Disabling SD slot power
<6>[    5.867614] mmc1: Qualcomm MSM SDCC at 0x00000000a0500000 irq
26,194 dma 8
<6>[    5.867645] mmc1: 4 bit data mode enabled
<6>[    5.867675] mmc1: MMC clock 144000 -> 50000000 Hz, PCLK 64000000
Hz
<6>[    5.867675] mmc1: Slot eject status = 0
<6>[    5.867706] mmc1: Power save feature enable = 1
<6>[    5.867706] mmc1: DM non-cached buffer at ffa0f000, dma_addr
0x16210000
<6>[    5.867736] mmc1: DM cmd busaddr 0x16210000, cmdptr busaddr
0x16210300

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

2. line discipline for connectivity combo chips

Hi,

It is nowadays not uncommon to have BT/FM and a possible GPS solution
on a single chip, with say UART as transport, and hence for this, we
have come up with a line discipline driver, which kinds of queues up
data from several such drivers and sends it across to the chip.

on the downside, the line discipline driver, need to understand BT/FM
and GPS packet formats and call some sort of a receive callback
function of those drivers.

problem is where do I submit these sort of drivers ? which touch upon
TTY sub-system, BlueZ for Bluetooth, V4L2 radio for FM and a simple
character device driver (with read/write/poll fops) for GPS.

regards,
-- 
--Pavan Savoy

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. adding view to a layout dynamically

4. Receiving inactivity notifications in service from android

5. Native IM Cyanogen

6. how to set wifi rate (enable 802.11G) on HTC hero G1

7. Interleaving vertex data in OpenGL ES