Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm the happy owner of a Sandberg webcam... Or at least I WAS the happy owner, when I was still using windows..
Now I have this one problem: There doesn't seem to exist drivers to my cam for linux... What do I do? :S
It's a Sandberg Nightcam
Linux (USB agent) determines what driver to load depending on the chipset if it's supported. So, first thing is to search LQ for threads about your webcam and check the HCL. If nothing turns up then try to find out more about the chipset from the documents that came with it, the vendors site and searching teh intarweb. Even emailing the vendor asking for used chipsets does work sometimes. If nothing turns up then start by plugging in the device, use "lsusb" or "usbmodules" command to see if any modules got loaded and look at your syslog (most likely /var/log/messages) for messages about USB. If it returns any info like Vendor ID strings use that to search the Linux-USB device overview website.
If you post (error) messages make sure you post *exact* ones.
My apologies: I have already emailed Sandberg and asked... They do not have Linux drivers and I have already searched this page and google...
[root@gold vixen]# usbmodules
You must specify a device with something like:
usbmodules --device /proc/bus/usb/001/009
or
usbmodules --product 82d/100/100 --type 0/0/0 --interface 0/0/0
[root@gold vixen]# Isusb
bash: Isusb: command not found
[root@gold vixen]#
This is what turned up... I kindly ask you to keep in mind, that I am a COMPLETE newbie to this, which is why I asked... I have NO idea WHAT SO EVER about what to do... I did not ask to be corrected, I asked for help...
Please help to find out if I can get this to work on my laptop...
Kind Regards UltraVixen
Last edited by UltraVixen; 08-12-2006 at 09:38 AM.
Plug the thing in, then look in your syslog (most likely /var/log/messages) for messages about USB. If you post (error) messages make sure you post *exact* ones.
I actually tried that too.. And guess how much THAT helped me... Now, I know you're posting that "make sure it's exact ones" because alot of people get annoyed, when others doesn't explain their problems with enough details... BUT... I have NO idea what so ever of what the f*** I'm even DOING here, since I am VERY new to linux... It doesn't help me, to have people telling me, that my question isn't good enough.. I KNOW that already... But what am I supposed to do? I have no idea how to work this out, I have no idea what will be useful for others tó know, if they're going to help me, I do not know where to find relevant informations... Which is why I ASK!
I actually tried that too.. And guess how much THAT helped me...
Uh. No. It's not that that would help you, but it would help me understand what's going on. I just want you to post any lines related to USB. Here's how in more detail: plug in the cam, wait five seconds, make sure you're logged in as root user, open a terminal (Kterm, xterm or alike) and type this:
Code:
grep -i usb /var/log/messages > /tmp/usb.log
Now you can read /tmp/usb.log with your favourite text reader and post the contents if any. Since you run Arch Linux you also have "hwd" and "lshwd". Try typing "lshwd -a -c -d -id" in a terminal and see if it says something about USB or needs flags. You can then probably also redirect output to a file like:
Code:
lshwd -a -c -d -id > /tmp/lshwd.log
Now you can read /tmp/lshwd.log and post the contents if anything is about USB.
BTW, calm down a bit, OK.
Being that stressed out can't be good.
I'm sorry, it's just really bothersome¸ when I have no clue what so ever, and then get told that I'm doing it wrong... Ffs I KNOW I'm doing it wrong, again, that's kinda why I'm asking...
It's just being a newbie and then getting not getting help with where to find these informations, is quite frustrating...
BUT now I've found those two logs... They're just way too long to post here, so I dont know what to do with them >_>
Last edited by UltraVixen; 08-12-2006 at 05:47 PM.
They're just way too long to post here, so I dont know what to do with them
OK. Compress them like this:
Code:
tar -cjf /tmp/logs.tar.bz2 /tmp/lshwd.log /tmp/usb.log
Now put the file /tmp/logs.tar.bz2 in a place where I can download it and post the link to the file or send me an email. I'll then sift through the logs and post relevant output (if any) here.
Part from "grep -i usb /var/log/messages > /tmp/usb.log":
Code:
Aug 22 08:41:29 gold LID PBTN PCI0 USB0 USB1 USB2 USB4 USB3 MODM PCIE
Aug 22 08:41:29 gold usbcore: registered new driver usbfs
Aug 22 08:41:29 gold usbcore: registered new driver hub
Aug 22 08:41:29 gold USB Universal Host Controller Interface driver v3.0
Aug 22 08:41:29 gold uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
Aug 22 08:41:29 gold usb usb1: configuration #1 chosen from 1 choice
Aug 22 08:41:29 gold hub 1-0:1.0: USB hub found
Aug 22 08:41:29 gold uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
Aug 22 08:41:29 gold usb usb2: configuration #1 chosen from 1 choice
Aug 22 08:41:29 gold hub 2-0:1.0: USB hub found
Aug 22 08:41:29 gold uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
Aug 22 08:41:29 gold usb usb3: configuration #1 chosen from 1 choice
Aug 22 08:41:29 gold hub 3-0:1.0: USB hub found
Aug 22 08:41:29 gold uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 4
Aug 22 08:41:29 gold usb usb4: configuration #1 chosen from 1 choice
Aug 22 08:41:29 gold hub 4-0:1.0: USB hub found
Aug 22 08:41:29 gold ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
Aug 22 08:41:29 gold ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
Aug 22 08:41:29 gold usb usb5: configuration #1 chosen from 1 choice
Aug 22 08:41:29 gold hub 5-0:1.0: USB hub found
Aug 22 09:59:27 gold usb 5-8: new high speed USB device using ehci_hcd and address 2
Aug 22 09:59:27 gold usb 5-8: configuration #1 chosen from 1 choice
Aug 22 09:59:27 gold Initializing USB Mass Storage driver...
Aug 22 09:59:27 gold scsi4 : SCSI emulation for USB Mass Storage devices
Aug 22 09:59:27 gold usbcore: registered new driver usb-storage
Aug 22 09:59:27 gold USB Mass Storage support registered.
In red the only device that's recognised. Looks like a removable USB drive. Is that correct? Is that the only directly attached USB device? If not then bzip2 me your whole syslog.
Yeah, it's removable and the only device plugged in, most of the time... I do use a usb cardreader(?) from time to time and my mp3 player, but it's rare...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.