[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Usbb2k-api-bug] [bug #13219] Reassigned item: usbb2k_init() fails
From: |
Vandorpe Olivier |
Subject: |
[Usbb2k-api-bug] [bug #13219] Reassigned item: usbb2k_init() fails |
Date: |
Sun, 29 May 2005 11:34:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1 |
URL:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13219>
Summary: Reassigned item: usbb2k_init() fails
Project: USBB2K-API
Submitted by: None
Submitted on: Sun 05/29/2005 at 10:07
Category: None
Severity: 1 - Wish
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
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
address@hidden
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 05/29/2005 at 10:07 By: Vandorpe Olivier <yasha_vo>
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<br />[field #1]
Group ID: 7615<br />[field #2] Open/Closed: Open<br />[field #3]
Severity: 1 - Wish<br />[field #4] Privacy:
Public<br />[field #5] Category: None<br />[field #6]
Submitted by: None<br />[field #7] Assigned to: None<br
/>[field #8] Submitted on: Sun 05/29/2005 at 08:56<br />[field
#9] Summary: usbb2k_init() fails<br />[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
address@hidden
<br />[field #12] Item Group: None<br />[field #13]
Status: Need Info<br />[field #14] Component Version: None<br
/>[field #15] Platform Version: GNU/Linux<br />[field #16]
Reproducibility: None<br />[field #17] Size (loc): None<br
/>[field #18] Fixed Release: None<br />[field #19]
Planned Release: None<br />[field #20] Effort: 0.00<br
/>[field #24] Priority: 5 - Normal<br />[field #27]
Percent Complete: 0%<br />[field #29] Release: None<br
/>[field #32] Originator Email: address@hidden<br />[field #54]
Custom Select Box #1: None<br />[field #55] Custom Select Box #2:
None<br />[field #56] Custom Select Box #3: None<br />[field #57]
Custom Select Box #4: None<br />[field #58] Custom Select Box #5: None<br
/>[field #59] Custom Select Box #6: None<br />[field #60] Custom
Select Box #7: None<br />[field #61] Custom Select Box #8: None<br
/>[field #62] Custom Select Box #9: None<br />[field #63] Custom
Select Box #10: None<br />
-------------------------------------------------------
Date: Sun 05/29/2005 at 10:07 By: Vandorpe Olivier <yasha_vo>
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
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
address@hidden | Originator Email
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=13219>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Usbb2k-api-bug] [bug #13219] Reassigned item: usbb2k_init() fails,
Vandorpe Olivier <=