OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: rob_figlabs on August 29, 2006, 07:58:22 am

Title: Bluez Segfault - Cacko 1.23
Post by: rob_figlabs on August 29, 2006, 07:58:22 am
Anyone else seen something like this?

Code: [Select]
$ sdptool search DUN
Inquiring ...
Searching for DUN on XX:XX:XX:XX:XX:XX ...
Service Name: Dial-up networking
Service RecHandle: 0x10002
Service Class ID List:
 Â "Dialup Networking" (0x00001103)
Protocol Descriptor List:
 Â "L2CAP" (0x00000100)
 Â "RFCOMM" (0x00000003)
 Â   Channel: 4
Segmentation fault
$

This works on just about every other machine / rom combination. This is an SL-C3200 using a Socket Rev K BT card talking to a Samsung phone. Using OZ all the kit works fine.

Any ideas? I'm stumped!
Title: Bluez Segfault - Cacko 1.23
Post by: bluedevils on August 29, 2006, 10:52:57 am
I have a 3100/cacko/socket rev k/samsung a920

The only thing I can suggest is maybe rebooting both zaurus and phone.  I had weird errors until I bounced them all and then everything just fell into place.
Title: Bluez Segfault - Cacko 1.23
Post by: rob_figlabs on August 29, 2006, 11:11:10 am
Quote
The only thing I can suggest is maybe rebooting both zaurus and phone.
Yup, tried that one - no joy. The same device had Cacko, didn't work, got rebooted many times. Went to OZ - worked ok. Went back to Cacko - still not working.

I have a C1000 with the same setup, different phone and it's all working lovely. I can't see any different between the two setups.
Title: Bluez Segfault - Cacko 1.23
Post by: bluedevils on August 29, 2006, 12:26:47 pm
does it just fail with the dun search or a all sdptool in general?
Title: Bluez Segfault - Cacko 1.23
Post by: rob_figlabs on August 29, 2006, 01:09:43 pm
Quote
does it just fail with the dun search or a all sdptool in general?

Just DUN, (thanks, you led me to the answer!!)...

http://sourceforge.net/mailarchive/message...msg_id=11057683 (http://sourceforge.net/mailarchive/message.php?msg_id=11057683)

Bingo!

The phone is returning something non standard _only_ when you look for the dial up networking profile. There is a patch (http://sourceforge.net/mailarchive/forum.p...5&forum_id=1881 (http://sourceforge.net/mailarchive/forum.php?thread_id=8356805&forum_id=1881))  to fix this particular problem in bluez - I wonder if Anton or Tumnus would consider building it in?