On 25-Jul-12 18:53, Erich Dollansky wrote:
Hi,
On Tue, 24 Jul 2012 14:29:07 +0530
Manish Jain<bourne.ident...@hotmail.com> wrote:
On 23-Jul-12 16:07, Erich Dollansky wrote:
Hi,
On Monday 23 July 2012 16:46:04 Manish Jain wrote:
On 21-Jul-12 19:06, Matthias Apitz wrote:
El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
Jain escribió:
I am still stuck because I can't know the syntax to run usbdump.
usbdump
man usbdump
usbconfig gives you the device numbers.
I got something wrong.
It is all done by usbconfig
usbconfig without any parameters gives you a list of devices. One entry
should look like this:
ugen0.4:<Huawei CDMA Technologies MSM Huawei, Incorporated> at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
You enter then
usbconfig -u 0 -a 4 dump_device_desc
and you should get something like this:
ugen0.4:<Huawei CDMA Technologies MSM Huawei, Incorporated> at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x12d1
idProduct = 0x1803
bcdDevice = 0x0000
iManufacturer = 0x0003<Huawei, Incorporated>
iProduct = 0x0002<Huawei CDMA Technologies MSM>
iSerialNumber = 0x0000<no string>
bNumConfigurations = 0x0001
You try to find a solution from the other side of the rope. I think we
better start here first.
Erich
Hi,
Thanks for your reply.
I tried switching the USB ports and have some information which could
help you to help me :
usbconfig -u 0 -a 2 dump_device_desc :
ugen0.2: <HUAWEI Mobile HUAWEI TECHNOLOGIES> at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0110
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x12d1
idProduct = 0x140b
bcdDevice = 0x0000
iManufacturer = 0x0001 <HUAWEI TECHNOLOGIES>
iProduct = 0x0002 <HUAWEI Mobile>
iSerialNumber = 0x0004 <>
bNumConfigurations = 0x0001
usbconfig -u 0 -a 3 dump_device_desc :
ugen0.3: <Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4 American Power
Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0110
bDeviceClass = 0x0000
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0008
idVendor = 0x051d
idProduct = 0x0002
bcdDevice = 0x0006
iManufacturer = 0x0003 <American Power Conversion>
iProduct = 0x0001 <Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4>
iSerialNumber = 0x0002 <BB0926005982 >
bNumConfigurations = 0x0001
Now what should my devfs.conf contain ? Currently it contains the
following :
link cuaU0.0 modem
own modem root:operator
perm modem 666
link ugen0.3 usv
own usv root:operator
perm usv 666
link cuaU0.1 apcups
own apcups root:operator
perm apcups 666
Obviously, these entries are incorrect since neither my modem speaks to
the internet nor is any signal from the APC UPS recognized. I believe
once I have the correct devfs entries, the whole system should work
smoothly. But please correct me if I am wrong.
Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b or
051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig
configure the devices correctly ? I am no expert here, so if yes, I
would need the complete commands.
Thanks for any help. I am greatly indebted to FreeBSD and its philosophy
making things 'as simple as possible, but not any simpler' - which has
helped me learn a great deal about computers in general and managing my
own computer in particular. But the USB related stuff still beats the
hell out of me, so I need help here.
BTW, my system now has the usbdump command (installed from sources
downloaded from http://biot.com/usbdump/) but no manpage.
Thanks again &
--
Regards,
Manish Jain
+91-99620-10329
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"