Huh, thank you for your help but i think that alone cannot recompile
kernel, if you give me some tips i will try.
I was recompile but only for adding NIC driver and that was on
slackware, this srv. is on centos.
Because i don`t have nothing on that box except samba and 4 disk in raid
i think that i can handle my self with little help from you.
Do you want to help me via some messenger or join.me or to continue here
via email?
tnx.
On 02-Jan-12 5:32 PM, Petr Kubánek wrote:
Hi,
https://usb-ids.gowdy.us/read/UD
suggest there are two Cypress product ID - 0x04b4 and 0x0665. It looks
as 0x0665 is not claimed by cypress_m8:
http://lxr.free-electrons.com/source/drivers/usb/serial/cypress_m8.h
http://lxr.free-electrons.com/source/drivers/usb/serial/cypress_m8.c
I believe that adding 0x0665 ID to cypress_m8, recompiling it, should
fix the problem. Will you try, or do you prefer to let me do it, send
patched version and let you try? If you never compile kernel from source
code, this might be painful experience - so if you are running something
Ubuntu based, I can try to just ship binary version of the module..
Petr Kubanek
http://rts2.org
Vladimir Micovic píše v Po 02. 01. 2012 v 17:05 +0100:
# dmesg | grep ttyUSB
show nothing.
if you need to check something, here is whole dmesg:
http://pastebin.com/mNdUmGKH (there is kernel ver.)
and here lsub with verobse:
# /sbin/lsusb -vvv -d 0665:5161
Bus 003 Device 004: ID 0665:5161 Cypress Semiconductor
USB to Serial
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface
level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0665 Cypress Semiconductor
idProduct 0x5161 USB to Serial
bcdDevice 0.02
iManufacturer 1 Cypress Semiconductor
iProduct 2 USB to Serial
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3
bmAttributes 0x80
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 4 Sample HID
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.00
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 27
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 32
On 02-Jan-12 4:57 PM, Petr Kubánek wrote:
run:
dmesg
and look for ttyUSB (dmesg | less should be more usefull)
Petr
Vladimir Micovic píše v Po 02. 01. 2012 v 16:51 +0100:
Hello,
i am subscribe to list :S
How can i see which port can be setup? I need just to try to read data
from him, after that i will setup nut by myself i guess :)
lsusb show this:
Bus 003 Device 004: ID 0665:5161 Cypress Semiconductor USB to Serial
best regards and thank you.
p.s: HNY! :)
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev