Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just connected my BlackBerry to Linux via USB cable. How do I know which device in /dev it actually is?

share|improve this question

migrated from stackoverflow.com May 30 '11 at 1:31

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

up vote 2 down vote accepted

If you execute dmesg after plugging in your Blackberry, you'll get as output something like the following:

[33399.504750] sd 7:0:0:0: [sdc] Attached SCSI removable disk
[33399.507712] sd 8:0:0:0: [sdd] Attached SCSI removable disk

where sdc and sdd are the device node identifiers.

Or you can execute hal-device to list all the devices.

Or even ls -l /dev/disk/by-id/usb* to list all usb block devices.

share|improve this answer
1  
Offtopic: As you are using Linux, I've found this webpage which contains valuable information about using your BlackBerry in Linux. –  bacchus May 29 '11 at 23:28
add comment

The lsusb command will help, it will list (ls) the USB devices.

You can then compare the device number with the major and minor numbers in your /dev dir.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.