Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BlackBerry Pearl connecting to gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
silverwolf
n00b
n00b


Joined: 30 Jul 2003
Posts: 48
Location: UK::Cambridgeshire

PostPosted: Mon Jun 25, 2007 10:42 am    Post subject: BlackBerry Pearl connecting to gentoo Reply with quote

Greetings,

This is probably going to be a stupid question, but I'm struggling to resolve this one myself. I also don't know which part of the forum this topic should reside in.

I recently acquired a BlackBerry Pearl (well done, RIM -- a really viable alternative), and -- when I connected it to my gentoo laptop, got the following message on the device:
Quote:
USB charging current is not sufficient. Verify that your handheld is connected to a powered USB charging source and that the proper USB driver is installed


The problem there is fairly self-evident.

In the logs I get:
Quote:
Jun 25 11:29:11 [kernel] usb 2-1: new full speed USB device using ohci_hcd and address 3
Jun 25 11:29:11 [kernel] usb 2-1: config index 0 descriptor too short (expected 69, got 32)
Jun 25 11:29:11 [kernel] usb 2-1: configuration #1 chosen from 1 choice
Jun 25 11:29:11 [kernel] scsi0 : SCSI emulation for USB Mass Storage devices
Jun 25 11:29:16 [kernel] scsi 0:0:0:0: Direct-Access RIM BlackBerrySdCard 0001 PQ: 0 ANSI: 4 CCS
Jun 25 11:29:16 [kernel] sd 0:0:0:0: Attached scsi removable disk sda
Jun 25 11:29:16 [kernel] sd 0:0:0:0: Attached scsi generic sg0 type 0


This indicates that there would be some recognition of the attached handheld.

I have two questions:

1. is there anything I can do to get around the power issue? Is this a problem with USB1 vs. USB2 maybe? I'm running a Compaq Evo N800v.

2. how do I / can I mount the device? I'm not an expert when it comes to SCSI devices & support. If I try to mount /dev/sda I get told there's no medium found.

Having looked through one of the HOWTOs, I'm posting the following information:
Quote:
ls -l /dev/disk/by-id/usb*
lrwxrwxrwx 1 root root 9 Jun 25 11:54 /dev/disk/by-id/usb-RIM_BlackBerrySdCard_AAC3EE10F805405F4313C20A9F5A7965E60BB93B -> ../../sda


and

Quote:
cat /proc/partitions
major minor #blocks name

3 0 39070080 hda
3 1 31720 hda1
3 2 500472 hda2
3 3 38537856 hda3


This tells me that the handheld has not been recognised, yes?

Thanks in advance for any help here.
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Tue Jun 26, 2007 12:21 am    Post subject: Reply with quote

Blackberry mounting as a USB mass storage device works well, provided your kernel options are configured correctly. You may want to read the following thread on USB mass storage, to make sure the proper USB kernel options are set in your kernel. Since I use Gnome, this wiki, offers a great explanation on how to configure a Gnome environment for automounting FAT USB devices, (like the Blackberry). I have a Pearl, and I use hal, ivman, and as a user, I am a member of the plugdev group. When I plug in my Pearl it appears on my desktop as a mass storage device, and I can copy to the memory card on the Pearl at will.

Two options to look at once you've configured everything, make sure you have CONFIG_SCSI_MULTI_LUN=y set in your kernel (in the make menuconfig it will be under SCSI support). And don't forget to make sure your Blackberry has the proper option set too. Options -> Advanced Option -> Media Card -> Auto Enable Mass Storage Mode When Connected: Yes/Prompt. Looking at your output that may be the only thing keeping you from mounting your Blackberry as a mass storage device, (unless you don't have FAT support in your kernel). You can also check out the following thread at Blackberry forums on the subject of Linux and Blackberry mass storage support.

In terms of the charging of your Blackberry via a USB cable, it's not a USB 1 vs USB 2 issue. It's because the voltage supplied via a USB cable under Linux isn't as high as it is under Windows. Under Linux the Blackberry is only receiving 100 mA over the USB cable, where it needs to receive 500 mA to properly charge (like it does under Windows). A Blackberry will still charge like this, just very slowly. In order to fix this, with kernel 2.6.21, Linux now has support for providing the proper charging voltage under Linux. It's a kernel option under Device Drivers -> Misc, called berry_charge. You can configure it and load it in your system, but there's still one problem. According to this post over at Blackberry Forums, the newer SD-card enabled Blackberrys (8100/8300/8800/etc.) are not yet supported due to a conflict with the USB mass storage mode. So hopefully this will get addressed in the future and we can quickly charge our Pearls then.

You can also check out the following thread for some discussion on other Linux Blackberry related stuff, particularly the backup project called barry, which looks promising for backing up the Blackberry databases under Linux, and the sync project called Funambol, although I've never heard of anyone syncing their Blackberrys with any Linux apps, yet.

Good Luck..
Back to top
View user's profile Send private message
omega5
n00b
n00b


Joined: 28 Mar 2005
Posts: 8

PostPosted: Tue Jun 26, 2007 1:04 am    Post subject: Reply with quote

if you're prepared to rebuild your kernel you'll find in the usb driver section under miscellaneous: blackberry charging driver....

came across it myself as i work with blackberries and mobile phones all day long working for telstra wireless data customer support...
Back to top
View user's profile Send private message
jlward4th
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 83

PostPosted: Sat Jul 21, 2007 5:55 pm    Post subject: Reply with quote

Just FYI for anyone wondering about this... I disabled the mass storage mode on my BB 8300 curve and now it seems to be charging correctly.
Back to top
View user's profile Send private message
jlward4th
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 83

PostPosted: Wed Aug 08, 2007 11:51 pm    Post subject: Reply with quote

I take that back. It still doesn't work. I get the "USB charging current is not sufficient." message after a few minutes.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum