Hi Hans,
I just remembered I still had to do this, sorry for the delay.
I can not find the vendor:product ID you mention, hence I looked in lsusb output and found this ID:
Bus 001 Device 002: ID 174f:5a35 Syntek Sonix 1.3MPixel USB 2.0 Camera
$ cat /sys/bus/usb/devices/1-2/idVendor 174f $ cat /sys/bus/usb/devices/1-2/idProduct 5a35
So it's device 1-2.
$ sudo /lib/udev/usb_id --export /bus/usb/devices/1-2 ID_VENDOR=Sonix_Technology_Co.__Ltd. ID_VENDOR_ENC=Sonix\x20Technology\x20Co.\x2c\x20Ltd. ID_VENDOR_ID=174f ID_MODEL=USB_2.0_Camera ID_MODEL_ENC=USB\x202.0\x20Camera ID_MODEL_ID=5a35 ID_REVISION=0411 ID_SERIAL=Sonix_Technology_Co.__Ltd._USB_2.0_Camera_SN0001 ID_SERIAL_SHORT=SN0001 ID_BUS=usb ID_USB_INTERFACES=:0e0100:0e0200:
LED remains off.
$ sudo /lib/udev/usb-db /bus/usb/devices/1-2 ID_VENDOR_FROM_DATABASE=Syntek ID_MODEL_FROM_DATABASE=Sonix 1.3MPixel USB 2.0 Camera
(Still it turns on with the commands mentioned earlier.)
I hope that helps :)
Tobi
Hi Hans,
I just remembered I still had to do this, sorry for the delay.
I can not find the vendor:product ID you mention, hence I looked in lsusb output and found this ID:
Bus 001 Device 002: ID 174f:5a35 Syntek Sonix 1.3MPixel USB 2.0 Camera
$ cat /sys/bus/ usb/devices/ 1-2/idVendor usb/devices/ 1-2/idProduct
174f
$ cat /sys/bus/
5a35
So it's device 1-2.
$ sudo /lib/udev/usb_id --export /bus/usb/ devices/ 1-2 Sonix_Technolog y_Co.__ Ltd. ENC=Sonix\ x20Technology\ x20Co.\ x2c\x20Ltd. USB_2.0_ Camera ENC=USB\ x202.0\ x20Camera Sonix_Technolog y_Co.__ Ltd._USB_ 2.0_Camera_ SN0001 SHORT=SN0001 INTERFACES= :0e0100: 0e0200:
ID_VENDOR=
ID_VENDOR_
ID_VENDOR_ID=174f
ID_MODEL=
ID_MODEL_
ID_MODEL_ID=5a35
ID_REVISION=0411
ID_SERIAL=
ID_SERIAL_
ID_BUS=usb
ID_USB_
LED remains off.
$ sudo /lib/udev/usb-db /bus/usb/ devices/ 1-2 FROM_DATABASE= Syntek FROM_DATABASE= Sonix 1.3MPixel USB 2.0 Camera
ID_VENDOR_
ID_MODEL_
LED remains off.
(Still it turns on with the commands mentioned earlier.)
I hope that helps :)
Tobi