bugUSBB2K-API - Bugs: bug #13219, Reassigned item: usbb2k_init()...

 
 

bug #13219: Reassigned item: usbb2k_init() fails

Submitter:  None
Submitted:  Sun 29 May 2005 10:07:54 AM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tazz
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 29 May 2005 10:07:54 AM UTC, comment #2: 

This item has been reassigned from the project USBB2K-API support tracker to your tracker.

The original report is still available at support #104246

Following are the information included in the original report:

[field #0]                  Item ID: 104246
[field #1]                 Group ID: 7615
[field #2]              Open/Closed: Open
[field #3]                 Severity: 1 - Wish
[field #4]                  Privacy: Public
[field #5]                 Category: None
[field #6]             Submitted by: None
[field #7]              Assigned to: None
[field #8]             Submitted on: Sun 05/29/2005 at 08:56
[field #9]                  Summary: usbb2k_init() fails
[field #10]      Original Submission: Hello,

I m trying your code. The usbb2k_init() fails in usb_claim_interface(). The err number is err=-1 if I m not root and err=-16 (-EBUSY) if I m root.

I m making something wrong! What is it?

My hardware is yealink and the alsa mixer detects it correctly.

#demesg
usb 1-1: new full speed USB device using uhci_hcd and address 4
usb 1-1: new full speed USB device using uhci_hcd and address 5
hiddev96: USB HID v1.00 Device [Yealink Network Technology Ltd. VOIP USB Phone           ] on usb-0000:00:1f.2-1
usbcore: registered new driver snd-usb-audio
usb 1-1: usbfs: process 6018 (usbb2k_api) did not claim interface 3 before use

and
#cat /proc/bus/usb/devices
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=6993 ProdID=b001 Rev= 1.10
S:  Manufacturer=Yealink Network Technology Ltd.
S:  Product=VOIP USB Phone
S:  SerialNumber=????
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=88(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=08(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=20ms

Thanks in advance
Best regards
Norberto
-email is unavailable-

[field #12]               Item Group: None
[field #13]                   Status: Need Info
[field #14]        Component Version: None
[field #15]         Platform Version: GNU/Linux
[field #16]          Reproducibility: None
[field #17]               Size (loc): None
[field #18]            Fixed Release: None
[field #19]          Planned Release: None
[field #20]                   Effort: 0.00
[field #24]                 Priority: 5 - Normal
[field #27]         Percent Complete: 0%
[field #29]                  Release: None
[field #32]         Originator Email: nramos@dit.ulpgc.es
[field #54]     Custom Select Box #1: None
[field #55]     Custom Select Box #2: None
[field #56]     Custom Select Box #3: None
[field #57]     Custom Select Box #4: None
[field #58]     Custom Select Box #5: None
[field #59]     Custom Select Box #6: None
[field #60]     Custom Select Box #7: None
[field #61]     Custom Select Box #8: None
[field #62]     Custom Select Box #9: None
[field #63]    Custom Select Box #10: None

Vandorpe Olivier <yasha_vo>
Group administrator
Sun 29 May 2005 10:07:53 AM UTC, comment #1: 

Hello,
It's "normal", I have forgot to say that
the device do not be clamed by de usbhid module.

I: If#= 3 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid

make rmmod usbhid befor launch de usbb2k_api
(there is peraps an other method to say that the kernel do not use the usbhid module for this Vendor=6993 ProdID=b001 but I don't know how...)

Best regards,
Olivier Vandorpe



Vandorpe Olivier <yasha_vo>
Group administrator
Sun 29 May 2005 10:07:54 AM UTC, original submission:  

Hello,

I'm trying your code. The usbb2k_init() fails in usb_claim_interface(). The err number is err=-1 if I'm not root and err=-16 (-EBUSY) if I'm root.

I'm making something wrong! What is it?

My hardware is yealink and the alsa mixer detects it correctly.

#demesg
usb 1-1: new full speed USB device using uhci_hcd and address 4
usb 1-1: new full speed USB device using uhci_hcd and address 5
hiddev96: USB HID v1.00 Device [Yealink Network Technology Ltd. VOIP USB Phone           ] on usb-0000:00:1f.2-1
usbcore: registered new driver snd-usb-audio
usb 1-1: usbfs: process 6018 (usbb2k_api) did not claim interface 3 before use

and
#cat /proc/bus/usb/devices
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=6993 ProdID=b001 Rev= 1.10
S:  Manufacturer=Yealink Network Technology Ltd.
S:  Product=VOIP USB Phone
S:  SerialNumber=????
C:* #Ifs= 4 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=88(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E:  Ad=08(O) Atr=01(Isoc) MxPS=  16 Ivl=1ms
I:  If#= 3 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=20ms

Thanks in advance
Best regards
Norberto
-email is unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-06-08 yasha_vo StatusNone Fixed
    Assigned toNone tazz
2005-05-29 yasha_vo Reassign ItemFrom group USBB2K-API, bugs tracker To group USBB2K-API, support tracker
2005-05-29 yasha_vo Reassign itemFrom group USBB2K-API, support tracker To group USBB2K-API, bugs tracker

Back to the top

Powered by Savane 3.13-0329.
Corresponding source code