Author Topic: Stuffing Serial Bluetooth Module Inside C1k Casing  (Read 370932 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #285 on: May 26, 2006, 07:42:11 am »
Quote
Ahh, sorry, I didn't know that you don't have a C3xxx... Anyways, with SD/MMC driver that supports large cards and price of 4GB cards now under $100, I really don't see any point of getting any C3xxx over C1000. In fact, my modded  C1000 is almost perfect, my only wish would be 128MB of RAM.
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128442\"][{POST_SNAPBACK}][/a][/div]

I am being greedy again... I am waiting for the 20GB microdrives to be available/affordable, then use the external CF slot for either GPRS modem or GPS nav cards, and the SD slot for temporary/removable storage...
hence I would want to minimise the impact of fitting additional components into the Z and not block the use of the CF slot.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #286 on: May 30, 2006, 02:29:08 pm »
I hacked an XFCE4 plugin to control power of my internal Bluetooth and WLAN modules from XFCE panel.

http://www.iral.com/~albertr/linux/zaurus/powerctl.html

-albertr

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #287 on: May 30, 2006, 03:24:59 pm »
Updated http://www.iral.com/~albertr/linux/zaurus/wireless/ with information on I2C bus location (at least on C1000).
-albertr

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #288 on: June 01, 2006, 08:31:25 am »
Very nice, i can think of a few things to add to that bus now, i assume its a 3.3v i2c bus and not 5v

this could be handy to add another 2c io expander off
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #289 on: June 03, 2006, 07:39:48 am »
albertr have you come across gpio 18 at all' i have been looking at my 2700g video card hack and remebered that this is the only pin that i need to find
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #290 on: June 03, 2006, 09:06:36 am »
It looks like GPIO18 is available, it's just pulled high.
-albertr

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #291 on: June 04, 2006, 02:51:18 am »
Thank you, my search is now complete

actually just hours ago i convinced myself that i should build my own pda from scratch bassed around freescales i.mx3 chip as i can both get them and get them cheaply whereas i now have to source the 2700g

anyway thanks again, could you send me some more info on where i can find it
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Tom61

  • Sr. Member
  • ****
  • Posts: 252
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #292 on: June 04, 2006, 08:27:11 pm »
Are you saying you found a board with an iMX3 and a 2700G for little money? Your post has a typo that makes this hard to discern.

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #293 on: June 05, 2006, 08:19:14 am »
Sorry about that, this new info means a 2700G on any of the c*K series (1000,3000,3100,3200)

the iMX3 is a custom PDA idea as the 2700G chip is VERY hard to get. dont want to hijack this thread anymore so if you want more info then contact me direct or make another post
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #294 on: June 05, 2006, 09:35:40 am »
Quote
anyway thanks again, could you send me some more info on where i can find it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=129693\"][{POST_SNAPBACK}][/a][/div]

I'll try to take some pix next time I open it up.
-albertr
« Last Edit: June 05, 2006, 09:36:35 am by albertr »

Zuse

  • Newbie
  • *
  • Posts: 15
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #295 on: June 17, 2006, 07:10:53 pm »
Hi guys,

followed your thread for a while and decided to join with my C1000.
I got the following idea and would like to read what you are thinking.

First as far as I understood there is a unused USB-host-port inside the Z.
Secondly there is a (for normal users) unused COM-port (unlike you like to do some deep hacking).
Thirdly there is a unused I2C-Bus.

My idea (most is nearly the same as proposed already  ) would be as followed. Use or create a tiny USB-hub. Maybe buy a tiny one and "cut off" everything unneeded like LEDs, Plugs (hard soldering the USB stuff), everything related to external power etc.

Buy a tiny Wifi-, a Bluetooth-, and a Flashmemory-Stick. Cut again everything which we do not need internally.

Solder everything together and attach it to the free USB-port.

Up to here it is more or less the same as Da_Blitz and albertr discussed already.

My next step would be the use of either the I2C or the COM port with a I/O Expander to create 3 I/O pins (maybe the COM itself can provide some pseudo I/O already).
This I like to do to save the generic GPIO (you never know for what they are needed  ).

Use one of these tiny ICs to switch the power to the different USB lines. (I saw one from Maxim with a bunch of additional features like current control etc.). Create a little logic circuit

In addition it should be easy to create a "driver" for a COM-based power-controller

Now I should be able to turn on memory, WLAN or bluetooth individual. If all turned off, the logic circuit will turn off the power to the USB-hub just to save juice.

Thats more or less my silly idea of a way how it could work. Any comments

Zuse

CC. Maxim (this is no ad, I do not get money  ) shows tiny WLAN, Bluetooth, GPS etc. modules and ICs. Maybe one way to create a "professional" daughterboard to upgrade the Z.

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #296 on: June 17, 2006, 09:31:31 pm »
Go for it. Post pix when it's done.
--albertr

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #297 on: June 17, 2006, 09:44:21 pm »
Most usb hubs can control thier power ports anyway, so the io expander is only needed to turn off the hub

the patches should be in the 2.6 kernels, not sure about 2.4 as i dont really follow them

btw i read they "fixed" a power bug where they were allowing devices that draw to much power to do just that and now they fixed it there are some devices that the kernel wont allow to be powered up (i have a couple right here)
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Zuse

  • Newbie
  • *
  • Posts: 15
    • View Profile
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #298 on: June 18, 2006, 06:55:12 am »
Hi Da_Blitz,

Quote
Most usb hubs can control thier power ports anyway, so the io expander is only needed to turn off the hub

Thats right but the just control that the single devices drain not to much current. What I need is a way to "unplug" (from the Z point of view) unused devices. Since they are fixed inside my Z, I need a way to control wether I like to power them or not. The easiest would be to "cut" the USB power lines to simulate the unplug of a device.


:albertr For sure I will post pix

Greetings

Zuse

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Stuffing Serial Bluetooth Module Inside C1k Casing
« Reply #299 on: June 18, 2006, 08:32:42 am »
Tahts exactly what the usb hubs can do  they can switch off the power totaly to a port if i rimeber corectsy ethier that or they allow low current (less than a miliamp) to detect when the old device is pulled out and a new one is plugged in

i would try it at home on a 2.6.16 kernel, hunt throgh the /sys tree for the file
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware