Re: Ability to specify SCM_MULT_TARG quirk on command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 16 Sep 2014 11:40:03 -0400 (EDT)
Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, 16 Sep 2014, Mark wrote:
> > ... 
> > Another issue relates to manufacturer USB ID screw-ups. The Buffalo
> > USB-SCSI cable is a good example. According to the Windows INF file
> > available from
> >   http://buffalo.jp/download/driver/hd/mos-s640usb.html
> > its USB ID is 0411:0001.
> > 
> > However, according to the INF file from
> >   http://buffalo.jp/download/driver/lan/lua-tx.html
> > the LUA-TX USB-Ethernet adapter can have ID 0411:0005 or 0411:0001... sigh.
> > 
> > Given that, would it be possible/advisable to have an unusual-devs.h entry
> > for the Buffalo USB-SCSI cable?
> 
> It would be nice to get confirmation first from somebody who has one of
> those cables.

Someone reported an issue related to that in 2006 on the Japanese
debian-users list:
  http://lists.debian.or.jp/debian-users/200608/msg00010.html

They were using a Debian kernel based on 2.6.17, and based on the dmesg
output both usb-storage and pegasus drivers try to claim the device. I'll
paste some excerpts below.

Since a quirk entry in unusual-devs.h would only apply to usb-storage, it
should not cause additional problems for a USB-Ethernet device with the
same ID, right?

I guess it would be necessary to blacklist the pegasus module in order to
use a Buffalo USB-SCSI cable (with or without quirk).


usb 2-1: new full speed USB device using uhci_hcd and address 4
usb 2-1: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
pegasus: v0.6.13 (2005/11/13), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new driver pegasus
usb 2-1: reset full speed USB device using uhci_hcd and address 4
usb 2-1: reset full speed USB device using uhci_hcd and address 4
usb 2-1: reset full speed USB device using uhci_hcd and address 4
usb 2-1: reset full speed USB device using uhci_hcd and address 4
usb-storage: device scan complete

lsusb reported
Bus 002 Device 010: ID 0411:0001 MelCo., Inc. LUA-TX Ethernet [pegasus]
(because that's what's in the usb.ids list for product 0411:0001)

>From /proc/bus/usb/devices

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0411 ProdID=0001 Rev= 1.00
S:  Manufacturer=Shuttle Technology Inc.
S:  Product=eUSCSI Bridge Ver 1.11
S:  SerialNumber=07
...


Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux