Re: How to know if USB device has driver properly installed?
On Thu, Mar 11, 2010 at 10:19:05PM +0200, Dotan Cohen wrote: I am trying to get a USB device working. In lsusb the ID shows up, but the name of the device does not. Is this an indication that the driver is not properly installed? For instance, this is how functioning devices look in lsusb: Bus 005 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth However, the device that I need to operate does not show the name, only the beginning of the line like this: Bus 003 Device 002: ID 104f:0006 Does that mean that the device driver is not properly installed? Basically what you ask for is the USB equivalent of lspci -k . Sadly there's no such thing. A quick search (usb 413c:8126 linux) brings up http://cateee.net/lkddb/web-lkddb/BT_HCIUSB.html -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100313152654.gf16...@pear.tzafrir.org.il
Re: How to know if USB device has driver properly installed?
On Sat, 13 Mar 2010 00:09:13 +0100 Florian Kulzer florian.kulzer+deb...@icfo.es wrote: ... The kernel seems to use the information in /lib/modules/$(uname -r)/modules.alias to decide which module(s) to try for a given device. AFAIK, this information is generated/updated by running depmod, which is handled automatically if you install a Debian kernel package or if you use module-assistant/DKMS to handle additional modules. ... That is also how I understand the process. Some of the entries in modules.alias are straightforward vendor/device-ID pairs, while others use wildcards for these values and rely on capabilities such as a modem of class X, subclass Y that understands protocol Z. The module then often uses dedicated diagnostic code to find out if it really supports that particular device. Syslog/dmesg should reveal which modules the kernel tried in response to a USB hotplug event and if there were any problems. Modprobing the module with a higher debug level (if that option is available) should provide additional clues. This looks like useful stuff to know - thanks. Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100313201200.b4e08e8c.cele...@gmail.com
Re: How to know if USB device has driver properly installed?
No, it only means that this combination of vendor ID 104f (WB Electronics) and device ID 0006 (Infinity Smart) is not listed in your /var/lib/usbutils/usb.ids file. You can run update-usbids to get the newest version. The contents of the usb.ids have no influence on the process by which the kernel tries to find modules for devices, AFAIK. If after running sudo update-usbids.sh the device name is still not shown, is that a sign that the driver is not properly installed? -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003120818x6cc605a8t572e903a899ed...@mail.gmail.com
Re: How to know if USB device has driver properly installed?
Dotan Cohen wrote: No, it only means that this combination of vendor ID 104f (WB Electronics) and device ID 0006 (Infinity Smart) is not listed in your /var/lib/usbutils/usb.ids file. You can run update-usbids to get the newest version. The contents of the usb.ids have no influence on the process by which the kernel tries to find modules for devices, AFAIK. If after running sudo update-usbids.sh the device name is still not shown, is that a sign that the driver is not properly installed? Are you able to use the device? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b9a6ace.8020...@gmail.com
Re: How to know if USB device has driver properly installed?
Are you able to use the device? No, but I am not sure if the problem is with the device drivers or with the software that I am trying to use to operate it. -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003120826j6c05db14hf23cc235e3d9f...@mail.gmail.com
Re: How to know if USB device has driver properly installed?
Dotan Cohen wrote: Are you able to use the device? No, but I am not sure if the problem is with the device drivers or with the software that I am trying to use to operate it. Please detail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b9a6b89.3020...@gmail.com
Re: How to know if USB device has driver properly installed?
Please detail. I am trying to use this device with the drivers and software from the same site: http://www.infinityusb.com/default.asp?show=productsdetailProductID=12 When I run the ntfytool it tells me that it cannot find the device. -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003120831w6c70c031hc084c78b75f00...@mail.gmail.com
Re: How to know if USB device has driver properly installed?
On Fri, 12 Mar 2010 18:18:30 +0200, Dotan Cohen wrote: No, it only means that this combination of vendor ID 104f (WB Electronics) and device ID 0006 (Infinity Smart) is not listed in your /var/lib/usbutils/usb.ids file. You can run update-usbids to get the newest version. The contents of the usb.ids have no influence on the process by which the kernel tries to find modules for devices, AFAIK. If after running sudo update-usbids.sh the device name is still not shown, is that a sign that the driver is not properly installed? That's only a text list with the newest devices/ID listed, but as Florian already pointed you, it has nothing to do with detection or driver installation, I guess that task belongs to the kernel. Dotan, it would be better if you start from scratch :-) What kind of device have you attached to the USB port? Is it working? Is it detected? You can plug it, power on and type dmesg. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.03.12.16.36...@gmail.com
Re: How to know if USB device has driver properly installed?
Dotan Cohen wrote: Please detail. I am trying to use this device with the drivers and software from the same site: http://www.infinityusb.com/default.asp?show=productsdetailProductID=12 When I run the ntfytool it tells me that it cannot find the device. So you did what is specified in here : http://www.infinityusb.com/default.asp?show=supportdetailProductID=12SupportID=27 Right? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b9a6f84.3060...@gmail.com
Re: How to know if USB device has driver properly installed?
So you did what is specified in here : http://www.infinityusb.com/default.asp?show=supportdetailProductID=12SupportID=27 Right? Yes, we installed the Linux modules on the devices as instructed on that page, but when connecting them to the Linux box there are no '/dev/usb/tts/0' or '/dev/ttyusb0'. -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003120930x75bfbbf8tefec23d5ba1b3...@mail.gmail.com
Re: How to know if USB device has driver properly installed?
Dotan Cohen wrote: So you did what is specified in here : http://www.infinityusb.com/default.asp?show=supportdetailProductID=12SupportID=27 Right? Yes, we installed the Linux modules on the devices as instructed on that page, but when connecting them to the Linux box there are no '/dev/usb/tts/0' or '/dev/ttyusb0'. And you , of course, modprobe'd them? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b9a840a.4040...@gmail.com
Re: How to know if USB device has driver properly installed?
Yes, we installed the Linux modules on the devices as instructed on that page, but when connecting them to the Linux box there are no '/dev/usb/tts/0' or '/dev/ttyusb0'. And you , of course, modprobe'd them? No :) I've never had to install drivers before, everything has just worked with my hardware since I've started using Debian and Debian-derived distros in 2005. I've heard of modprobing, but never done it. Now I have what to google. If there are any other terms I should be familiar with for this project, I would appreciate if someone would assume that I am a complete noob and mention them. I'll do the work of RTFM and STFW, but I need to know what to read about! Thanks! -- Dotan Cohen http://bido.com http://what-is-what.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003121020wcf7aec3t2890970e245ea...@mail.gmail.com
Re: How to know if USB device has driver properly installed?
Dotan Cohen wrote: Yes, we installed the Linux modules on the devices as instructed on that page, but when connecting them to the Linux box there are no '/dev/usb/tts/0' or '/dev/ttyusb0'. And you , of course, modprobe'd them? No :) I've never had to install drivers before, everything has just worked with my hardware since I've started using Debian and Debian-derived distros in 2005. I've heard of modprobing, but never done it. Now I have what to google. If there are any other terms I should be familiar with for this project, I would appreciate if someone would assume that I am a complete noob and mention them. I'll do the work of RTFM and STFW, but I need to know what to read about! Thanks! Well, once you compile a driver, you have to load it, which is done by modprobe. Removing is modprobe -r. man modprobe and man lsmod are a good start. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4b9a866b.7050...@gmail.com
Re: How to know if USB device has driver properly installed?
Well, once you compile a driver, you have to load it, which is done by modprobe. Removing is modprobe -r. man modprobe and man lsmod are a good start. Thanks! -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003121049y42f1418bu78ba92c5c05fe...@mail.gmail.com
Re: How to know if USB device has driver properly installed?
On Fri, 12 Mar 2010 18:18:30 +0200 Dotan Cohen dotanco...@gmail.com wrote: No, it only means that this combination of vendor ID 104f (WB Electronics) and device ID 0006 (Infinity Smart) is not listed in your /var/lib/usbutils/usb.ids file. You can run update-usbids to get the newest version. The contents of the usb.ids have no influence on the process by which the kernel tries to find modules for devices, AFAIK. If after running sudo update-usbids.sh the device name is still not shown, is that a sign that the driver is not properly installed? As others (Florian) have explained, no. IIUC, the usbids list is just a list of mappings between USB IDs and the organizations to which they have been allotted - it has no connection whatsoever to any executable code. Drivers often contain (hardcoded) lists of USB IDs which they (think that they) can handle, and, IIUC, they sometimes will pick up any device whose data seems to be following a protocol that they know. For example, I recently purchased a cheap, no-name USB webcam from a Far Eastern distributor. lsusb didn't display anything helpful, but the uvc kernel driver handled the camera fine, apparently because the camera was speaking the uvc protocol. Celejar -- foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100312141237.18fff5fc.cele...@gmail.com
Re: How to know if USB device has driver properly installed?
On Fri, Mar 12, 2010 at 14:12:37 -0500, Celejar wrote: On Fri, 12 Mar 2010 18:18:30 +0200 Dotan Cohen wrote: [...] If after running sudo update-usbids.sh the device name is still not shown, is that a sign that the driver is not properly installed? As others (Florian) have explained, no. IIUC, the usbids list is just a list of mappings between USB IDs and the organizations to which they have been allotted - it has no connection whatsoever to any executable code. Drivers often contain (hardcoded) lists of USB IDs which they (think that they) can handle, and, IIUC, they sometimes will pick up any device whose data seems to be following a protocol that they know. The kernel seems to use the information in /lib/modules/$(uname -r)/modules.alias to decide which module(s) to try for a given device. AFAIK, this information is generated/updated by running depmod, which is handled automatically if you install a Debian kernel package or if you use module-assistant/DKMS to handle additional modules. For example, I recently purchased a cheap, no-name USB webcam from a Far Eastern distributor. lsusb didn't display anything helpful, but the uvc kernel driver handled the camera fine, apparently because the camera was speaking the uvc protocol. That is also how I understand the process. Some of the entries in modules.alias are straightforward vendor/device-ID pairs, while others use wildcards for these values and rely on capabilities such as a modem of class X, subclass Y that understands protocol Z. The module then often uses dedicated diagnostic code to find out if it really supports that particular device. Syslog/dmesg should reveal which modules the kernel tried in response to a USB hotplug event and if there were any problems. Modprobing the module with a higher debug level (if that option is available) should provide additional clues. -- Regards,| Florian | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100312230913.ga8...@isar.localhost
How to know if USB device has driver properly installed?
I am trying to get a USB device working. In lsusb the ID shows up, but the name of the device does not. Is this an indication that the driver is not properly installed? For instance, this is how functioning devices look in lsusb: Bus 005 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth However, the device that I need to operate does not show the name, only the beginning of the line like this: Bus 003 Device 002: ID 104f:0006 Does that mean that the device driver is not properly installed? -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003111219s3872c94w94b57a8fdd4be...@mail.gmail.com
Re: How to know if USB device has driver properly installed?
On 11 March 2010 22:50, Florian Kulzer florian.kulzer+deb...@icfo.es wrote: No, it only means that this combination of vendor ID 104f (WB Electronics) and device ID 0006 (Infinity Smart) is not listed in your /var/lib/usbutils/usb.ids file. You can run update-usbids to get the newest version. The contents of the usb.ids have no influence on the process by which the kernel tries to find modules for devices, AFAIK. Thanks, Florian, that is reassuring. -- Dotan Cohen http://bido.com http://what-is-what.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003111255w43787f7cl2a2defd8c8c80...@mail.gmail.com
Re: How to know if USB device has driver properly installed?
On Thu, Mar 11, 2010 at 22:19:05 +0200, Dotan Cohen wrote: I am trying to get a USB device working. In lsusb the ID shows up, but the name of the device does not. Is this an indication that the driver is not properly installed? For instance, this is how functioning devices look in lsusb: Bus 005 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth However, the device that I need to operate does not show the name, only the beginning of the line like this: Bus 003 Device 002: ID 104f:0006 Does that mean that the device driver is not properly installed? No, it only means that this combination of vendor ID 104f (WB Electronics) and device ID 0006 (Infinity Smart) is not listed in your /var/lib/usbutils/usb.ids file. You can run update-usbids to get the newest version. The contents of the usb.ids have no influence on the process by which the kernel tries to find modules for devices, AFAIK. -- Regards,| Florian | -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100311205021.ga5...@isar.localhost
Re: How to know if USB device has driver properly installed?
debian-user@lists.debian.org writes: I am trying to get a USB device working. In lsusb the ID shows up, but the name of the device does not. Is this an indication that the driver is not properly installed? For instance, this is how functioning devices look in lsusb: Bus 005 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth However, the device that I need to operate does not show the name, only the beginning of the line like this: Bus 003 Device 002: ID 104f:0006 Does that mean that the device driver is not properly installed? -- Dotan Cohen http://bido.com http://what-is-what.com Please CC me if you want to be sure that I read your message. I do not read all list mail. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/880dece01003111219s3872c94w94b57a8fdd4be...@mail.gmail.com update your usb ids sudo update-usbids -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/fc.000f58dd0105c2823b9aca00c12ae5ae.105c...@rsu20.org
wlanconfig: ioctl: No such device madwifi driver atheros
ola ed nuevo e probado de todo e visto en muchos foros el problema pero ninguno lo soluciona algunos dicen el kernel pero solo eso despues de intentarlo muchas veces y probar con todo e visto una nueva solucion pero se necesita tener aceso a internet con los repositores de francias el error de madwifi se me queda al crear la interfaz me dice wlanconfig: ioctl: No such device si alguien sabe como arreglarlo o algun otro metodo para instalar los driver y que me funcione la targeta inalambrica os estare agradecidos saludo a todos
Re: scsi device naming / driver built in kernel 2.6.x
Hi, On Monday 12 December 2005 23:28, Hendrik Sattler wrote: But there is an alternative: compile the host-adapter with the rootfs disk _into_ the kernel. This way, it will always be the first host adapter. Then, compile the other host adapter driver as module. udev or hotplug will automatically load it. thank you very much. This solved my problem! I actually tried to do this before and it did not work then. But today I realized that there were actually two different drivers in the kernel that could handle the external raid (and made it to /dev/sda). I had to configure *both* drivers as modules ;-) Cheers, Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
scsi device naming / driver built in kernel 2.6.x
Hi, can someone please give me a hint/a pointer to docs on how to solve the following problem: A server has both an internal and an external raid controler (scsi driver gdth and aic7xxx, respectively). Unfortunately the external raid becomes /dev/sda, the internal raid becomes /dev/sdb. When I boot with the external raid unplugged, the the internal raid becomes /dev/sda. I can swap the device names by altering the sequence of the scsi module loading in the initrd. But I'd like to compile the scsi drivers into the kernel, since all my other servers are booting without an initrd, too. Is there a way to accomplish this? If there is more than one way: what's the state of the art? (I googled for some solutions that involved devfs). Thanks, Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: scsi device naming / driver built in kernel 2.6.x
On 12/12/05, Gebhardt Thomas [EMAIL PROTECTED] wrote: Hi, can someone please give me a hint/a pointer to docs on how to solve the following problem: A server has both an internal and an external raid controler (scsi driver gdth and aic7xxx, respectively). Unfortunately the external raid becomes /dev/sda, the internal raid becomes /dev/sdb. When I boot with the external raid unplugged, the the internal raid becomes /dev/sda. I can swap the device names by altering the sequence of the scsi module loading in the initrd. But I'd like to compile the scsi drivers into the kernel, since all my other servers are booting without an initrd, too. Is there a way to accomplish this? If there is more than one way: what's the state of the art? (I googled for some solutions that involved devfs). There is a work out with udev See the article in http://www.debian-administration.org/articles/126. same principle can be applied for your USB hard drive. -- L.V.Gandhi http://lvgandhi.tripod.com/ linux user No.205042
Re: scsi device naming / driver built in kernel 2.6.x
Hi, On Monday 12 December 2005 14:52, L.V.Gandhi wrote: There is a work out with udev See the article in http://www.debian-administration.org/articles/126. same principle can be applied for your USB hard drive. (should probably read ... can be applied for your SCSI hard drive) Sorry, I forgot to mention that I'm booting and mounting / from /dev/sda. As far as I can see the udev solution needs some user space tools that are available only after the boot, i.e., after the disks have already been named. Or did I miss something here? Thanks, Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: scsi device naming / driver built in kernel 2.6.x
Gebhardt Thomas wrote: On Monday 12 December 2005 14:52, L.V.Gandhi wrote: There is a work out with udev See the article in http://www.debian-administration.org/articles/126. same principle can be applied for your USB hard drive. (should probably read ... can be applied for your SCSI hard drive) Sorry, I forgot to mention that I'm booting and mounting / from /dev/sda. As far as I can see the udev solution needs some user space tools that are available only after the boot, i.e., after the disks have already been named. Or did I miss something here? But there is an alternative: compile the host-adapter with the rootfs disk _into_ the kernel. This way, it will always be the first host adapter. Then, compile the other host adapter driver as module. udev or hotplug will automatically load it. If you know what the system is, only _very_ rare cases really need an initrd. Most system can go with without an initrd and thus with less pain. HS -- Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de oder über pgp.net PingoS - Linux-User helfen Schulen: http://www.pingos.org pgpDIWLPxdA2a.pgp Description: PGP signature
device and driver
Is there a way in linux that I can find the installed device and driver? So that I can upgrade the old driver once it is available. Thanks Daniel