Showing posts with label bluetooth. Show all posts
Showing posts with label bluetooth. Show all posts

Wednesday, 5 March 2008

Gadgets and gifts

The great sport that is Vincent sent me a copy of Hacking vim for my troubles. Hopefully, I'll be able to get more code written, as requested.


In the free stuff department, last week, a kind soul at Ericsson sent me 2 Sony Ericsson mobile phones, one being the pretty new Sony Ericsson k850i. The other (less interesting) phone is already on its way to one of the gnokii developers without such a device.

I've started playing around with it. It has a good bunch of interesting modes when plugged in via USB, or over Bluetooth, which beg to be (better) supported including:

  • MTP device (Rhythmbox and gvfs)
  • Mass Storage media player (Rhythmbox)
  • ObexFTP over USB and Bluetooth (gvfs, obex-data-server)
  • Serial port (NetworkManager, gnome-phone-manager, gnokii)
Funnily enough, poking people at Nokia didn't get me a test phone in the ~2 years I tried. My wishlist is online :)

Thursday, 28 February 2008

gvfsd-obexftp

I committed my work on the ObexFTP backend for gvfs yesterday, and fixed a good number of bugs in it today (one deadlock, missing icons, etc.). And it's looking quite neat.

After selecting the device in the Bluetooth applet's "Browse Device..." menu, the device shows up on the desktop with a nice name and a window pops up.

Nice icon!

Photos I need to upload somewhere!

The nice thing is that it'll automatically unmount when the phone is out of range, or the Bluetooth adapter is removed/disabled (such as when suspending).

Saturday, 23 February 2008

gnome-bluetooth nearly dead

After the fun time debugging, I started implementing ObexPush in gnome-user-share, pretty much as planned. Code's in SVN. Next up are notifications, and asking whether to accept transfers for each session.

My little transfer just got started

I also committed the new goom visuals to gst-plugins-good. Better visuals, MMX, SSE2 and Altivec optimisations (I think). Get it from CVS while it's hot!

Hot chips, yummy

Tuesday, 22 January 2008

2 down, 3 to go

gnome-obex-send is dead, long live bluetooth-sendto.

Tadas' Google Summer Of Code, mentored by Marcel Holtmann, got us a D-Bus service that does ObexPush and ObexFTP server and client. Last week, I cleaned up Tadas' patch, and sent a big patch to allow bluetooth-sendto feature-parity with the old gnome-obex-send.

nautilus-sendto already got tweaked to use the new program when sending over Bluetooth, and all that code lies in bluez-gnome in rawhide.

This morning, I added ObexFTP support to gnome-user-share. It seems like the right place to allow people to share pictures or music. Already in the newly released gnome-user-share 0.20 and in rawhide.




Next jobs on the line are getting rid of gnome-obex-server, finishing the widgets in bluez-gnome, and porting gnome-vfs-obexftp to gio (although that will probably mean a rewrite using obex-data-server again).

Wednesday, 9 January 2008

Some work updates

Got back to work on Monday, and got a few things done.

I uploaded the videos Thos made available back in December. They're all easily findable.

In December as well, we (Red Hat) provided Matt Davey with a Bluetooth-enabled Palm. And he committed the patches to gnome-pilot SVN trunk a few days later, getting Bluetooth sync support to the Palm (with a UI, I wrote the pilot-sync code ;). Yay!

Instructions for Fedora here.

Friday, 7 December 2007

Remix your brain

Yesterday, I was trying to help out someone who was having problems using his Bluetooth mouse with Fedora 8. Turns out he's got a Toshiba laptop, and the Bluetooth adapter wasn't showing in Linux. You need some sucky code to get it working.

Hobbling to the ToshBT website, I noticed a PS3 theme extractor. Grand!

In between cleaning up my backlog of bugs and TODOs, I implemented setting your ~/.face as the icon for Rhythmbox' UPNP shares.


PS: Best pangram ever: Sex-charged fop blew my junk TV quiz

Saturday, 17 November 2007

gnome-bluetooth kill kill

Last week, I did more work on the Bluetooth device selector, to avoid some of the problems we saw with the one in gnome-bluetooth (mainly the "I work with loads of nerds and there's 500 Bluetooth devices in the vicinity" use case). The patch is available on the bluez-devel mailing-list.

It looks pretty good, but would require some work before it's something bluez-gnome can export as public API.


Anyone fancying some cut'n'paste fest for gnome-phone-manager?

Saturday, 3 November 2007

Interviews

After the Bluetooth interview a couple of weeks ago, another one popped up about codeina/Codec Buddy, starring my good friend Thomas.

In other news, I want to stab Nokia and Sony Ericsson (I stabbed Motorola a long time ago) for their inexistant proprietary protocols specs, and their sub-par AT protocol implementations. Look at the recent commits in gnome-phone-manager for proofs.

Update: I forgot to mention the interviews were the work of Jon Roberts. The interviews make a very good read if you're interested in what's new in Fedora 8.

Monday, 30 July 2007

New releases

bluez-gnome 0.10 was released, and now includes my patches for the "Browse device" functionality. I also released a new shared-mime-info and Totem devel version today. Everything's nicely sitting in rawhide now (or it will be if my last build worked).

Now, I'll go back to doing nothing, as I'm supposed to be on holidays.

By the way, the Simpsons movie was really nice, go and see it. That was my Wednesday morning AFK :)

Wednesday, 25 July 2007

All merged

I bought an M3 Simply for my Nintendo DS, to avoid carrying around the tiny little cartridges, especially when I travel (as per last week's GUADEC where I didn't bring mine). After downloading the ROMs for my games from some shady websites (uhuh), the filenames were less than helpful, but I realised all the sites had nice little icons. Sure enough, they can be thumbnailed. Shame I can't move my Final Fantasy III or Mario Bros saves to the micro SD card...



The Browse Device functionality is now all merged in bluez-gnome, thanks Marcel! Now to clean up the widgets, and finish off the wizard.

g-p-m/g-p-m integration

Richard sent me that little screenshot, showing off the gnome-phone-manager/gnome-power-manager integration, now in SVN of everything.


Yay! Integration! D-Bus! Buzzwords!

Hope I'm not stealing your thunder, but for once, you showed up on IRC after I did :)

Wednesday, 18 July 2007

My 3 GUADEC tasks

I had 3 main tasks when I came to GUADEC.

1. The USB keys
Mandriva provided us with 500 USB keys with a live distro, the usually-printed booklet, and loads of data provided by the sponsors (I quite liked that AMD chose to have compilers on there). If you didn't attend GUADEC, the booklet and data are available in the SVN repo. Shame they only arrived on Tuesday.

2. The football game
Apart from loads of bruises (and a huge nosebleed for me, thanks Glynn for ducking) and a map reading snafu to get there, it was great. For posterity, if you were there, please add the scores from your team and amend the teams if you got moved to another team. (My team finished second again, just one goal in it...). I should add that 3 hours of football is a bit too much.

3. Bluetooth and GNOME talk
Here's my slide, and the intro sound.

Slide 1

It was great not having any slides, but the video should be available very soon. As promised, here's a link to the use cases we have for Fedora.

More GUADEC-y stuff soon.

Tuesday, 10 July 2007

Bemused support in Totem

Should have been a one-day quick hack, ended up taking 2 or 3 if I include the research into the (poor) alternatives.

Behold! Totem now includes a plugin allowing it to run as a Bemused server. This means you can connect your phone/PDA/Palm to Totem, and use it to control playback.

First you'll need Totem SVN trunk, and compile with the Bluetooth library headers installed. More importantly, you'll need a client:

Install the application (left as an exercise to the reader), connect to Totem, and voila! Ready to control.

Now, a comment on the protocol and the code of the different implementations:
  • The protocol disagrees with the native Linux implementation (INFOACK, or INF2ACK for INF2 requests? Null-terminated strings, where?)
  • Doesn't handle Unicode properly, all over the place, the protocol uses NULL characters strings as end of strings, which breaks UTF-8
  • More protocol problems, what happens with empty playlists is a mystery
  • bemused.java has problems handling empty playlists, and truncates movie titles when not.
  • JAMSE isn't open source, and seems hell-bent on using skins, and different clients for different mobile phones ("skin" size)
  • The Totem code is horrible, doesn't handle directory listings (the protocol for directory listings is utter shite, and unworkable), leaks all over the place, and is a security risk (seriously).
That said, the competition isn't that great either, as it doesn't even run (although I just notice that my e-mail was actually answered, but didn't get to my inbox). I guess I'll be looking into Remuco soon.

Monday, 9 July 2007

Tidbits

Some toys I've had in Ephy tabs for a while:

At least the Sony Ericsson and Samsung phones would be useful for gnome-phone-manager testing.

Totem has made it on System76's list of recommended apps for their laptops. The laptops look quite nice on their own right.

After running into some problems with FC6's Firefox, I'm filling in this blog with a copy of Opera with static Qt (quick download, fast install), and noticed their new Speed Dial feature. It's neat, and if someone managed to integrate the HTML version of it in Epiphany, they'll get plenty of free beers at GUADEC.

Thursday, 14 June 2007

Browse device

A complement to the gnome-vfs-obexftp work (most of which is already in James' tree).




All that is in my git repo:
git clone git://cgit.freedesktop.org/~hadess/bluez-gnome.git
Which you can view via the web:
http://gitweb.freedesktop.org/?p=users/hadess/bluez-gnome.git;a=summary

I have no idea how git works, so don't be too surprised if it's broken.

Friday, 1 June 2007

Mo' Bluetooth

In Bluetooth++, I showed the cups bluetooth backend enhancements. Marcel is currenly reviewing those, and should merge the code upstream next week. In the meantime, the code is available in bluez-utils-3.11-2.f8 in rawhide.

I've also been working on James' gnome-vfs-obexftp code. While the old code needed you to make hcid launch with the -x option to enable the experimental features (in this case the now-defunct RFCOMM service). Marcel told me it should be using RFCOMM sockets directly, and we now have a version of gnome-vfs-obexftp that works without any tinkering, and is also more reliable, and quicker.


It's also available in the repos for Fedora Core 6, Fedora 7 and rawhide under the name gnome-vfs2-obexftp.

Wednesday, 23 May 2007

Bluetooth++

Bluetooth (and Bluez especially) is such a pleasure to work with compared to old crummy non-standard protocols. With this little patch, the printers show up directly in system-config-printer, and in the CUPS web interface. Whoohoo!

Tuesday, 17 April 2007

Sqeaky bum time!

Fedora 7 is gearing up, and I'm spending most of my time fixing bugs. If you have a pet peeve (a bug, not a feature) for Rhythmbox, or Totem, be sure to let me know (by filing bugs in Bugzilla!).

I'm very happy that project for accepted for an SoC project. It means I won't have to do it myself, and that the person got the best mentor possible, the BlueZ man himself. And I'm never tired of hearing some success stories with the browser plugin. Changes a bit from all the bugs :/

I hope Aaron finishes his encoding profiles code in time for GNOME 2.20, as I don't won't to have to deal with gnome-media's profile code anymore.

Watched a couple of films: The Interpreter (I wanted to slap and drown Nicole Kidman for most of the film, certainly not her best film by a margin, and Sean Penn should stick to indie movies, which is what we like him for), and The Jacket, a tip-top if weird thriller. Bit like bath water near the end (soapy).

PS: In case you wonder where that title comes from. Plenty more goals where that came from.

Tuesday, 6 March 2007

The return of the Bluetooth stuff

I spent my day (and a large part of a very late night yesterday) playing with BlueZ' D-Bus API. I ported nautilus-sendto to use it instead of gnome-bluetooth (even though it still uses the crappy spinner widget).

It looks (quite) nifty, and warns you if the destination device doesn't support OBEX.




Could someone please make it look a bit less arse? (it's already in SVN)