* UPS USB serial device is not detected properly
@ 2008-12-26 19:35 Hai Zaar
2008-12-26 22:23 ` Greg KH
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Hai Zaar @ 2008-12-26 19:35 UTC (permalink / raw)
To: linux-hotplug
Good day! I have Advice Partner PR650 UPS, that connects to PC using USB.
However, /dev/ttyUSB0 is not created. I've tried both on Debian Lenny
and Ubuntu Hardy. Here is what dmesg and udevmonitor say (on Debian):
dmesg:
usb 2-3: new low speed USB device using ohci_hcd and address 10
usb 2-3: configuration #1 chosen from 1 choice
hiddev96hidraw0: USB HID v1.00 Device [POWERCOM CO., LTD. USB to
Serial] on usb-0000:00:0b.0-3
usb 2-3: New USB device found, idVendor
9f, idProduct\002
usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 2-3: Product: USB to Serial
usb 2-3: Manufacturer: POWERCOM CO., LTD.
usbcore: registered new interface driver usbserial
usbserial: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
usbserial: USB Serial support registered for DeLorme Earthmate USB
usbserial: USB Serial support registered for HID->COM RS232 Adapter
usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
usbcore: registered new interface driver cypress
cypress_m8: Cypress USB to Serial Driver v1.09
udevmonitor:
UEVENT[1229960645.326958] add
/devices/pci0000:00/0000:00:0b.0/usb2/2-3 (usb)
UEVENT[1229960645.332895] add
/devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0 (usb)
UDEV [1229960645.341691] add
/devices/pci0000:00/0000:00:0b.0/usb2/2-3 (usb)
UEVENT[1229960645.344109] add /class/usb (class)
UEVENT[1229960645.344135] add /class/usb/hiddev0 (usb)
UEVENT[1229960645.344142] add /class/hidraw/hidraw0 (hidraw)
UEVENT[1229960645.344149] add /class/usb_endpoint/usbdev2.10_ep81
(usb_endpoint)
UEVENT[1229960645.344156] add /class/usb_endpoint/usbdev2.10_ep02
(usb_endpoint)
UEVENT[1229960645.344163] add /class/usb_device/usbdev2.10 (usb_device)
UEVENT[1229960645.344170] add /class/usb_endpoint/usbdev2.10_ep00
(usb_endpoint)
UDEV [1229960645.345080] add /class/usb (class)
UDEV [1229960645.347737] add /class/hidraw/hidraw0 (hidraw)
UEVENT[1229960645.378680] add /module/usbserial (module)
UEVENT[1229960645.378706] add /bus/usb-serial (bus)
UEVENT[1229960645.378713] add /bus/usb/drivers/usbserial (drivers)
UEVENT[1229960645.378719] add /bus/usb-serial/drivers/generic (drivers)
UEVENT[1229960645.378726] add /bus/usb/drivers/usbserial_generic (drivers)
UDEV [1229960645.380654] add /module/usbserial (module)
UDEV [1229960645.381007] add /bus/usb-serial (bus)
UEVENT[1229960645.381035] add /module/cypress_m8 (module)
UEVENT[1229960645.381211] add /bus/usb-serial/drivers/earthmate (drivers)
UEVENT[1229960645.381226] add /bus/usb-serial/drivers/cyphidcom (drivers)
UEVENT[1229960645.381233] add /bus/usb-serial/drivers/nokiaca42v2 (drivers)
UEVENT[1229960645.381239] add /bus/usb/drivers/cypress (drivers)
UDEV [1229960645.392656] add /bus/usb/drivers/usbserial (drivers)
UDEV [1229960645.392676] add /bus/usb-serial/drivers/generic (drivers)
UDEV [1229960645.392683] add /bus/usb/drivers/usbserial_generic (drivers)
UDEV [1229960645.392692] add /module/cypress_m8 (module)
UDEV [1229960645.392699] add /bus/usb-serial/drivers/earthmate (drivers)
UDEV [1229960645.392707] add /bus/usb-serial/drivers/cyphidcom (drivers)
UDEV [1229960645.392715] add /bus/usb-serial/drivers/nokiaca42v2 (drivers)
UDEV [1229960645.392722] add /bus/usb/drivers/cypress (drivers)
UDEV [1229960645.398484] add
/devices/pci0000:00/0000:00:0b.0/usb2/2-3/2-3:1.0 (usb)
UDEV [1229960645.405929] add /class/usb_endpoint/usbdev2.10_ep81
(usb_endpoint)
UDEV [1229960645.408482] add /class/usb/hiddev0 (usb)
UDEV [1229960645.408503] add /class/usb_endpoint/usbdev2.10_ep02
(usb_endpoint)
UDEV [1229960645.411793] add /class/usb_endpoint/usbdev2.10_ep00
(usb_endpoint)
UDEV [1229960645.430616] add /class/usb_device/usbdev2.10 (usb_device)
How can further debug this problem?
Thanks,
--
Zaar
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: UPS USB serial device is not detected properly
2008-12-26 19:35 UPS USB serial device is not detected properly Hai Zaar
@ 2008-12-26 22:23 ` Greg KH
2008-12-27 11:14 ` Hai Zaar
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2008-12-26 22:23 UTC (permalink / raw)
To: linux-hotplug
On Fri, Dec 26, 2008 at 09:35:09PM +0200, Hai Zaar wrote:
> Good day! I have Advice Partner PR650 UPS, that connects to PC using USB.
> However, /dev/ttyUSB0 is not created. I've tried both on Debian Lenny
> and Ubuntu Hardy. Here is what dmesg and udevmonitor say (on Debian):
>
> dmesg:
> usb 2-3: new low speed USB device using ohci_hcd and address 10
> usb 2-3: configuration #1 chosen from 1 choice
> hiddev96hidraw0: USB HID v1.00 Device [POWERCOM CO., LTD. USB to
> Serial] on usb-0000:00:0b.0-3
> usb 2-3: New USB device found, idVendor
9f, idProduct\002
> usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> usb 2-3: Product: USB to Serial
> usb 2-3: Manufacturer: POWERCOM CO., LTD.
> usbcore: registered new interface driver usbserial
> usbserial: USB Serial support registered for generic
> usbcore: registered new interface driver usbserial_generic
> usbserial: USB Serial Driver core
> usbserial: USB Serial support registered for DeLorme Earthmate USB
> usbserial: USB Serial support registered for HID->COM RS232 Adapter
> usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
> usbcore: registered new interface driver cypress
> cypress_m8: Cypress USB to Serial Driver v1.09
This is the driver that should bind to this device, but for some reason
it isn't. Is it also a HID device? Can you provide the output of
/proc/bus/usb/devices with the device plugged in?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: UPS USB serial device is not detected properly
2008-12-26 19:35 UPS USB serial device is not detected properly Hai Zaar
2008-12-26 22:23 ` Greg KH
@ 2008-12-27 11:14 ` Hai Zaar
2008-12-27 17:53 ` Greg KH
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Hai Zaar @ 2008-12-27 11:14 UTC (permalink / raw)
To: linux-hotplug
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1252", Size: 1996 bytes --]
On Sat, Dec 27, 2008 at 12:23 AM, Greg KH <greg@kroah.com> wrote:
> On Fri, Dec 26, 2008 at 09:35:09PM +0200, Hai Zaar wrote:
>> Good day! I have Advice Partner PR650 UPS, that connects to PC using USB.
>> However, /dev/ttyUSB0 is not created. I've tried both on Debian Lenny
>> and Ubuntu Hardy. Here is what dmesg and udevmonitor say (on Debian):
>>
>> dmesg:
>> usb 2-3: new low speed USB device using ohci_hcd and address 10
>> usb 2-3: configuration #1
--
Zaar
chosen from 1 choice
>> hiddev96hidraw0: USB HID v1.00 Device [POWERCOM CO., LTD. USB to
>> Serial] on usb-0000:00:0b.0-3
>> usb 2-3: New USB device found, idVendor
9f, idProduct\002
>> usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
>> usb 2-3: Product: USB to Serial
>> usb 2-3: Manufacturer: POWERCOM CO., LTD.
>> usbcore: registered new interface driver usbserial
>> usbserial: USB Serial support registered for generic
>> usbcore: registered new interface driver usbserial_generic
>> usbserial: USB Serial Driver core
>> usbserial: USB Serial support registered for DeLorme Earthmate USB
>> usbserial: USB Serial support registered for HID->COM RS232 Adapter
>> usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
>> usbcore: registered new interface driver cypress
>> cypress_m8: Cypress USB to Serial Driver v1.09
>
> This is the driver that should bind to this device, but for some reason
> it isn't. Is it also a HID device? Can you provide the output of
> /proc/bus/usb/devices with the device plugged in?
Here it is:
T: Bus\x02 Lev\x01 Prnt\x01 Port\x02 Cnt\x01 Dev#= 10 Spd=1.5 MxCh= 0
D: Ver= 1.00 Cls\0(>ifc ) Sub\0 Prot\0 MxPS= 8 #Cfgs= 1
P: Vendor
9f ProdID\002 Rev= 0.00
S: Manufacturer=POWERCOM CO., LTD.
S: Product=USB to Serial
C:* #Ifs= 1 Cfg#= 1 Atr MxPwr\x100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls\x03(HID ) Sub\0 Prot\0 Driver=usbhid
E: Ad(I) Atr\x03(Int.) MxPS= 8 Ivl\x10ms
E: Ad\x02(O) Atr\x03(Int.) MxPS= 8 Ivl\x10ms
>
> thanks,
>
> greg k-h
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: UPS USB serial device is not detected properly
2008-12-26 19:35 UPS USB serial device is not detected properly Hai Zaar
2008-12-26 22:23 ` Greg KH
2008-12-27 11:14 ` Hai Zaar
@ 2008-12-27 17:53 ` Greg KH
2008-12-27 18:03 ` Hai Zaar
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2008-12-27 17:53 UTC (permalink / raw)
To: linux-hotplug
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1252", Size: 2349 bytes --]
On Sat, Dec 27, 2008 at 01:14:56PM +0200, Hai Zaar wrote:
> On Sat, Dec 27, 2008 at 12:23 AM, Greg KH <greg@kroah.com> wrote:
> > On Fri, Dec 26, 2008 at 09:35:09PM +0200, Hai Zaar wrote:
> >> Good day! I have Advice Partner PR650 UPS, that connects to PC using USB.
> >> However, /dev/ttyUSB0 is not created. I've tried both on Debian Lenny
> >> and Ubuntu Hardy. Here is what dmesg and udevmonitor say (on Debian):
> >>
> >> dmesg:
> >> usb 2-3: new low speed USB device using ohci_hcd and address 10
> >> usb 2-3: configuration #1
> --
> Zaar
>
>
> chosen from 1 choice
> >> hiddev96hidraw0: USB HID v1.00 Device [POWERCOM CO., LTD. USB to
> >> Serial] on usb-0000:00:0b.0-3
> >> usb 2-3: New USB device found, idVendor
9f, idProduct\002
> >> usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> >> usb 2-3: Product: USB to Serial
> >> usb 2-3: Manufacturer: POWERCOM CO., LTD.
> >> usbcore: registered new interface driver usbserial
> >> usbserial: USB Serial support registered for generic
> >> usbcore: registered new interface driver usbserial_generic
> >> usbserial: USB Serial Driver core
> >> usbserial: USB Serial support registered for DeLorme Earthmate USB
> >> usbserial: USB Serial support registered for HID->COM RS232 Adapter
> >> usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
> >> usbcore: registered new interface driver cypress
> >> cypress_m8: Cypress USB to Serial Driver v1.09
> >
> > This is the driver that should bind to this device, but for some reason
> > it isn't. Is it also a HID device? Can you provide the output of
> > /proc/bus/usb/devices with the device plugged in?
> Here it is:
> T: Bus\x02 Lev\x01 Prnt\x01 Port\x02 Cnt\x01 Dev#= 10 Spd=1.5 MxCh= 0
> D: Ver= 1.00 Cls\0(>ifc ) Sub\0 Prot\0 MxPS= 8 #Cfgs= 1
> P: Vendor
9f ProdID\002 Rev= 0.00
> S: Manufacturer=POWERCOM CO., LTD.
> S: Product=USB to Serial
> C:* #Ifs= 1 Cfg#= 1 Atr MxPwr\x100mA
> I:* If#= 0 Alt= 0 #EPs= 2 Cls\x03(HID ) Sub\0 Prot\0 Driver=usbhid
> E: Ad(I) Atr\x03(Int.) MxPS= 8 Ivl\x10ms
> E: Ad\x02(O) Atr\x03(Int.) MxPS= 8 Ivl\x10ms
Ah, the hid driver is binding to the device. You need to add a quirk to
it to prevent this from happening, I don't know why no one has reported
this before.
If you need help generating such a patch, let us know.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: UPS USB serial device is not detected properly
2008-12-26 19:35 UPS USB serial device is not detected properly Hai Zaar
` (2 preceding siblings ...)
2008-12-27 17:53 ` Greg KH
@ 2008-12-27 18:03 ` Hai Zaar
2008-12-29 21:48 ` Hai Zaar
2009-01-28 6:16 ` Greg KH
5 siblings, 0 replies; 7+ messages in thread
From: Hai Zaar @ 2008-12-27 18:03 UTC (permalink / raw)
To: linux-hotplug
--
Zaar
On Sat, Dec 27, 2008 at 7:53 PM, Greg KH <greg@kroah.com> wrote:
>
> Ah, the hid driver is binding to the device. You need to add a quirk to
> it to prevent this from happening, I don't know why no one has reported
> this before.
>
> If you need help generating such a patch, let us know.
I definitely need a help on this and I'll be glad to get some.
>
> thanks,
>
> greg k-h
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: UPS USB serial device is not detected properly
2008-12-26 19:35 UPS USB serial device is not detected properly Hai Zaar
` (3 preceding siblings ...)
2008-12-27 18:03 ` Hai Zaar
@ 2008-12-29 21:48 ` Hai Zaar
2009-01-28 6:16 ` Greg KH
5 siblings, 0 replies; 7+ messages in thread
From: Hai Zaar @ 2008-12-29 21:48 UTC (permalink / raw)
To: linux-hotplug
--
Zaar
On Sat, Dec 27, 2008 at 8:03 PM, Hai Zaar <haizaar@gmail.com> wrote:
> --
> Zaar
>
>
>
> On Sat, Dec 27, 2008 at 7:53 PM, Greg KH <greg@kroah.com> wrote:
>>
>> Ah, the hid driver is binding to the device. You need to add a quirk to
>> it to prevent this from happening, I don't know why no one has reported
>> this before.
>>
>> If you need help generating such a patch, let us know.
> I definitely need a help on this and I'll be glad to get some.
Temporary blacklisting usbhid and reloading usbserial and friends did
the trick, but this is impractical solution.
Can anyone provide me a tip how to fix usbhid?
>
>>
>> thanks,
>>
>> greg k-h
>>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: UPS USB serial device is not detected properly
2008-12-26 19:35 UPS USB serial device is not detected properly Hai Zaar
` (4 preceding siblings ...)
2008-12-29 21:48 ` Hai Zaar
@ 2009-01-28 6:16 ` Greg KH
5 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2009-01-28 6:16 UTC (permalink / raw)
To: linux-hotplug
On Mon, Dec 29, 2008 at 11:48:23PM +0200, Hai Zaar wrote:
> --
> Zaar
>
>
>
> On Sat, Dec 27, 2008 at 8:03 PM, Hai Zaar <haizaar@gmail.com> wrote:
> > --
> > Zaar
> >
> >
> >
> > On Sat, Dec 27, 2008 at 7:53 PM, Greg KH <greg@kroah.com> wrote:
> >>
> >> Ah, the hid driver is binding to the device. You need to add a quirk to
> >> it to prevent this from happening, I don't know why no one has reported
> >> this before.
> >>
> >> If you need help generating such a patch, let us know.
> > I definitely need a help on this and I'll be glad to get some.
> Temporary blacklisting usbhid and reloading usbserial and friends did
> the trick, but this is impractical solution.
> Can anyone provide me a tip how to fix usbhid?
Add it to the big array called hid_ignore_list[] in the file,
drivers/hid/hid-core.c in the kernel source tree.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-01-28 6:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-26 19:35 UPS USB serial device is not detected properly Hai Zaar
2008-12-26 22:23 ` Greg KH
2008-12-27 11:14 ` Hai Zaar
2008-12-27 17:53 ` Greg KH
2008-12-27 18:03 ` Hai Zaar
2008-12-29 21:48 ` Hai Zaar
2009-01-28 6:16 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).