Re: serial: usb: cdc-acm: OMRON B5L ToF, device probe failed

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

 




On 23/6/2022 5:39 pm, Oliver Neukum wrote:

On 23.06.22 10:55, Chris Ruehl wrote:

On 23/6/2022 4:44 pm, Chris Ruehl wrote:
On 23/6/2022 4:28 pm, Oliver Neukum wrote:
if you absolutely want it to be driven from CDC-ACM, try this
new attached patch.
In your original patch you used NO_UNION_NORMAL. That will allow
a device to work without a union descriptor but with the normal
two interfaces. This devices has what in terms of ACM is a collapsed
interface without a union descriptor.
The driver provides for that but then it checks for the exact
number of required endpoints, which is three. Your device has
four endpoints.
The patch ignores a fourth endpoint.
Apply the patch ,
still no /dev/ttyACM0 comes up.
Hi,

please send me dmesg. This should not happen.

	Regards
		Oliver

Hi,
sorry for let you wait but I had a bunch of testing with the b5l to deliver
my solution to the team.

here the dmesg after apply your patch & NO_NORMAL_UNION

[266005.246312] usb 2-1.4.4.1: new high-speed USB device number 19 using ehci-pci
[266005.344658] usb 2-1.4.4.1: New USB device found, idVendor=0590, idProduct=00ca, bcdDevice= 2.00 [266005.344666] usb 2-1.4.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[266005.344670] usb 2-1.4.4.1: Product: OMRON B5L-001011
[266005.344673] usb 2-1.4.4.1: Manufacturer: OMRON Corporation
[266005.344675] usb 2-1.4.4.1: SerialNumber: 010000319A1
[266005.458809] usbcore: registered new interface driver cdc_acm
[266005.458814] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

T:  Bus=02 Lev=04 Prnt=05 Port=00 Cnt=01 Dev#= 19 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=02 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0590 ProdID=00ca Rev= 2.00
S:  Manufacturer=OMRON Corporation
S:  Product=OMRON B5L-001011
S:  SerialNumber=010000319A1
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=  4mA
I:* If#= 0 Alt= 0 #EPs= 4 Cls=02(comm.) Sub=02 Prot=00 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=03(Int.) MxPS=  64 Ivl=4096ms
E:  Ad=84(I) Atr=03(Int.) MxPS=  64 Ivl=4096ms

-Chris

--
GTSYS Limited RFID Technology
9/F, Unit E, R07, Kwai Shing Industrial Building Phase 2,
42-46 Tai Lin Pai Road, Kwai Chung, N.T., Hong Kong
Tel (852) 9079 9521

Disclaimer: https://www.gtsys.com.hk/email/classified.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