BlackBerry (Re: using libusb)

Mikhail Teterin mi+kde at
Fri Jan 11 10:45:42 PST 2008

On п'ятниця 11 січень 2008, Hans Petter Selasky wrote:
= I think you misunderstand. If there is a mass storage device it will appear
= like /dev/da0. If there is a libusb device it will have t
= use /dev/usbX.Y.Z.

I understand, that you have no intention of /replacing/ daX with /dev/usbX.Y.Z

My point was, the device's name should, if it is not too difficult, reflect 
its function. So, if a particular device is a printer, for example, it should 
be seen as /dev/ulptX in addition to being seen as /dev/ugenY or, 
indeed, /dev/usbX.Y.Z

We have /dev/cdX AND /dev/passY, for another example. Here is my `camcontrol 

<COMPAQ RAID 0  VOLUME OK>         at scbus0 target 0 lun 0 (da0,pass0)
<COMPAQ RAID 0  VOLUME OK>         at scbus0 target 1 lun 0 (da1,pass1)
<YAMAHA CRW4416S 1.0g>             at scbus1 target 2 lun 0 (pass2,cd0)
<NEC CD-ROM DRIVE:465 1.13>        at scbus1 target 5 lun 0 (pass3,cd1)
<Generic USB SD Reader 1.00>       at scbus3 target 0 lun 0 (da2,pass4)
<Generic USB CF Reader 1.01>       at scbus3 target 0 lun 1 (da3,pass5)
<Generic USB SM Reader 1.02>       at scbus3 target 0 lun 2 (da4,pass6)
<Generic USB MS Reader 1.03>       at scbus3 target 0 lun 3 (da5,pass7)
<MATSHITA DVD-RAM SW-9585 B100>    at scbus7 target 0 lun 0 (pass8,cd2)

But these are cosmetics, really -- paint this bikeshed any way you want, as 
long as the roof is not leaking :-)


More information about the freebsd-usb mailing list