Re: USBasp programmer not listed in /dev

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



On Thu, Oct 26, 2023 at 11:26:48AM +0800, Sadeep Madurange wrote:
> Greetings all,
> 
> I am trying to connect an AVR programmer to Arch machine. I can't see
> it appearing under /dev.
> 
> I found the vendor and product ids using lsusb. I think the device is
> 16c0:05dc:
> 
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 001 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
> Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
> Bus 001 Device 004: ID 13d3:56bc IMC Networks [unknown]
> Bus 001 Device 005: ID 06cb:00bd Synaptics, Inc. Prometheus MIS Touch Fingerprint Reader
> Bus 001 Device 006: ID 8087:0026 Intel Corp. AX201 Bluetooth
> Bus 001 Device 009: ID 16c0:05dc Van Ooijen Technische Informatica shared ID for use with libusb
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> 
> I added the following to /etc/udev/rules.d/99-avrprogrammer.rules and
> restarted the machine:
> 
> SUBSYSTEM=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", GROUP="uucp", MODE=="0666"
> 
> I see the following in my dmesg when I insert the programmer:
> 
> [ 1526.700607] usb 1-4: new low-speed USB device number 9 using xhci_hcd
> [ 1526.849141] usb 1-4: New USB device found, idVendor=16c0, idProduct=05dc, bcdDevice= 1.04
> [ 1526.849152] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [ 1526.849156] usb 1-4: Product: USBasp
> [ 1526.849159] usb 1-4: Manufacturer: www.fischl.de
> 
> I'm checking the device by doing something like
> 
> ls /dev > before_plugging_in_programmer
> ls /dev > after_plugging_in_programmer
> vimdiff before_plugging_in_programmer after_plugging_in_programmer

Hi, Sadeep.

The USBasp uses raw USB communication via libusb. It does not invoke any
kernel drivers that would create a /dev device. The presence of the
device in lsusb means it should be working. Go ahead and test it with
avrdude.

--Sean




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux