OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Socket Bt Cf Card (rev G) & Cacko 3k (beta1), Are they compatible?
euroclie
post Jun 10 2005, 12:32 PM
Post #1





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



Hi all,

I've just purchased (on eBay) a Socket Bluetooth CompactFlash card (rev G), and I'm trying to make it work on my SL-C3000 (with a Cacko 3000 beta 1 ROM).

First attempt didn't cause any major trouble (i.e. no crash), but although the card is recognized correctly as a "Socket Bluetooth Card v2.5" by the cardmon applet, I can't seem to make it work. I couldn't even get it to detect other bluetooth devices (like my BT phone), much less pair with one...

I've got zero experience with bluetooth in Linux (though I used it a lot with various other OSes and devices), so I don't know exactly how to get started... From the Cacko 3kb1 readme file, it seems that the Cacko 3kb1 ROM includes "Bluez Scripts from Cacko ROM & Bluez Dialup and PAN applets from Cacko ROM", whatever that means. wink.gif So instead of jumping on ELSI or Killefiz and installing the whole lot of bluez-related ipks, I investigated this forum first. I've found a very interesting thread about this particular card and the Cacko ROM (1.22 at the time the thread was written, more than one year ago), but before starting to hack myself and break everything, I thought I would ask here first:

iamasmith, did you include in 3kb1 all the fixes and hacks involved to make the Rev G version of this card work with the Cacko ROM on the 3000? Does anyone else here use this card with the Cacko 3kb1 ROM?

I tried to create a new "Bluetooth - PPP" entry, but I'm not quite sure about what I need to do to create a working entry: in the first (Account) tab, what is the "Phone" field meant to do?

Likewise, in the second tab (Modem), I tried various BT devices values (/dev/rfcomm0, /dev/ttyS3 or /dev/ttyS03, since the Rev G card appear to be handled as a serial card), but whenever I expand the "BT DUN" popup list, it's always empty, and the "Search" button on the bottom right returns immediately a "No devices with DUN profile found" dialog box, without even waiting for the 5 seconds default timeout.

I've checked that the card is correctly recognized by "cardctl ident", and "cardctl status" does report the card to be ready (i.e. not suspended) when I insert it, but this doesn't bring me much farther... (note that the card is suspended when I switch the 3000 off, and it remains suspended (until manually resumed) when I switch the 3000 on.

Does anyone have a suggestion about what I should try next? Any pointer (except the Bluez OESF howto (which states "This howto describes how to setup the BlueZ Bluetooth drivers on a Sharp 3.x ROM (or a ROM based on this), which has the 2.4.18 Linux Kernel.", which may not be applied "as is" to the 2.4.20 kernel used by the 3000...).

Thanks in advance for any help! smile.gif
Go to the top of the page
 
+Quote Post
tumnus
post Jun 11 2005, 03:34 PM
Post #2





Group: Members
Posts: 1,176
Joined: 3-October 03
From: UK
Member No.: 547



You can check if the card is working by running the command 'hciconfig'. If this doesn't output anything then it isn't working.

If you do get some output and it states the device is 'UP', then you can run the command 'sdptool browse' to search for other devices.
Go to the top of the page
 
+Quote Post
euroclie
post Jun 12 2005, 12:35 PM
Post #3





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



Thanks for answering my post, tumnus!

QUOTE(tumnus @ Jun 12 2005, 01:34 AM)
You can check if the card is working by running the command 'hciconfig'. If this doesn't output anything then it isn't working.

Well, it doesn't output anything. sad.gif

It's kind of strange, because the card seems to be at least partly working (it gets correctly identified), but I can't get Bluez to get anything out of it. <sigh>

cardctl status reports:
QUOTE
Socket 0:
  3.3V 16-bits PC Card
  function 0: [ready]


and cardctl ident gives:
QUOTE
Socket 0:
  product info: "Socket", "CF+ Personal Network Card Rev 2.5"
  manfid: 0x0104, 0x0096
  function: 2 (serial)


hcitool dev gives an empty "Devices:" line and hciconfig doesn't return anything. sad.gif

lsmod reports that the following bluetooth-related modules are loaded:
QUOTE
Module      Size    Used by
rfcomm      33680    0
l2cap      16432    2  [rfcomm]
hci_uart    12688    0  (unused)
bluez      33216    1  (autoclean) [rfcomm l2cap hci_uart]


manually entering "hciattach /dev/ttyS3 bcsp 230400" (i.e. calling hciattach with the parameters included in the /etc/bluetooth/uart file, i.e. "Socket", "CF+ Personal Network Card Rev 2.5":/dev/ttyS3 bcsp 230400) returns only "BCSP initialization timed out".

I'll try to investigate this last error message, for now it's the best I have...

Thanks anyway for your help, tumnus! smile.gif

(PS: I've started manually editing various conf files to see if I can get more results, but got no positive result yet...)
Go to the top of the page
 
+Quote Post
euroclie
post Jun 12 2005, 01:59 PM
Post #4





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



FWIW, I tried to insert a USB Bluetooth dongle (Billionton) into the USB host port of the SL-C3000, and it worked like a charm (well, at least it got automagically recognized by bluez, and I was able to detect my BT phone. I didn't go any further, as I'm first trying to reach the same point with the CF card...). So at least I know that the Cacko3k Bluez install should work OK in the end.

Now one question is: does the kernel I'm running have any influence on this Socket CF stuff? I've installed the latest tetsu's modified kernel (v0.18a, I think), instead of the original kernel from the Cacko 3kb1 image. Any chance this can be the cause of my problems?

I don't think that this is the case, though. I just tried the Socket card on my laptop (running a Fedora Core 3 Linux distro), and I get the same result: bluez doesn't "see" the card, even though the system (cardctl) does, and if I manually type "hciattach /dev/ttyS3 bcsp 230400", I get the same time-out reply.

So either the card is damaged/dead (most likely), or there are some sub-versions with different behaviors amongst the Socket Rev G cards. Tough luck... sad.gif

I'll have to find someone with a PocketPC (or maybe another Zaurus model/ROM) to be able to find out, I'm afraid.
Go to the top of the page
 
+Quote Post
mk500
post Jun 21 2005, 04:27 PM
Post #5





Group: Members
Posts: 50
Joined: 9-September 03
From: San Francisco
Member No.: 421



Did you ever get your Socket BT working? I'm trying to get the same card working on a 760 with cacko, and am at the same place you are.
Go to the top of the page
 
+Quote Post
euroclie
post Jun 21 2005, 10:49 PM
Post #6





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



No, I've given the card to a friend who has a PocketPC so that he may test it on an officially supported platform, so that I can find out if the card works OK or not. I'd hate to spend countless hours hacking to find out that the card was broken to begin with... wink.gif

As soon as I have news from him, I'll get the card back and will test it with guylhem's help. And I'll post updates to this thread, of course!
Go to the top of the page
 
+Quote Post
zmiq2
post Jun 22 2005, 02:23 AM
Post #7





Group: Members
Posts: 383
Joined: 3-December 03
Member No.: 1,038



Hi,

this cards works for me out-of-the-box with cacko, on my c750. It also fits nicely inside the cf socket, which makes it very useful.

mk500, at what point do you find yourself?
Go to the top of the page
 
+Quote Post
mk500
post Jun 24 2005, 06:13 PM
Post #8





Group: Members
Posts: 50
Joined: 9-September 03
From: San Francisco
Member No.: 421



QUOTE(zmiq2 @ Jun 22 2005, 02:23 AM)
mk500, at what point do you find yourself?
*


I'm basically THOUGHT I was at the same point as Euroclie. I had run "hciconfig" and gotten nothing, and all the other stuff he tried was working the same for me (same output from cardctl status/ident). Today, in writing this posting, I tried it again, and I got data out from "hciconfig"! So I tried going into Network --> Bluetooth PPP and setting up a connection. And it connected!

So now I'm happily browsing with Sprint Vision via my Sony-Erickson T608 phone. I've had some minor problems (the little network connection icon sometimes disappears from the bottom, and I have to go into Network app to connect), but overall it's working GREAT!

One note: My new socket card says the following at the top of the rear:

8510-00159H

So maybe this is a rev H? Anyway, thanks for suggesting that it should work. It turns out I just needed to try a second time. I really love using this card, as I just leave my phone in my jacket, and the card doesn't even stick out of the Zaurus at all :-) Great stealth Internet connection.
Go to the top of the page
 
+Quote Post
zmiq2
post Jun 27 2005, 02:12 AM
Post #9





Group: Members
Posts: 383
Joined: 3-December 03
Member No.: 1,038



hi mk500,

glad you have it working; I'm also a great fun of this card, even it is a little more complex to have it working than others.
Go to the top of the page
 
+Quote Post
clofland
post Jul 5 2005, 12:26 PM
Post #10





Group: Members
Posts: 245
Joined: 30-October 03
Member No.: 813



QUOTE(mk500 @ Jun 24 2005, 08:13 PM)
QUOTE(zmiq2 @ Jun 22 2005, 02:23 AM)
mk500, at what point do you find yourself?
*


So now I'm happily browsing with Sprint Vision via my Sony-Erickson T608 phone. I've had some minor problems (the little network connection icon sometimes disappears from the bottom, and I have to go into Network app to connect), but overall it's working GREAT!

*



I have a Socket Rev H BT card also. Also works great.

I ALSO loose the network connection icon from the bottom constantly. I have to run the network utility to get it.

Is this just "the way it is," or is there some fix for this?

Thanks.
Go to the top of the page
 
+Quote Post
euroclie
post Nov 10 2005, 11:56 PM
Post #11





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



Hi all,

I've reinstalled the original Sharp ROM (instead of the Cacko beta), and the Bluez packages (bluez_zaurus_2.13_2.4.18_alpha3_arm.ipk, bluez-csr-serial_0.1_arm.ipk, qtopia-bluetoothnetworkapplet_1.0.1_arm.ipk, susp_resume_bluez_0.9.3_arm.ipk and sudo_0.1_arm.ipk), and after a few attempts, I was able to connect to the net through my Bluetooth-enabled mobile phone! smile.gif

I'll post a more detailed description of my setup as soon as I have more time to iron out the remaining glitches (right now the suspend/resume issue seems not to be working quite right despite the susp_resume_bluez package I installed). But at least I know that my Socket Rev G card works fine! wink.gif
Go to the top of the page
 
+Quote Post
blinkblob
post Nov 11 2005, 08:53 AM
Post #12





Group: Members
Posts: 25
Joined: 3-September 05
Member No.: 8,023



I have an sl5500 and c3100 and the process is the same to get my socket card to work, I have all the proper bluez files and sudo file etc...:

I first have to shut down bluetooth:

/etc/rc.d/init.d/bluetooth stop

Then I eject the card using:

cardctl eject

Then I re-initiate the card with:

cardctl insert

Then I restart bluetooth:


/etc/rc.d/init.d/bluetooth restart

Then I bring up the network program from the settings menu.

Click on the "globe" in the taskbar, tap connect and it works 100% of the time using the 3100 with standard sharp rom and the 5500 with the cacko rom.

I wish there were an easier way to connect, but it's relatively quick to go through the process above everytime. I'm just happy that it works.
Go to the top of the page
 
+Quote Post
euroclie
post Nov 11 2005, 09:31 AM
Post #13





Group: Members
Posts: 205
Joined: 5-January 05
From: Paris, France
Member No.: 6,125



QUOTE(blinkblob @ Nov 11 2005, 06:53 PM)
Then I restart bluetooth:

/etc/rc.d/init.d/bluetooth restart

I have pretty much the same "manual" method for now, except that I stop bluetooth, wake-up the card (with a simple "cardctl resume 0"), then restart bluetooth using "/etc/rc.d/init.d/bluetooth start" (since "restart" first stops then starts the bluetooth stuff, and I have manually stopped it a few seconds before...)

As you write, I'm just happy that it works reliably, even if that suspend/resume stuff is a bit cumbersome to handle. On the other hand, I don't connect that much, and doing it manually is something I can live with until that issue is resolved! wink.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2019 - 06:05 PM