Author Topic: Sl6000w Hardware Woes  (Read 4181 times)

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Sl6000w Hardware Woes
« on: October 11, 2005, 07:32:31 am »
Hello

After some investigation on why I couldn't get more than 230400 on my 6000W, I deciced to go back to the source- documentation and kernel. Check PXA255 manual section serial (http://www.intel.com/design/pca/applicationsprocessors/manuals/27869302.pdf) first -  it gives information about the various serial port (UART) available, and their respective speeds.

Then consider irattach and friends use /dev/ttyS1, while the command line used to start bluetooth is hciattach /dev/ttyS2 csr 230400

Now look at the boot messages on http://www.vanille.de/personality/dmesg.txt
ttyS0 at MMIO 0x40100000 (irq = 15) is a FFUART
ttyS1 at MMIO 0x40200000 (irq = 14) is a BTUART
ttyS2 at MMIO 0x40700000 (irq = 13) is a STUART

Looks like Sharp did a slight mistake :
BTUART is the fast UART (921kbps) specially made for hardware bluetooth serial dongles. They did put IRDA in here, whle it can only go at 115200
STUART is a standard uart which like FFUART can't go over 230kbps. They put the bluetooth dongle over there

THEY MIXED THEM UP!!! [well, even rocket scientist sometimes do that :-]

It's because of this stupid mistake that bluetooth is limited in speed on the 6000W :-(
Unless I find a way to hack the hardware (to plug the ir stuff on the STUART, and the bt stuff on the BTUART where it belongs), no solution :-/

Why all that? Because I'm currently playing with wireless headset (a cheap hp one which now does work like a charm on my pc). I fear 230400 may not be enough for wireless audio streaming :-///

Life sucks.

Guylhem

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
Sl6000w Hardware Woes
« Reply #1 on: January 19, 2006, 04:02:09 pm »
Just catching up here, how do you get 230400 on the 6000W?  Right now I'm using "csr 115200" which works fine, but more speed would be nice.  Also, I read elsewhere it's more efficient to use the bcsp protocol, can the 6000W do this?  Does this all require messing with the pskey tool?

As much speed as possible will be nice if I upgrade to an EVDO capable phone, although I suppose I could use the WiFi interface instead, at the cost of battery life.
« Last Edit: January 19, 2006, 04:03:44 pm by DrWowe »

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Sl6000w Hardware Woes
« Reply #2 on: January 20, 2006, 06:37:50 pm »
hello

IIRC it was bcsp by default. Actually I've learnt since this message that it should be possible to reconfigure the port by software. It's a work in progress, but hopefully binding bluettooth to HWUART  (2.6 can do this) should allow speed ~ 921 kbauds.

Problem is I have no time to try to resume my investigations for now :-/