Re: ups does not get a tty

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

 



S, Greg KH wrote:
On Thu, Jan 06, 2011 at 07:34:20PM +0100, Jure Koren wrote:
Hi,

could you please help me with setting up the usbserial module? :)

I'm trying to get this UPS to communicate with my linux box:

# lsusb
Bus 005 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
*Bus 002 Device 010: ID 0a6d:0005 UPS Manufacturing *
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002

# modprobe usbserial vendor=0x0a6d product=0x0005

but in the logs I only see:
[980731.660600] usb 2-1: new low speed USB device using uhci_hcd and
address 11
[980736.640595] usb 2-1: configuration #1 chosen from 1 choice
[1037434.823934] input: Ups Manufacturing RS232-USB converter as
/class/input/input11
Your UPS is a HID device, not a serial-like device, so you can't use the
usbserial module for it, sorry.

I think there is a userspace library to handle USB UPS devices, have you
tried using that to control this device?  It will properly handle
unbinding the HID driver from the device and controlling it.

thanks,

greg k-h


Ok, thanks for the tip. Now I know where to look for.

The (proprietary) program I have to use to communicate with this ups
unfortunately want's to access it by /dev/ttyUSB0.

I'll try to see it nut/usbhid-ups is able to communicate with it.

Regards,
Jure


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.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