I just connected my BlackBerry to Linux via USB cable. How do I know which device in /dev it actually is?
Asked
Active
Viewed 632 times
2 Answers
2
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.
CRM
- 146
- 3
-
1Offtopic: As you are using Linux, I've found this [webpage](http://www.progweb.com/modules/blackberry/index-en.html) which contains valuable information about using your BlackBerry in Linux. – CRM May 29 '11 at 23:28
0
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.
Gaff
- 18,569
- 15
- 57
- 68