2
votes
1answer
813 views

usb kernel module does not load on demand but works fine with insmod and modprobe from the shell

I have a USB Linux Kernel module that compiles and builds. Running insmod loads my module and dmseg and tail -f /var/log/debug shows me it works as expected. Running depmod -a then modprobe from the ...
0
votes
0answers
77 views

Card Reader UB6520 on Parabola GNU/Linux

I'm trying to make work the SD card reader UB6250 on Parabola GNU/Linux. Could you help me please? After inserting the SD card, I get the following dmesg: [65408.273667] usb 2-5: new high-speed USB ...
1
vote
1answer
104 views

USB disk doesn't work on the new kernel

I just install the latest linux kernel (3.12.6) on my laptop(Lenovo). My system is Ubuntu 12.04. I just use the old configuration file in the old system which is "config-3.2.0-58-generic". Everything ...
2
votes
1answer
126 views

Where in the linux kernel sources can I find a list of the different keyboard scancodes?

I was looking for a list of keyboard scancodes in the linux kernel sources, but I did not find anything. Does someone know where to find these? Especially the USB scancodes would be interesting.
8
votes
2answers
5k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
3
votes
1answer
298 views

How can I prevent drivers from binding USB devices on a certain bus?

I have a setup with two Logitech Unifying receivers, each receiver has a keyboard bound to it. One of the receiver is to be used by the physical machine to which the devices are connected, the other ...
0
votes
1answer
42 views

USB_HID is not working

How do I get a usb keyboard to work? I have already selected and compiled the USB HID transport layer and I don't know what else to do.
1
vote
1answer
459 views

Compile Linux Kernel w/ Dynamically (Un)loadable usbserial Module

I've attempted to install drivers for an FPGA device, but require that I remove the usbserial module. This happens to be impossible because usbserial is a built-in module. It was suggested that I ...
1
vote
1answer
859 views

Removing builtin modules in Linux

I'm currently attempting to remove the usbserial module in order to install a new driver module. When I attempt to remove the module I get the following issue: [root@localhost xr21v141x-lnx-3.0-pak]# ...
3
votes
2answers
2k views

Prevent usbhid from claiming USB device

Directly related: Prevent claiming of novelty usb device by usbhid so I can control it with libusb? I want to access an RFID reader (works as HID device) from a program that uses libusb-0.1. In the ...
3
votes
1answer
472 views

Is it necessary to enable CONFIG_USB_OHCI_HCD , when there's only USB 2.0 ports

Is it necessary to enable CONFIG_USB_OHCI_HCD on a system that has USB 2.0 port only ? I'm not sure those devices present , e.g bluetooth , camera use that driver ? Bus 001 Device 001: ID 1d6b:0002 ...
3
votes
2answers
440 views

Launching Gentoo from external hard drive

I have an external hard drive (Transcend TS500GSJ25M - not sure M1, M2 or M3, but guess it's M1) and I'd like to install Gentoo on it. It's pretty easy, using genkernel, though it compile a lot of ...
4
votes
2answers
399 views

Is it normal that a restart is required to mount USB after a kernel upgrade?

Sometimes I see the Linux kernel being mentioned in the list of upgrades, when running pacman -Syu (updating my packages in Arch Linux). Whenever this happens, after installation of the packages, I ...
4
votes
1answer
1k views

How does the Linux kernel decide how much bandwidth to allocate to Isochronous USB endpoints?

As far as I'm aware, USB endpoints that use isochronous transfers have a 'wMaxPacketSize' parameter associated with them that is used by the kernel to guarantee a certain amount of bandwidth for the ...
17
votes
1answer
9k views

How to assign USB driver to device

This question is two-fold: First, how do you manually detach a driver from a USB device and attach a different one? For example, I have a device that when connected automatically uses the ...
1
vote
0answers
132 views

Make kernel detect garmin device

I'm trying to connect a usb garmin forerunner device to my system, but the usb device is not detected. I have loaded the following mods: garmin_gps 11544 0 usbserial 25449 ...
5
votes
3answers
3k views

Prevent claiming of novelty usb device by usbhid so I can control it with libusb?

I have a USB rocket launcher that I wish to experiment with through libusb. However, libusb cannot claim the interface; presumably because the output of usb-devices lists 'usbhid' as the driver for ...
12
votes
1answer
11k views

How to use Linux kernel driver bind/unbind interface for USB-HID devices?

First background. I am developing a driver for Logitech game-panel devices. It's a keyboard with a screen on it. The driver is working nicely but by default the device is handled by HID. In order to ...
3
votes
1answer
280 views

Linux kernel support for USB gamepads?

I've got an old Logitech USB gamepad that worked well under both Windows and Mac OS X. That is, the gamepad was totally "plug and play" for games run by a Super Nintendo emulator (SNES9X). Does Linux ...
3
votes
1answer
351 views

`power/persist` file not found in USB device sysfs directory

The file /usr/share/doc/linux-doc/usb/persist.txt.gz mentions that the USB-persist capability can be enabled for a given USB device by writing 1 to the file persist in that device's directory in ...
8
votes
4answers
1k views

GRUB on USB Drive — adding OSes

Some Background: Coming from a largely Windows background (though I'm familiar with Ubuntu, etc.) and using a Windows 7 machine to complete this task Have gotten GRUB installed successfully to the ...
8
votes
3answers
2k views

How should I configure grub for booting linux kernel from a USB hard drive?

I have a laptop hard drive in an external enclosure which I use as a large pendrive. For an added twist, I have installed Linux on it, so I can boot any machine with my distribution of choice (e.g. ...